Add test case for bug 20263
[glibc.git] / ChangeLog
blob5e2258407d2ed9a9b3b57194541c06d651ace542
1 2016-07-07  Andreas Schwab  <schwab@suse.de>
3         [BZ #20263]
4         * nptl/tst-robust10.c: New test.
5         * nptl/Makefile (tests): Add tst-robust10.
7 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
9         [BZ #20263]
10         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
12 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
14         * sysdeps/s390/linkmap.h (struct link_map_machine):
15         Remove member gotplt and add member jmprel.
16         * sysdeps/s390/s390-32/dl-machine.h
17         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
18         instead of gotplt with &got[3].
19         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
20         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
24         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
26 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
29         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
30         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
31         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
32         * libio/vtables.c (_IO_vtable_check)
33         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
34         * libio/libioP.h (IO_set_accept_foreign_vtables)
35         [!PTR_MANGLE]: Do not call PTR_MANGLE.
37 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
39         [BZ #20314]
40         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
41         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
42         $(common-objpfx)cmath.
43         ($(common-objpfx)cstdlib): New target.
44         ($(common-objpfx)cmath): Likewise.
46 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
48         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
50 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
52         [BZ #20327]
53         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
54         are not part of the string.
56 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
58         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
59         * nptl/tst-cancel4-common.h (fifoname): New variable.
60         (fifofd): Likewise.
61         (cl_fifo): New function.
62         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
63         SIGINT.
64         (tf_open): Add early cancel test.
66 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
68         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
70 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
72         * sysdeps/generic/ldsodefs.h
73         (dl_symbol_visibility_binds_local_p): New inline function.
74         * elf/dl-addr.c (determine_info): Treat hidden and internal
75         symbols as local.
76         * elf/dl-lookup.c (do_lookup_x): Likewise.
77         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
79 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
81         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
82         invalid exception for a sNaN input.
83         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
84         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
85         (__nearbyint_vis3): Likewise
86         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
87         (__nearbyintf_vis3): Likewise
88         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
89         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
90         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
91         Likewise.
92         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
93         Likewise.
95 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
97         [BZ #20139]
98         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
99         (HAVE_AVX512DQ_ASM_SUPPORT): This.
100         * sysdeps/x86_64/configure.ac: Require assembler from binutils
101         2.24 or above.
102         (HAVE_AVX512_ASM_SUPPORT): Removed.
103         (HAVE_AVX512DQ_ASM_SUPPORT): New.
104         * sysdeps/x86_64/configure: Regenerated.
105         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
106         check unconditional.
107         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
108         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
109         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
110         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
111         Likewise.
112         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
113         Likewise.
114         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
115         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
116         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
117         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
118         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
119         Likewise.
120         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
121         Likewise.
122         * sysdeps/x86_64/multiarch/memset.S: Likewise.
123         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
124         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
125         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
126         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
127         Likewise.
128         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
129         Likewise.
130         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
131         Likewise.
132         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
133         Likewise.
134         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
135         Likewise.
136         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
137         Likewise.
138         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
139         Likewise.
140         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
141         Likewise.
142         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
143         Likewise.
144         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
145         Likewise.
146         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
147         Likewise.
149 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
151         [BZ #20024]
152         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
153         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
154         of this implementation of vector function.
155         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
156         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
157         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
158         Likewise.
159         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
160         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
161         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
162         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
163         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
164         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
165         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
166         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
167         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
168         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
169         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
170         for testing vector sincos with fixed ABI.
171         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
172         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
173         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
174         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
175         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
176         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
177         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
178         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
179         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
180         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
181         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
182         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
183         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
184         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
185         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
186         * sysdeps/x86_64/fpu/Makefile: Added new tests.
188 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
190         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
192 2016-06-30  Anton Blanchard  <anton@samba.org>
194         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
195         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
196         s_sinf-ppc64.
197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
200         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
202 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
204         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
205         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
206         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
207         e_expf-ppc64.
208         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
209         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
210         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
211         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
213 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
215         [BZ #20277]
216         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
217         when SHARED is defined.
219 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
221         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
222         (index_arch_Prefer_ERMS): Likewise.
223         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
224         __memcpy_erms for Prefer_ERMS.
225         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
226         (__memmove_erms): Enabled for libc.a.
227         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
228         __memmove_erms or Prefer_ERMS.
229         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
230         __mempcpy_erms for Prefer_ERMS.
231         * sysdeps/x86_64/multiarch/memset.S (memset): Return
232         __memset_erms for Prefer_ERMS.
234 2016-06-30  Andreas Schwab  <schwab@suse.de>
236         [BZ #20262]
237         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
238         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
239         of memory.
241 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
243         [BZ #18645]
244         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
245         (test-extras): Add tst-cleanupx4aux.
246         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
247         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
248         tst-cleanupx4aux.o.
249         * nptl/tst-cleanupx4aux.c: New file.
251 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
253         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
255 2016-06-29  Andreas Schwab  <schwab@suse.de>
257         [BZ #20260]
258         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
259         address before the beginning of the string as an integer to avoid
260         array-bounds warning.
262 2016-06-28  Richard Henderson  <rth@redhat.com>
264         * elf/elf.h (EM_BPF): New.
265         (EM_NUM): Update.
266         (R_BPF_NONE, R_BPF_MAP_FD): New.
268         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
269         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
270         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
271         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
272         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
273         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
274         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
275         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
276         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
277         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
278         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
279         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
280         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
281         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
282         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
283         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
284         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
285         (EM_NUM): Update.
287 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
289         [BZ #18960]
290         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
291         Set _nl_current_LC_CATEGORY_used to two instead of one.
293 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
295         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
296         (do_test): ... this.
297         (TEST_FUNCTION): New macro.
298          Include test-skeleton.c.
299         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
300         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
302 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
304         [BZ #15479]
305         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
306         floating-point environment rather than just control word.
307         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
308         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
309         floating-point environment, with "invalid" exceptions merged in,
310         rather than just control word.
311         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
312         * math/libm-test.inc (trunc_test_data): Do not allow spurious
313         "inexact" exceptions.
315         [BZ #15479]
316         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
317         floating-point environment rather than just control word.
318         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
319         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
320         floating-point environment, with "invalid" exceptions merged in,
321         rather than just control word.
322         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
323         * math/libm-test.inc (floor_test_data): Do not allow spurious
324         "inexact" exceptions.
326         [BZ #15479]
327         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
328         floating-point environment rather than just control word.
329         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
330         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
331         floating-point environment, with "invalid" exceptions merged in,
332         rather than just control word.
333         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
334         * math/libm-test.inc (ceil_test_data): Do not allow spurious
335         "inexact" exceptions.
337 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
339         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
340         __libc_vfork.
341         (__vfork) [IS_IN (libc)]: Remove alias.
342         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
343         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
344         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
346 2016-06-24  Torvald Riegel  <triegel@redhat.com>
348         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
349         of atomic_compare_and_exchange_bool_rel.
350         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
351         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
352         catomic_compare_and_exchange_bool_rel): Remove.
353         * sysdeps/aarch64/atomic-machine.h
354         (atomic_compare_and_exchange_bool_rel): Likewise.
355         * sysdeps/alpha/atomic-machine.h
356         (atomic_compare_and_exchange_bool_rel): Likewise.
357         * sysdeps/arm/atomic-machine.h
358         (atomic_compare_and_exchange_bool_rel): Likewise.
359         * sysdeps/mips/atomic-machine.h
360         (atomic_compare_and_exchange_bool_rel): Likewise.
361         * sysdeps/microblaze/atomic-machine.h
362         ( __arch_compare_and_exchange_bool_8_rel,
363         __arch_compare_and_exchange_bool_16_rel): Likewise.
364         * sysdeps/powerpc/atomic-machine.h
365         ( __arch_compare_and_exchange_bool_8_rel,
366         __arch_compare_and_exchange_bool_16_rel): Likewise.
367         * sysdeps/powerpc/powerpc32/atomic-machine.h
368         ( __arch_compare_and_exchange_bool_32_rel,
369         __arch_compare_and_exchange_bool_64_rel): Likewise.
370         * sysdeps/powerpc/powerpc64/atomic-machine.h
371         ( __arch_compare_and_exchange_bool_32_rel,
372         __arch_compare_and_exchange_bool_64_rel): Likewise.
373         * sysdeps/tile/atomic-machine.h
374         (atomic_compare_and_exchange_bool_rel): Likewise.
376 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
378         [BZ #20296]
379         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
380         when either argument is a NaN.
381         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
382         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
384         * math/libm-test.inc (snan_value_ld): New macro.
385         (isgreater_test_data): Add sNaN tests.
386         (isgreaterequal_test_data): Likewise.
387         (isless_test_data): Likewise.
388         (islessequal_test_data): Likewise.
389         (islessgreater_test_data): Likewise.
390         (isunordered_test_data): Likewise.
391         (nextafter_test_data): Likewise.
392         (nexttoward_test_data): Likewise.
393         (remainder_test_data): Likewise.
394         (remquo_test_data): Likewise.
395         (significand_test_data): Likewise.
396         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
398 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
400         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
401         environment macros are defined.
402         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
404 2016-06-23  Florian Weimer  <fweimer@redhat.com>
406         [BZ #20191]
407         Implement vtable verification in libio.
408         * Makerules (shlib.lds): Place __libc_IO_vtables section.
409         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
410         * debug/vdprintf_chk.c (__vdprintf_chk): Call
411         _IO_new_file_init_internal instead of _IO_file_init.
412         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
413         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
414         * libio/Makefile (routines): Add vtables.
415         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
416         (_IO_init): Remove, not for internal use.
417         (_IO_init_internal): Declare, internal replacement for _IO_init.
418         (_IO_file_init): Remove, not for internal use.
419         (_IO_new_file_init): Remove, not for internal use.
420         (_IO_new_file_init_internal): Declare, internal replacement for
421         _IO_new_file_init.
422         (_IO_old_file_init): Remove, not for internal use.
423         (_IO_old_file_init_internal): Declare, internal replacement for
424         _IO_old_file_init.
425         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
426         internal use.
427         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
428         Declare.
429         (libio_vtable): New macro.
430         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
431         functions.
432         * libio/fileops.c (_IO_new_file_init_internal): Rename from
433         _IO_new_file_init.
434         (_IO_new_file_init): New externally visible wrapper which disables
435         vtable verification.
436         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
437         Define as vtables.
438         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
439         (_IO_init): New externally visible wrapper which disables
440         vtable verification.
441         * libio/iofdopen.c (_IO_new_fdopen): Call
442         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
443         comment.
444         * libio/iofopen.c (__fopen_internal): Call
445         _IO_new_file_init_internal instead of _IO_file_init.
446         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
447         Define as vtables.
448         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
449         _IO_new_file_init_internal instead of _IO_file_init.
450         * libio/iopopen.c (_IO_new_popen): Likewise.
451         (_IO_proc_jumps): Define as vtable.
452         * libio/iovdprintf.c (_IO_vdprintf): Call
453         _IO_new_file_init_internal instead of _IO_file_init.
454         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
455         (__open_memstream): Call _IO_init_internal instead of _IO_init.
456         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
457         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
458         _IO_old_file_init.
459         (_IO_old_file_init): New externally visible wrapper which disables
460         vtable verification.
461         (_IO_old_file_jumps): Define as vtable.
462         * libio/oldiofdopen.c (_IO_old_fdopen): Call
463         _IO_old_file_init_internal instead of _IO_old_file_init.
464         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
465         * libio/oldiopopen.c (_IO_old_popen): Likewise.
466         (_IO_old_proc_jumps): Define as vtable.
467         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
468         Define as vtables.
469         * libio/vtables.c: New file.
470         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
471         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
472         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
473         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
474         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
475         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
476         instead of _IO_init.
478 2016-06-23  Florian Weimer  <fweimer@redhat.com>
480         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
482 2016-06-23  Florian Weimer  <fweimer@redhat.com>
484         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
485         potentially unused.
487 2016-06-22  Florian Weimer  <fweimer@redhat.com>
489         * test-skeleton.c (write_message): New function.
490         * malloc/tst-mallocfork2.c (write_message): Remove.
491         * debug/tst-longjmp_chk2.c (write_indented): New function.
492         (write_message): Remove.
493         (stackoverflow_handler): Call write_indented.
495 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
497         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
498         "inexact" exceptions after fnstenv.
499         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
500         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
501         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
503 2015-06-22  Zack Weinberg  <zackw@panix.com>
505         * sysdeps/generic/bits/hwcap.h: Moved to ...
506         * bits/hwcap.h: Here.
508 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
510         * sysdeps/aarch64/memcpy.S (memcpy):
511         Further tuning for performance.
513 2016-06-21  Florian Weimer  <fweimer@redhat.com>
515         [BZ #20284]
516         * malloc/arena.c (reused_arena): Do not return NULL if we start
517         out with a non-corrupted arena.
519 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
521         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
522         * misc/tst-preadvwritev.c: New file.
523         * misc/tst-preadvwritev64.c: Likewise.
524         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
525         usage.
526         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
527         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
528         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
529         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
531 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
533         [BZ #19654]
534         * sysdeps/x86_64/fpu/Makefile: Added new tests.
535         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
536         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
537         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
538         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
539         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
540         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
541         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
542         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
543         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
544         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
545         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
546         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
547         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
548         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
549         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
550         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
551         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
552         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
553         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
554         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
555         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
556         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
557         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
558         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
559         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
561 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
563         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
564         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
566 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
568         * sysdeps/aarch64/memcpy.S (memcpy):
569         Rewrite of optimized memcpy and memmove.
570         * sysdeps/aarch64/memmove.S (memmove): Remove
571         memmove code (merged into memcpy.S).
573 2016-06-20  Florian Weimer  <fweimer@redhat.com>
575         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
576         * sysdeps/generic/dl-dtv.h: New file.
577         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
578         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
579         (dtv_t): Remove.
580         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
581         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
582         (dtv_t): Remove.
583         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
584         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
585         (dtv_t): Remove.
586         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
587         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
588         (dtv_t): Remove.
589         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
590         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
591         (dtv_t): Remove.
592         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
593         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
594         (dtv_t): Remove.
595         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
596         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
597         (dtv_t): Remove.
598         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
599         (dtv_t): Remove.
600         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
601         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
602         (dtv_t): Remove.
603         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
604         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
605         (dtv_t): Remove.
606         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
607         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
608         (dtv_t): Remove.
609         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
610         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
611         (dtv_t): Remove.
612         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
613         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
614         (dtv_t): Remove.
615         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
616         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
617         (dtv_t): Remove.
618         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
619         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
620         (dtv_t): Remove.
621         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
622         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
623         (dtv_t): Remove.
625 2016-06-20  Florian Weimer  <fweimer@redhat.com>
627         Revert symbol poisoning of  __malloc_initialize_hook.
628         * include/stdc-predef.h (__malloc_initialize_hook): Remove
629         poisoning.
630         * malloc/Makefile: Remove un-poisoning.
631         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
632         instead of old__malloc_initialize_hook.
633         * malloc/malloc-hooks.h: Likewise.
634         * malloc/malloc.c: Likewise.
635         * malloc/mcheck-init.c: Likewise.
637 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
639         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
641 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
643         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
644         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
645         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
646         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
648 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
650         * NEWS: Mention addition of nextup and nextdown.
651         * manual/arith.texi: Document nextup and nextdown.
652         * manual/libm-err-tab.pl: Add nextup and nextdown.
653         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
654         * math/Versions (libm): Add GLIBC_2.24.
655         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
656         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
657         Add new test.
658         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
659         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
660         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
661         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
662         (nextup_test_data): Likewise.
663         (nextdown_test_data): Likewise.
664         * math/s_nextdown.c: New file.
665         * math/s_nextdownf.c: Likewise.
666         * math/s_nextdownl.c: Likewise.
667         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
668         F(nextup): New function.
669         F(nextdown): Likewise.
670         * math/tgmath.h: Add nextup and nextdown.
671         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
672         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
673         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
674         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
675         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
676         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
677         Add nextup and nextdown.
678         (CFLAGS-nldbl-nextup.c): New variable.
679         (CFLAGS-nldbl-nextdown.c): Likewise.
680         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
681         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
682         * sysdeps/nacl/libm.abilist: Update.
683         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
684         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
685         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
686         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
687         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
688         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
689         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
690         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
691         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
692         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
693         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
694         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
697         Likewise.
698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
700         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
701         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
702         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
703         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
704         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
707         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
708         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
709         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
710         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
712 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
714         * manual/pattern.texi: Fix typos & grammar errors.
716 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
718         * manual/search.texi: Fix typos & grammar errors.
720 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
722         * manual/message.texi: Fix typos & grammar errors.
724 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
726         * manual/contrib.texi: Fix spelling typos.
727         * manual/crypt.texi: Likewise.
728         * manual/filesys.texi: Likewise.
729         * manual/locale.texi: Likewise.
730         * manual/message.texi: Likewise.
731         * manual/nss.texi: Likewise.
732         * manual/string.texi: Likewise.
734 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
736         * manual/locale.texi: Fix typos & grammar errors.
738 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
740         * manual/charset.texi: Fix typos & grammar errors.
742 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
744         * manual/string.texi: Fix typos.
746 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
748         * manual/ctype.texi: Fix typos.
750 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
752         * manual/memory.texi: Fix various typos & grammar errors.
754 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
756         [BZ #20255]
757         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
758         * math/libm-test.inc (fdim_test_data): Add another test.
760         [BZ #6796]
761         [BZ #20255]
762         [BZ #20256]
763         * math/s_fdim.c: Include <math_private.h>.
764         (__fdim): Use math_narrow_eval on result.
765         * math/s_fdimf.c: Include <math_private.h>.
766         (__fdimf): Use math_narrow_eval on result.
767         * sysdeps/i386/fpu/s_fdim.S: Remove file.
768         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
769         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
770         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
771         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
772         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
773         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
774         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
775         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
776         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
777         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
778         * math/libm-test.inc (fdim_test_data): Expect errno setting on
779         overflow.  Add sNaN tests.
781         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
782         fpclassify.
783         * math/s_fdimf.c (__fdimf): Likewise.
784         * math/s_fdiml.c (__fdiml): Likewise.
786 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
788         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
789         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
790         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
791         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
792         ifunc'ed strcasecmp/strncasecmp.
793         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
794         [EALIGN]: Removed.
795         [END]: Likewise.
796         [__strcasecmp]: Define instead of the above to control symbol name.
797         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
798         for __strcasecmp_power8.
799         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
800         for __strncasecmp_power8.
801         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
802         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
803         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
804         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
805         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
806         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
808 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
810         [BZ #20252]
811         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
812         arguments when second argument is a NaN.
813         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
814         qNaN tests.
816         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
817         (conj_test_data): Likewise.
818         (copysign_test_data): Likewise.
819         (creal_test_data): Likewise.
820         (fma_test_data): Likewise.
821         (fmod_test_data): Likewise.
823         [BZ #20250]
824         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
825         itself.
826         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
827         zero input to itself.
828         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
829         Likewise.
830         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
831         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
832         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
833         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
834         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
836 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
838         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
839         * nptl/tst-cancel4-common.c: New file.
840         * nptl/tst-cancel4-common.h: Likewise.
841         * nptl/tst-cancel4.c: Move common definitions to
842         tst-cancel4-common.{c,h} file.
843         * nptl/tst-cancel4_1.c: New test.
844         * nptl/tst-cancel4_2.c: New test.
846 2016-06-13  Florian Weimer  <fweimer@redhat.com>
848         [BZ #20248]
849         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
850         (write_message): New function.
851         (stackoverflow_handler): Call it instead of printf, to avoid
852         excessive stack usage by printf.
853         (do_test): Restore SIGSEGV, SIGBUS default handlers.
855 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
857         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
858         (prio_inherit_missing): Remove define.
859         * sysdeps/unix/sysv/linux/arm/kernel-features.h
860         (__ASSUME_FUTEX_LOCK_PI): Likewise.
861         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
862         Likewise.
863         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
864         (__ASSUME_FUTEX_LOCK_PI): Likewise.
865         * sysdeps/unix/sysv/linux/mips/kernel-features.h
866         (__ASSUME_FUTEX_LOCK_PI): Likewise.
867         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
868         (__ASSUME_FUTEX_LOCK_PI): Likewise.
870 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
872         [BZ #19670]
873         [BZ #19672]
875         * io/test-lfs.c (do_prepare): Use xmalloc.
876         * io/tst-fcntl.c (do_prepare): Likewise.
877         * libio/tst-fopenloc.c (do_bz17916): Likewise.
878         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
879         * login/tst-utmp.c (do_prepare): Likewise.
880         * posix/tst-exec.c (do_prepare): Likewise.
881         * posix/tst-pathconf.c (prepare): Likewise.
882         * posix/tst-spawn.c (do_prepare): Likewise.
883         * posix/tst-truncate.c (do_prepare): Likewise.
884         * rt/tst-aio.c (do_prepare): Likewise.
885         * rt/tst-aio64.c (do_prepare): Likewise.
887 2016-06-11  Florian Weimer  <fweimer@redhat.com>
889         [BZ #20237]
890         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
891         (get*ent): Set entidx to NULL during initialization.  If entidx is
892         NULL, start iteration from the beginning.
894 2016-06-11  Florian Weimer  <fweimer@redhat.com>
896         * malloc/malloc.c (musable): Return correct size for dumped fake
897         mmapped chunk.
899 2016-06-11  Florian Weimer  <fweimer@redhat.com>
901         [BZ #20222]
902         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
903         (_IO_cookie_write): Likewise.
904         (_IO_cookie_seek): Likewise.
905         (_IO_cookie_close): Likewise.
906         (_IO_old_cookie_seek): Likewise.
907         (set_callbacks): New function.
908         (_IO_cookie_init): Call set_callbacks to copy callbacks.
910 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
912         * locale/programs/localedef.c (oldstyle_tables): Remove.
913         * locale/programs/localedef.h (oldstyle_tables): Likewise.
915 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
917         [BZ #20240]
918         * math/Makefile (CFLAGS-s_modf.c): New variable.
919         (CFLAGS-s_modff.c): Likewise.
920         (CFLAGS-s_modfl.c): Likewise.
921         * math/libm-test.inc (modf_test_data): Add sNaN tests.
923 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
925         [BZ #20215]
926         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
927         [!__GNUC_PREREQ (3,2)]: Likewise.
929 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
931         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
932         (msghdr.msg_controllen): Likewise.
933         (cmsghdr.cmsg_len): Likewise.
934         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
935         ptw-oldsendmsg.
936         (CFLAGS-oldrecvmsg.c): Remove rule.
937         (CFLAGS-oldsendmsg.c): Likewise.
938         (CFLAGS-recvmsg.c): Add rule.
939         (CFLAGS-sendmsg.c): Likewise.
940         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
941         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
942         (CFLAGS-recvmsg.c): Remove rule.
943         (CFLAGS-sendmsg.c): Likewise.
944         (CFLAGS-oldrecvmsg.c): Likewise.
945         (CFLAGS-oldsendmsg.c): Likewise.
946         (CFLAGS-recvmmsg.c): Likewise.
947         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
948         to kernel defined interfaces.
949         (msghdr.msg_controllen): Likewise.
950         (cmsghdr.cmsg_len): Likewise.
951         (msghdr.__glibc_reserved1): Remove member.
952         (msghdr.__glibc_reserved2): Likewise.
953         (cmsghdr.__glibc_reserved1): Likewise.
954         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
955         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
956         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
957         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
958         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
959         version.
960         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
961         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
962         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
963         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
964         Remove recvmsg and sendmsg.
965         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
966         Likewise.
967         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
968         Likewise.
969         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
970         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
971         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
972         Likewise.
973         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
974         Likewise.
975         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
976         [libc] (GLIBC_2.24): Likewise.
977         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
978         Likewise.
979         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
980         Likewise.
981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
982         [libc] (GLIBC_2.24): Likewise.
983         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
984         Likewise.
985         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
986         Likewise.
987         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
988         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
989         Likewise.
990         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
991         Likewise.
992         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
993         Likewise.
994         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
995         Likewise.
996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
997         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
998         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
999         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
1000         version for {recv,send,recm,sendm}msg.
1001         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1002         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1003         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1004         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1005         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1006         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1007         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1008         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1009         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1010         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1011         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1012         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1014         Likewise.
1015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1016         Likewise.
1017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1019         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1020         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1021         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1022         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1023         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1024         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1027         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1028         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1029         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1031 2016-06-10  Florian Weimer  <fweimer@redhat.com>
1033         [BZ #19564]
1034         Remove __malloc_initialize_hook from the API.
1035         * malloc/malloc.h (__malloc_initialize_hook): Remove.
1036         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
1037         #pragma GCC poison.
1038         * malloc/malloc-hooks.h: New file.
1039         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
1040         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
1041         (old__malloc_initialize_hook): Rename from
1042         __malloc_initialize_hook to evade poisoning.  Turn into compat
1043         symbol.
1044         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
1045         __malloc_initialize_hook.
1046         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
1047         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
1048         * manual/memory.texi (Hooks for Malloc): Remove
1049         __malloc_initialize_hook.  Adjust hook example.
1051 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
1053         [BZ #20235]
1054         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
1055         itself.
1056         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1057         * math/libm-test.inc (log2_test_data): Add sNaN tests.
1059         [BZ #20234]
1060         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
1061         infinity or NaN input to itself.
1063         [BZ #20233]
1064         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
1065         to itself.
1067         [BZ #20232]
1068         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
1069         itself.
1071 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1073         * sysdeps/x86_64/start.S (_start): Always indirect branch to
1074         __libc_start_main via GOT.
1076 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1078         * sysdeps/x86_64/memcopy.h: New file.
1079         * sysdeps/x86_64/wordcopy.c: Likewise.
1081 2016-06-09  Florian Weimer  <fweimer@redhat.com>
1083         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
1084         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
1085         <cstdlib>.
1086         (optimization_barrier): New.
1087         (do_test): Use it.  Call quick_exit in the global namespace.
1088         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
1089         instead of <cstdlib>, <thread>.
1090         (optimization_barrier): New.
1091         (non_main_thread): Adjust declaration.  Call optimization_barrier.
1092         Call quick_exit in the global namespace.
1093         (do_test): Call optimization_barrier.  Use pthread_create,
1094         pthread_join instead of std::thread.
1096 2016-06-09  Andreas Schwab  <schwab@suse.de>
1098         [BZ #19755]
1099         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
1100         new entries in auto-propagate mode.
1101         * nscd/grpcache.c (cache_addgr): Likewise.
1103 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1105         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
1106         New functions.
1107         (add_temp_file): Use them.
1109 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
1111         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
1113 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
1115         [BZ #20229]
1116         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
1117         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
1118         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
1120         [BZ #20228]
1121         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
1122         itself.
1123         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1124         * math/libm-test.inc (log10_test_data): Add sNaN tests.
1126         [BZ #20227]
1127         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
1128         itself.
1129         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1130         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1131         * math/libm-test.inc (log_test_data): Add sNaN tests.
1133         [BZ #20226]
1134         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
1135         itself.
1136         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1137         * math/libm-test.inc (exp_test_data): Add sNaN tests.
1138         (exp10_test_data): Likewise.
1139         (expm1_test_data): Likewise.
1141         [BZ #20225]
1142         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
1143         itself.
1144         * math/s_ldexpf.c (__ldexpf): Likewise.
1145         * math/s_ldexpl.c (__ldexpl): Likewise.
1146         * math/w_scalbln.c (__w_scalbln): Likewise.
1147         * math/w_scalblnf.c (__w_scalblnf): Likewise.
1148         * math/w_scalblnl.c (__w_scalblnl): Likewise.
1149         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
1150         (scalbln_test_data): Likewise.
1152         [BZ #20224]
1153         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
1154         argument to itself.
1155         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
1157 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1159         [BZ #19776]
1160         * sysdeps/x86_64/memcpy.S: Make it dummy.
1161         * sysdeps/x86_64/mempcpy.S: Likewise.
1162         * sysdeps/x86_64/memmove.S: New file.
1163         * sysdeps/x86_64/memmove_chk.S: Likewise.
1164         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1165         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1166         * sysdeps/x86_64/memmove.c: Removed.
1167         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1168         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1169         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
1170         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
1171         Likewise.
1172         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1173         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1174         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1175         memcpy-sse2-unaligned, memmove-avx-unaligned,
1176         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
1177         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1178         (__libc_ifunc_impl_list): Replace
1179         __memmove_chk_avx512_unaligned_2 with
1180         __memmove_chk_avx512_unaligned.  Remove
1181         __memmove_chk_avx_unaligned_2.  Replace
1182         __memmove_chk_sse2_unaligned_2 with
1183         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
1184         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
1185         with __memmove_avx512_unaligned.  Replace
1186         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
1187         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
1188         with __memcpy_chk_avx512_unaligned.  Remove
1189         __memcpy_chk_avx_unaligned_2.  Replace
1190         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
1191         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
1192         Replace __memcpy_avx512_unaligned_2 with
1193         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
1194         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
1195         with __mempcpy_chk_avx512_unaligned.  Remove
1196         __mempcpy_chk_avx_unaligned_2.  Replace
1197         __mempcpy_chk_sse2_unaligned_2 with
1198         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
1199         Replace __mempcpy_avx512_unaligned_2 with
1200         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
1201         Replace __mempcpy_sse2_unaligned_2 with
1202         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
1203         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
1204         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
1205         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
1206         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
1207         (ENTRY): Removed.
1208         (END): Likewise.
1209         (ENTRY_CHK): Likewise.
1210         (libc_hidden_builtin_def): Likewise.
1211         Don't include ../memcpy.S.
1212         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
1213         __memcpy_chk_avx512_unaligned_erms and
1214         __memcpy_chk_avx512_unaligned.  Use
1215         __memcpy_chk_avx_unaligned_erms and
1216         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1217         Default to __memcpy_chk_sse2_unaligned.
1218         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1219         Change function suffix from unaligned_2 to unaligned.
1220         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
1221         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
1222         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
1223         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
1224         (ENTRY): Removed.
1225         (END): Likewise.
1226         (ENTRY_CHK): Likewise.
1227         (libc_hidden_builtin_def): Likewise.
1228         Don't include ../mempcpy.S.
1229         (mempcpy): New.  Add a weak alias.
1230         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
1231         __mempcpy_chk_avx512_unaligned_erms and
1232         __mempcpy_chk_avx512_unaligned.  Use
1233         __mempcpy_chk_avx_unaligned_erms and
1234         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1235         Default to __mempcpy_chk_sse2_unaligned.
1237 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1239         [BZ #19881]
1240         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
1241         into ...
1242         * sysdeps/x86_64/memset.S: This.
1243         (__bzero): Removed.
1244         (__memset_tail): Likewise.
1245         (__memset_chk): Likewise.
1246         (memset): Likewise.
1247         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
1248         defined.
1249         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
1250         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
1251         (__memset_zero_constant_len_parameter): Check SHARED instead of
1252         PIC.
1253         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1254         memset-avx2 and memset-sse2-unaligned-erms.
1255         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1256         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
1257         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
1258         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1259         (__bzero): Enabled.
1260         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
1261         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
1262         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
1263         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
1264         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1265         (memset): Removed.
1266         (__memset_chk): Likewise.
1267         (MEMSET_SYMBOL): New.
1268         (libc_hidden_builtin_def): Replace __memset_sse2 with
1269         __memset_sse2_unaligned.
1270         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
1271         __memset_chk_sse2 and __memset_chk_avx2 with
1272         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
1273         Use __memset_chk_sse2_unaligned_erms or
1274         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
1275         __memset_chk_avx512_unaligned_erms and
1276         __memset_chk_avx512_unaligned.
1278 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1280         * math/gen-auto-libm-test.c (fp_format_desc): remove
1281         suffix member.
1282         (output_generic_value): Remove usage of suffix member,
1283         and the resulting unuse of the fp_format argument.
1284         (output_for_one_input_case): Remove unused fp_format
1285         parameter.
1287         * math/auto-libm-test-out: Regenerate.
1289         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
1290         usage with TEST_COND_ibm128.
1291         (TEST_COND_flt_32): Remove.
1292         (TEST_COND_dbl_64): Remove.
1293         (TEST_COND_ldbl_96_intel): Remove.
1294         (TEST_COND_ldbl_96_m68k): Remove.
1295         (TEST_COND_ldbl_128): Remove.
1297 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1299         * auto-libm-test-in:
1300         Replace flt-32 usage with binary32.
1301         Replace dbl-64 usage with binary64.
1302         Replace ldbl-intel-96 usage with intel96.
1303         Replace ldbl-m68k-96 usage with m68k96.
1304         Replace ldbl-128ibm usage with ibm128.
1305         Replace ldbl-128 usage with binary128.
1307         * auto-libm-test-out: Regenerate.
1309 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1311         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
1312         (parse_ulps): Dynamically generate type name matching
1313         string from all_floats.
1314         (get_ulps): Generate the ulps as an array instead.
1315         (output_ulps): Dynamically compose the type based
1316         on the number of supported formats, and print
1317         the indices as type specific helper macros.
1319         * math/libm-test.inc: Remove comment about CHOOSE.
1320         (ulp_data): Generate the type in libm-test-ulps.h.
1321         (ULP_IDX): New macro.
1322         (find_ulps): Update usage of max_ulp.
1324         * math/test-double-vlen2.h (CHOOSE): Remove.
1325         * math/test-double-vlen4.h (CHOOSE): Likewise.
1326         * math/test-double-vlen8.h (CHOOSE): Likewise.
1327         * math/test-float.c (CHOOSE): Likewise.
1328         * math/test-float-finite.c (CHOOSE): Likewise.
1329         * math/test-double.c (CHOOSE): Likewise.
1330         * math/test-double-finite.c (CHOOSE): Likewise.
1331         * math/test-idouble.c (CHOOSE): Likewise.
1332         * math/test-ifloat.c (CHOOSE): Likewise.
1333         * math/test-ildoubl.c (CHOOSE): Likewise.
1334         * math/test-ldouble-finite.c (CHOOSE): Likewise.
1335         * math/test-ldouble.c (CHOOSE): Likewise.
1337         * math/test-float.h (TEST_FLOAT): Remove.
1338         * math/test-double.h (TEST_DOUBLE): Likewise.
1339         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
1341 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1343         * math/gen-libm-test.pl: (apply_lit): New subroutine.
1344         (parse_args): Strip C suffix from floating point literals
1345         typed with 'f' and wrap them with LIT().
1347         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
1348         (test_ff_f_data_nexttoward): Rename to
1349         (test_fj_f_data): New struct.
1350         (nexttoward_test_data): Relabel tests as
1351         TEST_fj_f instead of TEST_ff_f.
1353 2016-06-08  Florian Weimer  <fweimer@redhat.com>
1355         Emacs bug 23726.
1356         * malloc/malloc.c (dumped_main_arena_start): Update comment.
1357         (__libc_realloc): Correct size computation for dumped fake mmapped
1358         chunks.
1360 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
1362         [BZ #20219]
1363         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
1364         to itself.
1365         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
1367         [BZ #20218]
1368         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
1369         to itself.
1370         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
1372 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1374         [BZ #20195]
1375         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
1376         check to ...
1377         (init_cpu_features): Here.
1379 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
1381         [BZ #20214]
1382         * sysdeps/unix/sysv/linux/bits/in.h
1383         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1384          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
1385         Define to 1.
1386         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1387          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
1388         Define to 0.
1389         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
1390         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
1392 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
1394         [BZ #20198]
1395         * stdlib/Makefile (tests): Add tst-quick_exit, and
1396         tst-thread-quick_exit.
1397         [ifeq ($(have-cxx-thread_local),yes)]
1398         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
1399         (CFLAGS-tst-thread-quick_exit.o): Likewise.
1400         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
1401         (LDLIBS-tst-thread-quick_exit): Likewise.
1402         [ifneq ($(have-cxx-thread_local),yes)]
1403         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
1404         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
1405         If run_dtors is true call __call_tls_dtors.
1406         (exit): Call __run_exit_handlers with run_dtors set to true.
1407         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
1408         definition.
1409         * stdlib/quick_exit.c (quick_exit): Remove function.
1410         (__new_quick_exit): New function.
1411         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
1412         function.
1413         * stdlib/tst-quick_exit.cc: New file.
1414         * stdlib/tst-thread-quick_exit.cc: New file.
1415         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
1416         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
1417         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
1418         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
1419         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
1420         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
1421         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
1422         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
1423         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
1424         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
1425         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
1426         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
1427         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
1428         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
1429         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
1430         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
1432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
1433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
1434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
1435         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
1436         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
1437         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
1438         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
1439         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
1440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
1441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
1442         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
1443         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
1444         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
1446 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
1448         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
1449         a typo in comments.
1451 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
1453         [BZ #20213]
1454         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
1455         argument to itself.
1456         * math/libm-test.inc (asin_test_data): Add sNaN tests.
1458 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1460         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
1461         required flags.
1462         (CFLAGS-pwritev64.c): Likewise.
1463         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
1464         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1465         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
1466         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1467         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
1468         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
1469         syscall from auto-generation.
1470         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
1471         [WORDSIZE == 64] (pwritev64): Remove macro.
1472         [!PWRITEV] (PWRITEV): Likewise.
1473         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1474         [!PWRITEV] (PWRITE): Likewise.
1475         [!PWRITEV] (OFF_T): Likewise.
1476         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1477         (LO_HI_LONG): Remove macro.
1478         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
1479         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
1480         (PWRITEV): Remove macro.
1481         (PWRITEV_REPLACEMENTE): Likewise.
1482         (PWRITE): Likewise.
1483         (OFF_T): Likewise.
1484         (pwritev64): New function.
1485         * nptl/tst-cancel4.c (tf_writev): Add test.
1487         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
1488         required flags.
1489         (CFLAGS-preadv64.c): Likewise.
1490         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
1491         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1492         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
1493         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
1494         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
1495         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
1496         syscall from auto-generation.
1497         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
1498         [WORDSIZE == 64] (preadv64): Remove macro.
1499         [!PREADV] (PREADV): Likewise.
1500         [!PREADV] (PREADV_REPLACEMENT): Likewise.
1501         [!PREADV] (PREAD): Likewise.
1502         [!PREADV] (OFF_T): Likewise.
1503         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
1504         (LO_HI_LONG): Remove macro.
1505         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
1506         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
1507         (PREADV): Remove macro.
1508         (PREADV_REPLACEMENTE): Likewise.
1509         (PREAD): Likewise.
1510         (OFF_T): Likewise.
1511         (preadv64): New function.
1512         * nptl/tst-cancel4.c (tf_preadv): Add test.
1514 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
1516         [BZ #20212]
1517         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
1518         argument to itself.
1519         * math/libm-test.inc (acos_test_data): Add sNaN tests.
1521 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1523         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
1524         New symbol defined as libc_hidden_def.
1525         (strcasestr): Became a weak alias to __strcasestr.
1526         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
1527         according to multi-arch support.  Move __stpncpy hidden
1528         definition from here to...
1529         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
1530         symbol stpncpy.
1531         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
1532         libc_hidden_builtin_def.
1533         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
1534         memset symbol to use when multi-arch support is available.
1536 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1538         * dlfcn/tst-rec-dlopen.c: Include string.h.
1540 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1542         * manual/install.texi: Remove mention of --without-tls
1543         * INSTALL: Regenerate.
1545 2016-06-05  Florian Weimer  <fweimer@redhat.com>
1547         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
1548         Remove.
1549         (call_function, interposed_malloc_called): New variables.
1550         (malloc): New function.
1551         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
1552         and clear call_function as needed.
1554 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
1556         * include/wchar.h (__wmemset): Use __typeof.
1558 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
1560         * include/wchar.h (__wmemset): Declare function without typeof.
1562 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
1564         [BZ #20205]
1565         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
1566         exponent when incrementing negative subnormal with low mantissa
1567         word zero.
1568         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1569         Add another test.
1571 2016-06-03  Florian Weimer  <fweimer@redhat.com>
1573         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
1574         __wmemset instead of wmemset.
1576 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
1578         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
1579         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
1580         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
1581         __USE_KERNEL_IPV6_DEFS to 0.
1582         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
1583         Update comment.
1585 2016-06-01  Florian Weimer  <fweimer@redhat.com>
1587         [BZ #19861]
1588         Do not use IFUNC resolver with potentially unrelocated symbol.
1589         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
1590         (DEFINE_FORK): Remove macro and inline definition.
1591         (fork_alias): Renamed from fork_ifunc.
1592         (__fork_alias): Renamed from __fork_ifunc.
1594 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
1596         [BZ 19653]
1597         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
1598         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
1600 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1602         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
1603         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
1604         i386-linux-gnu).
1605         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
1606         Set to no.
1607         * sysdeps/mach/hurd/configure: Refresh.
1609 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1611         [BZ #20178]
1612         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
1613         on failure instead of exit.
1615 2016-05-30  Roland McGrath  <roland@hack.frob.com>
1617         [BZ #3629]
1618         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
1619         of POSIX.1-2008.
1621 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1623         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
1624           Use PLT entry for calling _hurd_self_sigstate.
1626 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
1628         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
1629         available logical processors with SMT level type sharing L2
1630         cache for Intel processors.
1632 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1634         [BZ #20160]
1635         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
1636         argument to itself before returning the result.
1637         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
1638         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
1639         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
1640         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
1641         Likewise.
1642         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
1643         Likewise.
1644         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
1645         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
1646         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
1647         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
1648         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
1649         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
1651         [BZ #20160]
1652         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
1653         argument to itself before returning the result.
1654         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1655         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1656         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1657         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
1658         Likewise.
1659         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1660         Likewise.
1661         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
1662         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
1663         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
1664         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
1665         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1666         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
1668 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1670         * libm-test.inc: Replace usage of M_El with
1671         (lit_e): New macro.
1673 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1675         * libm-test.inc: Replace usage of M_PI_4l with
1676         (lit_pi_4_d): New macro.
1678 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1680         * libm-test.inc: Replace usage of M_PIl with
1681         (lit_pi): New macro.
1683 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1685         * libm-test.inc: Replace usage of M_PI2l with
1686         (lit_pi_2_d): New macro.
1688         * math/test-double.h (LITM): New macro.
1689         * math/test-float.h (LITM): Likewise.
1690         * math/test-ldouble.h (LITM): Likewise.
1692 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1694         * libm-test.inc (M_PI_34l): Rename to
1695         (lit_pi_3_m_4_d): New Macro.
1696         (M_PI_34_LOG10El): Rename to
1697         (lit_pi_3_m_4_ln10_m_d): New Macro.
1698         (M_PI2_LOG10El): Rename to
1699         (lit_pi_2_ln10_m_d):  New Macro.
1700         (M_PI4_LOG10El): Rename to
1701         (lit_pi_4_ln10_m_d):  New Macro.
1702         (M_PI_LOG10El): Rename to
1703         (lit_pi_ln10_d):  New Macro.
1705 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1707         [BZ #20157]
1708         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
1709         determine whether to negate low half if [_ARCH_PPCGR], and integer
1710         comparison otherwise.
1711         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
1712         determine whether to negate low half.
1714         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
1715         (NO_TEST_INLINE_DOUBLE): Likewise.
1716         (TEST_COND_x86_64): Likewise.
1717         (TEST_COND_x86): Likewise.
1718         (M_PI_6l): Likewise.
1720 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1722         * math/libm-test.inc:
1723         (TEST_FLOAT): Change usage to TEST_COND_binary32.
1724         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
1725         (TEST_LDOUBLE): Update usage to evaluate as true if
1726         the guarded tests match the property being tested.
1727         (LDBL_MAX_EXP): Change to MAX_EXP.
1728         (LDBL_MIN_EXP): Change to MIN_EXP.
1729         (LDBL_MANT_DIG): Change to MANT_DIG, except for
1730         nexttoward tests.
1732 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1734         * math/libm-test.inc:
1735         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
1736         (TYPE_MIN): Likewise.
1737         (TYPE_TRUE_MIN): Likewise.
1738         (TYPE_MAX): Likewise.
1739         (MIN_EXP): Likewise.
1740         (MAX_EXP): Likewise.
1741         (MANT_DIG): Likewise.
1743         (FSTR_MAX): New macro.
1744         (__CONCATX): Likewise.
1745         (QTYPE_STR): Likewise.
1746         (TEST_COND_binary32): Likewise.
1747         (TEST_COND_binary64): Likewise.
1748         (TEST_COND_binary128): Likewise.
1749         (TEST_COND_ibm128): Likewise.
1750         (TEST_COND_intel96): Likewise.
1751         (TEST_COND_m68k96): Likewise.
1753         (TEST_COND_flt_32): Redefine as equivalent format test macro.
1754         (TEST_COND_dbl_64): Likewise.
1755         (TEST_COND_ldbl_96_intel): Likewise.
1756         (TEST_COND_ldbl_96_m68k): Likewise.
1757         (TEST_COND_ldbl_128): Likewise.
1758         (TEST_COND_ldbl_128ibm): Likewise.
1760         (plus_zero): Redefine using LIT macro.
1761         (minus_zero): Likewise.
1762         (plus_infty): Redefine as (INF).
1763         (minux_infty): Redefine as (-INF).
1764         (max_value): Redefine as TYPE_MAX.
1765         (min_value): Redefine as TYPE_MIN.
1766         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
1768         (print_float): Refactor to use snprintf to convert FLOAT values
1769         to string. This brings it closer to dropin replacement of strtof
1770         for the TS 18661 defined types.
1771         (update_stats): Likewise.
1772         (print_complex_function_ulps): Likewise.
1773         (print_max_error): Likewise.
1774         (print_complex_max_error): Likewise.
1775         (check_float_internal): Likewise.
1777         * math/test-float.h (PREFIX): New macro.
1778         (LIT): Likewise.
1779         (TYPE_STR): Likewise.
1780         (FTOSTR): Likewise.
1782         * math/test-double.h (PREFIX): New macro.
1783         (LIT): Likewise.
1784         (TYPE_STR): Likewise.
1785         (FTOSTR): Likewise.
1787         * math/test-ldouble.h (PREFIX): New macro.
1788         (LIT): Likewise.
1789         (TYPE_STR): Likewise.
1790         (FTOSTR): Likewise.
1792 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1794         [BZ #20156]
1795         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
1796         to itself when zero or not finite.
1797         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
1798         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1799         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
1800         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
1802 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
1804         [BZ #20153]
1805         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
1806         x * x + x for infinities and NaNs.
1808         [BZ #20151]
1809         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
1810         argument to itself before returning result.
1811         (__ieee754_y0l): Likewise.
1812         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1813         (__ieee754_y1l).
1815         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
1816         (atan_test_data): Likewise.
1817         (ceil_test_data): Likewise.
1818         (cos_test_data): Likewise.
1819         (cosh_test_data): Likewise.
1820         (erf_test_data): Likewise.
1821         (exp2_test_data): Likewise.
1822         (fabs_test_data): Likewise.
1823         (floor_test_data): Likewise.
1824         (ilogb_test_data): Likewise.
1825         (j0_test_data): Likewise.
1826         (j1_test_data): Likewise.
1827         (jn_test_data): Likewise.
1828         (lgamma_test_data): Likewise.
1829         (lrint_test_data): Likewise.
1830         (llrint_test_data): Likewise.
1831         (logb_test_data): Likewise.
1832         (lround_test_data): Likewise.
1833         (llround_test_data): Likewise.
1834         (nearbyint_test_data): Likewise.
1835         (rint_test_data): Likewise.
1836         (round_test_data): Likewise.
1837         (sin_test_data): Likewise.
1838         (sincos_test_data): Likewise.
1839         (sinh_test_data): Likewise.
1840         (sqrt_test_data): Likewise.
1841         (tan_test_data): Likewise.
1842         (tanh_test_data): Likewise.
1843         (tgamma_test_data): Likewise.
1844         (trunc_test_data): Likewise.
1845         (y0_test_data): Likewise.
1846         (y1_test_data): Likewise.
1847         (yn_test_data): Likewise.
1849         * math/libm-test.inc: Update comment about NaN testing.
1850         (TEST_SNAN): New macro.
1851         (snan_value): Likewise.
1852         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
1853         (fpclassify_test_data): Add sNaN tests.
1854         (isfinite_test_data): Likewise.
1855         (isinf_test_data): Likewise.
1856         (isnan_test_data): Likewise.
1857         (isnormal_test_data): Likewise.
1858         (issignaling_test_data): Likewise.
1859         (signbit_test_data): Likewise.
1860         * math/gen-libm-test.pl (%beautify): Add snan_value.
1861         (show_exceptions): Add argument $test_snan.
1862         (parse_args): Handle snan_value as non-finite.  Update call to
1863         show_exceptions.
1864         * math/Makefile (libm-test-no-inline-cflags): Add
1865         -fsignaling-nans.
1867 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1869         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
1870         (CFLAGS-oldsendmsg.c): Add rule.
1871         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1872         Correct recvmsg symbol name.
1873         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
1874         Likewise.
1876 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1878         * sysdeps/unix/sysv/linux/Makefile
1879         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
1880         oldsendmmsg.
1881         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
1882         sendmmsg.
1883         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1884         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1885         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1886         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1888         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1889         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1890         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1891         Likewise.
1892         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1893         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
1894         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1895         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
1896         iovlen and controllen fields to adjust to POSIX specification.
1897         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1899         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
1900         and change to correct expected type.
1901         (msghdr.msg_controllen): Likewise.
1902         (cmsghdr.cmsg_len): Likewise.
1903         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
1904         expected POSIX assumption about the size.
1905         (msghdr.msg_controllen): Likewise.
1906         (msghdr.__glibc_reserved1): Likewise.
1907         (msghdr.__glibc_reserved2): Likewise.
1908         (cmsghdr.cmsg_len): Likewise.
1909         (cmsghdr.__glibc_reserved1): Likewise.
1910         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
1911         Add ptw-oldrecvmsg and ptw-oldsendmsg.
1912         (CFLAGS-sendmsg.c): Remove rule.
1913         (CFLAGS-recvmsg.c): Likewise.
1914         (CFLAGS-oldsendmsg.c): Add rule.
1915         (CFLAGS-oldrecvmsg.c): Likewise.
1916         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
1917         recvmsg and sendmsg.
1918         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
1919         Likewise.
1920         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
1921         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
1922         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1923         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
1924         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1925         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1926         Likewise.
1927         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1928         Likewise.
1929         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
1930         Likewise.
1931         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
1932         Likewise.
1933         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1934         Likewise.
1935         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1936         Likewise.
1937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
1938         (GLIBC_2.24): Likewise.
1939         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1940         Likewise.
1941         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1942         Likewise.
1943         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1944         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1945         Likewise.
1946         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1947         Likewise.
1948         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1949         Likewise.
1950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
1951         (GLIBC_2.24): Likewise.
1952         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
1953         Likewise.
1954         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
1955         Likewise.
1956         * sysdeps/unix/sysv/linux/Makefile
1957         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
1958         (CFLAGS-sendmsg.c): Add rule.
1959         (CFLAGS-recvmsg.c): Likewise.
1960         (CFLAGS-oldsendmsg.c): Likewise.
1961         (CFLAGS-oldrecvmsg.c): Likewise.
1962         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
1963         initialization.
1964         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
1965         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
1966         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
1967         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1968         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
1969         iovlen and controllen fields to adjust to POSIX specification.
1970         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
1971         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
1972         added recvmsg and sendmsg.
1973         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1974         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1975         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1976         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1977         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1978         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1979         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1980         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1981         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1982         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1983         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1984         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1986         Likewise.
1987         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
1988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1989         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1990         Likewise.
1991         Likewise.
1992         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1993         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1994         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1995         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1996         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1997         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1999         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2001         Likewise.
2002         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2003         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2005         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
2006         from auto-generation.
2007         (sendmsg): Likewise.
2008         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
2009         (sendmsg): Likewise.
2010         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
2011         (sendmsg): Likewise.
2012         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
2013         (sendmsg): Likewise.
2014         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
2015         (sendmsg): Likewise.
2016         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
2017         (sendmsg): Likewise.
2018         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
2019         Likewise.
2020         (sendmsg): Likewise.
2021         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
2022         (sendmsg): Likewise.
2023         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2024         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2025         Remove.
2026         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2027         Likewise.
2028         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2029         Undefine.
2030         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2031         Likewise.
2032         * sysdeps/unix/sysv/linux/kernel-features.h
2033         (__ASSUME_SENDMSG_SYSCALL): Define.
2034         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2035         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2036         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2037         Remove.
2038         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2039         Likewise.
2040         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2041         Undefine.
2042         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2043         Likewise.
2044         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2045         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2046         Remove.
2047         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2048         Likewise.
2049         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2050         Undefine.
2051         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2052         Likewise.
2053         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2054         (__ASSUME_SENDMSG_SYSCALL): Undefine.
2055         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2056         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2057         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2058         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2059         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2060         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2061         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2063 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2065         * stdlib/gen-tst-strtod-round.c: Add backslash to
2066         compile command in comment.
2067         (printfp): Remove the literal suffix, and define an infinite
2068         value as INF to avoid expansion clash with INFINITY.
2069         (round_str): Remove the literal suffix.
2070         (round_for_all): Likewise, remove the now duplicate ldbl-64
2071         entry, and remove some magic constants.
2073         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
2074         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
2075         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
2076         (_CONCAT): New macro.
2077         (CONCAT): Likewise.
2078         (CHOOSE_ld): Likewise.
2079         (CHOOSE_f): Likewise.
2080         (CHOOSE_d): Likewise.
2081         (FTYPE_MEMBER): Likewise.
2082         (BOOL_MEMBER): Likewise.
2083         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
2084         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
2085         (_XNTRY): Likewise.
2086         (XNTRY): Likewise.
2087         (_ENTRY): Likewise.
2088         (ENTRY): Likewise.
2089         (test_exactness): Generate members via macro.
2090         (test_results): Likewise.
2091         (test): Update members.
2092         (TEST): Redefine using new macros.
2093         (INF): New macro.
2094         (fetestmodes): New structure.
2095         (do_test): Refactor to be type generic.
2096         (test_in_one_mode): Refactor duplicate code into
2097         (GEN_ONE_TEST): New macro.
2099         * stdlib/tst-strtod-round-data.h: Regenerate.
2101         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
2102         Extend to pass additional arbitrary parameters to
2103         generators.
2105 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
2107         [BZ #15479]
2108         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
2109         floating-point state after first floating-point operation on
2110         input.  Restore full floating-point state instead of just rounding
2111         mode.
2112         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2113         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2114         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2115         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2116         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2118         [BZ #15479]
2119         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
2120         floating-point state after first floating-point operation on
2121         input.  Restore full floating-point state instead of just rounding
2122         mode.
2123         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2124         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2125         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2126         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2127         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2129 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2131         [BZ #19727]
2132         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
2133         valid high surrogate.
2134         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
2135         of an utf16 surrogate.
2136         * iconv/gconv_simple.c (BODY): Likewise.
2137         * iconvdata/bug-iconv12.c: New file.
2138         * iconvdata/Makefile (tests): Add bug-iconv12.
2140 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2142         [BZ #19726]
2143         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
2144         outptrp in case of an illegal input.
2145         * iconv/tst-iconv6.c: New file.
2146         * iconv/Makefile (tests): Add tst-iconv6.
2148 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2150         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
2151         an error in case of a value in range of an utf16 low surrogate.
2153 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2155         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
2156         an error in case of a value in range of an utf16 low surrogate.
2158 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2160         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
2161         Move to ...
2162         * sysdeps/s390/Makefile: ... here.
2163         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
2164         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
2165         (BRANCH_ON_COUNT): New define.
2166         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
2167         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
2168         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
2169         run on s390-32, too.
2170         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
2171         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
2172         run on s390-32, too.
2173         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
2174         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
2175         run on s390-32, too.
2177 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2179         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
2180         etf3eh or new vector loop-variant.
2182 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2184         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
2185         etf3eh or new vector loop-variant.
2187 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2189         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
2190         or new vector loop-variant.
2192 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2194         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
2195         Rename to TR_LOOP and usage of tr instead of troo instruction.
2197 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2199         * sysdeps/s390/multiarch/gconv_simple.c: New File.
2200         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
2202 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2204         * sysdeps/s390/multiarch/8bit-generic.c: New File.
2205         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
2206         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
2207         New override define.
2208         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
2210 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2212         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
2213         * sysdeps/s390/configure.ac: Add test for S390 vector register
2214         support in gcc.
2215         * sysdeps/s390/configure: Regenerated.
2217 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2219         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
2220         Install file from $(objpfx)gconv-modules.
2221         ($(objpfx)gconv-modules): Concatenate architecture specific file
2222         in variable sysdeps-gconv-modules and gconv-modules in src dir.
2223         * sysdeps/s390/gconv-modules: New file.
2224         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
2225         Deleted.
2226         ($(objpfx)gconv-modules-s390): Deleted.
2227         (sysdeps-gconv-modules): New variable.
2229 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2231         [BZ #15479]
2232         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
2233         of immediate operand to rounding instruction.
2234         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
2235         Likewise.
2236         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
2237         Likewise.
2238         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
2239         Likewise.
2241 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2243         * math/libm-test.inc (MIN_EXP): Directly define as
2244         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
2246 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2248         * math/libm-test.inc (MANT_DIG): Directly define as
2249         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
2251 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2253         * stdlib/gen-tst-strtod-round.c (main):
2254           Change usage to more closely match the generated
2255           output.  Add usage and compilation instructions.
2256           (string_to_fp): Add and use FILE* parameter as
2257           output target.
2258           (print_fp): Likewise.
2259           (round_str): Likewise.
2260           (round_for_all): Likewise.
2261         * stdlib/tst-strtod-round.c (tests): Move into
2262         * stdlib/tst-strtod-round-data.h: New file.
2264 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2266         [BZ #15479]
2267         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
2268         (__round): Do not force "inexact" exception.
2269         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
2270         variable.
2271         (__round): Do not force "inexact" exception.
2272         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
2273         (__roundf): Do not force "inexact" exception.
2274         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
2275         (__roundl): Do not force "inexact" exception.
2276         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
2277         (__roundl): Do not force "inexact" exception.
2278         * math/libm-test.inc (round_test_data): Do not allow spurious
2279         "inexact" exceptions.
2281         [BZ #15479]
2282         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
2283         exception in comment.
2284         (huge): Remove variable.
2285         (__floor): Do not force "inexact" exception.
2286         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
2287         "inexact" exception in comment.
2288         (huge): Remove variable.
2289         (__floor): Do not force "inexact" exception.
2290         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
2291         exception in comment.
2292         (huge): Remove variable.
2293         (__floorf): Do not force "inexact" exception.
2294         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
2295         exception in comment.
2296         (huge): Remove variable.
2297         (__floorl): Do not force "inexact" exception.
2299         [BZ #15479]
2300         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
2301         exception in comment.
2302         (huge): Remove variable.
2303         (__ceil): Do not force "inexact" exception.
2304         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
2305         "inexact" exception in comment.
2306         (huge): Remove variable.
2307         (__ceil): Do not force "inexact" exception.
2308         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
2309         (__ceilf): Do not force "inexact" exception.
2310         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
2311         exception in comment.
2312         (huge): Remove variable.
2313         (__ceill): Do not force "inexact" exception.
2315 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2317         * config.h.in (BIND_NOW): New.
2318         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
2319         * configure: Regenerated.
2320         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
2321         indirect branch via the GOT slot.
2323 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2325         [BZ #19765]
2326         * sysdeps/s390/mempcpy.S: New File.
2327         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2328         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
2329         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2330         Add mempcpy variants.
2331         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
2332         (memcpy): Adjust to be usable from mempcpy entry point.
2333         (__memcpy_mvcle): Likewise.
2334         * sysdeps/s390/s390-64/memcpy.S: Likewise.
2335         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
2336         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
2337         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
2338         (__memcpy_z10): Likewise.
2339         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2341 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2343         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
2344         Remove __GI_ symbol.
2345         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
2346         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
2347         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
2348         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2349         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
2350         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
2352 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2354         * sysdeps/s390/s390-64/memcpy.S (memcpy):
2355         Use cghi instead of chi to compare 64bit value.
2357 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2359         * sysdeps/s390/s390-32/memcpy.S (memcpy):
2360         Jump to 1MB check before executing mvc-loop.
2362 2016-05-24  Florian Weimer  <fweimer@redhat.com>
2364         [BZ #6527]
2365         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
2366         unconditionally.
2367         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
2369 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2371         * stdlib/tst-strtod6.c (do_test): Use new type generic
2372         invocation of the test function.
2373         (test): Refactor into ...
2374         (TEST_STRTOD): New macro base function.
2376 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2378         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
2379         (TEST_STRTOD): New macro.
2380         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
2382 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2384         * stdlib/tst-strtod6.c (do_test): Use new type generic
2385         invocation of the test function.
2386         (test): Refactor into ...
2387         (TEST_STRTOD): New macro base function.
2389 2016-05-23  Florian Weimer  <fweimer@redhat.com>
2391         CVE-2016-4429
2392         [BZ #20112]
2393         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
2394         payload.
2396 2016-05-23  Florian Weimer  <fweimer@redhat.com>
2398         [BZ #20111]
2399         * bits/sockaddr.h (_SS_SIZE): Define.
2400         * bits/socket.h (_SS_SIZE): Remove.
2401         (_SS_PADSIZE): Adjust to account for all padding.
2402         (struct sockaddr_storage): Update comment.  Avoid implicit
2403         padding.
2404         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
2405         (_SS_PADSIZE): Adjust to account for all padding.
2406         (struct sockaddr_storage): Update comment.  Avoid implicit
2407         padding.
2408         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
2409         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
2410         (_SS_PADSIZE): Adjust to account for all padding.
2411         (struct sockaddr_storage): Update comment.  Avoid implicit
2412         padding.
2413         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
2414         __SS_SIZE is 126 in this version.
2415         * inet/tst-sockaddr.c: New file.
2416         * inet/Makefile (tests): Add tst-sockaddr.c
2417         (tst-sockaddr.c): Compile with non-strict aliasing.
2419 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
2421         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
2422         [XPG3 || XPG4].
2423         (NL_ARGMAX): Also expect for [XPG3].
2424         (NL_LANGMAX): Likewise.
2425         (NL_MSGMAX): Likewise.
2426         (NL_NMAX): Likewise.
2427         (NL_SETMAX): Likewise.
2428         (NL_TEXTMAX): Likewise.
2429         (NZERO): Likewise.
2430         (TMP_MAX): Likewise.
2431         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
2432         variable.
2434         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
2435         (PF_MAX): Update value.
2436         (AF_KCM): New macro.
2437         (SOL_NETBEUI): Likewise.
2438         (SOL_LLC): Likewise.
2439         (SOL_DCCP): Likewise.
2440         (SOL_NETLINK): Likewise.
2441         (SOL_TIPC): Likewise.
2442         (SOL_RXRPC): Likewise.
2443         (SOL_PPPOL2TP): Likewise.
2444         (SOL_BLUETOOTH): Likewise.
2445         (SOL_PNPIPE): Likewise.
2446         (SOL_RDS): Likewise.
2447         (SOL_IUCV): Likewise.
2448         (SOL_CAIF): Likewise.
2449         (SOL_ALG): Likewise.
2450         (SOL_NFC): Likewise.
2451         (SOL_KCM): Likewise.
2452         (MSG_BATCH): New enum value and macro.
2454 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
2456         [BZ #18185]
2457         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
2458         sharing L2 cache to 2 for Knights Landing.
2460 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
2462         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
2463         (FTW_DP): Do not expect for [XPG3 || XPG4].
2464         (FTW_SL): Do not expect for [XPG3].
2465         (FTW_SLN): Likewise.
2466         (FTW_PHYS): Likewise.
2467         (FTW_MOUNT): Likewise.
2468         (FTW_DEPTH): Likewise.
2469         (FTW_CHDIR): Likewise.
2470         (nftw): Likewise.
2471         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
2472         variable.
2474 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
2476         * manual/errno.texi: Fix various typos & grammar errors.
2478 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
2480         * manual/intro.texi: Fix duplicated typo.
2482 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
2484         [BZ #13304]
2485         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
2486         <float.h>, <math_private.h> and <stdlib.h>.
2487         (add_split): New function.
2488         (mul_split): Likewise.
2489         (ext_val): New typedef.
2490         (store_ext_val): New function.
2491         (mul_ext_val): New function.
2492         (compare): New function.
2493         (add_split_ext): New function.
2494         (__fmal): After checking for Inf, NaN and zero, compute result as
2495         an exact sum of scaled double values in round-to-nearest before
2496         adding those up and adjusting for other rounding modes.
2497         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
2498         tests of fma.
2499         * math/auto-libm-test-out: Regenerated.
2501 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2503         [BZ #20119]
2504         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
2505         processor level type mask for CPUID with EAX == 11.
2507 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2509         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
2510         logical threads if the HTT bit is 0.
2511         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
2512         (index_cpu_HTT): Likewise.
2513         (reg_HTT): Likewise.
2515 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2517         [BZ #20115]
2518         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
2519         Remove alignments on jump targets.
2521 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
2523         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
2524         (getpwent): Likewise.
2525         (setpwent): Likewise.
2526         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
2527         variable.
2529         * conform/data/search.h-data (insque): Do not expect for [XPG3].
2530         (remque): Likewise.
2531         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
2532         variable.
2534 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
2536         * math/libm-test.inc: Update comment not to refer to signs of NaNs
2537         not being tested.
2539 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2541         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2542         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
2543         call.
2544         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2545         (__condvar_cleanup1): Likewise.
2547 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2549         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
2550         New
2551         (__pthread_unwind): Renamed to ...
2552         (PTHREAD_UNWIND): This.
2553         (__pthread_enable_asynccancel): Replace
2554         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
2556 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
2558         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
2559         (CLONE_NEWCGROUP): New macro.
2561         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
2562         (Q_GETNEXTQUOTA): New macro.
2564 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2566         [BZ #19907]
2567         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
2568         buffer updated by the previous run.
2569         * string/test-memcpy.c (do_one_test): Likewise.
2570         * benchtests/bench-memmove.c (do_one_test): Add a comment.
2571         * string/test-memmove.c (do_one_test): Likewise.
2573 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
2575         [BZ #20094]
2576         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
2577         not [__USE_XOPEN].
2578         (unlockpt): Likewise.
2579         (ptsname): Likewise.
2580         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
2581         variable.
2583         [BZ #20076]
2584         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
2585         instead of [__USE_UNIX98].
2586         (S_ISSOCK): Likewise.
2587         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
2588         variable.
2590         [BZ #20074]
2591         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
2592         [__USE_POSIX].
2593         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
2594         variable.
2596         [BZ #20051]
2597         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
2598         (ttyslot): Do not declare.
2599         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
2600         (ttyslot): New prototype.
2601         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
2602         variable.
2603         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2605 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2607         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
2609 2016-05-13  Florian Weimer  <fweimer@redhat.com>
2611         Fix race condition in tst-mallocfork2, use fewer resources.
2612         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
2613         to current process group.
2614         (signal_sender): Yield in the non-sleeping case.
2616 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
2618         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
2619         (ecvt): Likewise.
2620         (fcvt): Likewise.
2621         (gcvt): Likewise.
2622         (getsubopt): Likewise.
2623         (grantpt): Likewise.
2624         (initstate): Likewise.
2625         (l64a): Likewise.
2626         (mktemp): Likewise.
2627         (mkstemp): Likewise.
2628         (ptsname): Likewise.
2629         (random): Likewise.
2630         (realpath): Likewise.
2631         (setstate): Likewise.
2632         (srandom): Likewise.
2633         (ttyslot): Likewise.
2634         (unlockpt): Likewise.
2635         (valloc): Likewise.
2637         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
2638         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
2639         variable.
2641 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2643         [BZ #20072]
2644         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
2645         init_cpu_features only if SHARED is defined.
2646         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
2648 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2650         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
2651         non-inclusive caches on Intel processors.
2653 2016-05-13  Florian Weimer  <fweimer@redhat.com>
2655         * malloc/malloc.c (dumped_main_arena_start)
2656         (dumped_main_arena_end): New variables.
2657         (DUMPED_MAIN_ARENA_CHUNK): New macro.
2658         (do_check_chunk): Skip dumped fake mmapped chunks.
2659         (munmap_chunk): Likewise.
2660         (__libc_free): Do not adjust statistics for fake mmapped chunks.
2661         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
2662         mmapped chunks.
2663         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
2664         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
2665         and dumped_main_arena_end to cover the dumped heap.
2667 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
2669         * conform/data/time.h-data (getdate_err): Do not expect for
2670         [XPG3].
2671         (getdate): Likewise.
2672         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
2673         variable.
2675         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
2676         (F_ULOCK): Likewise.
2677         (F_TEST): Likewise.
2678         (F_TLOCK): Likewise.
2679         (useconds_t): Likewise.
2680         (intptr_t): Do not expect for [XPG3] or [XPG4].
2681         (brk): Do not expect for [XPG3]
2682         (fchown): Likewise.
2683         (fchdir): Likewise.
2684         (ftruncate): Likewise.
2685         (getdtablesize): Likewise.
2686         (gethostid): Likewise.
2687         (getpagesize): Likewise.
2688         (getpgid): Likewise.
2689         (getsid): Likewise.
2690         (getwd): Likewise.
2691         (lchown): Likewise.
2692         (lockf): Likewise.
2693         (readlink): Likewise.
2694         (sbrk): Likewise.
2695         (setpgrp): Likewise.
2696         (setregid): Likewise.
2697         (setreuid): Likewise.
2698         (symlink): Likewise.
2699         (sync): Likewise.
2700         (truncate): Likewise.
2701         (ualarm): Likewise.
2702         (usleep): Likewise.
2703         (vfork): Likewise.
2704         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
2705         variable.
2707         [BZ #20054]
2708         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
2709         not [__USE_UNIX98].
2710         * conform/data/unistd.h-data (gethostname): Do not expect for
2711         [XPG3].
2713         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
2714         [!POSIX] (S_IFBLK): Likewise.
2715         [!POSIX] (S_IFCHR): Likewise.
2716         [!POSIX] (S_IFIFO): Likewise.
2717         [!POSIX] (S_IFREG): Likewise.
2718         [!POSIX] (S_IFDIR): Likewise.
2719         [!POSIX] (S_IFLNK): Likewise.
2720         [!POSIX] (S_IFSOCK): Likewise.
2721         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
2722         variable.
2723         (test-xfail-XPG4/fcntl.h/conform): Likewise.
2725 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
2727         * sysdeps/aarch64/memset.S (__memset):
2728         Rewrite of optimized memset.
2730 2016-05-12  Florian Weimer  <fweimer@redhat.com>
2732         [BZ #19703]
2733         Partially async-signal-safe fork for single-threaded processes.
2734         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
2735         variable.  Do not acquire and reset/release malloc and libio locks
2736         in single-threaded processes.
2737         * malloc/tst-mallocfork2.c: New file.
2738         * malloc/Makefile (tests): Add it.
2740 2016-05-12  Florian Weimer  <fweimer@redhat.com>
2742         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
2743         argument.  Use scratch buffer instead of extend_alloca.
2744         (gethosts): Use scratch buffer instead of extend_alloca.
2745         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
2746         extend_alloca.
2747         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
2749 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
2751         [BZ #20055]
2752         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
2753         instead of [__USE_UNIX98].
2754         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
2755         [__USE_UNIX98].
2756         * conform/data/termios.h-data (tcgetsid): Do not expect for
2757         [XPG3].
2758         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
2759         variable.
2760         (test-xfail-XPG4/termios.h/conform): Likewise.
2762 2016-05-11  Florian Weimer  <fweimer@redhat.com>
2764         Do not use mcheck in localedef.
2765         * locale/programs/localedef.c (turn_on_mcheck)
2766         (__malloc_initialize_hook): Remove.
2768 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2770         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
2771         * sysdeps/s390/s390-64/Makefile: Likewise.
2773 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
2775         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
2776         Remove ifunc-defines.sym.
2777         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
2778         Likewise.
2779         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
2780         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2781         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
2782         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
2783         rtld-global-offsets.sym.
2784         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
2785         * sysdeps/x86/cpu-features-offsets.sym: This.
2786         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
2787         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
2789 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
2791         [BZ #20073]
2792         * io/sys/stat.h (fchmod): Declare for
2793         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
2794         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
2795         variable.
2797         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
2798         [XPG3] (S_IFSOCK): Likewise.
2799         [XPG3] (S_ISVTX): Likewise.
2800         [XPG3] (S_ISLNK): Likewise.
2801         [XPG3] (S_ISSOCK): Likewise.
2802         [XPG3] (fchmod): Likewise.
2803         [XPG3] (lstat): Likewise.
2804         [XPG3] (mknod): Likewise.
2806         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
2807         [XPG3].  Expect type long and XFAIL for [XPG4].
2808         (st_blocks): Likewise.
2810         [BZ #20044]
2811         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
2812         (pthread_atfork): New prototype.
2813         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
2814         variable.
2816         [BZ #20043]
2817         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
2818         prototype.
2820 2016-05-10  Florian Weimer  <fweimer@redhat.com>
2822         [BZ #20017]
2823         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
2824         gmtime.
2826 2016-05-10  Florian Weimer  <fweimer@redhat.com>
2828         [BZ #19994]
2829         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
2830         flag in _res.options.
2832 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
2834         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
2835         [XPG3 || XPG4].
2836         (blksize_t): Likewise.
2837         (clockid_t): Likewise.
2838         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
2839         variable.
2840         (test-xfail-XPG4/sys/types.h/conform): Likewise.
2842 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2844         * sysdeps/unix/sysv/linux/s390/init-first.c:
2845         Add VDSO_SYMBOL(getcpu).
2846         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
2847         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
2848         Add VDSO_SYMBOL(getcpu).
2849         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
2850         New define HAVE_GETCPU_VSYSCALL.
2851         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2853 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
2855         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
2856         instead of <sysdeps/x86_64/cacheinfo.c>.
2857         * sysdeps/x86_64/cacheinfo.c: Moved to ...
2858         * sysdeps/x86/cacheinfo.c: Here.
2860 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2862         * malloc/malloc-internal.h: Adjust header file guard.
2864 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2866         [BZ #19787]
2867         * inet/getnameinfo.c (check_sprintf_result): New function.
2868         (CHECKED_SNPRINTF): New macro.
2869         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
2870         to the host buffer.
2871         (gni_host_local): Use checked_copy to copy the host name.
2872         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
2873         (gni_serv_local): Use checked_copy to copy the service name.
2874         (getnameinfo): Remove unnecessary truncation of result buffers.
2876 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2878         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
2879         in case of inet_ntop failure.
2881 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2883         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
2884         avoid long lines.
2885         (gni_host_inet_numeric): Likewise.  Reduce scope of local
2886         variables.
2887         (gni_host_inet, gni_host_local): Add comment.
2888         (gni_host): Add comment.  Use temporary to avoid long lines.
2890 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2892         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
2893         registers specifiers where general purpose registers specifiers should
2894         have been used.
2896 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2898         [BZ #19779]
2899         CVE-2016-1234
2900         Avoid copying names of directory entries.
2901         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
2902         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
2903         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
2904         (struct readdir_result): New type.
2905         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
2906         (GL_READDIR): New macros.
2907         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
2908         (convert_dirent, convert_dirent64): New functions.
2909         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
2910         convert_dirent64.  Adjust references to the readdir result.
2911         * sysdeps/unix/sysv/linux/i386/glob64.c:
2912         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
2913         * posix/bug-glob2.c (LONG_NAME): Define.
2914         (filesystem): Add LONG_NAME.
2915         (my_DIR): Increase the size of room_for_dirent.
2917 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
2919         [BZ #20041]
2920         * misc/sys/select.h (__need_timespec): Only define if
2921         [__USE_XOPEN2K].
2922         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
2923         variable.
2924         (test-xfail-XPG4/utmpx.h/conform): Likewise.
2925         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2926         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2928 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2929             Segher Boessenkool  <segher@gcc.gnu.org>
2931         [BZ #20004]
2932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
2933         (__novec_swapcontext): Add missing load.
2935 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
2937         [BZ #20023]
2938         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
2939         <time.h>.
2940         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
2941         variable.
2942         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2944 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
2947         flags CLONE_VM compare.
2949 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2951         [BZ #20031]
2952         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
2953         completely empty.
2955 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2957         [BZ #19573]
2958         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
2959         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
2960         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
2961         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
2962         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
2963         (hesiod_free_list): Mark as hidden.
2964         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
2965         res_set, res_get.
2966         * hesiod/hesiod.c: Remove unnecessary forward declarations.
2967         (init, __hesiod_res_get, __hesiod_res_set): Remove.
2968         (hesiod_init): Remove obsolete res_ninit call.
2969         (hesiod_end): Do not free resolver state.  Do not invoke callback.
2970         (hesiod_bind): Do not call init.
2971         (get_txt_records): Use res_mkquery, res_send instead of
2972         res_nmkquery, res_nsend.
2973         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
2974         instead of _nss_hesiod_init.
2975         (_nss_hesiod_initgroups_dyn): Likewise.
2976         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
2977         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
2978         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
2980 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2982         * hesiod/hesiod_p.h (DEF_RHS): Remove.
2983         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
2985 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2987         * hesiod/hesiod.h: Remove RCS keyword.
2988         * hesiod/hesiod_p.h: Likewise.
2990         * hesiod/hesiod.c: Likewise.
2992 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
2994         [BZ #12450]
2995         * locale/iso-639.def: Add Samogitian/sgs.
2997 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
2999         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
3001         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
3003 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
3004             Carlos O'Donell  <carlos@redhat.com>
3006         [BZ #19072]
3007         * grp/Makefile (headers): Add grp-merge.h
3008         (routines): Add grp-merge.
3009         * grp/getgrgid_r.c: Include grp-merge.h.
3010         (DEEPCOPY_FN): Define.
3011         (MERGE_FN): Define.
3012         * grp/getgrname_r.c: Include grp-merge.h.
3013         (DEEPCOPY_FN): Define.
3014         (MERGE_FN): Define.
3015         * grp/grp-merge.c: New file.
3016         * grp/grp-merge.h: New file.
3017         * include/grp-merge.h: New file.
3018         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
3019         __copy_grp@GLIBC_PRIVATE.
3020         * manual/nss.texi (Actions in the NSS configuration): Describe
3021         return, continue, and merge.
3022         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
3023         (DEEPCOPY_FN): Define.
3024         (MERGE_FN): Define.
3025         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
3026         (DEEPCOPY_FN): Define.
3027         (MERGE_FN): Define.
3028         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
3029         [!MERGE_FN]: Define __merge_einval.
3030         (CHECK_MERGE): Define.
3031         (REENTRANT_NAME): Process merge if do_merge is true.
3032         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
3033         (__nss_getent_r): Likewise.
3034         * nss/nsswitch.c (nss_parse_service_list): Likewise.
3035         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
3037 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3039         [BZ #20012]
3040         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
3041         length to calculate the buffer to read.
3042         (fmemopen_write): Set the buffer position based on bytes written.
3043         (fmemopen_seek): Return EINVAL for invalid whence modes.
3045         [BZ #19957]
3046         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
3047         tst-getpid2.
3048         (test): Add tst-clone2.
3049         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
3050         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
3051         pid/tid fields for CLONE_VM.
3052         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3053         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3054         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3055         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
3056         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3057         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3058         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3059         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3061         Likewise.
3062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3063         Likewise.
3064         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3065         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3066         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3067         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3068         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3069         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3070         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3071         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
3073 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3075         [BZ #19642]
3076         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
3077         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
3078         (gni_serv_local, gni_serv): New functions extracted from
3079         getnameinfo.
3080         (getnameinfo): Call gni_host and gni_serv to perform the
3081         processing.  Always free scratch buffer.
3083 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3085         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
3086         remaining bytes in the dest string, with zeros.
3088 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3090         [BZ #20010]
3091         CVE-2016-3706
3092         * sysdeps/posix/getaddrinfo.c
3093         (convert_hostent_to_gaih_addrtuple): New function.
3094         (gethosts): Call convert_hostent_to_gaih_addrtuple.
3095         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
3096         AF_INET data.
3098 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3100         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
3101         callback function gl_readdir.
3102         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
3103         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
3104         (glob_in_dir): Remove len.  Use strdup instead of malloc and
3105         memcpy to copy the name.
3106         * manual/pattern.texi (Calling Glob): Document requirements for
3107         implementations of the gl_readdir callback function.
3108         * manual/examples/mkdirent.c: New example.
3109         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
3110         per the manual guidance.
3111         * posix/tst-gnuglob.c (my_readdir): Likewise.
3113 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
3115         [BZ #20014]
3116         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
3117         not [__USE_POSIX].
3118         (getchar_unlocked): Likewise.
3119         (putc_unlocked): Likewise.
3120         (putchar_unlocked): Likewise.
3121         (flockfile): Likewise.
3122         (ftrylockfile): Likewise.
3123         (funlockfile): Likewise.
3124         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
3125         variable.
3126         (test-xfail-XPG4/stdio.h/conform): Likewise.
3128         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
3129         Expect constant.
3130         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
3131         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
3132         variable.
3133         (test-xfail-XPG4/langinfo.h/conform): Likewise.
3134         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3136         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
3137         [__USE_LARGEFILE64] (off64_t): Likewise.
3138         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
3139         variable.
3141 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3143         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
3145 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3147         * resolv/inet_addr.c: Reindent preprocessor conditionals.
3148         * resolv/res_init.c: Likewise.
3149         * resolv/res_mkquery.c: Likewise.
3151 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3153         * resolv/res_init.c (isascii): Do not define.  Use definition in
3154         <ctype.h>.
3155         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
3156         (LOG_AUTH): Remove.
3157         (SPRINTF): Remove, adjust caller.
3158         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
3160 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3162         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
3163         SUNSECURITY conditional.
3164         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
3166 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3168         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
3169         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
3170         Remove BSD-related preprocessor conditionals.
3171         * conf/portability.h: Remove.
3173 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3175         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
3176         * resolv/res_data.c: Likewise.
3178 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3180         * resolv/res_comp.c: Remove code conditional on __ultrix__.
3181         * resolv/res_data.c: Remove code conditional on ultrix.
3183 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3185         * resolv/res_init.c (RFC1535): Do not define.  Remove
3186         RFC1535 preprocessor conditionals.
3187         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
3188         because there configuration options which make the resolver
3189         behavior different.
3191 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3193         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
3194         RESOLVSORT preprocessor conditionals.
3195         * resolv/nss_dns/dns-host.c: Likewise.
3196         * resolv/res_init.c: Likewise.
3198 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3200         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
3201         is never defined.
3203 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3205         * inet/inet_lnaof.c: Remove SCSS keyword.
3206         * inet/inet_mkadr.c: Likewise.
3207         * inet/inet_net.c: Likewise.
3208         * inet/inet_netof.c: Likewise.
3209         * inet/rcmd.c: Likewise.
3210         * inet/rexec.c: Likewise.
3211         * inet/ruserpass.c: Likewise.
3213 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3215         * resolv/inet_addr.c: Remove _LIBC conditionals.
3216         * resolv/res_data.c: Likewise.
3217         * resolv/res_init.c: Likewise.
3218         * resolv/res_mkquery.c: Likewise.
3219         * resolv/res_libc.c: Update comment.
3220         * resolv/README: Update.
3222 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3224         * resolv/gethnamaddr.c: Remove SCSS keyword.
3225         * resolv/herror.c: Likewise.
3226         * resolv/inet_addr.c: Likewise.
3227         * resolv/inet_net_ntop.c: Likewise.
3228         * resolv/inet_net_pton.c: Likewise.
3229         * resolv/inet_neta.c: Likewise.
3230         * resolv/inet_ntop.c: Likewise.
3231         * resolv/inet_pton.c: Likewise.
3232         * resolv/ns_date.c: Remove RCS keyword.
3233         * resolv/ns_name.c: Likewise.
3234         * resolv/ns_netint.c: Likewise.
3235         * resolv/ns_parse.c: Likewise.
3236         * resolv/ns_print.c: Likewise.
3237         * resolv/ns_samedomain.c: Likewise.
3238         * resolv/ns_ttl.c: Likewise.
3239         * resolv/nsap_addr.c: Likewise.
3240         * resolv/res_comp.c: Remove SCSS and RCS keyword.
3241         * resolv/res_data.c: Remove RCS keyword.
3242         * resolv/res_debug.c: Remove SCSS and RCS keyword.
3243         * resolv/res_init.c: Likewise.
3244         * resolv/res_mkquery.c: Likewise.
3245         * resolv/res_query.c: Likewise.
3246         * resolv/res_send.c: Likewise.
3248 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3250         * conform/data/stdio.h-data (fdopen): Expect also for
3251         [XPG3 || XPG4].
3253         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
3254         (fseeko): Likewise.
3255         (ftello): Likewise.
3256         (ftrylockfile): Likewise.
3257         (funlockfile): Likewise.
3258         (getc_unlocked): Likewise.
3259         (getchar_unlocked): Likewise.
3260         (putc_unlocked): Likewise.
3261         (putchar_unlocked): Likewise.
3263 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3265         [BZ #19868]
3266         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
3267         DNS packet syntax checks (which were not needed before).  Skip
3268         over non-PTR records.
3270 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3272         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
3273         definition.  Include <stddef.h> instead.
3275 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3277         [BZ #19831]
3278         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
3279         function.
3280         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
3281         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
3283 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3285         [BZ #19862]
3286         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
3287         (getanswer_r): Do not call syslog.
3288         (gaih_getanswer_slice): Likewise.
3289         * resolv/gethnamaddr.c (AskedForGot): Remove.
3290         (getanswer): Do not call syslog.
3291         (gethostbyaddr): Likewise.
3293 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3295         * conform/data/signal.h-data (union sigval): Expect also if
3296         [XOPEN2K].
3297         (struct sigevent): Likewise.
3298         (SIGEV_NONE): Likewise.
3299         (SIGEV_SIGNAL): Likewise.
3300         (SIGEV_THREAD): Likewise.
3301         (SIGRTMIN): Likewise.
3302         (SIGRTMAX): Likewise.
3303         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
3304         variable.
3305         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3307 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3309         [BZ #19830]
3310         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
3311         (gaih_getanswer_slice): Likewise.
3312         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
3313         Also check for availability of RR metadata.
3315 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3317         [BZ #19825]
3318         * resolv/res_send.c (send_vc): Remove early *resplen2
3319         initialization.  Set *resplen2 on socket error.  Call
3320         close_and_return_error for other errors.
3322 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
3324         * sysdeps/unix/sysv/linux/netiucv/iucv.h
3325         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
3326         (SCM_IUCV_TRGCLS): New define.
3328 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3330         [BZ #20005]
3331         * libio/fmemopen.c (fmemopen_write): Update internal position after
3332         write.
3333         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
3334         * stdio-common/tst-fmemopen4.c: New file..
3336 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
3338         [BZ #19996]
3339         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
3340         not [__USE_XOPEN2K].
3341         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
3342         variable.
3344         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
3345         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
3346         variable.
3348         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
3349         [__USE_XOPEN2K8].
3350         [__USE_LARGEFILE64] (off64_t): Likewise.
3351         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
3352         variable.
3354 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
3356         [BZ #19989]
3357         * libio/stdio.h (cuserid): Do not declare if
3358         [__USE_XOPEN2K && !__USE_GNU].
3359         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
3360         variable.
3362 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3364         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3365         (sysdep_routines): Add P8 and PPC64 strcspn targets.
3366         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3367         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3368         ifunc'ed strcspn.
3369         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3370         [EALIGN]: Removed.
3371         [END]: Likewise
3372         [STRSPN]: Define instead of the above to control symbol name.
3373         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
3374         New file.
3375         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
3376         Likewise.
3377         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
3378         Likewise.
3379         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
3380         Likewise.
3381         * sysdeps/powerpc/powerpc64/power8/strspn.S:
3382         [INITIAL_MASK]: New macro.
3383         [STRCSPN]: Likewise.
3384         [UPDATE_MASK]: Likewise.
3385         [USE_AS_STRCSPN]: Lisewise.
3387 2016-04-25  Florian Weimer  <fweimer@redhat.com>
3389         [BZ #19931]
3390         * stdio-common/tst-vfprintf-width-prec.c: New file.
3391         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
3392         (tests-special): Add tst-vfprintf-width-prec-mem.out.
3393         (generated): Add mtrace-related files.
3394         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
3395         (tst-%-mem.out): New pattern rule, replaces
3396         tst-printf-bz18872-mem.out.
3397         * stdio-common/vfprintf.c (vfprintf): When handling a precision
3398         specifier, deallocate any previously allocated work buffer.
3400 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
3402         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
3403         Add nop before __startcontext, add explaining comments.
3405 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
3407         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
3408         any more. Notably since IPV6_PKTINFO has been reintroduced with a
3409         completely different API.
3411         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
3412         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
3413         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
3414         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
3415         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
3416         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
3417         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
3418         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
3419         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
3420         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
3422 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
3424         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
3426 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
3428         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
3429         when it is the default of 0.
3431 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3433         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
3434         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3435         (sysdep_routines): Add new strcasestr targets.
3436         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3437         (__libc_ifunc_impl_list): Likewise.
3438         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
3439         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
3440         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
3441         * sysdeps/powerpc/powerpc64/power8/Makefile:
3442         New file to add strcasestr-ppc64 to sysdep_routines.
3443         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
3444         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
3446 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
3448         * benchtests/Makefile (wcsmbs-benchset): Include only for
3449         native builds and runs.
3450         (LOCALES): Likewise.
3451         (bench-build): Build timing-type here instead of the bench
3452         target.  Generate locale only for native builds.
3453         * benchtests/README: Add note for cross-building.
3455         * benchtests/Makefile (bench-clean): Clean up extra-objs.
3457         * benchtests/README: Update README to include instructions on
3458         using bench-build.
3460         * Makefile.in (bench-build): New target.
3461         * Rules (PHONY): Add bench-build target.
3462         * benchtests/Makefile (bench): Depend on bench-build.
3463         (bench-build): New target.
3465 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3467         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
3468         profil_reply_port.
3469         (profile_waiter): Do not initialize profil_reply_port.
3470         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
3471         frequency instead of tick length in us.
3473 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
3475         [BZ #18712]
3476         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
3477         (__old_mempcpy_small): Likewise.
3478         (__old_strcpy_small): Likewise.
3479         (__old_stpcpy_small): Likewise.
3480         (__old_strpbrk_c2): Fix compat symbol name.
3481         (__old_strpbrk_c3): Likewise.
3482         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
3483         (__mempcpy_small): Remove.
3484         (__strcpy_small): Remove.
3485         (__stpcpy_small): Remove.
3487 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
3489         [BZ #19400]
3490         * locale/iso-639.def: Add the Talossan/tzl language.
3492 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
3494         [BZ #16983]
3495         * locale/programs/ld-address.c (address_finish): Update postal_fmt
3496         comment.  Add "ln" to strchr check on postal_fmt.
3498 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
3500         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
3501         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
3502         tel_dom_fmt.
3504 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3506         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3507         (sysdep_routines): Added __strlen_power8.
3508         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
3509         __strlen_power8 entry.
3510         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
3511         Implementation for POWER8.
3512         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
3513         for __strlen_power8.
3514         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
3515         Implementation for POWER8.
3517 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
3519         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
3521 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
3523         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
3524         Goldmont and Airmont processors.
3526 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
3528         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
3529         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
3530         (__STRING2_SMALL_GET32): Remove.
3531         (memset): Remove.
3532         (__memset_1): Remove.
3533         (__memset_gc): Remove.
3534         (__mempcpy): Remove.
3535         (mempcpy): Remove.
3536         (__mempcpy_args): Remove.
3537         (strchr): Remove.
3538         (strcpy): Remove.
3539         (strcpy_args): Remove.
3540         (__stpcpy_args): Remove.
3541         (__strcmp_cc): Remove.
3542         (__strcmp_gc): Remove.
3543         (strstr): Remove.
3545 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
3547         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
3548         * nis/nis_call.c (nis_server_cache_add): Likewise.
3550 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3552         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
3554 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3556         * malloc/arena.c (__malloc_fork_lock_parent)
3557         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
3558         internal_function attribute.
3560 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
3562         * stdio-common/printf_fp.c (__printf_fp_l):
3563         Rename ___printf_fp_l to __printf_fp_l and
3564         remove strong alias. Use libc_hidden_def instead
3565         of ldbl_hidden_def macro.
3567 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3569         Remove malloc hooks from fork handler.  They are no longer needed
3570         because malloc runs right before fork, and no malloc calls from
3571         other fork handlers are not possible anymore.
3572         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
3573         declarations.
3574         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
3575         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
3576         (atfork_recursive_cntr): Remove.
3577         (__malloc_fork_lock_parent): Do not override malloc hooks and
3578         thread_arena.
3579         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
3580         thread_arena.
3581         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
3582         thread_arena instead of save_arena.
3584 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3586         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
3587         (thread_atfork, thread_atfork_static): Remove.
3588         * sysdeps/mach/hurd/malloc-machine.h:
3589         (thread_atfork, thread_atfork_static): Remove.
3591 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3593         [BZ #19431]
3594         Run the malloc fork handler as late as possible to avoid deadlocks.
3595         * malloc/malloc-internal.h: New file.
3596         * malloc/malloc.c: Include it.
3597         * malloc/arena.c (ATFORK_MEM): Remove.
3598         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
3599         Update comment.
3600         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
3601         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
3602         Remove outdated comment.
3603         (ptmalloc_init): Do not call thread_atfork.  Remove
3604         thread_atfork_static.
3605         * malloc/tst-malloc-fork-deadlock.c: New file.
3606         * Makefile (tests): Add tst-malloc-fork-deadlock.
3607         (tst-malloc-fork-deadlock): Link against libpthread.
3608         * manual/memory.texi (Aligned Memory Blocks): Update safety
3609         annotation comments.
3610         * sysdeps/nptl/fork.c (__libc_fork): Call
3611         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
3612         __malloc_fork_unlock_child.
3613         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3615 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3617         [BZ #19613]
3618         Remove union wait.
3619         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
3620         (w_stopsig, w_stopval): Remove.
3621         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
3622         stat_loc argument.
3623         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
3624         (__WAIT_STATUS_DEFN): Remove.
3625         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3626         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
3627         (wait, wait3, wait4): Use int * for the stat_loc argument.
3628         * posix/wait.c (__wait): Likewise.
3629         * posix/wait3.c (__wait3): Likewise.
3630         * posix/wait4.c (__wait4): Likewise.
3631         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
3632         (__WAIT_STATUS_DEFN): Remove.
3633         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3634         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
3635         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
3636         argument.
3637         * sysdeps/posix/wait.c (__libc_wait): Likewise.
3638         * sysdeps/posix/wait3.c (__wait3): Likewise.
3639         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
3640         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
3641         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
3642         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
3643         stat_loc argument.
3644         * manual/process.texi (BSD Wait Functions): Remove union wait.
3646 2016-04-13  Andreas Schwab  <schwab@suse.de>
3648         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
3649         (test-extras): Add tst-tlsalign-vars.
3650         * math/Makefile: Wrap long lines.
3651         (libm-vec-test-wrappers): Define.
3652         (test-extras): Add $(libm-vec-test-wrappers).
3653         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
3654         * nss/Makefile (extra-test-objs): Add nss_test1.os.
3655         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
3656         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
3657         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
3658         (extra-test-objs): Add corresponding objects.
3660 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
3662         [BZ #19928]
3663         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
3664         New.
3665         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
3666         times of shared cache size.
3667         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
3668         (VMOVNT): New.
3669         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
3670         (VMOVNT): Likewise.
3671         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
3672         (VMOVNT): Likewise.
3673         (VMOVU): Changed to movups for smaller code sizes.
3674         (VMOVA): Changed to movaps for smaller code sizes.
3675         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
3676         comments.
3677         (PREFETCH): New.
3678         (PREFETCH_SIZE): Likewise.
3679         (PREFETCHED_LOAD_SIZE): Likewise.
3680         (PREFETCH_ONE_SET): Likewise.
3681         Rewrite to use forward and backward loops, which move 4 vector
3682         registers at a time, to support overlapping addresses and use
3683         non temporal store if size is above the threshold and there is
3684         no overlap between destination and source.
3686 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
3688         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
3689         Include dl-vdso.
3690         * sysdeps/unix/sysv/linux/mips/Versions: Add
3691         __vdso_clock_gettime.
3692         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
3693         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
3694         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
3695         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
3696         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
3697         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
3698         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3699         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
3700         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
3702 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3704         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
3705         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
3706         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3707         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3708         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3709         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3712         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
3713         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
3714         syscalls generation.
3715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3716         [__NR_pwrite64] (__NR_write): Remove define.
3717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3718         [__NR_pwrite64] (__NR_write): Remove define.
3719         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
3720         Remove define.
3721         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
3722         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
3723         Remove define.
3724         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
3725         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
3726         Linux implementation as base.
3727         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3729         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
3730         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
3731         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3732         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
3734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3735         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
3736         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
3737         syscall generation.
3738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3739         [__NR_pread64] (__NR_pread): Remove define.
3740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3741         [__NR_pread64] (__NR_pread): Likewise.
3742         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
3743         define.
3744         (__libc_pread): Use SYSCALL_LL macro on offset argument.
3745         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
3746         Remove define.
3747         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
3748         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
3749         Linux implementation as base.
3750         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3751         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3752         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3754         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
3755         definition.
3756         (__ALIGNMENT_COUNT): Likewise.
3757         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
3758         (__ALIGNMENT_COUNT): Likewise.
3759         (SYSCALL_LL): New define.
3760         (SYSCALL_LL64): Likewise.
3761         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
3762         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
3763         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
3764         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
3766         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3767         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
3768         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3769         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3770         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3771         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3773 2016-04-11  Florian Weimer  <fweimer@redhat.com>
3775         [BZ #19865]
3776         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
3777         original buffer before retry.
3779 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3781         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
3782         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
3783         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
3784         GLRO(dl_auxv) list.
3785         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
3786         including <ldsodefs.h>.
3787         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
3789 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
3791         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
3792         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
3793         $(CPPFLAGS).
3795 2016-04-09  Khem Raj  <raj.khem@gmail.com>
3797         [BZ #17950]
3798         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
3799         Add -mfpmath=387.
3801 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
3803         * sysdeps/i386/configure.ac: Change == to = when calling test.
3804         * sysdeps/x86_64/configure.ac: Likewise.
3805         * sysdeps/i386/configure: Regenerated.
3806         * sysdeps/x86_64/configure: Likewise.
3808 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
3810         [BZ #16137]
3811         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
3812         * benchtests/bench-strcoll.c (input_files): Likewise.
3813         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3814         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
3815         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
3817 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
3819         [BZ #19929]
3820         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
3821         [__USE_XOPEN2K8 && !__USE_GNU].
3822         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
3823         variable.
3825         [BZ #19925]
3826         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
3827         define if [!__USE_MISC && __USE_XOPEN2K].
3828         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
3829         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
3830         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
3831         Likewise.
3832         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
3833         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
3834         variable.
3835         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3837 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3839         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3840         (sysdep_routines): Add new strspn targets.
3841         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3842         (__libc_ifunc_impl_list): Add strspn.
3843         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3844         New file.
3845         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
3846         Likewise.
3847         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
3848         Likewise.
3849         * sysdeps/powerpc/powerpc64/power8/strspn.S:
3850         Likewise.
3852 2016-04-07  Florian Weimer  <fweimer@redhat.com>
3854         * misc/hsearch_r.c: Include <limits.h>.
3856 2016-04-07  Florian Weimer  <fweimer@redhat.com>
3858         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
3860 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3862         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3863         (MEMCPY_SYMBOL): New.
3864         (MEMPCPY_SYMBOL): Likewise.
3865         (MEMMOVE_CHK_SYMBOL): Likewise.
3866         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
3867         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
3868         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
3869         Provide alias for memcpy in libc.a and ld.so.
3871 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3873         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3874         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
3875         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
3876         Disabled fro now.
3877         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
3878         symbols.  Properly check USE_MULTIARCH on __memset symbols.
3880 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3882         * benchtests/Makefile (string-benchset): Add memcpy-large,
3883         memmove-large and memset-large.
3884         * benchtests/bench-memcpy-large.c: New file.
3885         * benchtests/bench-memmove-large.c: Likewise.
3886         * benchtests/bench-memmove-large.c: Likewise.
3887         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
3889 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
3891         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
3892         32-bit displacement to avoid long nop between instructions.
3894 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
3896         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
3897         a comment on VMOVU and VMOVA.
3899 2016-04-04  Florian Weimer  <fweimer@redhat.com>
3901         [BZ #19633]
3902         Use specified locale for number formatting in strfmon_l.
3903         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
3904         (__nl_lookup_word): New inline functions.
3905         * include/printf.h (__print_fp_l): Declare.
3906         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
3907         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
3908         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
3909         (___printf_fp): New function.
3910         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
3911         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
3912         * stdlib/tst-strfmon_l.c (do_test): New test.
3913         * stdlib/Makefile (tests): Add kt.
3914         (LOCALES): Build additional locales.
3915         (tst-strfmon_l.out): Require locales.
3917 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
3919         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
3920         if not in libc.
3921         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3922         Likewise.
3923         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
3924         Likewise.
3925         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3926         Likewise.
3928 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
3930         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3931         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
3932         with unaligned_erms.
3933         (__memmove_erms): Skip if source == destination.
3934         (__memmove_unaligned_erms): Don't check source == destination
3935         first.
3937 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3939         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
3940         bit_arch_Fast_Copy_Backward for Intel Core proessors.
3942 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3944         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
3945         * string/strspn.c (strspn): Likewise.
3947 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3949         * benchtests/bench-memset.c (do_test): Support 64-byte
3950         alignment.
3951         (test_main): Test 64-byte alignment.
3953 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3955         * benchtests/bench-memmove.c (test_main): Test 64-byte
3956         alignment.
3958 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3960         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
3962 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3964         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
3965         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
3966         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
3968         * string/strpbrk.c (strpbrk): Rewrite function.
3969         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
3970         (__strpbrk_c2): Likewise.
3971         (__strpbrk_c3): Likewise.
3972         * string/string-inlines.c
3973         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
3974         Likewise.
3975         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
3976         Likewise.
3978         * string/strspn.c (strcspn): Rewrite function.
3979         * string/bits/string2.h (strspn): Use __builtin_strcspn.
3980         (__strspn_c1): Remove inline function.
3981         (__strspn_c2): Likewise.
3982         (__strspn_c3): Likewise.
3983         * string/string-inlines.c
3984         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
3985         compatibility symbol.
3986         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
3987         Likewise.
3988         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
3989         Likewise.
3990         * string/string-inlines.c: Include generic version.
3992 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
3993             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3995         * string/Version (libc): Add GLIBC_2.24.
3996         * string/strcspn.c (strcspn): Rewrite function.
3997         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
3998         (__strcspn_c1): Remove inline function.
3999         (__strcspn_c2): Likewise.
4000         (__strcspn_c3): Likewise.
4001         * string/string-inline.c
4002         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
4003         compatibility symbol.
4004         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
4005         Likewise.
4006         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
4007         Likewise.
4008         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
4010 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4012         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
4013         Use ahi instead of aghi to adjust stack pointer.
4015 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4017         [BZ #19853]
4018         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
4019         TEST to take significant digits as second parameter.
4020         [TEST]: Redefine in terms of TEST_N taking 30
4021         significant digits.
4022         (do_test): Add test case to demonstrate precision
4023         failure in the ldbl-128ibm printf.
4024         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
4025         (__mpn_extract_long_double): Carry 7 extra intermediate
4026         bits of precision to aide computing difference when
4027         signs differ.
4029 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
4031         [BZ #19881]
4032         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4033         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
4034         memset-avx512-unaligned-erms.
4035         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4036         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
4037         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
4038         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
4039         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
4040         __memset_sse2_unaligned_erms, __memset_erms,
4041         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
4042         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4043         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
4044         file.
4045         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4046         Likewise.
4047         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
4048         Likewise.
4049         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
4050         Likewise.
4052 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
4054         [BZ #19776]
4055         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4056         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
4057         memmove-avx512-unaligned-erms.
4058         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4059         (__libc_ifunc_impl_list): Test
4060         __memmove_chk_avx512_unaligned_2,
4061         __memmove_chk_avx512_unaligned_erms,
4062         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
4063         __memmove_chk_sse2_unaligned_2,
4064         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
4065         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
4066         __memmove_avx512_unaligned_erms, __memmove_erms,
4067         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
4068         __memcpy_chk_avx512_unaligned_2,
4069         __memcpy_chk_avx512_unaligned_erms,
4070         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
4071         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
4072         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
4073         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
4074         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
4075         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
4076         __mempcpy_chk_avx512_unaligned_erms,
4077         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
4078         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
4079         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
4080         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
4081         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
4082         __mempcpy_erms.
4083         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
4084         file.
4085         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4086         Likwise.
4087         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4088         Likwise.
4089         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4090         Likwise.
4092 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4094         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
4095         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
4096         (La_s390_64_regs): Likewise.
4097         (La_s390_32_retval): Append vector register lrv_v24.
4098         (La_s390_64_retval): Likeweise.
4099         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
4100         Handle extended structs La_s390_32_regs and La_s390_32_retval.
4101         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
4102         Handle extended structs La_s390_64_regs and La_s390_64_retval.
4104 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4106         [BZ #19916]
4107         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
4108         to create a non-vector/vector version for _dl_runtime_resolve and
4109         _dl_runtime_profile. Move implementation to ...
4110         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
4111         (_dl_runtime_resolve) Save and restore fpr/vrs.
4112         (_dl_runtime_profile) Save and restore vrs and fix some issues
4113         if _dl_call_pltexit is called.
4114         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
4115         Choose the correct resolver function if running on a machine with vx.
4116         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
4117         to create a non-vector/vector version for _dl_runtime_resolve and
4118         _dl_runtime_profile. Move implementation to ...
4119         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
4120         (_dl_runtime_resolve) Save and restore fpr/vrs.
4121         (_dl_runtime_profile) Save and restore vrs and fix some issues
4122         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
4123         Choose the correct resolver function if running on a machine with vx.
4125 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4127         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
4129 2016-03-31  Florian Weimer  <fweimer@redhat.com>
4131         [BZ #19509]
4132         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
4133         skip_map != NULL.
4134         * elf/tst-dlsym-error.c: New file.
4135         * elf/Makefile (tests): Add tst-dlsym-error.
4136         (tst-dlsym-error): Link against libdl.
4138 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
4140         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4141         (__ASSUME_FUTIMESAT): Remove macro.
4142         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
4144 2016-03-29  Florian Weimer  <fweimer@redhat.com>
4146         [BZ #19879]
4147         CVE-2016-3075
4148         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
4149         copy name.
4151 2016-03-29  Florian Weimer  <fweimer@redhat.com>
4153         [BZ #19837]
4154         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
4155         error if parse_line fails.
4157 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4159         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
4160         (index_cpu_ERMS): Likewise.
4161         (reg_ERMS): Likewise.
4163 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
4165         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
4166         PER_LINUX_FDPIC): Add.
4168 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4170         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4171         memcpy-avx512-no-vzeroupper.
4172         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
4173         to ...
4174         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
4175         (MEMCPY): Don't define.
4176         (MEMCPY_CHK): Likewise.
4177         (MEMPCPY): Likewise.
4178         (MEMPCPY_CHK): Likewise.
4179         (MEMPCPY_CHK): Renamed to ...
4180         (__mempcpy_chk_avx512_no_vzeroupper): This.
4181         (MEMPCPY_CHK): Renamed to ...
4182         (__mempcpy_chk_avx512_no_vzeroupper): This.
4183         (MEMCPY_CHK): Renamed to ...
4184         (__memmove_chk_avx512_no_vzeroupper): This.
4185         (MEMCPY): Renamed to ...
4186         (__memmove_avx512_no_vzeroupper): This.
4187         (__memcpy_avx512_no_vzeroupper): New alias.
4188         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
4190 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4192         [BZ #18858]
4193         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4194         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
4195         and mempcpy-avx512-no-vzeroupper.
4196         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
4197         New.
4198         (MEMPCPY): Likewise.
4199         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
4200         (MEMPCPY_CHK): New.
4201         (MEMPCPY): Likewise.
4202         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
4203         (MEMPCPY): Likewise.
4204         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
4205         (MEMPCPY): Likewise.
4206         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
4207         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
4208         Likewise.
4209         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
4210         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
4212 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4213              Amit Pawar  <Amit.Pawar@amd.com>
4215         [BZ #19583]
4216         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4217         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
4218         processors.  Set Fast_Copy_Backward for AMD Excavator
4219         processors.
4220         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
4221         New.
4222         (index_arch_Fast_Unaligned_Copy): Likewise.
4223         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
4224         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
4226 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4228         [BZ #19791]
4229         * resolv/res_send.c (close_and_return_error): New function.
4230         (send_dg): Initialize *resplen2 after reopen failure.  Call
4231         close_and_return_error for error returns.  On error paths without
4232         __res_iclose, initialze *resplen2 explicitly.  Update comment for
4233         successful return.
4235 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4237         [BZ# 19860]
4238         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
4239         zero if the compiler does not provide the AVX512F bit.
4241 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
4243         [BZ #19848]
4244         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
4245         from 8 to 4.
4246         (__ieee754_powl): Compare integer exponent against 4 not 8.
4247         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
4248         from 8 to 4.
4249         (__ieee754_powl): Compare integer exponent against 4 not 8.
4250         * math/auto-libm-test-in: Add more tests of pow.
4251         * math/auto-libm-test-out: Regenerated.
4252         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
4253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4255 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4257         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
4258         Make code unconditional.
4259         [!__NR_utimensat]: Remove conditional code.
4260         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
4261         Make code unconditional.
4262         [!__NR_utimensat]: Remove conditional code.
4263         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
4264         Make code unconditional.
4265         [!__NR_utimensat]: Remove conditional code.
4267 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4269         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
4270         Make code unconditional.
4272 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
4274         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
4275         call-clobbered %eax on retry path.
4276         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
4278 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4280         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
4281         Don't set %rcx twice before "rep movsb".
4283 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4285         [BZ #19583]
4286         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
4287         inline.  Check family before setting family, model and
4288         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
4289         bits here.
4290         (init_cpu_features): Replace HAS_CPU_FEATURE and
4291         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
4292         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
4293         for Intel processors with usable AVX2.  Call get_common_indeces
4294         for other processors with family == NULL.
4295         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
4296         (CPU_FEATURES_ARCH_P): Likewise.
4297         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
4298         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
4300 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4302         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
4303         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
4304         $(shared-thread-library) instead of hardcoding the path to libpthread.
4306 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
4308         * sysdeps/unix/sysv/linux/kernel-features.h
4309         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
4310         * sysdeps/unix/sysv/linux/getdents.c
4311         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
4312         [!have_no_getdents64_defined]: Likewise.
4313         (__GETDENTS): Remove __have_no_getdents64 conditional.
4315 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
4317         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
4318         Remove macro.
4319         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
4320         <kernel-features.h>.
4321         (signalfd) [__NR_signalfd4]: Make code unconditional.
4322         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
4324 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4326         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
4327         style.
4329 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
4331         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
4332         (__pthread_enable_asynccancel): Use JUMPTARGET to call
4333         __pthread_unwind.
4334         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4335         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
4336         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4337         (__condvar_cleanup1): Likewise.
4339 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
4341         [BZ #19822]
4342         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
4343         move it to the final $@ location.
4345 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4347         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
4348         access where posix_spawn success and pid argument is null.
4349         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
4350         success case.
4352 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
4354         * sysdeps/mach/hurd/i386/c++-types.data: New file.
4356         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
4358         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
4359         and __fcntl.
4360         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
4361         __fcntl only.
4362         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
4363         adding attribute_hidden to __open and __fcntl.
4365         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
4366         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
4367         depend on libc-modules.h,
4368         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
4370 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
4372         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
4373         Remove macro.
4374         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
4375         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
4376         entry.
4378         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
4379         Remove macro.
4380         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
4381         include <kernel-features.h>.
4382         [!__ASSUME_FALLOCATE]: Remove conditional code.
4383         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
4385 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4387         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
4388         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
4389         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
4390         (_ZGVdN4v_cos_avx2): Likewise.
4391         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
4392         (_ZGVdN4v_cos): Likewise.
4393         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
4394         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
4395         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
4396         (_ZGVdN4v_exp_avx2): Likewise.
4397         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
4398         (_ZGVdN4v_exp): Likewise.
4399         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
4400         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
4401         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
4402         (_ZGVdN4v_log_avx2): Likewise.
4403         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
4404         (_ZGVdN4v_log): Likewise.
4405         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
4406         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
4407         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
4408         (_ZGVdN4vv_pow_avx2): Likewise.
4409         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
4410         (_ZGVdN4vv_pow): Likewise.
4411         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
4412         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
4413         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
4414         (_ZGVdN4v_sin_avx2): Likewise.
4415         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
4416         (_ZGVdN4v_sin): Likewise.
4417         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
4418         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
4419         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
4420         (_ZGVdN4vvv_sincos_avx2): Likewise.
4421         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
4422         (_ZGVdN4vvv_sincos): Likewise.
4423         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
4424         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
4425         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
4426         (_ZGVbN4v_cosf_sse4): Likewise.
4427         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
4428         (_ZGVdN8v_cosf_avx2): Likewise.
4429         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
4430         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
4431         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
4432         (_ZGVbN4v_expf_sse4): Likewise.
4433         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
4434         (_ZGVdN8v_expf_avx2): Likewise.
4435         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
4436         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
4437         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
4438         (_ZGVbN4v_logf_sse4): Likewise.
4439         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
4440         (_ZGVdN8v_logf_avx2): Likewise.
4441         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
4442         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
4443         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
4444         (_ZGVbN4vv_powf_sse4): Likewise.
4445         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
4446         (_ZGVdN8vv_powf_avx2): Likewise.
4447         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4448         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
4449         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4450         (_ZGVbN4vvv_sincosf_sse4): Likewise.
4451         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4452         (_ZGVdN8vvv_sincosf_avx2): Likewise.
4453         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
4454         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
4455         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
4456         (_ZGVbN4v_sinf_sse4): Likewise.
4457         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
4458         (_ZGVdN8v_sinf_avx2): Likewise.
4459         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4460         Use JUMPTARGET to call callee.
4461         (WRAPPER_IMPL_SSE2_ff): Likewise.
4462         (WRAPPER_IMPL_SSE2_fFF): Likewise.
4463         (WRAPPER_IMPL_AVX): Likewise.
4464         (WRAPPER_IMPL_AVX_ff): Likewise.
4465         (WRAPPER_IMPL_AVX_fFF): Likewise.
4466         (WRAPPER_IMPL_AVX512): Likewise.
4467         (WRAPPER_IMPL_AVX512_ff): Likewise.
4468         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4469         Likewise.
4470         (WRAPPER_IMPL_SSE2_ff): Likewise.
4471         (WRAPPER_IMPL_SSE2_fFF): Likewise.
4472         (WRAPPER_IMPL_AVX): Likewise.
4473         (WRAPPER_IMPL_AVX_ff): Likewise.
4474         (WRAPPER_IMPL_AVX_fFF): Likewise.
4475         (WRAPPER_IMPL_AVX512): Likewise.
4476         (WRAPPER_IMPL_AVX512_ff): Likewise.
4477         (WRAPPER_IMPL_AVX512_fFF): Likewise.
4479 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4481         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
4482         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
4483         qualifier.
4484         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
4485         internal_function qualifiers.
4487 2016-03-15  Carlos O'Donell <carlos@redhat.com>
4489         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
4490         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
4491         * math/atest-exp.c (exp_mpn): Mark chk unused.
4492         * math/atest-exp2.c (exp_mpn): Likwise.
4493         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
4494         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
4496 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
4498         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
4499         Remove macro.
4500         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
4501         <kernel-features.h>.
4502         [__NR_ppoll]: Make code unconditional.
4503         [!__ASSUME_PPOLL]: Remove conditional code.
4505         * sysdeps/unix/sysv/linux/kernel-features.h
4506         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
4507         (__ASSUME_ACCEPT4): Likewise.
4508         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4509         Define.
4510         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
4511         Likewise.
4512         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4513         Likewise.
4514         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
4515         Likewise.
4516         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
4517         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
4518         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4519         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4520         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4521         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4522         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4523         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4524         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4525         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4526         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4527         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4528         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4529         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4530         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4531         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4532         Likewise.
4533         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4534         Likewise.
4535         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4536         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4537         0x040300].
4538         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4539         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4540         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4541         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4542         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4543         0x030300].
4544         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
4545         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4546         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4547         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4548         0x040300].
4549         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4550         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4551         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4552         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4553         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4554         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4555         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4556         0x030300].
4557         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4558         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4559         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4560         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4561         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4562         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4563         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4564         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4565         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4566         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4567         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4568         0x040300].
4569         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4570         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4571         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4572         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4573         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4574         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4575         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4576         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4577         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4578         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4579         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4580         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4581         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4582         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4583         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
4584         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4585         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4586         Likewise.
4587         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4588         Likewise.
4590 2016-03-15  Andreas Schwab  <schwab@suse.de>
4592         [BZ #19257]
4593         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
4594         statp->_u._ext.nscount as loop count.
4596 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4598         * math/test-signgam-finite-c99.c: Also #undef
4599         __LIBC_INTERNAL_MATH_INLINES.
4600         * math/test-signgam-main.c: Likewise.
4602 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
4604         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
4605         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
4606         (MADV_FREE): Likewise.
4607         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
4608         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
4609         EPOLLEXCLUSIVE.
4611 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
4613         * timezone/README: Remove mention of checktab.awk. Mention wiki
4614         SharedSourceFiles.
4616 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
4618         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
4619         WUNTRACED.
4621 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4623         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
4624         order to match the type of p when calling atomic_exchange_acq().
4626 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4628         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
4629         cfi_offset calls.
4630         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
4631         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
4632         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
4633         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
4634         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
4636 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
4638         * timezone/checktab.awk: Removed.
4640 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
4642         * manual/math.texi (Errors in Math Functions): Document relaxed
4643         accuracy goals for IBM long double.
4644         * math/libm-test.inc (test_exceptions): Always allow spurious
4645         "underflow" and "inexact" exceptions for IBM long double.
4647 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
4649         [BZ #19762]
4650         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4651         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
4652         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4653         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
4654         (bit_arch_*): This for feature array.
4655         (bit_*): Renamed to ...
4656         (bit_cpu_*): This for cpu array.
4657         (index_*): Renamed to ...
4658         (index_arch_*): This for feature array.
4659         (index_*): Renamed to ...
4660         (index_cpu_*): This for cpu array.
4661         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
4662         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
4663         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
4664         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
4665         bit_##name with index_cpu_##name and bit_cpu_##name.
4666         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
4667         bit_##name with index_arch_##name and bit_arch_##name.
4669 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
4671         [BZ #19792]
4672         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4673         Terminate FDE before return label.
4675 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
4677         [BZ #19790]
4678         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
4679         (rintl): Define as macro.
4680         [USE_AS_NEARBYINTL] (__rintl): Likewise.
4681         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
4682         of fesetround.  Ensure results are evaluated before end of scope.
4683         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
4684         USE_AS_NEARBYINTL and include s_rintl.c.
4685         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
4686         Disable exception traps in new environment.
4687         (libc_feholdsetround_ppc_ctx): Likewise.
4689 2016-03-08  Roland McGrath  <roland@hack.frob.com>
4691         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
4692         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
4693         (tst_audit10_aux) [__AVX512F__]: ... here.
4695 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
4697         * include/sys/auxv.h: New file.
4699 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
4701         [BZ #19759]
4702         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
4704 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4706         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
4707         operand modifier.
4708         (feclearexcept): Likewise.
4710 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4712         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
4713         to reflect the entire 32-bit HWCAP.
4714         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
4715         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
4717 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
4719         [BZ #19783]
4720         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
4721         $(test-via-rtld-prefix).
4722         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
4724 2016-03-08  Florian Weimer  <fweimer@redhat.com>
4726         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
4727         union wait.  Report any non-zero exit status as error.
4729 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4731         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
4732         configured with --enable-hardcoded-path-in-tests.
4734 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
4736         [BZ #19677]
4737         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4738         (__ieee754_remainderl): Put zero low parts in canonical form.
4739         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
4740         file.  Based on
4741         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
4742         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
4743         with wrapper round test-fmodrem-ldbl-128ibm.c.
4744         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
4745         file.
4746         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
4747         Likewise.
4748         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
4749         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
4751 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4753         [BZ #19610]
4754         * elf/ldconfig.c (opt_link): Update comment.
4755         (options): Update help string for option -X.
4756         (search_dir): Unlink stale symbolic link only if updating symbolic
4757         links.
4758         * elf/tst-ldconfig-X.sh: New file.
4759         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
4760         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
4762 2016-03-07  Andreas Schwab  <schwab@suse.de>
4764         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
4765         needed arguments.
4767 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
4769         [BZ #15333]
4770         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
4771         to lstat64.
4773 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4775         * libio/filedoalloc.c (isatty): Remove.
4776         (local_isatty): Add comment.  Call __isatty directly.
4777         (_IO_file_doallocate): Update comment.  Assume _LIBC.
4778         * libio/wfiledoalloc.c (isatty): Remove.
4779         (_IO_wfile_doallocate): Update comment.
4781 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4783         [BZ #19269]
4784         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
4785         tst-audit4-aux.o.
4786         (tst-audit10): Depend on tst-audit10-aux.o.
4787         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
4788         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
4789         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
4790         instead of inline AVX code.
4791         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
4792         instead of inline AVX512 code.
4793         * sysdeps/x86_64/tst-audit4-aux.c: New file
4794         * sysdeps/x86_64/tst-audit10-aux.c: New file
4796         [BZ #19648]
4797         * test-skeleton.c (main): Do not set RLIMIT_DATA.
4799 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4801         [BZ #14750]
4802         [BZ #10354]
4803         [BZ #18433]
4804         * include/sched.h (__clone): Add hidden prototype.
4805         (__clone2): Likewise.
4806         * include/unistd.h (__dup): Likewise.
4807         * posix/Makefile (tests): Add tst-spawn2.
4808         * posix/tst-spawn2.c: New file.
4809         * sysdeps/posix/dup.c (__dup): Add hidden definition.
4810         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
4811         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
4812         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
4813         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
4814         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
4815         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
4816         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
4817         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
4818         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
4819         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
4820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
4821         Likewise.
4822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4823         Likewise.
4824         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
4825         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
4826         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
4827         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4828         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
4829         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
4830         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
4831         * sysdeps/unix/sysv/linux/nptl-signals.h
4832         (____nptl_is_internal_signal): New function.
4833         * sysdeps/unix/sysv/linux/spawni.c: New file.
4835         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
4836         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
4837         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
4838         * posix/tst-execvp2.c (do_test): Likewise.
4839         * posix/tst-execvp3.c (do_test): Likewise.
4840         * posix/tst-execvp4.c (do_test): Likewise.
4841         * posix/tst-execvpe1.c: New file.
4842         * posix/tst-execvpe2.c: Likewise.
4843         * posix/tst-execvpe3.c: Likewise.
4844         * posix/tst-execvpe4.c: Likewise.
4845         * posix/tst-execvpe5.c: Likewise.
4846         * posix/tst-execvpe6.c: Likewise.
4848         [BZ #19534]
4849         * posix/execl.c (execl): Remove dynamic memory allocation.
4850         * posix/execle.c (execle): Likewise.
4851         * posix/execlp.c (execlp): Likewise.
4853 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4855         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
4856         Replace .text with .text.avx512.
4857         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
4858         Likewise.
4860 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
4862         * sysdeps/generic/libnsl.abilist: New file.
4863         * sysdeps/generic/libutil.abilist: New file.
4865 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4867         [BZ #19762]
4868         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
4869         HAS_ARCH_FEATURE with Fast_Rep_String.
4870         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
4871         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
4872         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
4873         Likewise.
4874         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
4875         Likewise.
4876         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
4877         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
4878         Likewise.
4879         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
4880         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
4881         Likewise.
4883 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4885         [BZ #19745]
4886         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
4887         with *%rax in call.
4889 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4891         [BZ #19745]
4892         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
4893         with *__libc_start_main@GOTPCREL(%rip) in call.
4895 2016-03-04  Roland McGrath  <roland@hack.frob.com>
4897         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
4898         inside conditional for nonempty $(CXX).
4900         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
4901         nonempty.
4903         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
4904         to test for empty $(CXX) rather than $(CXX) of "no".
4906 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4908         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
4910 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
4911             H.J. Lu  <hongjiu.lu@intel.com>
4913         [BZ #18880]
4914         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
4915         instead of Slow_BSF, and also check for Fast_Copy_Backward to
4916         enable __memcpy_ssse3_back.
4918 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
4920         [BZ #19758]
4921         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4922         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
4924 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
4926         [BZ #19490]
4927         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
4928         (__fentry__): Likewise.
4930 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
4932         * gmon/Makefile (noprof): Add $(sysdep_noprof).
4933         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
4935 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
4937         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
4938         __mcount_internal directly.
4939         (C_LABEL(__fentry__)): Likewise.
4940         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
4941         directly.
4943 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
4945         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4946         (__start_context): Call __setcontext directly.
4948 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
4950         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4951         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4952         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
4953         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
4954         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4955         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4956         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
4957         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4958         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4959         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
4960         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
4961         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
4962         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4963         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4964         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4965         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4966         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
4967         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4968         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4969         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
4970         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
4971         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4972         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4973         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
4974         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
4975         Remove conditional code.
4976         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4977         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
4978         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4979         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4980         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
4981         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4982         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
4983         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4984         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4985         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4986         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4987         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4989 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
4991         * NEWS (2.23): Fix typo in bug 19048 text.
4993 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
4995         [BZ #14259]
4996         * Makeconfig: Rename msgcatdir to localedir.
4997         Rename inst_msgcatdir to inst_localedir.
4998         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
4999         * config.make.in: Add localedir.
5000         * elf/Makefile ($(objpfx)sotruss): Use localedir.
5001         (ldd-rewrite): Likewise.
5002         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
5003         (install-others): Use inst_localedir.
5004         (CPPFLAGS): Use localedir.
5005         * locale/Makefile (locale-CPPFLAGS): Likewise.
5006         * po/Makefile (mo-installed): Use inst_localedir.
5008         [BZ #19575]
5009         * localedata/charmaps/GB18030: Update comments regarding PAU to
5010         non-PUA mappings.
5012 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
5014         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
5015         test for header.
5016         * sysdeps/unix/sysv/linux/configure: Regenerated.
5017         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
5018         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
5019         Remove conditional code.
5020         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
5022         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5023         Define to 3.2.0.
5024         (arch_minimum_kernel): Likewise.
5025         * sysdeps/unix/sysv/linux/configure: Regenerated.
5026         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5027         Define to 2.6.32.
5028         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5029         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5030         (arch_minimum_kernel): Define to 2.6.32.
5031         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5032         * README: Document Linux 3.2 requirement.
5033         * manual/install.texi (Linux): Document Linux 3.2 headers
5034         requirement.
5035         * INSTALL: Regenerated.
5037 2016-02-24  Andreas Schwab  <schwab@suse.de>
5039         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
5040         if !NO_LONG_DOUBLE.
5042 2016-02-22  Roland McGrath  <roland@hack.frob.com>
5044         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
5045         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
5047 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
5049         [BZ #19512]
5050         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
5052 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
5054         * posix/tst-dir.c: Include libc-internal.h.
5056 2016-02-20  Florian Weimer  <fweimer@redhat.com>
5058         [BZ #19056]
5059         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
5060         * manual/filesys.texi (Reading/Closing Directory): Mention
5061         deprecaion.
5062         * posix/tst-dir.c (main): Disable deprecation warning in test.
5064 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
5066         [BZ #19679]
5067         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
5068         Renamed to ...
5069         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
5070         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5071         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
5072         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5073         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5074         * sysdeps/x86_64/dl-trampoline.h
5075         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5076         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5078 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5080         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
5082 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5084         * elf/elf.h (R_386_GOT32X): New.
5085         (R_386_NUM): Update.
5086         (R_X86_64_GOTPCRELX: New.
5087         (R_X86_64_REX_GOTPCRELX): New.
5088         (R_X86_64_NUM): Update.
5090 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
5092         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
5094 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
5096         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
5097         assign attr->stackaddr to it, and adjust it down when
5098         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
5099         [_STACK_GROWS_UP]: Delete assert.
5100         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
5101         Implement stack grows up logic.
5102         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
5103         stack grows up logic.
5105 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5107         * NEWS: Update with 2.24 template.
5109 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
5111         [BZ #19678]
5112         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5113         Ensure +0.0 is returned when taking the next value below the least
5114         positive value.
5116 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5118         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
5119         available.  Do not define NO_THREADS.
5120         * malloc/malloc.c: Do not check NO_THREADS.
5121         * malloc/arena.c: Likewise.
5123 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5125         * malloc/malloc.c (__libc_mallinfo): Update comment.
5126         (struct malloc_par): Remove max_total_mem member, it was always 0.
5127         (int_mallinfo): Store 0 into usmblks (no functional change).
5128         * malloc/hooks.c (struct malloc_state): Document that
5129         max_total_mem is always 0.
5130         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
5131         always 0.
5132         * manual/memory.texi (Statistics of Malloc): Likewise.
5134 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5136         * malloc/malloc.c (sysmalloc): Do not update arena_max.
5137         * malloc/arena.c (arena_max): Remove.
5138         (heap_trim, _int_new_arena): Do not update arena_max.
5140 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5142         * resolv/res_init.c (res_ninit): Update comment.
5144 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5146         [BZ #19505]
5147         * posix/spawn_int.h: Add headers and include guard.
5148         (__spawn_valid_fd): New function.
5149         * posix/spawn_faction_addopen.c
5150         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
5151         * posix/spawn_faction_addclose.c
5152         (posix_spawn_file_actions_addclose): Likewise.
5153         * posix/spawn_faction_adddup2.c
5154         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
5155         second file descriptor.
5156         * posix/spawn_valid_fd.c: New file.
5157         * posix/tst-posix_spawn-fd.c: New file.
5158         * posix/Makefile (routines): Add spawn_valid_fd.
5159         (tests): Add tst-posix_spawn-fd.
5161 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5163         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
5164         (do_test): Limit the number of arenas, so that we can use fewer
5165         outer threads.  Limit timeout to 3 seconds, in preparation for a
5166         larger TIMEOUT value.
5168 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
5170         [BZ #19674]
5171         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
5172         sign in overflowing and underflowing results when overflow or
5173         underflow is detected early.  Include sign in result before rather
5174         than after scaling.
5176         [BZ #19603]
5177         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5178         (__ieee754_remainderl): Adjust sign of integer version of low part
5179         when taking absolute value of high part.
5180         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5181         * math/libm-test.inc (remainder_test_data): Add another test.
5182         (remquo_test_data): Likewise.
5184 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
5186         [BZ #19602]
5187         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
5188         equal high parts and both low parts zero specially.
5189         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
5190         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5191         Add test-fmodl-ldbl-128ibm.
5193         [BZ #19595]
5194         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
5195         common logic for all cases of shifting subnormal results.  Do not
5196         insert sign bit in shifted mantissa.  Always pass -1023 as biased
5197         exponent to ldbl_insert_mantissa in subnormal case.
5199         [BZ #19594]
5200         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
5201         on high and low parts then adjust result and use
5202         ldbl_canonicalize_int if needed.
5204         [BZ #19593]
5205         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
5206         on high part and __floor or __ceil on low part then use
5207         ldbl_canonicalize_int if needed.
5209         [BZ #19592]
5210         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
5211         high and low parts then use ldbl_canonicalize_int if needed.
5213         [BZ #17899]
5214         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
5215         New function.
5216         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
5217         on high and low parts then use ldbl_canonicalize_int if needed.
5219 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5221         * configure: Regenerated.
5223         * po/libc.pot: Regenerated.
5225         * po/be.po: Updated translation.
5226         * po/bg.po: Likewise.
5227         * po/ca.po: Likewise.
5228         * po/cs.po: Likewise.
5229         * po/da.po: Likewise.
5230         * po/el.po: Likewise.
5231         * po/eo.po: Likewise.
5232         * po/es.po: Likewise.
5233         * po/fi.po: Likewise.
5234         * po/fr.po: Likewise.
5235         * po/gl.po: Likewise.
5236         * po/hr.po: Likewise.
5237         * po/hu.po: Likewise.
5238         * po/ia.po: Likewise.
5239         * po/id.po: Likewise.
5240         * po/it.po: Likewise.
5241         * po/ja.po: Likewise.
5242         * po/lt.po: Likewise.
5243         * po/nb.po: Likewise.
5244         * po/nl.po: Likewise.
5245         * po/pt_BR.po: Likewise.
5246         * po/rw.po: Likewise.
5247         * po/sk.po: Likewise.
5248         * po/sl.po: Likewise.
5249         * po/sv.po: Likewise.
5250         * po/tr.po: Likewise.
5251         * po/zh_CN.po: Likewise.
5252         * po/zh_TW.po: Likewise.
5254         * version.h (RELEAES): Set to "development".
5255         (VERSION): Set to 2.23.90.
5257         * version.h (RELEASE): Set to "stable".
5258         (VERSION): Set to 2.23.
5259         * include/feature.h (__GLIBC_MINOR__): Set to 23.
5261         * NEWS: Updated fixed bugs.
5263 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
5264             Wilco Dijkstra  <wdijkstr@arm.com>
5266         [BZ #19462]
5267         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
5268         (_STRING_INLINE_unaligned): This.
5269         * include/string.h: Include <string_private.h>.
5270         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
5271         _STRING_INLINE_unaligned.
5272         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
5273         (_STRING_INLINE_unaligned): New.
5274         * sysdeps/aarch64/string_private.h: New file.
5275         * sysdeps/generic/string_private.h: Likewise.
5276         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
5277         * sysdeps/s390/string_private.h: Likewise.
5278         * sysdeps/x86/string_private.h: Likewise.
5279         * sysdeps/m68k/m680x0/m68020/bits/string.h
5280         (_STRING_ARCH_unaligned): Renamed to ...
5281         (_STRING_INLINE_unaligned): This.
5282         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
5283         to ...
5284         (_STRING_INLINE_unaligned): This.
5285         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
5286         to ...
5287         (_STRING_INLINE_unaligned): This.
5288         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
5289         to ...
5290         (_STRING_INLINE_unaligned): This.
5292 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
5293             H.J. Lu  <hongjiu.lu@intel.com>
5295         [BZ #19590]
5296         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
5297         relocation.
5299 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
5301         [BZ #18665]
5302         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
5303         *herrno_p.
5304         (gaih_getanswer): Document functional behviour. Return tryagain
5305         if any result is tryagain.
5306         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
5307         when freed.
5308         * resolv/res_send.c: Add copyright text.
5309         (__libc_res_nsend): Document that MAXPACKET is expected.
5310         (send_vc): Document. Remove buffer reuse.
5311         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
5312         size of the buffer. Add Dprint for truncated UDP buffer.
5314 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
5316         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
5317         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
5318         * INSTALL: Regenerate.
5320 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
5321             Jonathan Wakely  <jwakely@redhat.com>
5322             Carlos O'Donell  <carlos@redhat.com>
5324         [BZ 19439]
5325         * math/Makefile (tests): Add test-math-isinff.
5326         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
5327         * math/bits/mathcalls.h [__USE_MISC]: Use
5328         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
5329         functions not in C++11 and which don't conflict e.g. isinff,
5330         isinfl etc.
5331         * math/test-math-isinff.cc: New file.
5333 2016-02-12  Florian Weimer  <fweimer@redhat.com>
5335         * misc/bug18240.c (do_test): Set RLIMIT_AS.
5337 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5339         [BZ #19529]
5340         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
5342 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5344         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5346 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
5348         [BZ #19550]
5349         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
5350         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
5351         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
5352         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
5353         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
5354         New syscall entry.
5355         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
5356         New syscall entry.
5357         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
5358         syscall entry.
5360 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
5362         [BZ #18240]
5363         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
5364         unsigned int wraparound.
5366 2016-01-27  Florian Weimer  <fweimer@redhat.com>
5368         [BZ #18240]
5369         * misc/bug18240.c: New test.
5370         * misc/Makefile (tests): Add it.
5372 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
5373             Joseph Myers  <joseph@codesourcery.com>
5375         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
5376         load in branch delay slot when less than a word of input left.
5378 2016-01-27  Andreas Schwab  <schwab@suse.de>
5380         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
5381         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
5382         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
5383         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
5385 2016-01-26  David S. Miller  <davem@davemloft.net>
5387         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
5389 2016-01-25  David S. Miller  <davem@davemloft.net>
5391         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
5392         __sqrtl_finite.
5393         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
5394         instead using versioned_symbol.
5395         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
5396         of entries.
5398         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
5399         __sqrtl_finite to GLIBC_2.23
5401 2016-01-25  Ricchard Henderson  <rth@redhat.com>
5403         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5405 2016-01-25  Andreas Schwab  <schwab@suse.de>
5407         [BZ #17514]
5408         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
5409         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
5410         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
5411         * nptl/tst-mutex-errorcheck.c: New file.
5413 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5415         [BZ #18560]
5416         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
5417         (IPCOP_semop): Likewise.
5418         (IPCOP_semget): Likewise.
5419         (IPCOP_semctl): Likewise.
5420         (IPCOP_msgsnd): Likewise.
5421         (IPCOP_msgrcv): Likewise.
5422         (IPCOP_msgget): Likewise.
5423         (IPCOP_msgctl): Likewise.
5424         (IPCOP_shmat): Likewise.
5425         (IPCOP_shmdt): Likewise.
5426         (IPCOP_shmget): Likewise.
5427         (IPCOP_shmctl): Likewise.
5429 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
5431         * string/tst-endian.c: Include <libc-internal.h>.
5432         (do_test): Ignore tautological-compare warnings around
5433         "htobeXX (beXXtoh (i)) != i" and
5434         "htoleXX (leXXtoh (i)) != i" if-statements.
5436 2016-01-24  David S. Miller  <davem@davemloft.net>
5438         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
5439         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
5440         alias.
5441         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
5442         __sqrtl_finite.
5444         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5446 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
5448         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
5449         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
5450         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5452 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5454         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
5455         (thread_func): Use new function to simplify barrier check.
5456         (do_test): Use new function to simplify checking barrier exit
5457         code, and actually join the child thread.
5459 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5461         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
5462         semicolon.
5463         (__libc_tend): Likewise.
5464         (__libc_tabort): Likewise.
5466 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
5468         * sysdeps/nios2/libm-test-ulps: Update.
5469         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
5470         (__gtsf2): Likewise.
5471         (__unorddf2): Likewise.
5472         (__unordsf2): Likewise.
5473         (__ledf2): Likewise.
5475 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
5477         * nis/nis_table.c (__follow_path): Disable diagnostic for
5478         uninitialized variable that is a false positive for gcc 4.7.
5479         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
5481 2016-01-20  Roland McGrath  <roland@hack.frob.com>
5483         * sysdeps/nacl/lowlevellock-futex.h
5484         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
5485         Always evaluate PRIVATE argument.
5487 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
5489         [BZ #19490]
5490         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
5491         (pthread_cond_broadcast): Use ENTRY/END
5492         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
5493         (pthread_cond_signal): Likewise.
5494         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
5495         Likewise.
5496         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
5497         Likewise.
5498         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
5499         Likewise.
5501 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
5503         * sysdeps/ieee754/dbl-64/s_finite.c
5504         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
5505         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
5506         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
5507         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
5508         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
5510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5511         (__gtsf2): Add as optional for libc.so.
5512         (__unordsf2): Likewise.
5513         (__signbit): Remove for libc.so.
5514         (__signbitl): Likewise.
5516 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
5518         * iconvdata/bug-iconv11.c (test_ibm93x):
5519         Use %zu printf format specifier for size_t argument.
5521 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
5523         * math/gen-libm-test.pl (parse_ulps): Do not reduce
5524         already-recorded ulps.
5525         * sysdeps/arm/libm-test-ulps: Regenerated.
5526         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5527         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5528         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5530 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5531             Paul Pluzhnikov  <ppluzhnikov@google.com>
5533         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
5534         assembler not supporting AVX-512.
5536 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
5538         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5540 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
5542         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5543         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5545         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5547         * sysdeps/arm/libm-test-ulps: Regenerated.
5549 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
5551         [BZ #19451]
5552         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
5554 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
5556         [BZ #19486]
5557         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
5558         * sysdeps/generic/fix-fp-int-convert-overflow.h
5559         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
5560         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
5561         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
5562         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
5563         Likewise.
5564         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
5565         Avoid conversions to long int where inexact exceptions
5566         could be raised.
5567         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
5568         Likewise.
5569         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
5570         Avoid conversions to long long int where inexact exceptions
5571         could be raised.
5572         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
5573         Likewise.
5575 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
5577         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
5578         * configure: Regenerated.
5580 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
5582         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
5584 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
5586         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
5587         outside of comment.
5589 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5591         * nptl/tst-barrier1.c: Add description on first line.
5592         * nptl/tst-barrier2.c: Likewise.
5593         * nptl/tst-barrier3.c: Likewise.
5594         * nptl/tst-barrier4.c: Likewise.
5595         * nptl/tst-barrier5.c: Likewise.
5597 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5599         [BZ #18868]
5600         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
5602 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
5604         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
5605         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
5606         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
5607         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
5608         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
5609         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
5610         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5611         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5612         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5613         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5614         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5616 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5618         [BZ #13065]
5619         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
5620         new implementation.
5621         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
5622         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
5623         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
5624         (BARRIER_IN_THRESHOLD): New macro.
5625         * nptl/pthread_barrierattr_setpshared.c
5626         (pthread_barrierattr_setpshared): Clean up.
5627         * nptl/tst-barrier4.c: Correct comment.
5628         * nptl/tst-barrier5.c: New file.
5629         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
5630         (gen-as-const-headers): Remove lowlevelbarrier.sym.
5631         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
5632         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
5633         * nptl/lowlevelbarrier.sym: Remove.
5634         * nptl/DESIGN-barrier.txt: Remove.
5635         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
5636         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
5637         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
5638         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
5639         error.
5640         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
5641         implementation.
5643 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5645         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
5646         (do_child): Mask SIGRTMIN while thr is running.
5648 2016-01-15  Martin Sebor  <msebor@redhat.com>
5650         [BZ #19432]
5651         * iconvdata/Makefile: Add bug-iconv11.
5652         * iconvdata/bug-iconv11.c: New test.
5653         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
5654         * iconvdata/ibm933.c: Same.
5655         * iconvdata/ibm935.c: Same.
5656         * iconvdata/ibm937.c: Same.
5657         * iconvdata/ibm939.c: Same.
5659 2016-01-15  Martin Sebor  <msebor@redhat.com>
5661         [BZ #19443]
5662         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
5663         [DEBUG] (_ufc_set_bits): Declare used.
5664         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
5665         [DEBUG] (print_all): Declare used.
5666         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
5667         operands of the ternary ?: expression to target type.
5668         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
5669         calling the undeclared abort.
5670         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
5672 2016-01-15  Martin Sebor  <msebor@redhat.com>
5674         [BZ #18755]
5675         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
5676         warnings.
5677         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
5678         (__gai_create_helper_thread): Same.
5679         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
5680         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
5681         to suppress -Wmaybe-uninitialized warnings.
5683 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
5685         [BZ #19465]
5686         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
5687         inside if.
5688         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5689         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5690         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5692 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
5694         [BZ #19466]
5695         * time/tst-mktime2.c (time_t_max): Removed.
5696         (time_t_min): Likewise.
5697         (TYPE_SIGNED): New.
5698         (TYPE_MINIMUM): Likewise.
5699         (TYPE_MAXIMUM): Likewise.
5700         (TIME_T_MIN): Likewise.
5701         (TIME_T_MAX): Likewise.
5702         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
5703         and TIME_T_MIN.
5704         (do_test): Likewise.
5706 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
5708         [BZ #19467]
5709         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5710         index_Fast_Unaligned_Load flag for Excavator family CPUs.
5712 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
5714         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
5716 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
5718         * benchtests/Makefile (PYTHON): Define.
5719         (bench-func): Use $(PYTHON) to run python scripts.
5720         ($(objpfx)bench-%.c): Likewise.
5722 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
5724         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
5725         leading slash when `file_name' is "/".
5727 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
5729         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
5730         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
5731         Likewise.
5732         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
5733         Likewise.
5734         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
5735         Likewise.
5736         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
5737         enum constant and macro.
5738         (PTRACE_SETSIGMASK): Likewise.
5739         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5740         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
5741         (PTRACE_GETSIGMASK): Likewise.
5742         (PTRACE_SETSIGMASK): Likewise.
5743         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5744         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
5745         Likewise.
5746         (PTRACE_SETSIGMASK): Likewise.
5747         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5748         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
5749         (PTRACE_GETSIGMASK): Likewise.
5750         (PTRACE_SETSIGMASK): Likewise.
5751         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5752         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
5753         Likewise.
5754         (PTRACE_SETSIGMASK): Likewise.
5755         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5756         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
5757         Likewise.
5758         (PTRACE_SETSIGMASK): Likewise.
5759         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5760         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
5761         Likewise.
5762         (PTRACE_SETSIGMASK): Likewise.
5763         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5765 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
5766             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5768         [BZ #19439]
5769         * math/bits/mathcalls.h
5770         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
5771         prototype.
5772         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
5774 2016-01-11  Andreas Schwab  <schwab@suse.de>
5776         [BZ #19253]
5777         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
5778         cache when TZDEFRULES was used.
5779         * time/tst-tzname.c: New file.
5780         * time/Makefile (test): Add tst-tzname.
5781         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
5782         * timezone/Makefile (test-zones): Add $(posixrules-file).
5783         ($(testdata)/$(posixrules-file)): New rule.
5785 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
5787         Fix doc quoting problems with Texinfo 5
5788         Without this change, in the info file output, Texinfo 5 quotes code
5789         in text with undirected single quotes 'like this' and generates
5790         code examples that with many PDF readers cannot be cut out of PDFs
5791         and pasted into code.
5792         * manual/libc.texinfo: Configure the libc manual like the GNU
5793         Emacs manual, by using @documentencoding and setting
5794         txicodequoteundirected and txicodequotebacktick.  This way,
5795         Texinfo 5 quotes code in text with directed single quotes ‘like
5796         this’ and produces examples that can be cut out of PDFs.  This
5797         change causes Texinfo 5 to generate info files that contain UTF-8
5798         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
5799         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
5801 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5803         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
5804         __libc_tabort, __libc_tend): New wrappers that enforce compiler
5805         barriers to their respective compiler built-ins.
5806         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
5807         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
5808         * sysdeps/powerpc/sysdep.h: Likewise.
5809         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
5810         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
5811         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
5813 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
5815         * scripts/config.guess: Revert previous shebang change.
5816         * scripts/config.sub: Likewise.
5817         * scripts/mkinstalldirs: Likewise.
5819 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5821         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
5822         PPC_FEATURE2_HAS_IEEE128.
5823         * sysdeps/powerpc/dl-procinfo.c:
5824         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
5826 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
5828         [BZ #19415]
5829         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
5830         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
5831         (_dl_lookup_address): Rewrite using function resolver trampoline.
5832         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
5833         two bits in address.
5835 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
5837         * longlong.h: Change !__SHMEDIA__ to
5838         (!defined (__SHMEDIA__) || !__SHMEDIA__).
5839         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
5841 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
5842             Joseph Myers  <joseph@codesourcery.com>
5843             Mark Shinwell  <shinwell@codesourcery.com>
5844             Andrew Stubbs  <ams@codesourcery.com>
5845             Rich Felker <dalias@libc.org>
5847         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
5849 2016-01-07  Richard Henderson  <rth@redhat.com>
5851         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
5853 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
5855         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
5856         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
5857         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5858         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5859         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
5861 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
5862             Joseph Myers  <joseph@codesourcery.com>
5864         * timezone/private.h: Update from tzcode 2015g.
5865         * timezone/tzfile.h: Likewise.
5866         * timezone/tzselect.ksh: Likewise.
5867         * timezone/zdump.c: Likewise.
5868         * timezone/zic.c: Likewise.
5869         * timezone/ialloc.c: Remove file.
5870         * timezone/scheck.c: Likewise.
5871         * timezone/Makefile (extra-objs): Remove variable.
5872         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
5873         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
5874         -Wno-maybe-uninitialized.
5875         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
5876         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
5877         (CFLAGS-ialloc.c): Remove variable.
5878         (CFLAGS-scheck.c): Likewise.
5879         * timezone/README: Update list of files from tzcode.
5881 2016-01-07  Khem Raj  <raj.khem@gmail.com>
5883         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
5884         instead of __fxprintf when _LIBC is undefined.
5886 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
5888         * catgets/test-gencat.sh: Remove space after shebang.
5889         * conform/GlibcConform.pm: Likewise.
5890         * conform/check-header-lists.sh: Likewise.
5891         * conform/conformtest.pl: Likewise.
5892         * conform/linknamespace.pl: Likewise.
5893         * conform/list-header-symbols.pl: Likewise.
5894         * debug/catchsegv.sh: Likewise.
5895         * elf/genrtldtbl.awk: Likewise.
5896         * elf/tst-pathopt.sh: Likewise.
5897         * elf/tst-rtld-load-self.sh: Likewise.
5898         * grp/tst_fgetgrent.sh: Likewise.
5899         * iconvdata/gen-8bit-gap-1.sh: Likewise.
5900         * iconvdata/gen-8bit-gap.sh: Likewise.
5901         * iconvdata/gen-8bit.sh: Likewise.
5902         * iconvdata/run-iconv-test.sh: Likewise.
5903         * intl/tst-gettext.sh: Likewise.
5904         * intl/tst-gettext2.sh: Likewise.
5905         * intl/tst-gettext4.sh: Likewise.
5906         * intl/tst-gettext6.sh: Likewise.
5907         * intl/tst-translit.sh: Likewise.
5908         * io/ftwtest-sh: Likewise.
5909         * libio/test-freopen.sh: Likewise.
5910         * locale/gen-translit.pl: Likewise.
5911         * malloc/tst-mtrace.sh: Likewise.
5912         * manual/check-safety.sh: Likewise.
5913         * manual/libc-texinfo.sh: Likewise.
5914         * manual/tsort.awk: Likewise.
5915         * manual/xtract-typefun.awk: Likewise.
5916         * nptl/tst-cancel-wrappers.sh: Likewise.
5917         * nptl/tst-tls6.sh: Likewise.
5918         * posix/globtest.sh: Likewise.
5919         * posix/tst-getconf.sh: Likewise.
5920         * posix/wordexp-tst.sh: Likewise.
5921         * scripts/check-c++-types.sh: Likewise.
5922         * scripts/check-local-headers.sh: Likewise.
5923         * scripts/config.guess: Likewise.
5924         * scripts/config.sub: Likewise.
5925         * scripts/cpp: Likewise.
5926         * scripts/cross-test-ssh.sh: Likewise.
5927         * scripts/documented.sh: Likewise.
5928         * scripts/evaluate-test.sh: Likewise.
5929         * scripts/gen-libc-abis: Likewise.
5930         * scripts/gen-sorted.awk: Likewise.
5931         * scripts/list-fixed-bugs.py: Likewise.
5932         * scripts/merge-test-results.sh: Likewise.
5933         * scripts/mkinstalldirs: Likewise.
5934         * scripts/rellns-sh: Likewise.
5935         * scripts/test-installation.pl: Likewise.
5936         * scripts/update-copyrights: Likewise.
5937         * stdio-common/tst-printf.sh: Likewise.
5938         * stdio-common/tst-unbputc.sh: Likewise.
5939         * stdlib/tst-fmtmsg.sh: Likewise.
5940         * stdlib/tst-setcontext3.sh: Likewise.
5941         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
5942         * sysdeps/unix/make-syscalls.sh: Likewise.
5944 2016-01-06  John David Anglin  <dave.anglin@bell.net>
5946         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
5947         asm stw with atomic_exchange_rel.  Add explanatory comment.
5948         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
5949         Likewise.
5951 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
5953         [BZ #19122]
5954         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
5955         * sysdeps/generic/dl-unistd.h: New file.
5956         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
5958 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
5960          [BZ #19122]
5961          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
5962          * sysdeps/generic/dl-mman.h: New file.
5963          * sysdeps/mach/hurd/dl-mman.h: Likewise.
5965 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
5967         * manual/texinfo.tex: Update to version 2016-01-04.21 with
5968         trailing whitespace removed.
5969         * scripts/config.guess: Update to version 2016-01-01.
5970         * scripts/config.sub: Update to version 2016-01-01.
5971         * scripts/move-if-change: Update from gnulib.
5973 2016-01-04  Anton Blanchard  <anton@samba.org>
5975         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
5976         for array indices.
5977         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
5979 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
5981         * NEWS: Update copyright dates.
5982         * catgets/gencat.c (print_version): Likewise.
5983         * csu/version.c (banner): Likewise.
5984         * debug/catchsegv.sh: Likewise.
5985         * debug/pcprofiledump.c (print_version): Likewise.
5986         * debug/xtrace.sh (do_version): Likewise.
5987         * elf/ldconfig.c (print_version): Likewise.
5988         * elf/ldd.bash.in: Likewise.
5989         * elf/pldd.c (print_version): Likewise.
5990         * elf/sotruss.sh: Likewise.
5991         * elf/sprof.c (print_version): Likewise.
5992         * iconv/iconv_prog.c (print_version): Likewise.
5993         * iconv/iconvconfig.c (print_version): Likewise.
5994         * locale/programs/locale.c (print_version): Likewise.
5995         * locale/programs/localedef.c (print_version): Likewise.
5996         * login/programs/pt_chown.c (print_version): Likewise.
5997         * malloc/memusage.sh (do_version): Likewise.
5998         * malloc/memusagestat.c (print_version): Likewise.
5999         * malloc/mtrace.pl: Likewise.
6000         * manual/libc.texinfo: Likewise.
6001         * nptl/version.c (banner): Likewise.
6002         * nscd/nscd.c (print_version): Likewise.
6003         * nss/getent.c (print_version): Likewise.
6004         * nss/makedb.c (print_version): Likewise.
6005         * posix/getconf.c (main): Likewise.
6006         * scripts/test-installation.pl: Likewise.
6007         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6009         * All files with FSF copyright notices: Update copyright dates
6010         using scripts/update-copyrights.
6011         * intl/plural.c: Regenerated.
6012         * locale/programs/charmap-kw.h: Likewise.
6013         * locale/programs/locfile-kw.h: Likewise.
6015 2016-01-02  Helge Deller  <deller@gmx.de>
6017         [BZ #19285]
6018         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
6019         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
6020         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
6021         (MADV_xxK_PAGES): Remove.
6023 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
6025         [BZ #15421]
6026         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
6027         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
6028         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
6029         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
6031 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
6033         [BZ #19408]
6034         * sysdeps/unix/sysv/linux/personality.c: New file.
6035         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
6036         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
6037         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
6038         (sysdep_routines): Add personality.
6039         (tests): Add tst-personality.
6040         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
6041         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
6042         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
6043         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
6044         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
6045         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
6046         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
6047         Likewise.
6048         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
6049         Likewise.
6050         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
6051         Likewise.
6052         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
6053         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
6054         Likewise.
6056 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
6058         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
6059         (PATH_ARM_SYSTYPE): Remove.
6060         (PATH_CPUINFO): Likewise.
6061         (IO_BASE_FOOTBRIDGE): Likewise.
6062         (IO_SHIFT_FOOTBRIDGE): Likewise.
6063         (struct platform): Likewise.
6064         (init_iosys): Remove compatibility code for 2.4 kernels.
6065         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
6067 2015-12-29  Florian Weimer  <fweimer@redhat.com>
6069         * malloc/tst-malloc-thread-fail.c: New file.
6070         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
6071         (tst-malloc-thread-fail): Link against libpthread.
6073 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
6075         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
6076         (get_parser): New function.
6077         (main): New function.
6079 2015-12-29  Rob Wu  <rob@robwu.nl>
6081         [BZ #19369]
6082         * resolv/res_init.c (__res_vinit): Reset defdname before use.
6084 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
6086         [BZ #19270]
6087         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6089 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
6091         [BZ #15421]
6092         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
6094 2015-12-23  Torvald Riegel  <triegel@redhat.com>
6096         [BZ #13690]
6097         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
6098         after releasing it.
6099         (__lll_robust_unlock): Likewise.
6100         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6101         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
6102         (lll_robust_unlock): Likewise.
6103         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
6104         Prevent warnings in callers.
6106 2015-12-23  Florian Weimer  <fweimer@redhat.com>
6108         * malloc/arena.c (list_lock): Update comment.
6110 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6112         * sysdeps/powerpc/hwcapinfo.c: Export symbol
6113         __parse_hwcap_and_convert_at_platform to libc.a.
6115 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6117         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
6118         platform and feature support for POWER9.
6119         * sysdeps/powerpc/dl-procinfo.h: Likewise.
6120         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
6121         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
6122         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
6123         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
6124         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
6125         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
6126         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
6128 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6130         Harmonize generic stdio-lock support with nptl
6132         This fixes build when _IO_funlockfile is a macro, fixes build where
6133         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
6134         stack unwind.
6136         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
6137         _IO_release_lock ): Use cleanup attribute on new
6138         _IO_acquire_lock_file variable instead of assuming that
6139         _IO_release_lock will be called.
6140         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
6141         _IO_acquire_lock_needs_exceptions_enabled.
6142         (_IO_acquire_lock_clear_flags2): New macro.
6144 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6146         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6148 2015-12-21  Florian Weimer  <fweimer@redhat.com>
6150         [BZ #19182]
6151         * malloc/arena.c (list_lock): Document lock ordering requirements.
6152         (free_list_lock): New lock.
6153         (ptmalloc_lock_all): Comment on free_list_lock.
6154         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
6155         (detach_arena): Update comment.  free_list_lock is now needed.
6156         (_int_new_arena): Use free_list_lock around detach_arena call.
6157         Acquire arena lock after list_lock.  Add comment, including FIXME
6158         about incorrect synchronization.
6159         (get_free_list): Switch to free_list_lock.
6160         (reused_arena): Acquire free_list_lock around detach_arena call
6161         and attached threads counter update.  Add two FIXMEs about
6162         incorrect synchronization.
6163         (arena_thread_freeres): Switch to free_list_lock.
6164         * malloc/malloc.c (struct malloc_state): Update comments to
6165         mention free_list_lock.
6167 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
6169         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
6170         Remove functions.
6171         (sloww, sloww1): Accept argument to offset quadrant.
6172         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
6173         quadrant.
6174         (__sin, __cos): Consolidate common code into new functions.
6175         (reduce_sincos_1, do_sincos_1): New functions.
6176         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6178         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
6179         code to new functions.
6180         (reduce_sincos_2, do_sincos_2): New functions.
6181         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6183         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
6184         common code for sincos.
6185         (__cos) [!IN_SINCOS]: Likewise.
6186         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
6187         New function.
6188         (__sincos): Use it.
6190 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
6192         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
6193         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
6194         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6196 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6198         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
6199         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
6200         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6201         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
6202         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6203         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
6204         index_Prefer_No_VZEROUPPER): New feature.
6205         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
6206         Prefer_No_VZEROUPPER for Knights Landing.
6208 015-12-18  Torvald Riegel  <triegel@redhat.com>
6210         * math/atest-exp2.c (mp_exp_m1): Remove.
6212 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6214         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
6215         syscalls.
6216         (__SYSCALL0): New macro.
6217         (__SYSCALL1): Likewise.
6218         (__SYSCALL2): Likewise.
6219         (__SYSCALL3): Likewise.
6220         (__SYSCALL4): Likewise.
6221         (__SYSCALL5): Likewise.
6222         (__SYSCALL6): Likewise.
6223         (__SYSCALL_CONCAT_X): Likewise.
6224         (__SYSCALL_CONCAT): Likewise.
6225         (__SYSCALL_DIST): Likewise.
6226         (__SYSCALL_CALL): Likewise.
6228 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
6230         [BZ #19363]
6231         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
6233 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6235         [BZ #19375]
6236         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
6237         negative subnormals.
6239 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
6241         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6242         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
6243         (INTERNAL_SYSCALL_NCS): Use it.
6244         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6246 2015-12-16  Florian Weimer  <fweimer@redhat.com>
6248         [BZ #19243]
6249         * malloc/arena.c (get_free_list): Remove assert and adjust
6250         reference count handling.  Add comment about reused_arena
6251         interaction.
6252         (reused_arena): Add comments abount get_free_list interaction.
6253         * malloc/tst-malloc-thread-exit.c: New file.
6254         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
6255         (tst-malloc-thread-exit): Link against libpthread.
6257 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6259         [BZ #19367]
6260         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
6261         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
6262         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6263         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
6264         (index_Prefer_MAP_32BIT_EXEC): Likewise.
6266 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6268         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
6269         Silvermont optimizations for Knights Landing.
6271 2015-12-15  Andreas Schwab  <schwab@suse.de>
6273         [BZ #17197]
6274         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
6275         immediately after emitting SI.
6276         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
6277         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
6278         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
6279         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
6280         * iconvdata/bug-iconv10.c: New file.
6281         * iconvdata/Makefile (tests): Add bug-iconv10.
6282         ($(objpfx)bug-iconv10.out): New rule.
6284 2015-12-15  Florian Weimer  <fweimer@redhat.com>
6286         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
6287         aliasing violation.
6289 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
6291         [BZ #18472]
6292         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
6293         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
6294         conditionals for them.
6295         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
6296         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
6297         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
6298         sys/kdaemon.h.
6299         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
6300         compat-only syscall, obsoleted in glibc 2.23.
6301         (create_module): Likewise.
6302         (get_kernel_syms): Likewise.
6303         (query_module): Likewise.
6304         (uselib): Likewise.
6305         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
6307 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
6309         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
6310         <linux/version.h>.
6311         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
6312         conditional code.
6313         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
6314         and ioshift_name initialization.
6316 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6318         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6319         Fix indentation.
6321 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6323         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
6325 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6327         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
6329 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
6330             Jakub Wilk  <jwilk@debian.org>
6332         [BZ #19347]
6333         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
6334         to change the group of the device to the tty group.
6336 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
6338         Split large string section; add truncation advice
6339         * manual/examples/strncat.c: Remove.
6340         This example was misleading, as the code would have undefined
6341         behavior if "hello" was longer than SIZE.  Anyway, the manual
6342         shouldn't encourage strncpy+strncat for this sort of thing.
6343         * manual/string.texi (Copying Strings and Arrays): Split into
6344         three sections Copying Strings and Arrays, Concatenating Strings,
6345         and Truncating Strings, as this section was way too long.  All
6346         cross-referenced changed.  Add advice about string-truncation
6347         functions.  Remove misleading strncat example.
6349 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
6351         * manual/nss.texi (NSS Modules Interface): Document
6352         NSS_STATUS_NOTFOUND and SUCCESS.
6354 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
6356         [BZ 18568]
6357         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6358         201505L, for Unicode 8.
6360 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
6362         * locale/C-translit.h: Regenerate.
6364 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
6366         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
6367         and U+0153.
6369 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
6371         [BZ #19351]
6372         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
6373         expanding log(1+z), compare z rather than its square with epsilon
6374         to determine when to avoid evaluating the expansion.
6376         [BZ #19350]
6377         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6378         Increase overflow threshold.
6380         [BZ #19349]
6381         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
6382         when small.
6384         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6385         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6386         New macro.
6387         [__LINUX_KERNEL_VERSION >= 0x040300]
6388         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6389         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6390         Likewise.
6391         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6392         Likewise.
6393         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6394         Likewise.
6395         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6396         Likewise.
6397         [__LINUX_KERNEL_VERSION >= 0x040300]
6398         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6399         [__LINUX_KERNEL_VERSION >= 0x040300]
6400         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6401         [__LINUX_KERNEL_VERSION >= 0x040300]
6402         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6403         [__LINUX_KERNEL_VERSION >= 0x040300]
6404         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6405         [__LINUX_KERNEL_VERSION >= 0x040300]
6406         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6407         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6408         Likewise.
6409         [__LINUX_KERNEL_VERSION >= 0x040300]
6410         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6411         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6412         Likewise.
6413         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6414         Likewise.
6415         [__LINUX_KERNEL_VERSION >= 0x040300]
6416         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6417         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6418         Likewise.
6419         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6420         Likewise.
6421         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6422         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
6423         Likewise.
6424         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
6425         Likewise.
6426         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6427         Likewise.
6428         [__LINUX_KERNEL_VERSION >= 0x040300]
6429         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6430         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6431         Likewise.
6432         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6433         Likewise.
6434         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6435         Likewise.
6436         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6437         Likewise.
6438         [__LINUX_KERNEL_VERSION >= 0x040300]
6439         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6440         [__LINUX_KERNEL_VERSION >= 0x040300]
6441         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6442         [__LINUX_KERNEL_VERSION >= 0x040300]
6443         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6444         [__LINUX_KERNEL_VERSION >= 0x040300]
6445         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6446         [__LINUX_KERNEL_VERSION >= 0x040300]
6447         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6448         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6449         Likewise.
6450         [__LINUX_KERNEL_VERSION >= 0x040300]
6451         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6452         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6453         Likewise.
6454         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6455         Likewise.
6456         [__LINUX_KERNEL_VERSION >= 0x040300]
6457         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6458         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6459         Likewise.
6460         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6461         Likewise.
6462         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6463         (__ASSUME_SOCKET_SYSCALL): Likewise.
6464         (__ASSUME_BIND_SYSCALL): Likewise.
6465         (__ASSUME_CONNECT_SYSCALL): Likewise.
6466         (__ASSUME_LISTEN_SYSCALL): Likewise.
6467         (__ASSUME_ACCEPT_SYSCALL): Likewise.
6468         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6469         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6470         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6471         (__ASSUME_SEND_SYSCALL): Likewise.
6472         (__ASSUME_SENDTO_SYSCALL): Likewise.
6473         (__ASSUME_RECV_SYSCALL): Likewise.
6474         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6475         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
6476         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6477         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6478         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6479         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6480         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6481         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
6482         Likewise.
6483         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
6484         Likewise.
6485         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
6486         Likewise.
6487         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
6488         Likewise.
6489         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
6490         Likewise.
6491         [__LINUX_KERNEL_VERSION >= 0x020625]
6492         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6493         [__LINUX_KERNEL_VERSION >= 0x020625]
6494         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6495         [__LINUX_KERNEL_VERSION >= 0x020625]
6496         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6497         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
6498         Likewise.
6499         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
6500         Likewise.
6501         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
6502         Likewise.
6503         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
6504         Likewise.
6505         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
6506         Likewise.
6507         [__LINUX_KERNEL_VERSION >= 0x020625]
6508         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6509         [__LINUX_KERNEL_VERSION >= 0x020625]
6510         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6511         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
6512         Likewise.
6513         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
6514         Likewise.
6516 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
6518         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
6519         record the current if the current ABI and CPU support the FP64
6520         extension.
6521         (has-modd-spreg): Define to record the current if the current ABI and
6522         CPU support 32-bit floating point values in odd FPU registers.
6523         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6524         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
6525         $(has-modd-spreg) equals yes.
6526         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
6527         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
6528         $(has-modd-spreg) equal yes.
6530 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
6532         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
6533         basename.
6535 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
6537         * benchtests/Makefile (bench-math): Move ffs and ffsll...
6538         (bench-string): ... here.
6539         (bench): Add bench-string.
6540         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
6541         to *-benchset to reflect what they are.
6542         (benchset): Adjust.
6544         * benchtests/sincos-inputs: Add inputs from sin-inputs and
6545         cos-inputs.
6547 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
6549         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
6550         __attribute__ ((__simd__)) for vector math function declarations.
6552 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6554         Fix typo in strncat, wcsncat manual entries
6555         * manual/string.texi (Copying and Concatenation): Fix typos in
6556         sample implementations of strncat and wcsncat, by having them use
6557         the old value of the destination length, not the new one.
6559 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
6561         [BZ #16961]
6562         [BZ #16962]
6563         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
6564         string on the stack for strtod.
6565         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
6566         a string on the stack for strtof.
6567         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
6568         constructing a string on the stack for strtold.
6569         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
6570         __strtold_nan to GLIBC_PRIVATE.
6571         * math/test-nan-overflow.c: New file.
6572         * math/test-nan-payload.c: Likewise.
6573         * math/Makefile (tests): Add test-nan-overflow and
6574         test-nan-payload.
6576 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6578         Consistency about byte vs character in string.texi
6579         * manual/string.texi (String and Array Utilities):
6580         Distinguish more carefully among bytes, multibyte characters,
6581         and wide characters.  Use "byte" when talking about C 'char',
6582         to distinguish it more clearly from multibyte characters.
6583         Say "wide character" or "multibyte character" instead of
6584         "character", when a wide or multibyte character is intended.
6585         Similarly for "multibyte string" versus "string".
6586         Define these terms more carefully.
6588 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
6590         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
6591         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
6592         Likewise.
6593         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6594         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6595         * sysdeps/sh/math_private.h: New file.
6596         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
6597         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
6598         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
6599         long double function name.
6600         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6601         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6602         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6603         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6604         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
6606         Remove __finitel, __isinfl, and __isnanl.
6607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6608         Likewise.
6609         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6611         Remove __finitel.
6612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6613         Likewise.
6614         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6616 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
6618         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
6619         installed libmvec_nonshared.a.
6621 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6623         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
6624         (sysdep_routines): Likewise.
6625         (sysdep-rtld-routines): Likewise.
6626         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
6627         [$(subdir) = nptl](tests-static): test-get_hwcap-static
6628         * sysdeps/powerpc/Versions: Added new
6629         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
6630         * sysdeps/powerpc/hwcapinfo.c: New file.
6631         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
6632         and parse hwcap, hwcap2 and platform number information.
6633         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
6634         to store HWCAP+HWCAP2 and platform number.
6635         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
6636         for HWCAP+HWCAP2 and platform number in the TCB.
6637         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
6638         the HWCAP, HWCAP2 and platform number in the TCB.
6639         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
6640         (TLS_INIT_TP): Included calls to add the hwcap and
6641         at_platform values in the TCB in TP initialization.
6642         (TLS_DEFINE_INIT_TP): Likewise.
6643         (THREAD_GET_HWCAP): New macro.
6644         (THREAD_SET_HWCAP): Likewise.
6645         (THREAD_GET_AT_PLATFORM): Likewise.
6646         (THREAD_SET_AT_PLATFORM): Likewise.
6647         * sysdeps/powerpc/powerpc32/dl-machine.h:
6648         (dl_platform_init): New function that calls
6649         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
6650         powerpc32.
6651         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
6652         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
6653         this functionality, static linking case.
6654         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
6655         linking case.
6656         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
6657         __parse_hwcap_and_convert_at_platform for the static linking case.
6658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
6659         Included the new __parse_hwcap_and_convert_at_platform symbol in the
6660         ABI list for GLIBC 2.23.
6661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
6662         Likewise.
6663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
6664         Likewise.
6666 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
6668         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
6669         * configure: Regenerate.
6670         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
6671         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
6673 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
6675         * iconvdata/ibm930.c: Add comment explaining encoding uses.
6676         * iconvdata/ibm933.c: Likewise.
6677         * iconvdata/ibm935.c: Likewise.
6678         * iconvdata/ibm937.c: Likewise.
6679         * iconvdata/ibm939.c: Likewise.
6681 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6683         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
6684         pthread_join.
6685         * nptl/tst-cancel21.c (tf): Likewise.
6687 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
6689         [BZ #19313]
6690         * bits/typesizes.h (__CPU_MASK_TYPE): New.
6691         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
6692         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
6693         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
6694         Likewise.
6695         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
6696         Likewise.
6697         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
6698         Likewise.
6699         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
6700         Likewise.
6701         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
6702         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
6703         unsigned long int with __CPU_MASK_TYPE.
6705 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6707         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6709 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
6711         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
6712         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
6713         t512.x.
6714         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
6716 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
6718         [BZ #19214]
6719         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
6720         argument to return extended model.  Update family and model
6721         with extended family and model when family == 0x0f.
6722         (init_cpu_features): Updated.
6724 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6726         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
6727         signed off_t, so 32bit bigger than 2GiB values are fine actually.
6729         * sysdeps/mach/hurd/mmap64.c: New file.
6731 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
6733         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
6734         rights for its main user thread in NEWTASK.
6736 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
6738         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
6739         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
6741 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
6743         [BZ #14259]
6744         * Makeconfig: Rename localedir to complocaledir.
6745         Rename inst_localedir to inst_complocaledir.
6746         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
6747         * config.make.in: Use complocaledir and libc_cv_complocaledir.
6748         * configure.ac: Use libc_cv_complocaledir.
6749         * configure: Regenerate.
6750         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
6751         -DCOMPLOCALEDIR.
6752         * locale/findlocale.c: Use COMPLOCALEDIR.
6753         * locale/loadarchive.c: Likewise.
6754         * locale/programs/locale.c: Likewise.
6755         * locale/programs/localedef.c: Likewise.
6756         * locale/programs/locarchive.c: Likewise.
6757         * localedata/Makefile: Use inst_complocaledir.
6758         * sysdeps/gnu/configure: Regenerate.
6759         * sysdeps/hppa/configure: Regenerate.
6760         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
6761         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6763         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
6764         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
6765         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
6766         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
6768 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
6770         [BZ #19058]
6771         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
6772         AS_NEEDED.
6773         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
6774         workaround.
6775         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
6776         libmvec-static-only-routines): Added new file.
6777         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
6779 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6781         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
6782         of interrupted RPC instead of restoring it.
6784         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
6785         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
6786         libc_hidden_def.
6787         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
6788         into initialized data instead of common. Define rtld_hidden_data_def.
6789         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
6790         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
6791         libc_hidden_def.
6792         (if_freenameindex): Add libc_hidden_weak.
6793         (if_nameindex): Add libc_hidden_weak.
6794         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
6795         __open64.
6796         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
6797         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
6798         * sysdeps/mach/nanosleep.c: Include <time.h>
6799         (__nanosleep): Rename to __libc_nanosleep.
6800         (__nanosleep): Add weak_alias.
6801         (nanosleep): Update alias.
6803 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
6805         * stdlib/strtod_nan.c: New file.
6806         * stdlib/strtod_nan_double.h: Likewise.
6807         * stdlib/strtod_nan_float.h: Likewise.
6808         * stdlib/strtod_nan_main.c: Likewise.
6809         * stdlib/strtod_nan_narrow.h: Likewise.
6810         * stdlib/strtod_nan_wide.h: Likewise.
6811         * stdlib/strtof_nan.c: Likewise.
6812         * stdlib/strtold_nan.c: Likewise.
6813         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
6814         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
6815         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
6816         * wcsmbs/wcstod_nan.c: Likewise.
6817         * wcsmbs/wcstof_nan.c: Likewise.
6818         * wcsmbs/wcstold_nan.c: Likewise.
6819         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
6820         strtold_nan.
6821         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
6822         wcstof_nan.
6823         * include/stdlib.h (__strtof_nan): Declare and use
6824         libc_hidden_proto.
6825         (__strtod_nan): Likewise.
6826         (__strtold_nan): Likewise.
6827         (__wcstof_nan): Likewise.
6828         (__wcstod_nan): Likewise.
6829         (__wcstold_nan): Likewise.
6830         * include/wchar.h (____wcstoull_l_internal): Declare.
6831         * stdlib/strtod_l.c: Do not include <ieee754.h>.
6832         (____strtoull_l_internal): Remove declaration.
6833         (STRTOF_NAN): Define macro.
6834         (SET_MANTISSA): Remove macro.
6835         (STRTOULL): Likewise.
6836         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
6837         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
6838         (STRTOF_NAN): Define macro.
6839         (SET_MANTISSA): Remove macro.
6840         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
6841         (SET_MANTISSA): Remove macro.
6842         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
6843         macro.
6844         (SET_MANTISSA): Remove macro.
6845         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
6846         macro.
6847         (SET_MANTISSA): Remove macro.
6848         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
6849         (SET_MANTISSA): Remove macro.
6850         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
6851         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
6852         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
6854         [BZ #19266]
6855         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
6856         upper case and lower case letters inside NAN(), not using TOLOWER.
6857         * stdlib/tst-strtod-nan-locale-main.c: New file.
6858         * stdlib/tst-strtod-nan-locale.c: Likewise.
6859         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
6860         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
6861         Depend on $(gen-locales).
6862         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
6863         * wcsmbs/tst-wcstod-nan-locale.c: New file.
6864         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
6865         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
6866         Depend on $(gen-locales).
6867         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
6869 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
6871         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
6873         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
6875         __finitel, __isinfl, and __isnanl.
6876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6877         Likewise.
6878         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
6880         __finitel.
6881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6882         Likewise.
6883         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6885 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6887         * malloc/memusage.c (me): Remove redundant getenv call.
6889 2015-10-24  Florian Weimer  <fweimer@redhat.com>
6891         [BZ #19143]
6892         [BZ #19164]
6893         * nptl/check-cpuset.h: Remove.
6894         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
6895         Remove CPU set size check.
6896         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
6897         Likewise.
6898         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
6899         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6900         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
6901         (__pthread_setaffinity_new): Remove CPU set size check.
6902         * sysdeps/unix/sysv/linux/sched_setaffinity.c
6903         (__kernel_cpumask_size): Remove.
6904         (__sched_setaffinity_new): Remove CPU set size check.
6905         * manual/threads.texi (Default Thread Attributes): Remove stale
6906         reference to check_cpuset_attr, determine_cpumask_size in comment.
6907         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
6908         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
6909         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
6910         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
6911         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
6912         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
6913         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
6914         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
6915         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
6916         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
6917         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
6918         skeleton test file.
6919         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
6920         tst-affinity-pid.
6922 2015-11-24  Florian Weimer  <fweimer@redhat.com>
6924         * scripts/update-abilist.sh: New file.
6925         * Makefile (+subdir_targets): Add subdir_update-all-abi.
6926         * Makerules (update-all-abi-%, update-all-abi)
6927         (subdir_update-all-abi): New targets.
6928         * elf/Makefile (update-all-abi): New target.
6930 2015-11-24  Florian Weimer  <fweimer@redhat.com>
6932         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
6933         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
6934         (__libc_lock_define_initialized): Use it.
6935         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
6936         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
6937         * malloc/malloc.c (main_arena): Likewise.
6938         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
6939         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
6941 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
6943         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
6944         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
6945         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6946         (PTRACE_O_MASK): Update value.
6947         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
6948         New value in enum __ptrace_setoptions.
6949         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6950         (PTRACE_O_MASK): Update value.
6951         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
6952         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6953         (PTRACE_O_MASK): Update value.
6954         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
6955         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6956         (PTRACE_O_MASK): Update value.
6957         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
6958         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6959         (PTRACE_O_MASK): Update value.
6960         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
6961         New value in enum __ptrace_setoptions.
6962         (PTRACE_O_MASK): Update value.
6963         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
6964         New value in enum __ptrace_setoptions.
6965         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6966         (PTRACE_O_MASK): Update value.
6968         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
6969         New macro.
6970         (PACKET_AUXDATA): Likewise.
6971         (PACKET_ORIGDEV): Likewise.
6972         (PACKET_VERSION): Likewise.
6973         (PACKET_HDRLEN): Likewise.
6974         (PACKET_RESERVE): Likewise.
6975         (PACKET_TX_RING): Likewise.
6976         (PACKET_LOSS): Likewise.
6977         (PACKET_VNET_HDR): Likewise.
6978         (PACKET_TX_TIMESTAMP): Likewise.
6979         (PACKET_TIMESTAMP): Likewise.
6980         (PACKET_FANOUT): Likewise.
6981         (PACKET_TX_HAS_OFF): Likewise.
6982         (PACKET_QDISC_BYPASS): Likewise.
6983         (PACKET_ROLLOVER_STATS): Likewise.
6984         (PACKET_FANOUT_DATA): Likewise.
6985         (PACKET_MR_UNICAST): Likewise.
6987         [BZ #19242]
6988         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
6989         (TOUPPER): Likewise.
6990         * stdlib/tst-strtol-locale-main.c: New file.
6991         * stdlib/tst-strtol-locale.c: Likewise.
6992         * stdlib/Makefile (tests): Add tst-strtol-locale.
6993         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
6994         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
6995         Depend on $(gen-locales).
6996         * wcsmbs/tst-wcstol-locale.c: New file.
6997         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
6998         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
6999         tr_TR.ISO-8859-9.
7000         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
7001         Depend on $(gen-locales).
7003 2015-11-20  Roland McGrath  <roland@hack.frob.com>
7005         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
7006         __glibc_likely instead of __builtin_expect.  After falling back to
7007         dyncode_create in a non-ET_DYN case, use the allocate_code_data
7008         system interface to register the code pages as occupied.
7010 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
7012         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7013         [!ARM_MATH_PRIVATE_H].
7014         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
7015         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7016         [!HPPA_MATH_PRIVATE_H].
7017         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
7018         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
7019         to [!I386_MATH_PRIVATE_H].
7020         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
7021         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
7022         Change guard to [!M68K_MATH_PRIVATE_H].
7023         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
7024         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
7025         guard to [!MICROBLAZE_MATH_PRIVATE_H].
7026         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
7027         macro.
7028         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7029         [!MIPS_MATH_PRIVATE_H].
7030         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
7031         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7032         [!NIO2_MATH_PRIVATE_H].
7033         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
7034         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7035         [!TILE_MATH_PRIVATE_H].
7036         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
7038         [BZ #15421]
7039         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
7040         initialize with 0 and define as weak alias of __signgam.
7041         * include/math.h [!_ISOMAC] (__signgam): Declare.
7042         * math/Makefile (libm-calls): Add w_lgamma_compat.
7043         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
7044         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
7045         test-signgam-ullong-init.
7046         (tests-static): Add test-signgam-uchar-static,
7047         test-signgam-uchar-init-static, test-signgam-uint-static,
7048         test-signgam-uint-init-static, test-signgam-ullong-static and
7049         test-signgam-ullong-init-static.
7050         (CFLAGS-test-signgam-uchar.c): New variable.
7051         (CFLAGS-test-signgam-uchar-init.c): Likewise.
7052         (CFLAGS-test-signgam-uchar-static.c): Likewise.
7053         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
7054         (CFLAGS-test-signgam-uint.c): Likewise.
7055         (CFLAGS-test-signgam-uint-init.c): Likewise.
7056         (CFLAGS-test-signgam-uint-static.c): Likewise.
7057         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
7058         (CFLAGS-test-signgam-ullong.c): Likewise.
7059         (CFLAGS-test-signgam-ullong-init.c): Likewise.
7060         (CFLAGS-test-signgam-ullong-static.c): Likewise.
7061         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
7062         * math/Versions (libm): Add GLIBC_2.23.
7063         * math/lgamma-compat.h: New file.
7064         * math/test-signgam-main.c: Likewise.
7065         * math/test-signgam-uchar-init-static.c: Likewise.
7066         * math/test-signgam-uchar-init.c: Likewise.
7067         * math/test-signgam-uchar-static.c: Likewise.
7068         * math/test-signgam-uchar.c: Likewise.
7069         * math/test-signgam-uint-init-static.c: Likewise.
7070         * math/test-signgam-uint-init.c: Likewise.
7071         * math/test-signgam-uint-static.c: Likewise.
7072         * math/test-signgam-uint.c: Likewise.
7073         * math/test-signgam-ullong-init-static.c: Likewise.
7074         * math/test-signgam-ullong-init.c: Likewise.
7075         * math/test-signgam-ullong-static.c: Likewise.
7076         * math/test-signgam-ullong.c: Likewise.
7077         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
7078         wrapper of w_lgamma_main.c.
7079         * math/w_lgamma_compat.c: New file.
7080         * math/w_lgamma_compatf.c: Likewise.
7081         * math/w_lgamma_compatl.c: Likewise.
7082         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
7083         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7084         defining compatibility symbols.
7085         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
7086         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
7087         wrapper of w_lgammaf_main.c.
7088         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
7089         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7090         defining compatibility symbols.
7091         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
7092         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
7093         wrapper of w_lgammal_main.c.
7094         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
7095         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7096         defining compatibility symbols.
7097         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
7098         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
7099         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
7100         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
7101         <lgamma-compat.h>.
7102         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
7103         (__ieee754_gamma): Define as alias.
7104         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
7105         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
7106         <lgamma-compat.h>.
7107         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
7108         (__ieee754_gammaf): Define as alias.
7109         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
7110         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
7111         <lgamma-compat.h>.
7112         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
7113         (__ieee754_gammal): Define as alias.
7114         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
7115         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
7116         <math/w_lgamma_compat.c>.
7117         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
7118         Define as alias of __lgamma_compat and use in defining lgammal.
7119         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
7120         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
7121         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
7122         (USE_AS_COMPAT): New macro.
7123         (LGAMMA_OLD_VER): Undefine and redefine.
7124         (lgammal): Do not define here.
7125         (gammal): Only define here if [GAMMA_ALIAS].
7126         * conform/linknamespace.pl (@whitelist): Remove signgam.
7127         * sysdeps/nacl/libm.abilist: Update.
7128         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7129         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7130         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7131         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7132         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7133         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7134         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7135         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7136         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7137         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7138         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7139         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7141         Likewise.
7142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7143         Likewise.
7144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7145         Likewise.
7146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7147         Likewise.
7148         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7149         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7150         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7151         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7152         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7154         Likewise.
7155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7156         Likewise.
7157         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7158         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7159         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7161 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7163         [BZ #16364]
7164         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
7165         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
7167 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7169         * sysdeps/s390/fpu/bits/mathinline.h:
7170         Use __asm__ [__volatile__] instead of asm [volatile].
7171         * sysdeps/s390/abort-instr.h: Likewise.
7172         * sysdeps/s390/atomic-machine.h: Likewise.
7173         * sysdeps/s390/bits/string.h: Likewise.
7174         * sysdeps/s390/dl-tls.h: Likewise.
7175         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7176         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7177         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7178         * sysdeps/s390/fpu/fesetround.c: Likewise.
7179         * sysdeps/s390/fpu/fpu_control.h: Likewise.
7180         * sysdeps/s390/fpu/s_fma.c: Likewise.
7181         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
7182         * sysdeps/s390/memusage.h: Likewise.
7183         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
7184         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
7185         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
7186         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
7187         * sysdeps/s390/nptl/tls.h: Likewise.
7188         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
7189         * sysdeps/s390/s390-32/backtrace.c: Likewise.
7190         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7191         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
7192         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7193         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7194         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
7195         * sysdeps/s390/s390-64/backtrace.c: Likewise.
7196         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7197         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
7198         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
7199         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7200         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7201         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
7202         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7203         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7204         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
7205         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7206         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
7207         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7208         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
7209         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7210         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
7212 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7213             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7215         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7216         Add lwarx hint, and use macro for acquire instruction.
7217         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7218         Likewise.
7219         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
7220         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
7221         update to use new atomic macros.
7223 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7225         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7226         (__lll_trylock_elision): Fix setting of adapt_count.
7227         * sysdeps/unix/sysv/linux/powerpc/htm.h
7228         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
7229         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
7230         (_ABORT_SYSCALL): Renumber, and clarify definition.
7231         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
7233 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7235         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
7236         after system headers to prevent MIN/MAX redefinition.  Define
7237         HAVE_ALLOCA to preserve builtin alloca usage.
7239 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
7241         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
7242         static and don't set or restore rounding.
7243         (__cos)[IN_SINCOS]: Likewise.
7244         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
7245         (__sincos): Set and restore rounding mode.  Remove check for infinite
7246         or NaN input.
7248         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
7250         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
7251         as used.
7253 2015-11-16  Florian Weimer  <fweimer@redhat.com>
7255         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
7257 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
7259         * config.make.in (have-glob-dat-reloc): New.
7260         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
7261         target supports GLOB_DAT relocaton. AC_SUBST.
7262         * configure: Regenerated.
7263         * elf/Makefile (tests): Add tst-prelink.
7264         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7265         (tst-prelink-ENV): New.
7266         ($(objpfx)tst-prelink-conflict.out): Likewise.
7267         ($(objpfx)tst-prelink-cmp.out): Likewise.
7268         * sysdeps/x86/tst-prelink.c: Moved to ...
7269         * elf/tst-prelink.c: Here.
7270         * sysdeps/x86/tst-prelink.exp: Moved to ...
7271         * elf/tst-prelink.exp: Here.
7272         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
7273         (tst-prelink-ENV): Removed.
7274         ($(objpfx)tst-prelink-conflict.out): Likewise.
7275         ($(objpfx)tst-prelink-cmp.out): Likewise.
7276         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
7278 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
7280         [BZ #14551]
7281         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
7282         (__mpn_construct_long_double): If high part overflows to infinity,
7283         set errno and recompute overflowed result of the correct sign.
7284         * sysdeps/ieee754/ldbl-128ibm/Makefile
7285         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
7286         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
7287         $(libm).
7288         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
7290 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
7292         [BZ #15479]
7293         [BZ #19238]
7294         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
7295         floating-point state after first operation on input.  Restore full
7296         state rather than just rounding mode.
7297         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7298         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7299         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7301         [BZ #19235]
7302         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
7303         add 0.5 to integer arguments.
7304         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
7305         Likewise.
7306         (.LC2): New object.
7308 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
7310         * scripts/pylintrc (reports): Set to no.
7312 2015-11-10  Roland McGrath  <roland@hack.frob.com>
7314         * elf/dl-load.c (open_verify): Take new argument FD.
7315         Skip __open call if passed FD is not -1.
7316         (_dl_map_object, open_path): Update callers.
7317         * elf/dl-sysdep-open.h: New file.
7318         * elf/dl-load.c: Include it.
7319         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
7320         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
7321         * sysdeps/nacl/dl-sysdep-open.h: New file.
7322         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
7323         from libc to rtld.
7325 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
7327         [BZ #19228]
7328         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
7329         and restore full floating-point state.
7330         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7331         Likewise.
7332         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7333         Likewise.
7334         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7335         Likewise.
7336         * math/test-nearbyint-except-2.c: New file.
7337         * math/Makefile (tests): Add test-nearbyint-except-2.
7339 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
7341         [BZ #19178]
7342         * sysdeps/x86/Makefile (tests): Add tst-prelink.
7343         (tst-prelink-ENV): New.
7344         ($(objpfx)tst-prelink-conflict.out): Likewise.
7345         ($(objpfx)tst-prelink-cmp.out): Likewise.
7346         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7347         * sysdeps/x86/tst-prelink.c: New file.
7348         * sysdeps/x86/tst-prelink.exp: Likewise.
7350 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
7352         * math/auto-libm-test-in: Add another test of pow.
7353         * math/auto-libm-test-out: Regenerated.
7354         * math/libm-test.inc (pow_test_data): Add another test.
7356 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7358         [BZ #19219]
7359         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
7360         weak_alias to nearbyintl.
7362 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
7364         * sysdeps/aarch64/bits/string.h: New file.
7365         (_STRING_ARCH_unaligned): Define.
7367 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
7369         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
7370         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
7371         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
7372         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
7373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
7375 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
7377         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
7378         for original name of the DSO.  Add it to the name list of the DSO
7379         if it is actually given.
7380         (_dl_map_object): Keep track of whether an audit module rewrote
7381         the file name.  If yes, pass the original name to
7382         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
7383         debugging is enabled, log the change of the file name.
7384         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
7385         _dl_map_object_from_fd.
7386         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
7387         * elf/tst-audit11.c: New file
7388         * elf/tst-auditmod11.c: New file.
7389         * elf/tst-audit11mod1.c: New file.
7390         * elf/tst-audit11mod2.c: New file.
7391         * elf/tst-audit11mod2.map: New file.
7392         * elf/tst-audit12.c: New file
7393         * elf/tst-auditmod12.c: New file.
7394         * elf/tst-audit12mod1.c: New file.
7395         * elf/tst-audit12mod2.c: New file.
7396         * elf/tst-audit12mod2.map: New file.
7397         * elf/tst-audit12mod3.c: New file.
7399 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7401         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
7402         Don't create weak aliases,
7403         because versioned symbols are created later.
7404         * sysdeps/s390/s390-32/setjmp.S
7405         (setjmp, _setjmp): Remove weak and rename to an unique name
7406         in SHARED case due to existing versioned symbols.
7407         * sysdeps/s390/s390-64/setjmp.S: Likewise.
7408         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
7409         (getcontext): Create weak alias only in non SHARED case.
7410         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7412 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7414         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
7415         (__ASSUME_*_SYSCALL) Define new macros.
7416         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
7417         Remove socketcall syscalls.
7418         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
7419         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
7420         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
7421         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
7422         * sysdeps/unix/sysv/linux/send.c (__libc_send):
7423         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
7425 2015-11-09  Florian Weimer  <fweimer@redhat.com>
7427         [BZ #12926]
7428         Terminate process on invalid netlink response.
7429         * sysdeps/unix/sysv/linux/netlinkaccess.h
7430         (__netlink_assert_response): Declare.
7431         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
7432         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
7433         (sysdep_routines): Add netlink_assert_response.
7434         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
7435         __netlink_assert_response.
7436         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
7437         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
7438         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
7439         __netlink_assert_response.
7441 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
7443         [BZ #19178]
7444         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
7445         (RTYPE_CLASS_PLT): Likewise.
7446         (RTYPE_CLASS_COPY): Likewise.
7447         (RTYPE_CLASS_TLS): Likewise.
7448         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
7449         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
7450         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
7451         DL_DEBUG_PRELINK.
7453 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
7455         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
7456         calls with argument -0.5.
7457         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
7459         * configure.ac (libc_cv_z_nodelete): Remove configure test.
7460         (libc_cv_z_nodlopen): Likewise.
7461         (libc_cv_z_initfirst): Likewise.
7462         * configure: Regenerated.
7464 2015-11-06  Florian Weimer  <fweimer@redhat.com>
7466         Simplify abilist format to be line-based.
7467         * scripts/abilist.awk: Collect descriptors in the descs variable.
7468         (emit): Write descs variable and sort it
7469         externally, with sort.
7470         * sysdeps/**/*.abilist: Convert to new format.
7472 2015-11-06  Mark Wielaard  <mjw@redhat.com>
7474         [BZ #11460]
7475         * io/Makefile (routines): Add fts64.
7476         (tests): Add tst-fts and tst-fts-lfs.
7477         (CFLAGS-fts64.c): New.
7478         * io/Versions (GLIBC_2.23): New.
7479         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
7480         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
7481         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
7482         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
7483         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
7484         (FTSENT64): Likewise.
7485         (fts64_children): Likewise.
7486         (fts64_close): Likewise.
7487         (fts64_open): Likewise.
7488         (fts64_read): Likewise.
7489         (fts64_set): Likewise.
7490         * io/fts64.c: New file.
7491         * io/tst-fts.c: New test.
7492         * io/tst-fts-lfs.c: Likewise.
7493         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
7494         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
7495         fts64_set.
7496         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7497         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7498         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7499         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7500         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7501         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7502         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7503         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7504         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7505         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7506         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7507         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7508         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7510         Likewise.
7511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7512         Likewise.
7513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7515         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7516         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7517         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7518         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7519         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7522         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7523         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7524         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7525         * sysdeps/wordsize-64/fts.c: New file.
7526         * sysdeps/wordsize-64/fts64.c: Likewise.
7527         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
7528         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
7529         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
7530         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
7532 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
7534         * math/libm-test.inc (NON_FINITE): New macro.
7535         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
7536         * math/gen-libm-test.pl (show_exceptions): Add argument
7537         $non_finite.
7538         (parse_args): Update call to show_exceptions.
7539         * math/test-math-finite.h: New file.
7540         * math/test-math-no-finite.h: Likewise.
7541         * math/test-double-finite.c: Likewise.
7542         * math/test-float-finite.c: Likewise.
7543         * math/test-ldouble-finite.c: Likewise.
7544         * math/test-double.c: Include "test-math-no-finite.h".
7545         * math/test-float.c: Include "test-math-no-finite.h".
7546         * math/test-ldouble.c: Include "test-math-no-finite.h".
7547         * math/test-math-inline.h (TEST_FINITE): New macro.
7548         * math/test-math-vector.h (TEST_FINITE): Likewise.
7549         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
7550         (libm-tests): Add test-float-finite and test-double-finite.
7551         ($(objpfx)test-float-finite.o): New dependency on
7552         $(objpfx)libm-test.stmp.
7553         ($(objpfx)test-double-finite.o): Likewise.
7554         ($(objpfx)test-ldouble-finite.o): Likewise.
7555         (libm-test-no-inline-cflags): New variable.
7556         (libm-test-finite-cflags): Likewise.
7557         (CFLAGS-test-float-finite.c): Likewise.
7558         (CFLAGS-test-double-finite.c): Likewise.
7559         (CFLAGS-test-ldouble-finite.c): Likewise.
7560         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
7561         (CFLAGS-test-double.c): Likewise.
7562         (CFLAGS-test-ldouble.c): Likewise.
7564 2015-11-05  Roland McGrath  <roland@hack.frob.com>
7566         * io/fcntl.c (__fcntl): Add ... to prototype.
7567         * misc/ioctl.c (__ioctl): Likewise.
7568         * misc/syscall.c (syscall): Likewise.
7570 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
7572         * scripts/list-fixed-bugs.py: New file.
7574         [BZ #19213]
7575         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
7576         returned for argument 1.
7577         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
7578         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
7579         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
7580         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
7581         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
7582         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
7584         [BZ #19211]
7585         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
7586         __USE_XOPEN], not if [!__USE_ISOC99].
7587         (lgammaf): Likewise.
7588         (lgammal): Likewise.
7589         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
7590         (gammaf): Likewise.
7591         (gammal): Likewise.
7592         * math/test-signgam-finite-c11.c: New file.
7593         * math/test-signgam-finite-c99.c: Likewise.
7594         * math/test-signgam-finite.c: Likewise.
7595         * math/Makefile (tests): Add test-signgam-finite,
7596         test-signgam-finite-c99 and test-signgam-finite-c11.
7597         (CFLAGS-test-signgam-finite.c): New variable.
7598         (CFLAGS-test-signgam-finite-c99.c): Likewise.
7599         (CFLAGS-test-signgam-finite-c11.c): Likewise.
7601         [BZ #19212]
7602         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
7603         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
7604         500].
7605         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
7606         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
7607         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
7608         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
7609         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
7610         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
7611         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
7612         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
7613         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
7614         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
7616         [BZ #19209]
7617         * math/bits/math-finite.h (ldexp): Remove declaration.
7618         (ldexpf): Likewise.
7619         (ldexpl): Likewise.
7621         [BZ #19205]
7622         * math/bits/math-finite.h (acosf): Condition declaration on
7623         [__USE_ISOC99].
7624         (acosl): Likewise.
7625         (acoshf): Likewise.
7626         (acoshl): Likewise.
7627         (asinf): Likewise.
7628         (asinl): Likewise.
7629         (atan2f): Likewise.
7630         (atan2l): Likewise.
7631         (atanhf): Likewise.
7632         (atanhl): Likewise.
7633         (coshf): Likewise.
7634         (coshl): Likewise.
7635         (expf): Likewise.
7636         (expl): Likewise.
7637         (fmodf): Likewise.
7638         (fmodl): Likewise.
7639         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
7640         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
7641         (j0l): Likewise.
7642         (y0f): Likewise.
7643         (y0l): Likewise.
7644         (j1f): Likewise.
7645         (j1l): Likewise.
7646         (y1f): Likewise.
7647         (y1l): Likewise.
7648         (jnf): Likewise.
7649         (jnl): Likewise.
7650         (ynf): Likewise.
7651         (ynl): Likewise.
7652         (lgammaf_r): Condition declaration on [__USE_ISOC99].
7653         (lgammal_r): Likewise.
7654         (__lgamma_r_finite): New declaration.
7655         (__lgammaf_r_finite): Likewise.
7656         (__lgammal_r_finite): Likewise.
7657         (lgamma): Use __lgamma_r_finite.
7658         (lgammaf): Condition definition on [__USE_ISOC99].  Use
7659         __lgammaf_r_finite.
7660         (lgammal): Condition definition on [__USE_ISOC99].  Use
7661         __lgammal_r_finite.
7662         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
7663         __lgamma_r_finite.
7664         (gammaf): Condition definition on [__USE_ISOC99].  Use
7665         __lgammaf_r_finite.
7666         (gammal): Condition definition on [__USE_ISOC99].  Use
7667         __lgammal_r_finite.
7668         (logf): Condition declaration on [__USE_ISOC99].
7669         (logl): Likewise.
7670         (log10f): Likewise.
7671         (log10l): Likewise.
7672         (ldexpf): Likewise.
7673         (ldexpl): Likewise.
7674         (powf): Likewise.
7675         (powl): Likewise.
7676         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
7677         __USE_ISOC99].
7678         (remainderf): Condition declaration on [__USE_ISOC99].
7679         (remainderl): Likewise.
7680         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
7681         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
7682         (scalbl): Likewise.
7683         (sinhf): Condition declaration on [__USE_ISOC99].
7684         (sinhl): Likewise.
7685         (sqrtf): Likewise.
7686         (sqrtl): Likewise.
7688 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
7690         * sysdeps/arm/atomic-machine.h
7691         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
7692         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
7693         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
7694         Remove conditional code.
7695         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
7696         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
7697         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
7698         Change conditional to [__ASSEMBLER__].
7699         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
7700         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
7701         [!__ASSEMBLER__].
7702         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
7703         code.
7704         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
7705         conditional macro definitions.
7706         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
7707         (__arch_compare_and_exchange_val_16_acq): Likewise.
7708         (__arch_compare_and_exchange_val_32_acq): Likewise.
7709         (atomic_exchange_and_add): Likewise.
7710         (atomic_add): Likewise.
7711         (atomic_add_negative): Likewise.
7712         (atomic_add_zero): Likewise.
7713         (atomic_bit_set): Likewise.
7714         (atomic_bit_test_set): Likewise.
7715         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
7716         code unconditional.
7717         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7719         * math/test-math-errno.h: New file.
7720         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
7721         empty.
7722         (TEST_ERRNO): New macro.
7723         (TEST_EXCEPTIONS): Likewise.
7724         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
7725         (TEST_EXCEPTIONS): Likewise.
7726         * math/test-math-vector.h (TEST_ERRNO): Likewise.
7727         * math/test-double.c: Include "test-math-errno.h".
7728         * math/test-float.c: Likewise.
7729         * math/test-ldouble.c: Likewise.
7730         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
7731         code unconditional.
7732         (test_exceptions): Only run code if TEST_EXCEPTIONS.
7733         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
7734         unconditional.
7735         (test_errno): Only run code if TEST_ERRNO.
7736         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
7738 2015-11-04  Florian Weimer  <fweimer@redhat.com>
7740         * nptl/tst-once5.cc: Remove attribution.
7742 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
7744         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
7745         sqrt, tan, tanh, y0, y1 and yn.
7746         * math/auto-libm-test-out: Regenerated.
7747         * math/libm-test.inc (scalb_test_data): Add more tests.
7748         (scalbn_test_data): Likewise.
7749         (scalbln_test_data): Likewise.
7750         (signbit_test_data): Likewise.
7751         (sin_test_data): Likewise.
7752         (sincos_test_data): Likewise.
7753         (sinh_test_data): Likewise.
7754         (sqrt_test_data): Likewise.
7755         (tan_test_data): Likewise.
7756         (tanh_test_data): Likewise.
7757         (tgamma_test_data): Likewise.
7758         (y0_test_data): Likewise.
7759         (y1_test_data): Likewise.
7760         (yn_test_data): Likewise.
7761         (significand_test_data): Likewise.
7762         * sysdeps/i386/fpu/libm-test-ulps: Update.
7764 2015-11-03  David Kastrup  <dak@gnu.org>
7766         [BZ #18604]
7767         * assert/assert.h (assert): Don't macro-expand failed assertion
7768         expression in error message.
7769         * malloc/malloc.c (assert): Likewise.
7771 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
7773         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
7774         test.
7775         * configure: Regenerated.
7777 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
7779         * math/libm-test.inc (modf_test_data): Add more tests.
7780         (nearbyint_test_data): Likewise.
7781         (nextafter_test_data): Likewise.
7782         (nexttoward_test_data): Likewise.
7783         (pow_test_data): Likewise.
7784         (remainder_test_data): Likewise.
7785         (remquo_test_data): Likewise.
7786         (rint_test_data): Likewise.
7788         [BZ #19201]
7789         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7790         Check for zero remainder in case of large exponents and ensure
7791         correct sign of result in that case.
7792         * math/libm-test.inc (remainder_test_data): Add more tests.
7794         [BZ #6799]
7795         * math/s_nextafter.c: Include <errno.h>.
7796         (__nextafter): Set errno on overflow and underflow.
7797         * math/s_nexttowardf.c: Include <errno.h>.
7798         (__nexttowardf): Set errno on overflow and underflow.
7799         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
7800         (__nextafterl): Set errno on overflow and underflow.
7801         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
7802         (__nexttoward): Set errno on overflow and underflow.
7803         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
7804         (__nexttowardf): Set errno on overflow and underflow.
7805         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
7806         (__nextafterf): Set errno on overflow and underflow.
7807         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
7808         (__nextafterl): Set errno on overflow and underflow.
7809         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
7810         (__nexttoward): Set errno on overflow and underflow.
7811         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
7812         (__nexttowardf): Set errno on overflow and underflow.
7813         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
7814         (__nextafterl): Set errno on overflow and underflow.
7815         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
7816         (__nexttoward): Set errno on overflow and underflow.
7817         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
7818         (__nexttowardf): Set errno on overflow and underflow.
7819         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
7820         (__nexttoward): Set errno on overflow and underflow.
7821         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
7822         (__nexttowardf): Set errno on overflow and underflow.
7823         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
7824         (__nldbl_nexttowardf): Set errno on overflow and underflow.
7825         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
7826         (__nextafterl): Set errno on overflow and underflow.
7827         * math/libm-test.inc (nextafter_test_data): Do not allow errno
7828         setting to be missing on overflow.  Add more tests.
7829         (nexttoward_test_data): Likewise.
7831         * configure.ac (libc_cv_initfini_array): Remove configure test.
7832         * configure: Regenerated.
7834 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
7836         [BZ #19189]
7837         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
7838         non-finite argument handle arguments with negative sign.
7840         * math/libm-test.inc (j0_test_data): Do not test sign of zero
7841         result from infinite argument.
7842         (j1_test_data): Likewise.
7843         (jn_test_data): Likewise.
7844         (y0_test_data): Likewise.
7845         (y1_test_data): Likewise.
7846         (yn_test_data): Likewise.
7848         [BZ #16171]
7849         * math/w_remainder.c (drem): Define as weak alias of __remainder.
7850         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
7851         * math/w_remainderf.c (dremf): Define as weak alias of
7852         __remainderf.
7853         * math/w_remainderl.c (dreml): Define as weak alias of
7854         __remainderl.
7855         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
7856         __remainder.
7857         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
7858         __remainderf.
7859         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
7860         __remainderl.
7861         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
7862         weak alias of remainderl.
7863         * sysdeps/ieee754/ldbl-opt/w_remainder.c
7864         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
7865         alias of __remainder.
7866         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
7867         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
7868         strong alias of __remainderl.
7869         (dreml): Use long_double_symbol.
7870         * math/Makefile (libm-calls): Remove w_drem.
7871         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
7872         (CFLAGS-nldbl-drem.c): Remove variable.
7873         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
7874         * math/w_drem.c: Remove file.
7875         * math/w_dremf.c: Likewise.
7876         * math/w_dreml.c: Likewise.
7877         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
7878         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
7879         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
7881         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
7882         * sysdeps/i386/configure: Regenerated.
7883         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
7884         * sysdeps/x86_64/configure: Regenerated.
7886         * configure.ac (libc_cv_asm_protected_directive): Remove configure
7887         test.
7888         (libc_cv_visibility_attribute): Likewise.
7889         (libc_cv_protected_data): Test unconditionally.
7890         (libc_cv_broken_visibility_attribute): Remove configure test.
7891         (libc_cv_have_sdata_section): Test unconditionally.
7892         * configure: Regenerated.
7894         * include/libc-internal.h (libc_max_align_t): Remove typedef.
7895         * include/scratch_buffer.h: Include <stddef.h> instead of
7896         <libc-internal.h>.
7897         (struct scratch_buffer): Use max_align_t instead of
7898         libc_max_align_t.
7900 2015-10-29  Florian Weimer  <fweimer@redhat.com>
7902         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
7903         instead of extend_alloca.  Change control flow to avoid a goto.
7904         Remove assert which is trivially always true.
7906 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7908         [BZ #16068]
7909         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
7910         (FE_ALL_EXCEPT_X86): New macro.
7911         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
7912         FE_ALL_EXCEPT.  Ensure precision control is included in
7913         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
7914         handle "denormal operand exception" and clear FZ and DAZ bits.
7915         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
7916         (FE_ALL_EXCEPT_X86): New macro.
7917         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
7918         FE_ALL_EXCEPT.  Ensure precision control is included in
7919         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
7920         handle "denormal operand exception" and clear FZ and DAZ bits.
7921         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
7922         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
7923         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7924         test-fenv-x87 and test-fenv-sse-2.
7925         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
7927         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
7928         * math/test-double.h (BUILD_COMPLEX): New macro.
7929         * math/test-float.h (BUILD_COMPLEX): Likewise.
7930         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
7932         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
7933         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
7934         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
7935         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
7936         instead of DBL_DENORM_MIN in comment.
7937         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
7938         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
7939         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
7940         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
7941         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
7942         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
7944 2015-10-28  Florian Weimer  <fweimer@redhat.com>
7946         [BZ# 19048]
7947         * malloc/malloc.c (struct malloc_state): Update comment.  Add
7948         attached_threads member.
7949         (main_arena): Initialize attached_threads.
7950         * malloc/arena.c (list_lock): Update comment.
7951         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
7952         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
7953         (deattach_arena): New function.
7954         (_int_new_arena): Initialize arena reference count and deattach
7955         replaced arena.
7956         (get_free_list, reused_arena): Update reference count and deattach
7957         replaced arena.
7958         (arena_thread_freeres): Update arena reference count and only put
7959         unreferenced arenas on the free list.
7961 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7963         [BZ #19181]
7964         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
7965         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
7966         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
7967         * math/test-fenv-clear-main.c: New file.
7968         * math/test-fenv-clear.c: Likewise.
7969         * math/Makefile (tests): Add test-fenv-clear.
7970         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
7971         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7972         test-fenv-clear-sse.
7973         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
7975         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
7976         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
7977         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
7979 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7981         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
7982         static libc.
7984 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7986         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
7987         test.
7988         * sysdeps/i386/configure: Regenerated.
7989         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
7990         test.
7991         * sysdeps/x86_64/configure: Regenerated.
7992         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
7993         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7994         memset-avx2 unconditionally instead of conditionally on
7995         [$(config-cflags-avx2) = yes].
7996         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7997         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
7998         unconditional.
7999         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
8000         * sysdeps/x86_64/multiarch/memset_chk.S
8001         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
8002         to [IS_IN (libc) && SHARED].
8004 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8006         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
8007         configure test.
8008         * sysdeps/arm/configure: Regenerated.
8009         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
8010         Define variable if not already defined.
8012         [BZ #17404]
8013         * sysdeps/mips/atomic-machine.h
8014         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
8015         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
8016         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8018         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
8019         unconditional.
8020         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
8021         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8022         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
8023         unconditional.
8024         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8025         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
8026         unconditional.
8027         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8028         * stdlib/setenv.c
8029         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
8030         code unconditional.
8031         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
8032         Remove conditional code.
8033         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8034         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
8035         unconditional.
8036         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8037         code.
8038         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8039         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
8040         unconditional.
8041         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8042         code.
8043         * sysdeps/ieee754/ldbl-128/k_tanl.c
8044         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8045         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8046         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8047         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8048         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8049         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8050         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
8051         unconditional.
8052         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8053         code.
8054         * sysdeps/ieee754/ldbl-96/k_tanl.c
8055         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8056         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8058         * nptl/tst-initializers1-c11.c: New file.
8059         * nptl/tst-initializers1-gnu11.c: Likewise.
8060         * nptl/Makefile (tests): Add these new tests.
8061         (CFLAGS-tst-initializers1-c11.c): New variable.
8062         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
8064         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
8065         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
8066         instead of -std=gnu99.
8067         * configure.ac (systemtap): Test with -std=gnu11 instead of
8068         -std=gnu99.
8069         * configure: Regenerated.
8070         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
8071         in compilation command in comment.
8073         * sysdeps/nptl/configure.ac: Remove file.
8074         * sysdeps/nptl/configure: Remove generated file.
8075         * configure.ac (libc_cv_forced_unwind): Do not substitute.
8076         * configure: Regenerated.
8077         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
8078         * config.make.in (have-forced-unwind): Remove variable.
8079         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8080         unconditional.
8081         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
8082         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
8083         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
8084         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
8085         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8086         unconditional.
8088 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8090         [BZ #19174]
8091         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
8092         .skip_lock_out_of_tbegin_retries.
8093         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8094         (__lll_lock_elision): Likewise, and respect a value of
8095         try_tbegin <= 0.
8097 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8099         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
8100         statement.
8102 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8104         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
8105         variable.
8106         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8107         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8109         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
8110         of -std=c1x -D_ISOC11_SOURCE.
8112         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
8113         * configure: Regenerated.
8114         * manual/install.texi (Tools for Compilation): Document
8115         requirement for GCC 4.7 or later.
8116         * INSTALL: Regenerated.
8118 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
8120         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
8121         on CNT to a conditional jump to 'puntdata'.
8123 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8125         * configure.ac (libc_cv_gcc___thread): Remove configure test.
8126         (libc_cv_gcc_tls_model_attr): Likewise.
8127         * configure: Regenerated.
8129         * configure.ac (libc_cv_need_minus_P): Remove configure test.
8130         * configure: Regenerated.
8131         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
8133 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
8135         * configure.ac (old_glibc_headers): Remove configure test.
8136         * configure: Regenerated.
8137         * config.make.in (old-glibc-headers): Remove variable.
8138         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
8139         (install): Remove dependency on remove-old-headers.
8140         (headers2_0): Remove variable.
8141         (remove-old-headers): Remove rule.
8143         * configure.ac (libc_cv_dot_text): Remove configure test.
8144         (libc_cv_asm_set_directive): Use .text instead of
8145         ${libc_cv_dot_text} in configure test.
8146         * configure: Regenerated.
8148 2015-10-26  Florian Weimer  <fweimer@redhat.com>
8150         [BZ #19168]
8151         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8153 2015-10-26  Florian Weimer  <fweimer@redhat.com>
8155         * configure.ac (CXX): Clear the variable if the C++ toolchain does
8156         not support static linking.
8157         * configure: Regenerate.
8159 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
8161         * math/libm-test.inc (check_float_internal): Do not special-case
8162         errors up to 0.5 ulp.
8164         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8165         log2.
8166         * math/auto-libm-test-out: Regenerated.
8167         * math/libm-test.inc (MAX_EXP): New macro.
8168         (ilogb_test_data): Add more tests.
8169         (isfinite_test_data): Likewise.
8170         (isgreater_test_data): Likewise.
8171         (isgreaterequal_test_data): Likewise.
8172         (isinf_test_data): Likewise.
8173         (isless_test_data): Likewise.
8174         (islessequal_test_data): Likewise.
8175         (islessgreater_test_data): Likewise.
8176         (isnan_test_data): Likewise.
8177         (isnormal_test_data): Likewise.
8178         (issignaling_test_data): Likewise.
8179         (isunordered_test_data): Likewise.
8180         (j0_test_data): Likewise.
8181         (j1_test_data): Likewise.
8182         (jn_test_data): Likewise.
8183         (lgamma_test_data): Likewise.
8184         (log_test_data): Likewise.
8185         (log10_test_data): Likewise.
8186         (log1p_test_data): Likewise.
8187         (log2_test_data): Likewise.
8188         (logb_test_data): Likewise.
8189         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8191         [BZ #18611]
8192         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
8193         avoid excess range and precision on underflow.
8194         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8195         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
8196         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8197         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
8198         underflow.
8199         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8200         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8201         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8202         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8203         * math/auto-libm-test-in: Do not allow missing errno setting for
8204         tests of j1 and jn.
8205         * math/auto-libm-test-out: Regenerated.
8207 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
8209         [BZ #15491]
8210         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
8211         floating-point environment instead of clearing all exceptions.
8212         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8213         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
8214         merging in "invalid" exceptions from frndint.
8215         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8216         * math/test-nearbyint-except.c: New file.
8217         * math/Makefile (tests): Add test-nearbyint-except.
8219 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
8221         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
8223         * sysdeps/tile/libm-test-ulps: Regenerated.
8225 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
8228         (__NR_sync_file_range2): Assume it is always defined.
8229         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
8230         (__NR_sync_file_range): Assume it is always defined.
8232 2015-10-22  Andreas Schwab  <schwab@suse.de>
8234         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8235         INTERNAL_SYSCALL_ERRNO.
8236         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8237         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8238         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8239         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8240         Likewise.
8241         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8243 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8245         * io/tst-fcntl.c (fd): New static variable.
8246         (do_prepare): Open temporary file here....
8247         (do_test): ...not here.
8249         * io/ftwtest-sh: Also trap on exit to remove temporary files.
8251 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8253         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
8254         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8255         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8256         Moved before "#ifdef __ASSEMBLER__".
8258 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8260         [BZ #19156]
8261         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
8262         arguments very close to 0.
8264 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
8266         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
8267         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
8269 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8271         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8272         New.  Defined for GCC 5 and above when not compiling for
8273         profiling.
8274         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8276         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
8277         Renamed to ...
8278         (CFLAGS-epoll_pwait.o): This.
8279         (CFLAGS-mmap.c): Renamed to ...
8280         (CFLAGS-mmap.o): This.
8281         (CFLAGS-mmap64.c): Renamed to ...
8282         (CFLAGS-mmap64.o): This.
8283         (CFLAGS-epoll_pwait.os): New.
8284         (CFLAGS-mmap.os): Likewise.
8285         (CFLAGS-mmap64.os): Likewise.
8286         (CFLAGS-semtimedop.os): Likewise.
8287         (CFLAGS-semtimedop.c): Renamed to ...
8288         (CFLAGS-semtimedop.o): This.
8290 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8292         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
8293         warning message.
8295 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8297         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
8298         * Makefile ($(objpfx)c++-types-check.out): Filter out
8299         $(+gccwarn-c) instead of -Wstrict-prototypes.
8301         * io/fts.c (fts_open): Convert to prototype-style function
8302         definition.
8303         * malloc/mcheck.c (mcheck): Likewise.
8304         (mcheck_pedantic): Likewise.
8305         * posix/regexec.c (re_search_2_stub): Likewise.  Use
8306         internal_function.
8307         (re_search_internal): Likewise.
8308         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
8309         prototype-style function definition.
8310         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8311         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
8312         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
8313         (xdr_utmpptr): Likewise.
8314         (xdr_utmparr): Likewise.
8315         (xdr_utmpidle): Likewise.
8316         (xdr_utmpidleptr): Likewise.
8317         (xdr_utmpidlearr): Likewise.
8319         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
8320         log, log10 and log2.
8321         * math/auto-libm-test-out: Regenerated.
8322         * math/libm-test.inc (fmod_test_data): Add more tests.
8323         (fpclassify_test_data): Likewise.
8324         (frexp_test_data): Likewise.
8325         (hypot_test_data): Likewise.
8326         (ilogb_test_data): Likewise.
8328 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
8330         * debug/fortify_fail.c (__fortify_fail): Convert to
8331         prototype-style function definition.  Use internal_function.
8332         * libio/genops.c (save_for_backup): Convert to prototype-style
8333         function definition.
8334         * libio/wgenops.c (save_for_wbackup): Likewise.
8335         * login/grantpt.c (grantpt): Likewise.
8336         * login/ptsname.c (ptsname): Likewise.
8337         (__ptsname_r): Likewise.
8338         * login/unlockpt.c (unlockpt): Likewise.
8339         * mach/msgserver.c (__mach_msg_server): Likewise.
8340         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
8341         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
8342         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
8343         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
8344         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
8345         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
8346         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
8347         Likewise.
8348         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
8349         internal_function.
8350         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
8351         prototype-style function definition.
8352         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
8353         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
8354         (__pthread_create_2_0): Likewise.
8355         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
8356         * nptl/register-atfork.c (__register_atfork): Likewise.
8357         * posix/glob.c (glob): Likewise.
8358         * posix/regcomp.c (re_comp): Likewise.
8359         * posix/regexec.c (re_exec): Likewise.
8360         * stdlib/add_n.c [__STDC__]: Make code unconditional.
8361         [!__STDC__]: Remove conditional code.
8362         * stdlib/cmp.c [__STDC__]: Make code unconditional.
8363         [!__STDC__]: Remove conditional code.
8364         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
8365         [!__STDC__]: Remove conditional code.
8366         * stdlib/divrem.c [__STDC__]: Make code unconditional.
8367         [!__STDC__]: Remove conditional code.
8368         * stdlib/lshift.c [__STDC__]: Make code unconditional.
8369         [!__STDC__]: Remove conditional code.
8370         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
8371         [!__STDC__]: Remove conditional code.
8372         * stdlib/mul.c [__STDC__]: Make code unconditional.
8373         [!__STDC__]: Remove conditional code.
8374         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
8375         [!__STDC__]: Remove conditional code.
8376         * stdlib/rshift.c [__STDC__]: Make code unconditional.
8377         [!__STDC__]: Remove conditional code.
8378         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
8379         function definition.
8380         (STRTOF): Likewise.
8381         * stdlib/strtod_l.c (__STRTOF): Likewise.
8382         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
8383         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
8384         (__strtol_l): Likewise.
8385         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
8386         [!__STDC__]: Remove conditional code.
8387         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
8388         definition.
8389         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8390         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8391         type.
8392         (__strcasecmp): Convert to prototype-style function definition.
8393         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
8394         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8395         type.
8396         (__strncasecmp): Convert to prototype-style function definition.
8397         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
8398         * sunrpc/xdr.c (xdr_union): Likewise.
8399         * sunrpc/xdr_array.c (xdr_array): Likewise.
8400         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
8401         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
8402         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
8403         Likewise.
8404         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
8405         Likewise.
8406         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
8407         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8408         Likewise.
8409         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
8410         (LOCALE_PARAM_PROTO): Likewise.
8411         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
8412         argument type.
8413         (ut_argument_spec): Remove macro.
8414         (ut_argument_spec_iso): Rename to ut_argument_spec.
8415         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
8416         prototype-style function definition.
8417         (memcpy_uppcase): Likewise.
8418         (__strftime_internal): Likewise.
8419         (my_strftime): Likewise.
8420         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
8421         (LOCALE_PARAM_DECL): Likewise.
8422         [_LIBC] (LOCALE_PARAM): Include argument type.
8423         (__strptime_internal): Convert to prototype-style function
8424         definition.
8425         (strptime): Likewise.
8426         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8427         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8428         type.
8429         (__wcscasecmp): Convert to prototype-style function definition.
8430         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
8431         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8432         type.
8433         (__wcsncasecmp): Convert to prototype-style function definition.
8435         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
8436         function definition.
8437         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8438         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8439         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
8440         * elf/dl-minimal.c (_itoa): Likewise.
8441         * hurd/hurdmalloc.c (malloc): Likewise.
8442         (free): Likewise.
8443         (realloc): Likewise.
8444         * inet/inet6_option.c (inet6_option_space): Likewise.
8445         (inet6_option_init): Likewise.
8446         (inet6_option_append): Likewise.
8447         (inet6_option_alloc): Likewise.
8448         (inet6_option_next): Likewise.
8449         (inet6_option_find): Likewise.
8450         * io/ftw.c (FTW_NAME): Likewise.
8451         (NFTW_NAME): Likewise.
8452         (NFTW_NEW_NAME): Likewise.
8453         (NFTW_OLD_NAME): Likewise.
8454         * libio/iofwide.c (_IO_fwide): Likewise.
8455         * libio/strops.c (_IO_str_init_static_internal): Likewise.
8456         (_IO_str_init_static): Likewise.
8457         (_IO_str_init_readonly): Likewise.
8458         (_IO_str_overflow): Likewise.
8459         (_IO_str_underflow): Likewise.
8460         (_IO_str_count): Likewise.
8461         (_IO_str_seekoff): Likewise.
8462         (_IO_str_pbackfail): Likewise.
8463         (_IO_str_finish): Likewise.
8464         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
8465         (_IO_wstr_overflow): Likewise.
8466         (_IO_wstr_underflow): Likewise.
8467         (_IO_wstr_count): Likewise.
8468         (_IO_wstr_seekoff): Likewise.
8469         (_IO_wstr_pbackfail): Likewise.
8470         (_IO_wstr_finish): Likewise.
8471         * locale/programs/localedef.c (normalize_codeset): Likewise.
8472         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8473         (add_locales_to_archive): Likewise.
8474         (delete_locales_from_archive): Likewise.
8475         * malloc/malloc.c (__libc_mallinfo): Likewise.
8476         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
8477         * misc/tsearch.c (__tfind): Likewise.
8478         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
8479         * nptl/pthread_attr_getdetachstate.c
8480         (__pthread_attr_getdetachstate): Likewise.
8481         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
8482         Likewise.
8483         * nptl/pthread_attr_getinheritsched.c
8484         (__pthread_attr_getinheritsched): Likewise.
8485         * nptl/pthread_attr_getschedparam.c
8486         (__pthread_attr_getschedparam): Likewise.
8487         * nptl/pthread_attr_getschedpolicy.c
8488         (__pthread_attr_getschedpolicy): Likewise.
8489         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
8490         Likewise.
8491         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
8492         Likewise.
8493         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
8494         Likewise.
8495         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
8496         Likewise.
8497         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
8498         (__pthread_attr_init_2_0): Likewise.
8499         * nptl/pthread_attr_setdetachstate.c
8500         (__pthread_attr_setdetachstate): Likewise.
8501         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
8502         Likewise.
8503         * nptl/pthread_attr_setinheritsched.c
8504         (__pthread_attr_setinheritsched): Likewise.
8505         * nptl/pthread_attr_setschedparam.c
8506         (__pthread_attr_setschedparam): Likewise.
8507         * nptl/pthread_attr_setschedpolicy.c
8508         (__pthread_attr_setschedpolicy): Likewise.
8509         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
8510         Likewise.
8511         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
8512         Likewise.
8513         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
8514         Likewise.
8515         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
8516         Likewise.
8517         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
8518         Likewise.
8519         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
8520         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
8521         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
8522         use internal_function.
8523         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
8524         prototype-style function definition.
8525         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
8526         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
8527         internal_function.
8528         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
8529         Convert to prototype-style function definition.
8530         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8531         Likewise.
8532         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
8533         Likewise.
8534         (__pthread_mutex_unlock): Likewise.
8535         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
8536         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
8537         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
8538         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
8539         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
8540         * nss/makedb.c (process_input): Likewise.
8541         * posix/fnmatch.c (__strchrnul): Likewise.
8542         (__wcschrnul): Likewise.
8543         (fnmatch): Likewise.
8544         * posix/fnmatch_loop.c (FCT): Likewise.
8545         * posix/glob.c (globfree): Likewise.
8546         (__glob_pattern_type): Likewise.
8547         (__glob_pattern_p): Likewise.
8548         * posix/regcomp.c (re_compile_pattern): Likewise.
8549         (re_set_syntax): Likewise.
8550         (re_compile_fastmap): Likewise.
8551         (regcomp): Likewise.
8552         (regerror): Likewise.
8553         (regfree): Likewise.
8554         * posix/regexec.c (regexec): Likewise.
8555         (re_match): Likewise.
8556         (re_search): Likewise.
8557         (re_match_2): Likewise.
8558         (re_search_2): Likewise.
8559         (re_search_stub): Likewise.  Use internal_function
8560         (re_copy_regs): Likewise.
8561         (re_set_registers): Convert to prototype-style function
8562         definition.
8563         (prune_impossible_nodes): Likewise.  Use internal_function.
8564         * resolv/inet_net_pton.c (inet_net_pton): Convert to
8565         prototype-style function definition.
8566         (inet_net_pton_ipv4): Likewise.
8567         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8568         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
8569         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
8570         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
8571         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8572         Make variadic.
8573         * time/strptime_l.c (localtime_r): Convert to prototype-style
8574         function definition.
8575         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8576         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8577         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8578         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8580         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
8581         definition.
8582         (_ufc_doit_r): Likewise.
8583         * crypt/crypt_util.c (_ufc_copymem): Likewise.
8584         (_ufc_output_conversion_r): Likewise.
8585         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
8586         * inet/rcmd.c (rcmd_af): Likewise.
8587         (rcmd): Likewise.
8588         (ruserok_af): Likewise.
8589         (ruserok): Likewise.
8590         (ruserok2_sa): Likewise.
8591         (ruserok_sa): Likewise.
8592         (iruserok_af): Likewise.
8593         (iruserok): Likewise.
8594         (__ivaliduser): Likewise.
8595         (__validuser2_sa): Likewise.
8596         * inet/rexec.c (rexec_af): Likewise.
8597         (rexec): Likewise.
8598         * inet/ruserpass.c (ruserpass): Likewise.
8599         * locale/programs/xmalloc.c (xcalloc): Likewise.
8600         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
8601         * math/w_drem.c (__drem): Likewise.
8602         * math/w_dremf.c (__dremf): Likewise.
8603         * math/w_dreml.c (__dreml): Likewise.
8604         * misc/daemon.c (daemon): Likewise.
8605         * resolv/res_debug.c (p_fqnname): Likewise.
8606         * stdlib/div.c (div): Likewise.
8607         * string/memcmp.c (memcmp_bytes): Likewise.
8608         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
8609         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
8611         * crypt/cert.c (main): Convert to prototype-style function
8612         definition.
8613         * io/pipe.c (__pipe): Likewise.
8614         * io/pipe2.c (__pipe2): Likewise.
8615         * misc/futimesat.c (futimesat): Likewise.
8616         * misc/utimes.c (__utimes): Likewise.
8617         * posix/execve.c (__execve): Likewise.
8618         * posix/execvp.c (execvp): Likewise.
8619         * posix/execvpe.c (__execvpe): Likewise.
8620         * posix/fexecve.c (fexecve): Likewise.
8621         * socket/socketpair.c (socketpair): Likewise.
8622         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8623         * stdlib/erand48.c (erand48): Likewise.
8624         * stdlib/erand48_r.c (__erand48_r): Likewise.
8625         * stdlib/jrand48.c (jrand48): Likewise.
8626         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
8627         * stdlib/lcong48.c (lcong48): Likewise.
8628         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
8629         * stdlib/nrand48.c (nrand48): Likewise.
8630         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
8631         * stdlib/seed48.c (seed48): Likewise.
8632         * stdlib/seed48_r.c (__seed48_r): Likewise.
8633         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
8634         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
8635         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
8637 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
8639         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
8640         * configure: Regenerated.
8641         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
8642         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
8643         unconditional.
8644         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8645         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8646         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8647         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
8648         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
8649         unconditional.
8650         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8652         * posix/Makefile (CFLAGS-regex.c): Remove variable.
8653         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
8655         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
8656         function definition.
8657         * crypt/crypt_util.c (__encrypt_r): Likewise.
8658         * libio/genops.c (_IO_no_init): Likewise.
8659         * libio/iofopncook.c (_IO_fopencookie): Likewise.
8660         (_IO_old_fopencookie): Likewise.
8661         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8662         * libio/iogetline.c (_IO_getline): Likewise.
8663         (_IO_getline_info): Likewise.
8664         * libio/iogetwline.c (_IO_getwline): Likewise.
8665         (_IO_getwline_info): Likewise.
8666         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
8667         * libio/vswprintf.c (_IO_vswprintf): Likewise.
8668         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
8669         (find_entry): Likewise.
8670         (iterate_table): Likewise.
8671         (lookup): Likewise.
8672         * login/forkpty.c (forkpty): Likewise.
8673         * misc/hsearch_r.c (__hsearch_r): Likewise.
8674         * misc/select.c (__select): Likewise.
8675         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
8676         Likewise.
8677         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
8678         Likewise.
8679         * nptl/old_pthread_cond_timedwait.c
8680         (__pthread_cond_timedwait_2_0): Likewise.
8681         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
8682         * nptl/pthread_barrierattr_getpshared.c
8683         (pthread_barrierattr_getpshared): Likewise.
8684         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
8685         Likewise.
8686         * nptl/pthread_mutex_setprioceiling.c
8687         (pthread_mutex_setprioceiling): Likewise.
8688         * nptl/pthread_mutexattr_getprioceiling.c
8689         (pthread_mutexattr_getprioceiling): Likewise.
8690         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
8691         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8692         Likewise.
8693         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8694         Likewise.
8695         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
8696         Likewise.
8697         * socket/recvfrom.c (__recvfrom): Likewise.
8698         * socket/sendto.c (__sendto): Likewise.
8699         * socket/setsockopt.c (__setsockopt): Likewise.
8700         * stdio-common/_itoa.c (_itoa): Likewise.
8701         * stdio-common/_itowa.c (_itowa): Likewise.
8702         * stdio-common/reg-printf.c (__register_printf_specifier):
8703         Likewise.
8704         (__register_printf_function): Likewise.
8705         * stdio-common/tempname.c (__path_search): Likewise.
8706         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
8707         * stdlib/mul_1.c (mpn_mul_1): Likewise.
8708         * stdlib/random_r.c (__initstate_r): Likewise.
8709         * stdlib/setenv.c (__add_to_environ): Likewise.
8710         * stdlib/submul_1.c (mpn_submul_1): Likewise.
8711         * streams/getpmsg.c (getpmsg): Likewise.
8712         * streams/putmsg.c (putmsg): Likewise.
8713         * streams/putpmsg.c (putpmsg): Likewise.
8714         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
8715         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
8716         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
8717         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
8718         * sunrpc/pm_getport.c (pmap_getport): Likewise.
8719         * sunrpc/svc_udp.c (cache_get): Likewise.
8720         * sunrpc/xdr_array.c (xdr_vector): Likewise.
8721         * sysdeps/mach/hurd/getcwd.c
8722         (__canonicalize_directory_name_internal): Likewise.
8723         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
8724         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
8725         * sysdeps/mach/hurd/select.c (__select): Likewise.
8726         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
8727         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
8728         * sysdeps/sparc/nptl/pthread_barrier_init.c
8729         (__pthread_barrier_init): Likewise.
8730         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
8731         (__pthread_cond_timedwait): Likewise.
8732         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
8733         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
8734         Likewise.
8735         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
8736         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
8737         Likewise.
8738         * sysvipc/semtimedop.c (semtimedop): Likewise.
8739         * time/setitimer.c (__setitimer): Likewise.
8740         * time/strftime_l.c (emacs_strftime): Likewise.
8742 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
8744         * config.make.in (have-ssp): Delete.
8745         (stack-protector): New variable.
8746         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
8747         cache test for -fstack-protector-strong.  Export stack_protector to
8748         the best ssp flag.
8749         * configure: Regenerated.
8750         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
8751         * nscd/Makefile (CFLAGS-nscd): Likewise.
8752         * resolv/Makefile (CFLAGS-libresolv): Likewise.
8754 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
8756         [BZ #19122]
8757         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
8758         attribute_hidden.
8760 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8762         [BZ #18743]
8763         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
8764         code to...
8765         (ELIDE_LOCK): ...here.
8766         (__get_new_count): New function with part of the code from
8767         __elide_lock that updates the value of adapt_count after a
8768         transaction abort.
8769         (__elided_trylock): Moved this code to...
8770         (ELIDE_TRYLOCK): ...here.
8772 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
8774         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
8775         * configure: Regenerate.
8776         * INSTALL: Regenerate.
8777         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
8778         and tweak grammar.
8780 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
8782         * login/programs/pt_chown.c: Include signal.h
8783         (main): Clear any signal mask from the parent process.
8785 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
8787         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
8788         * configure: Regenerated.
8789         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
8790         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
8791         $(gnu89-inline-CFLAGS).
8793         * configure.ac (libc_cv_asm_weak_directive): Remove configure
8794         test.
8795         (libc_cv_asm_weakext_directive): Likewise.
8796         * configure: Regenerated.
8797         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
8798         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
8799         * include/libc-symbols.h
8800         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
8801         #error.
8802         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
8803         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
8805         * sysdeps/arm/backtrace.c (__backtrace): Convert to
8806         prototype-style function definition.
8807         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
8808         * sysdeps/i386/ffs.c (__ffs): Likewise.
8809         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
8810         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
8811         Likewise.
8812         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8813         Likewise.
8814         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8815         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8816         Likewise.
8817         * sysdeps/m68k/ffs.c (__ffs): Likewise.
8818         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
8819         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
8820         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
8821         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
8822         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
8823         * sysdeps/mach/hurd/access.c (__access): Likewise.
8824         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
8825         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
8826         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
8827         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
8828         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
8829         (cthread_getspecific): Likewise.
8830         (cthread_setspecific): Likewise.
8831         (__libc_getspecific): Likewise.
8832         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
8833         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
8834         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
8835         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
8836         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
8837         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
8838         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
8839         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
8840         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
8841         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
8842         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
8843         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
8844         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
8845         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
8846         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
8847         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
8848         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
8849         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
8850         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
8851         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
8852         * sysdeps/mach/hurd/link.c (__link): Likewise.
8853         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
8854         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
8855         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
8856         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
8857         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8858         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
8859         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
8860         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
8861         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
8862         * sysdeps/mach/hurd/rename.c (rename): Likewise.
8863         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
8864         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
8865         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
8866         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
8867         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
8868         * sysdeps/mach/hurd/send.c (__send): Likewise.
8869         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
8870         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
8871         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
8872         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
8873         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
8874         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
8875         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
8876         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
8877         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
8878         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
8879         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
8880         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
8881         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
8882         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
8883         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
8884         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
8885         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
8886         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
8887         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
8888         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
8889         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
8890         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
8891         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
8892         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
8893         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
8894         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
8895         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
8896         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8897         * sysdeps/posix/alarm.c (alarm): Likewise.
8898         * sysdeps/posix/cuserid.c (cuserid): Likewise.
8899         * sysdeps/posix/dirfd.c (dirfd): Likewise.
8900         * sysdeps/posix/dup.c (__dup): Likewise.
8901         * sysdeps/posix/dup2.c (__dup2): Likewise.
8902         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
8903         (main): Likewise.
8904         * sysdeps/posix/flock.c (__flock): Likewise.
8905         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
8906         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
8907         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
8908         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
8909         * sysdeps/posix/isatty.c (__isatty): Likewise.
8910         * sysdeps/posix/killpg.c (killpg): Likewise.
8911         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8912         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
8913         * sysdeps/posix/raise.c (raise): Likewise.
8914         * sysdeps/posix/remove.c (remove): Likewise.
8915         * sysdeps/posix/rename.c (rename): Likewise.
8916         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
8917         * sysdeps/posix/seekdir.c (seekdir): Likewise.
8918         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
8919         * sysdeps/posix/sigignore.c (sigignore): Likewise.
8920         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
8921         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
8922         * sysdeps/posix/sigset.c (sigset): Likewise.
8923         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
8924         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
8925         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
8926         * sysdeps/posix/time.c (time): Likewise.
8927         * sysdeps/posix/ttyname.c (getttyname): Likewise.
8928         (ttyname): Likewise.
8929         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
8930         * sysdeps/posix/utime.c (utime): Likewise.
8931         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
8932         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
8933         Likewise.
8934         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
8935         (pthread_spin_trylock): Likewise.
8936         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
8937         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
8938         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
8939         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
8940         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
8941         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
8942         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
8943         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
8944         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
8945         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
8946         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
8947         * sysdeps/s390/ffs.c (__ffs): Likewise.
8948         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
8949         Likewise.
8950         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8951         Likewise.
8952         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
8953         Likewise.
8954         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
8955         (pthread_barrier_destroy): Likewise.
8956         * sysdeps/sparc/nptl/pthread_barrier_wait.c
8957         (__pthread_barrier_wait): Likewise.
8958         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
8959         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
8960         (__pthread_barrier_wait): Likewise.
8961         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
8962         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
8963         (memcmp_not_common_alignment): Likewise.
8964         (MEMCMP): Likewise.
8965         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
8966         (_wordcopy_fwd_dest_aligned): Likewise.
8967         (_wordcopy_bwd_aligned): Likewise.
8968         (_wordcopy_bwd_dest_aligned): Likewise.
8969         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
8970         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
8971         * sysdeps/unix/bsd/stty.c (stty): Likewise.
8972         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
8973         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
8974         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
8975         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
8976         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
8977         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
8978         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
8979         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
8980         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
8981         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
8982         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
8983         * sysdeps/unix/stime.c (stime): Likewise.
8984         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
8985         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
8986         Likewise.  Use internal_function.
8987         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
8988         Convert to prototype-style function definition.
8989         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8990         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8991         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
8992         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8993         Likewise.  Use internal_function.
8994         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
8995         prototype-style function definition
8996         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8997         Likewise.
8998         (__getlogin_r): Likewise.
8999         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
9000         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
9001         (__pthread_cond_broadcast): Likewise.
9002         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
9003         (__pthread_cond_destroy): Likewise.
9004         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
9005         (__pthread_cond_init): Likewise.
9006         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
9007         (__pthread_cond_signal): Likewise.
9008         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
9009         (__pthread_cond_wait): Likewise.
9010         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
9011         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
9012         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
9013         Likewise.
9014         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
9015         Likewise.
9016         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
9017         Likewise.
9018         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
9019         Likewise.
9020         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
9021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
9022         (__ftruncate64): Likewise.
9023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
9024         (truncate64): Likewise.
9025         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
9026         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
9027         (pthread_getcpuclockid): Likewise.
9028         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
9029         Likewise.
9030         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
9031         Likewise.
9032         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
9033         Likewise.
9034         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
9035         Likewise.
9036         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
9037         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
9038         (__libc_sigaction): Likewise.
9039         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
9040         Likewise.
9041         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
9042         (__sigprocmask): Likewise.
9043         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
9044         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
9045         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
9046         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
9047         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9048         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
9049         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9050         Likewise.
9051         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
9052         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
9053         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9054         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
9055         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
9056         Likewise.
9057         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
9058         (__sigprocmask): Likewise.
9059         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
9060         (cfgetispeed): Likewise.
9061         (cfsetospeed): Likewise.
9062         (cfsetispeed): Likewise.
9063         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
9064         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
9065         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9066         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
9067         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
9068         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
9069         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
9070         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
9071         Likewise.
9072         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
9073         Likewise.
9074         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
9075         Likewise.
9076         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
9077         Likewise.
9078         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9080 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9082         sunrpc: Rewrite with explicit TLS access using __thread.
9083         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
9084         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
9085         directly.
9086         (__rpc_thread_variables): Access thread_rpc_vars directly.
9087         Eliminate redundant assignment of the tvp variable.
9089 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9091         malloc: Rewrite with explicit TLS access using __thread.
9092         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
9093         (tsd_setspecific, tsd_getspecific): Remove.
9094         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
9095         (tsd_setspecific, tsd_getspecific): Likewise.
9096         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
9097         (tsd_setspecific, tsd_getspecific): Likewise.
9098         * malloc/arena.c (thread_arena): New TLS variable.
9099         (arena_key): Remove variable.
9100         (arena_get): Use thread_arena.
9101         (arena_lookup): Remove macro.
9102         (malloc_atfork, free_atfork, ptmalloc_lock_all)
9103         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
9104         (_int_new_arena, get_free_list, reused_arena)
9105         (arena_thread_freeres): Use thread_arena.
9106         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
9107         tsd_getspecific, tsd_setspecific from safety annotations.
9108         (Allocating Cleared Space): Remove arena_lookup from safety
9109         annotations.
9111 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9113         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
9114         struct scratch_buffer instead of extend_alloca.
9116 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9118         * sysdeps/unix/sysv/linux/kernel-features.h
9119         (__ASSUME_SOCK_CLOEXEC): Remove.
9120         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
9121         (__have_paccept): Remove unused macro.
9122         * include/unistd.h (__have_sock_cloexec): Remove declaration.
9123         * misc/syslog.c (openlog_internal): Remove fallback code for
9124         !__ASSUME_SOCK_CLOEXEC.
9125         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
9126         missing SOCK_CLOEXEC.
9127         * nscd/connections.c (have_sock_cloexec): Remove definition.
9128         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9129         * nscd/nscd_helper.c (open_socket): Remove fallback code for
9130         !__ASSUME_SOCK_CLOEXEC.
9131         * resolv/res_send.c (__have_o_nonblock): Remove definition.
9132         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9133         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
9134         definition.
9135         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
9136         code for !__ASSUME_SOCK_CLOEXEC.
9138 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9140         [BZ #18982]
9141         * manual/stdio.texi (Variable Arguments Output): Add portability
9142         note, explaining that vfprintf clobbers the va_list pointer.
9144 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
9146         * math/libm-test.inc (fabs_test_data): Add more tests.
9147         (fdim_test_data): Likewise.
9148         (fma_test_data): Likewise.
9149         (fmax_test_data): Likewise.
9150         (fmin_test_data): Likewise.
9151         (fmod_test_data): Likewise.
9153 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
9155         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
9156         data.
9158 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
9160         * math/libm-test.inc (ceil_test_data): Add more tests and more
9161         expectations for "inexact".
9162         (floor_test_data): Add more tests.
9163         (round_test_data): Likewise.
9164         (trunc_test_data): Likewise.
9166         * crypt/cert.c (good_bye): Convert to prototype-style function
9167         definition.
9168         (get8): Likewise.
9169         (put8): Likewise.
9170         * crypt/crypt-entry.c (crypt): Likewise.
9171         (__fcrypt): Likewise.
9172         * crypt/crypt_util.c (_ufc_prbits): Likewise.
9173         (_ufc_set_bits): Likewise.
9174         (_ufc_clearmem): Likewise.
9175         (__init_des_r): Likewise.
9176         (shuffle_sb): Likewise.
9177         (shuffle_sb): Likewise.
9178         (_ufc_setup_salt_r): Likewise.
9179         (_ufc_mk_keytab_r): Likewise.
9180         (_ufc_dofinalperm_r): Likewise.
9181         (encrypt): Likewise.
9182         (__setkey_r): Likewise.
9183         (setkey): Likewise.
9184         * crypt/md5.c (md5_init_ctx): Likewise.
9185         (md5_read_ctx): Likewise.
9186         (md5_finish_ctx): Likewise.
9187         (md5_stream): Likewise.
9188         (md5_buffer): Likewise.
9189         (md5_process_bytes): Likewise.
9190         * crypt/sha256.c (__sha256_init_ctx): Likewise.
9191         (__sha256_finish_ctx): Likewise.
9192         (__sha256_process_bytes): Likewise.
9193         * crypt/sha512.c (__sha512_init_ctx): Likewise.
9194         (__sha512_finish_ctx): Likewise.
9195         (__sha512_process_bytes): Likewise.
9196         * ctype/isctype.c (__isctype): Likewise.
9197         * debug/backtrace.c (__backtrace): Likewise.
9198         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
9199         * debug/fgets_chk.c (__fgets_chk): Likewise.
9200         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
9201         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
9202         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9203         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9204         * debug/memset_chk.c (__memset_chk): Likewise.
9205         * debug/strcat_chk.c (__strcat_chk): Likewise.
9206         * debug/strncat_chk.c (__strncat_chk): Likewise.
9207         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
9208         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
9209         * dirent/dirfd.c (dirfd): Likewise.
9210         * dirent/getdents.c (__getdirentries): Likewise.
9211         * dirent/getdents64.c (getdirentries64): Likewise.
9212         * dirent/rewinddir.c (__rewinddir): Likewise.
9213         * dirent/seekdir.c (seekdir): Likewise.
9214         * dirent/telldir.c (telldir): Likewise.
9215         * elf/sln.c (makesymlinks): Likewise.
9216         (makesymlink): Likewise.
9217         * gmon/gmon.c (__moncontrol): Likewise.
9218         (__monstartup): Likewise.
9219         (write_hist): Likewise.
9220         (write_call_graph): Likewise.
9221         (write_bb_counts): Likewise.
9222         * grp/setgroups.c (setgroups): Likewise.
9223         * inet/inet_lnaof.c (inet_lnaof): Likewise.
9224         * inet/inet_net.c (inet_network): Likewise.
9225         * inet/inet_netof.c (inet_netof): Likewise.
9226         * inet/rcmd.c (rresvport_af): Likewise.
9227         (rresvport): Likewise.
9228         * io/access.c (__access): Likewise.
9229         * io/chdir.c (__chdir): Likewise.
9230         * io/chmod.c (__chmod): Likewise.
9231         * io/chown.c (__chown): Likewise.
9232         * io/close.c (__close): Likewise.
9233         * io/creat.c (creat): Likewise.
9234         * io/creat64.c (creat64): Likewise.
9235         * io/dup.c (__dup): Likewise.
9236         * io/dup2.c (__dup2): Likewise.
9237         * io/dup3.c (__dup3): Likewise.
9238         * io/euidaccess.c (__euidaccess): Likewise.
9239         * io/faccessat.c (faccessat): Likewise.
9240         * io/fchmod.c (__fchmod): Likewise.
9241         * io/fchmodat.c (fchmodat): Likewise.
9242         * io/fchown.c (__fchown): Likewise.
9243         * io/fchownat.c (fchownat): Likewise.
9244         * io/fcntl.c (__fcntl): Likewise.
9245         * io/flock.c (__flock): Likewise.
9246         * io/fts.c (fts_load): Likewise.
9247         (fts_close): Likewise.
9248         (fts_read): Likewise.
9249         (fts_set): Likewise.
9250         (fts_children): Likewise.
9251         (fts_build): Likewise.
9252         (fts_stat): Likewise.
9253         (fts_sort): Likewise.
9254         (fts_alloc): Likewise.
9255         (fts_lfree): Likewise.
9256         (fts_palloc): Likewise.
9257         (fts_padjust): Likewise.
9258         (fts_maxarglen): Likewise.
9259         (fts_safe_changedir): Likewise.
9260         * io/getwd.c (getwd): Likewise.
9261         * io/isatty.c (__isatty): Likewise.
9262         * io/lchown.c (__lchown): Likewise.
9263         * io/link.c (__link): Likewise.
9264         * io/linkat.c (linkat): Likewise.
9265         * io/lseek.c (__libc_lseek): Likewise.
9266         * io/mkdir.c (__mkdir): Likewise.
9267         * io/mkdirat.c (mkdirat): Likewise.
9268         * io/mkfifo.c (mkfifo): Likewise.
9269         * io/mkfifoat.c (mkfifoat): Likewise.
9270         * io/open.c (__libc_open): Likewise.
9271         * io/open64.c (__libc_open64): Likewise.
9272         * io/readlink.c (__readlink): Likewise.
9273         * io/readlinkat.c (readlinkat): Likewise.
9274         * io/rmdir.c (__rmdir): Likewise.
9275         * io/symlink.c (__symlink): Likewise.
9276         * io/symlinkat.c (symlinkat): Likewise.
9277         * io/ttyname.c (ttyname): Likewise.
9278         * io/ttyname_r.c (__ttyname_r): Likewise.
9279         * io/umask.c (__umask): Likewise.
9280         * io/unlink.c (__unlink): Likewise.
9281         * io/unlinkat.c (unlinkat): Likewise.
9282         * io/utime.c (utime): Likewise.
9283         * libio/clearerr.c (clearerr): Likewise.
9284         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
9285         * libio/feof.c (_IO_feof): Likewise.
9286         * libio/feof_u.c (feof_unlocked): Likewise.
9287         * libio/ferror.c (_IO_ferror): Likewise.
9288         * libio/ferror_u.c (ferror_unlocked): Likewise.
9289         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9290         * libio/fileno.c (__fileno): Likewise.
9291         * libio/fputc.c (fputc): Likewise.
9292         * libio/fputc_u.c (fputc_unlocked): Likewise.
9293         * libio/fputwc.c (fputwc): Likewise.
9294         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
9295         * libio/freopen.c (freopen): Likewise.
9296         * libio/freopen64.c (freopen64): Likewise.
9297         * libio/fseek.c (fseek): Likewise.
9298         * libio/fseeko.c (fseeko): Likewise.
9299         * libio/fseeko64.c (fseeko64): Likewise.
9300         * libio/ftello.c (__ftello): Likewise.
9301         * libio/ftello64.c (ftello64): Likewise.
9302         * libio/fwide.c (fwide): Likewise.
9303         * libio/genops.c (_IO_un_link): Likewise.
9304         (_IO_link_in): Likewise.
9305         (_IO_least_marker): Likewise.
9306         (_IO_switch_to_main_get_area): Likewise.
9307         (_IO_switch_to_backup_area): Likewise.
9308         (_IO_switch_to_get_mode): Likewise.
9309         (_IO_free_backup_area): Likewise.
9310         (_IO_switch_to_put_mode): Likewise.
9311         (__overflow): Likewise.
9312         (__underflow): Likewise.
9313         (__uflow): Likewise.
9314         (_IO_setb): Likewise.
9315         (_IO_doallocbuf): Likewise.
9316         (_IO_default_underflow): Likewise.
9317         (_IO_default_uflow): Likewise.
9318         (_IO_default_xsputn): Likewise.
9319         (_IO_sgetn): Likewise.
9320         (_IO_default_xsgetn): Likewise.
9321         (_IO_sync): Likewise.
9322         (_IO_default_setbuf): Likewise.
9323         (_IO_default_seekpos): Likewise.
9324         (_IO_default_doallocate): Likewise.
9325         (_IO_init): Likewise.
9326         (_IO_old_init): Likewise.
9327         (_IO_default_sync): Likewise.
9328         (_IO_default_finish): Likewise.
9329         (_IO_default_seekoff): Likewise.
9330         (_IO_sputbackc): Likewise.
9331         (_IO_sungetc): Likewise.
9332         (_IO_set_column): Likewise.
9333         (_IO_set_column): Likewise.
9334         (_IO_adjust_column): Likewise.
9335         (_IO_get_column): Likewise.
9336         (_IO_init_marker): Likewise.
9337         (_IO_remove_marker): Likewise.
9338         (_IO_marker_difference): Likewise.
9339         (_IO_marker_delta): Likewise.
9340         (_IO_seekmark): Likewise.
9341         (_IO_unsave_markers): Likewise.
9342         (_IO_nobackup_pbackfail): Likewise.
9343         (_IO_default_pbackfail): Likewise.
9344         (_IO_default_seek): Likewise.
9345         (_IO_default_stat): Likewise.
9346         (_IO_default_read): Likewise.
9347         (_IO_default_write): Likewise.
9348         (_IO_default_showmanyc): Likewise.
9349         (_IO_default_imbue): Likewise.
9350         (_IO_iter_next): Likewise.
9351         (_IO_iter_file): Likewise.
9352         * libio/getc.c (_IO_getc): Likewise.
9353         * libio/getwc.c (_IO_getwc): Likewise.
9354         * libio/iofclose.c (_IO_new_fclose): Likewise.
9355         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9356         * libio/iofflush.c (_IO_fflush): Likewise.
9357         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
9358         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
9359         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
9360         * libio/iofgets.c (_IO_fgets): Likewise.
9361         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
9362         * libio/iofgetws.c (fgetws): Likewise.
9363         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9364         * libio/iofopen64.c (_IO_fopen64): Likewise.
9365         * libio/iofopncook.c (_IO_cookie_read): Likewise.
9366         (_IO_cookie_write): Likewise.
9367         (_IO_cookie_seek): Likewise.
9368         (_IO_cookie_close): Likewise.
9369         (_IO_cookie_seekoff): Likewise.
9370         (_IO_old_cookie_seek): Likewise.
9371         * libio/iofputs.c (_IO_fputs): Likewise.
9372         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
9373         * libio/iofputws.c (fputws): Likewise.
9374         * libio/iofputws_u.c (fputws_unlocked): Likewise.
9375         * libio/iofread.c (_IO_fread): Likewise.
9376         * libio/iofread_u.c (__fread_unlocked): Likewise.
9377         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
9378         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
9379         * libio/ioftell.c (_IO_ftell): Likewise.
9380         * libio/iofwrite.c (_IO_fwrite): Likewise.
9381         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9382         * libio/iogets.c (_IO_gets): Likewise.
9383         * libio/iopadn.c (_IO_padn): Likewise.
9384         * libio/iopopen.c (_IO_new_proc_open): Likewise.
9385         (_IO_new_popen): Likewise.
9386         (_IO_new_proc_close): Likewise.
9387         * libio/ioputs.c (_IO_puts): Likewise.
9388         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
9389         (_IO_seekoff): Likewise.
9390         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
9391         (_IO_seekpos): Likewise.
9392         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
9393         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
9394         * libio/ioungetc.c (_IO_ungetc): Likewise.
9395         * libio/ioungetwc.c (ungetwc): Likewise.
9396         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9397         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
9398         * libio/iowpadn.c (_IO_wpadn): Likewise.
9399         * libio/libc_fatal.c (__libc_fatal): Likewise.
9400         * libio/memstream.c (__open_memstream): Likewise.
9401         (_IO_mem_sync): Likewise.
9402         (_IO_mem_finish): Likewise.
9403         * libio/oldfileops.c (_IO_old_file_init): Likewise.
9404         (_IO_old_file_close_it): Likewise.
9405         (_IO_old_file_finish): Likewise.
9406         (_IO_old_file_fopen): Likewise.
9407         (_IO_old_file_attach): Likewise.
9408         (_IO_old_file_setbuf): Likewise.
9409         (_IO_old_do_write): Likewise.
9410         (old_do_write): Likewise.
9411         (_IO_old_file_underflow): Likewise.
9412         (_IO_old_file_overflow): Likewise.
9413         (_IO_old_file_sync): Likewise.
9414         (_IO_old_file_seekoff): Likewise.
9415         (_IO_old_file_write): Likewise.
9416         (_IO_old_file_xsputn): Likewise.
9417         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
9418         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9419         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
9420         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
9421         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9422         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
9423         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
9424         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9425         (_IO_old_popen): Likewise.
9426         (_IO_old_proc_close): Likewise.
9427         * libio/oldpclose.c (__old_pclose): Likewise.
9428         * libio/pclose.c (__new_pclose): Likewise.
9429         * libio/peekc.c (_IO_peekc_locked): Likewise.
9430         * libio/putc.c (_IO_putc): Likewise.
9431         * libio/putc_u.c (putc_unlocked): Likewise.
9432         * libio/putchar.c (putchar): Likewise.
9433         * libio/putchar_u.c (putchar_unlocked): Likewise.
9434         * libio/putwc.c (putwc): Likewise.
9435         * libio/putwc_u.c (putwc_unlocked): Likewise.
9436         * libio/putwchar.c (putwchar): Likewise.
9437         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
9438         * libio/rewind.c (rewind): Likewise.
9439         * libio/setbuf.c (setbuf): Likewise.
9440         * libio/setlinebuf.c (setlinebuf): Likewise.
9441         * libio/vasprintf.c (_IO_vasprintf): Likewise.
9442         * libio/vscanf.c (_IO_vscanf): Likewise.
9443         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
9444         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
9445         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
9446         * libio/wgenops.c (_IO_least_wmarker): Likewise.
9447         (_IO_switch_to_main_wget_area): Likewise.
9448         (_IO_switch_to_wbackup_area): Likewise.
9449         (_IO_wsetb): Likewise.
9450         (_IO_wdefault_pbackfail): Likewise.
9451         (_IO_wdefault_finish): Likewise.
9452         (_IO_wdefault_uflow): Likewise.
9453         (__woverflow): Likewise.
9454         (__wuflow): Likewise.
9455         (__wunderflow): Likewise.
9456         (_IO_wdefault_xsputn): Likewise.
9457         (_IO_wdefault_xsgetn): Likewise.
9458         (_IO_wdoallocbuf): Likewise.
9459         (_IO_wdefault_doallocate): Likewise.
9460         (_IO_switch_to_wget_mode): Likewise.
9461         (_IO_free_wbackup_area): Likewise.
9462         (_IO_switch_to_wput_mode): Likewise.
9463         (_IO_sputbackwc): Likewise.
9464         (_IO_sungetwc): Likewise.
9465         (_IO_adjust_wcolumn): Likewise.
9466         (_IO_init_wmarker): Likewise.
9467         (_IO_wmarker_delta): Likewise.
9468         (_IO_seekwmark): Likewise.
9469         (_IO_unsave_wmarkers): Likewise.
9470         * libio/wmemstream.c (open_wmemstream): Likewise.
9471         (_IO_wmem_sync): Likewise.
9472         (_IO_wmem_finish): Likewise.
9473         * locale/nl_langinfo.c (nl_langinfo): Likewise.
9474         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
9475         * locale/programs/simple-hash.c (init_hash): Likewise.
9476         (delete_hash): Likewise.
9477         (insert_entry): Likewise.
9478         (set_entry): Likewise.
9479         (next_prime): Likewise.
9480         (is_prime): Likewise.
9481         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
9482         (xmalloc): Likewise.
9483         (xrealloc): Likewise.
9484         * locale/programs/xstrdup.c (xstrdup): Likewise.
9485         * localedata/collate-test.c (xstrcoll): Likewise.
9486         * localedata/xfrm-test.c (xstrcmp): Likewise.
9487         * login/getlogin_r.c (__getlogin_r): Likewise.
9488         * login/getpt.c (__posix_openpt): Likewise.
9489         * login/login_tty.c (login_tty): Likewise.
9490         * login/setlogin.c (setlogin): Likewise.
9491         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
9492         (mach_msg_destroy_port): Likewise.
9493         (mach_msg_destroy_memory): Likewise.
9494         * malloc/mcheck.c (flood): Likewise.
9495         * misc/acct.c (acct): Likewise.
9496         * misc/brk.c (__brk): Likewise.
9497         * misc/chflags.c (chflags): Likewise.
9498         * misc/chroot.c (chroot): Likewise.
9499         * misc/fchflags.c (fchflags): Likewise.
9500         * misc/fstab.c (getfsspec): Likewise.
9501         (getfsfile): Likewise.
9502         * misc/fsync.c (fsync): Likewise.
9503         * misc/ftruncate.c (__ftruncate): Likewise.
9504         * misc/ftruncate64.c (__ftruncate64): Likewise.
9505         * misc/getdomain.c (getdomainname): Likewise.
9506         (getdomainname): Likewise.
9507         * misc/gethostname.c (__gethostname): Likewise.
9508         * misc/getpass.c (getpass): Likewise.
9509         * misc/getttyent.c (skip): Likewise.
9510         (value): Likewise.
9511         * misc/gtty.c (gtty): Likewise.
9512         * misc/hsearch.c (hsearch): Likewise.
9513         (hcreate): Likewise.
9514         * misc/hsearch_r.c (__hcreate_r): Likewise.
9515         (__hdestroy_r): Likewise.
9516         * misc/ioctl.c (__ioctl): Likewise.
9517         * misc/mkdtemp.c (mkdtemp): Likewise.
9518         * misc/mkostemp.c (mkostemp): Likewise.
9519         * misc/mkostemp64.c (mkostemp64): Likewise.
9520         * misc/mkostemps.c (mkostemps): Likewise.
9521         * misc/mkostemps64.c (mkostemps64): Likewise.
9522         * misc/mkstemp.c (mkstemp): Likewise.
9523         * misc/mkstemp64.c (mkstemp64): Likewise.
9524         * misc/mkstemps.c (mkstemps): Likewise.
9525         * misc/mkstemps64.c (mkstemps64): Likewise.
9526         * misc/mktemp.c (__mktemp): Likewise.
9527         * misc/preadv.c (preadv): Likewise.
9528         * misc/preadv64.c (preadv64): Likewise.
9529         * misc/pwritev.c (pwritev): Likewise.
9530         * misc/pwritev64.c (pwritev64): Likewise.
9531         * misc/readv.c (__readv): Likewise.
9532         * misc/revoke.c (revoke): Likewise.
9533         * misc/setdomain.c (setdomainname): Likewise.
9534         * misc/setegid.c (setegid): Likewise.
9535         * misc/seteuid.c (seteuid): Likewise.
9536         * misc/sethostid.c (sethostid): Likewise.
9537         * misc/sethostname.c (sethostname): Likewise.
9538         * misc/setregid.c (__setregid): Likewise.
9539         * misc/setreuid.c (__setreuid): Likewise.
9540         * misc/sstk.c (sstk): Likewise.
9541         * misc/stty.c (stty): Likewise.
9542         * misc/syscall.c (syscall): Likewise.
9543         * misc/syslog.c (setlogmask): Likewise.
9544         * misc/truncate.c (__truncate): Likewise.
9545         * misc/truncate64.c (truncate64): Likewise.
9546         * misc/ualarm.c (ualarm): Likewise.
9547         * misc/usleep.c (usleep): Likewise.
9548         * misc/ustat.c (ustat): Likewise.
9549         * misc/writev.c (__writev): Likewise.
9550         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
9551         * nptl/old_pthread_cond_broadcast.c
9552         (__pthread_cond_broadcast_2_0): Likewise.
9553         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
9554         Likewise.
9555         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
9556         Likewise.
9557         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
9558         Likewise.
9559         * nptl/pt-raise.c (raise): Likewise.
9560         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
9561         Likewise.
9562         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
9563         * nptl/pthread_barrierattr_destroy.c
9564         (pthread_barrierattr_destroy): Likewise.
9565         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
9566         Likewise.
9567         * nptl/pthread_barrierattr_setpshared.c
9568         (pthread_barrierattr_setpshared): Likewise.
9569         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9570         Likewise.
9571         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
9572         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
9573         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
9574         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
9575         Likewise.
9576         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
9577         Likewise.
9578         * nptl/pthread_condattr_getpshared.c
9579         (pthread_condattr_getpshared): Likewise.
9580         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
9581         Likewise.
9582         * nptl/pthread_condattr_setpshared.c
9583         (pthread_condattr_setpshared): Likewise.
9584         * nptl/pthread_detach.c (pthread_detach): Likewise.
9585         * nptl/pthread_equal.c (__pthread_equal): Likewise.
9586         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
9587         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
9588         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
9589         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
9590         Likewise.
9591         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
9592         Likewise.
9593         * nptl/pthread_mutex_getprioceiling.c
9594         (pthread_mutex_getprioceiling): Likewise.
9595         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
9596         Likewise.
9597         * nptl/pthread_mutexattr_getprotocol.c
9598         (pthread_mutexattr_getprotocol): Likewise.
9599         * nptl/pthread_mutexattr_getpshared.c
9600         (pthread_mutexattr_getpshared): Likewise.
9601         * nptl/pthread_mutexattr_getrobust.c
9602         (pthread_mutexattr_getrobust): Likewise.
9603         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
9604         Likewise.
9605         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
9606         Likewise.
9607         * nptl/pthread_mutexattr_setprioceiling.c
9608         (pthread_mutexattr_setprioceiling): Likewise.
9609         * nptl/pthread_mutexattr_setprotocol.c
9610         (pthread_mutexattr_setprotocol): Likewise.
9611         * nptl/pthread_mutexattr_setpshared.c
9612         (pthread_mutexattr_setpshared): Likewise.
9613         * nptl/pthread_mutexattr_setrobust.c
9614         (pthread_mutexattr_setrobust): Likewise.
9615         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
9616         Likewise.
9617         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
9618         Likewise.
9619         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
9620         Likewise.
9621         * nptl/pthread_rwlockattr_getkind_np.c
9622         (pthread_rwlockattr_getkind_np): Likewise.
9623         * nptl/pthread_rwlockattr_getpshared.c
9624         (pthread_rwlockattr_getpshared): Likewise.
9625         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
9626         Likewise.
9627         * nptl/pthread_rwlockattr_setkind_np.c
9628         (pthread_rwlockattr_setkind_np): Likewise.
9629         * nptl/pthread_rwlockattr_setpshared.c
9630         (pthread_rwlockattr_setpshared): Likewise.
9631         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
9632         Likewise.
9633         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
9634         Likewise.
9635         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
9636         Likewise.
9637         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
9638         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
9639         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
9640         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
9641         * nptl/sem_close.c (sem_close): Likewise.
9642         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
9643         * nptl/sem_init.c (__old_sem_init): Likewise.
9644         * nptl/sigaction.c (__sigaction): Likewise.
9645         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
9646         * posix/_exit.c (_exit): Likewise.
9647         * posix/alarm.c (alarm): Likewise.
9648         * posix/confstr.c (confstr): Likewise.
9649         * posix/fpathconf.c (__fpathconf): Likewise.
9650         * posix/getgroups.c (__getgroups): Likewise.
9651         * posix/getpgid.c (__getpgid): Likewise.
9652         * posix/group_member.c (__group_member): Likewise.
9653         * posix/pathconf.c (__pathconf): Likewise.
9654         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
9655         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
9656         * posix/setgid.c (__setgid): Likewise.
9657         * posix/setpgid.c (__setpgid): Likewise.
9658         * posix/setuid.c (__setuid): Likewise.
9659         * posix/sleep.c (__sleep): Likewise.
9660         * posix/sysconf.c (__sysconf): Likewise.
9661         * posix/times.c (__times): Likewise.
9662         * posix/uname.c (__uname): Likewise.
9663         * posix/waitid.c (__waitid): Likewise.
9664         * pwd/getpw.c (__getpw): Likewise.
9665         * resolv/base64.c (b64_pton): Likewise.
9666         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
9667         * resolv/gethnamaddr.c (Dprintf): Likewise.
9668         (gethostbyname): Likewise.
9669         (gethostbyname2): Likewise.
9670         (gethostbyaddr): Likewise.
9671         (_sethtent): Likewise.
9672         (_gethtbyname): Likewise.
9673         (_gethtbyname2): Likewise.
9674         (_gethtbyaddr): Likewise.
9675         (map_v4v6_address): Likewise.
9676         (map_v4v6_hostent): Likewise.
9677         (addrsort): Likewise.
9678         (ht_sethostent): Likewise.
9679         (ht_gethostbyname): Likewise.
9680         (ht_gethostbyaddr): Likewise.
9681         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
9682         (inet_net_ntop_ipv4): Likewise.
9683         * resolv/inet_neta.c (inet_neta): Likewise.
9684         * resolv/inet_ntop.c (inet_ntop): Likewise.
9685         (inet_ntop4): Likewise.
9686         (inet_ntop6): Likewise.
9687         * resolv/inet_pton.c (__inet_pton): Likewise.
9688         (inet_pton4): Likewise.
9689         (inet_pton6): Likewise.
9690         * resolv/res_debug.c (loc_aton): Likewise.
9691         (loc_ntoa): Likewise.
9692         * resource/getpriority.c (__getpriority): Likewise.
9693         * resource/getrusage.c (__getrusage): Likewise.
9694         * resource/nice.c (nice): Likewise.
9695         * resource/setpriority.c (__setpriority): Likewise.
9696         * resource/setrlimit64.c (setrlimit64): Likewise.
9697         * resource/vlimit.c (vlimit): Likewise.
9698         * resource/vtimes.c (vtimes): Likewise.
9699         * rt/aio_error.c (aio_error): Likewise.
9700         * rt/aio_return.c (aio_return): Likewise.
9701         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
9702         * signal/kill.c (__kill): Likewise.
9703         * signal/killpg.c (killpg): Likewise.
9704         * signal/raise.c (raise): Likewise.
9705         * signal/sigaction.c (__sigaction): Likewise.
9706         * signal/sigaddset.c (sigaddset): Likewise.
9707         * signal/sigaltstack.c (sigaltstack): Likewise.
9708         * signal/sigandset.c (sigandset): Likewise.
9709         * signal/sigblock.c (__sigblock): Likewise.
9710         * signal/sigdelset.c (sigdelset): Likewise.
9711         * signal/sigempty.c (sigemptyset): Likewise.
9712         * signal/sigfillset.c (sigfillset): Likewise.
9713         * signal/sighold.c (sighold): Likewise.
9714         * signal/sigignore.c (sigignore): Likewise.
9715         * signal/sigintr.c (siginterrupt): Likewise.
9716         * signal/sigisempty.c (sigisemptyset): Likewise.
9717         * signal/sigismem.c (sigismember): Likewise.
9718         * signal/signal.c (signal): Likewise.
9719         * signal/sigorset.c (sigorset): Likewise.
9720         * signal/sigpause.c (__sigpause): Likewise.
9721         * signal/sigpending.c (sigpending): Likewise.
9722         * signal/sigprocmask.c (__sigprocmask): Likewise.
9723         * signal/sigrelse.c (sigrelse): Likewise.
9724         * signal/sigreturn.c (__sigreturn): Likewise.
9725         * signal/sigset.c (sigset): Likewise.
9726         * signal/sigsetmask.c (__sigsetmask): Likewise.
9727         * signal/sigstack.c (sigstack): Likewise.
9728         * signal/sigsuspend.c (__sigsuspend): Likewise.
9729         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
9730         * signal/sysv_signal.c (__sysv_signal): Likewise.
9731         * socket/accept.c (accept): Likewise.
9732         * socket/accept4.c (__libc_accept4): Likewise.
9733         * socket/bind.c (__bind): Likewise.
9734         * socket/connect.c (__connect): Likewise.
9735         * socket/getpeername.c (getpeername): Likewise.
9736         * socket/getsockname.c (__getsockname): Likewise.
9737         * socket/getsockopt.c (getsockopt): Likewise.
9738         * socket/listen.c (__listen): Likewise.
9739         * socket/recv.c (__recv): Likewise.
9740         * socket/recvmsg.c (__recvmsg): Likewise.
9741         * socket/send.c (__send): Likewise.
9742         * socket/sendmsg.c (__sendmsg): Likewise.
9743         * socket/shutdown.c (shutdown): Likewise.
9744         * socket/sockatmark.c (sockatmark): Likewise.
9745         * socket/socket.c (__socket): Likewise.
9746         * stdio-common/ctermid.c (ctermid): Likewise.
9747         * stdio-common/cuserid.c (cuserid): Likewise.
9748         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
9749         * stdio-common/remove.c (remove): Likewise.
9750         * stdio-common/rename.c (rename): Likewise.
9751         * stdio-common/renameat.c (renameat): Likewise.
9752         * stdio-common/tempname.c (__gen_tempname): Likewise.
9753         * stdio-common/xbug.c (InitBuffer): Likewise.
9754         (AppendToBuffer): Likewise.
9755         (ReadFile): Likewise.
9756         * stdlib/a64l.c (a64l): Likewise.
9757         * stdlib/drand48_r.c (drand48_r): Likewise.
9758         * stdlib/getcontext.c (getcontext): Likewise.
9759         * stdlib/getenv.c (getenv): Likewise.
9760         * stdlib/l64a.c (l64a): Likewise.
9761         * stdlib/llabs.c (llabs): Likewise.
9762         * stdlib/lldiv.c (lldiv): Likewise.
9763         * stdlib/lrand48_r.c (lrand48_r): Likewise.
9764         * stdlib/mrand48_r.c (mrand48_r): Likewise.
9765         * stdlib/putenv.c (putenv): Likewise.
9766         * stdlib/random.c (__srandom): Likewise.
9767         (__initstate): Likewise.
9768         (__setstate): Likewise.
9769         * stdlib/random_r.c (__srandom_r): Likewise.
9770         (__setstate_r): Likewise.
9771         (__random_r): Likewise.
9772         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
9773         * stdlib/setcontext.c (setcontext): Likewise.
9774         * stdlib/setenv.c (setenv): Likewise.
9775         (unsetenv): Likewise.
9776         * stdlib/srand48.c (srand48): Likewise.
9777         * stdlib/srand48_r.c (__srand48_r): Likewise.
9778         * stdlib/swapcontext.c (swapcontext): Likewise.
9779         * stdlib/system.c (__libc_system): Likewise.
9780         * stdlib/tst-strtod.c (expand): Likewise.
9781         * stdlib/tst-strtol.c (expand): Likewise.
9782         * stdlib/tst-strtoll.c (expand): Likewise.
9783         * streams/fattach.c (fattach): Likewise.
9784         * streams/fdetach.c (fdetach): Likewise.
9785         * streams/getmsg.c (getmsg): Likewise.
9786         * streams/isastream.c (isastream): Likewise.
9787         * string/ffs.c (__ffs): Likewise.
9788         * string/ffsll.c (ffsll): Likewise.
9789         * string/memcmp.c (memcmp_common_alignment): Likewise.
9790         (memcmp_not_common_alignment): Likewise.
9791         (MEMCMP): Likewise.
9792         * string/memcpy.c (memcpy): Likewise.
9793         * string/memmove.c (MEMMOVE): Likewise.
9794         * string/memset.c (memset): Likewise.
9795         * string/rawmemchr.c (RAWMEMCHR): Likewise.
9796         * string/strchrnul.c (STRCHRNUL): Likewise.
9797         * string/strerror.c (strerror): Likewise.
9798         * string/strndup.c (__strndup): Likewise.
9799         * string/strverscmp.c (__strverscmp): Likewise.
9800         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
9801         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
9802         (clnttcp_freeres): Likewise.
9803         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
9804         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
9805         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
9806         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
9807         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
9808         (xdr_callhdr): Likewise.
9809         * sunrpc/rpcinfo.c (udpping): Likewise.
9810         (tcpping): Likewise.
9811         (pstatus): Likewise.
9812         (pmapdump): Likewise.
9813         (brdcst): Likewise.
9814         (deletereg): Likewise.
9815         (getprognum): Likewise.
9816         (getvers): Likewise.
9817         (get_inet_address): Likewise.
9818         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
9819         * sunrpc/svc_udp.c (svcudp_create): Likewise.
9820         (svcudp_stat): Likewise.
9821         (svcudp_recv): Likewise.
9822         (svcudp_reply): Likewise.
9823         (svcudp_getargs): Likewise.
9824         (svcudp_freeargs): Likewise.
9825         (svcudp_destroy): Likewise.
9826         * sunrpc/xdr.c (xdr_bytes): Likewise.
9827         (xdr_netobj): Likewise.
9828         (xdr_string): Likewise.
9829         (xdr_wrapstring): Likewise.
9830         * sunrpc/xdr_float.c (xdr_float): Likewise.
9831         (xdr_double): Likewise.
9832         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
9833         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
9834         * sysvipc/ftok.c (ftok): Likewise.
9835         * sysvipc/msgctl.c (msgctl): Likewise.
9836         * sysvipc/msgget.c (msgget): Likewise.
9837         * sysvipc/msgrcv.c (msgrcv): Likewise.
9838         * sysvipc/msgsnd.c (msgsnd): Likewise.
9839         * sysvipc/semget.c (semget): Likewise.
9840         * sysvipc/semop.c (semop): Likewise.
9841         * sysvipc/shmat.c (shmat): Likewise.
9842         * sysvipc/shmctl.c (shmctl): Likewise.
9843         * sysvipc/shmdt.c (shmdt): Likewise.
9844         * sysvipc/shmget.c (shmget): Likewise.
9845         * termios/cfmakeraw.c (cfmakeraw): Likewise.
9846         * termios/speed.c (cfgetospeed): Likewise.
9847         (cfgetispeed): Likewise.
9848         (cfsetospeed): Likewise.
9849         (cfsetispeed): Likewise.
9850         * termios/tcflow.c (tcflow): Likewise.
9851         * termios/tcflush.c (tcflush): Likewise.
9852         * termios/tcgetattr.c (__tcgetattr): Likewise.
9853         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
9854         * termios/tcgetsid.c (tcgetsid): Likewise.
9855         * termios/tcsendbrk.c (tcsendbreak): Likewise.
9856         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
9857         * time/adjtime.c (__adjtime): Likewise.
9858         * time/dysize.c (dysize): Likewise.
9859         * time/ftime.c (ftime): Likewise.
9860         * time/getitimer.c (__getitimer): Likewise.
9861         * time/gettimeofday.c (__gettimeofday): Likewise.
9862         * time/gmtime.c (__gmtime_r): Likewise.
9863         (gmtime): Likewise.
9864         * time/localtime.c (__localtime_r): Likewise.
9865         (localtime): Likewise.
9866         * time/offtime.c (__offtime): Likewise.
9867         * time/settimeofday.c (__settimeofday): Likewise.
9868         * time/stime.c (stime): Likewise.
9869         * time/strftime_l.c (tm_diff): Likewise.
9870         (iso_week_days): Likewise.
9871         * time/strptime.c (strptime): Likewise.
9872         * time/time.c (time): Likewise.
9873         * time/timespec_get.c (timespec_get): Likewise.
9874         * time/tzset.c (tzset_internal): Likewise.
9875         (compute_change): Likewise.
9876         (__tz_compute): Likewise.
9877         * wcsmbs/btowc.c (__btowc): Likewise.
9878         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
9879         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
9880         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
9881         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
9882         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
9883         * wcsmbs/wcscat.c (__wcscat): Likewise.
9884         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9885         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
9886         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
9887         * wcsmbs/wcscspn.c (wcscspn): Likewise.
9888         * wcsmbs/wcsdup.c (wcsdup): Likewise.
9889         * wcsmbs/wcslen.c (__wcslen): Likewise.
9890         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
9891         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
9892         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
9893         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
9894         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9895         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
9896         * wcsmbs/wcsspn.c (wcsspn): Likewise.
9897         * wcsmbs/wcsstr.c (wcsstr): Likewise.
9898         * wcsmbs/wcstok.c (wcstok): Likewise.
9899         * wcsmbs/wctob.c (wctob): Likewise.
9900         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
9901         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9902         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
9903         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
9904         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
9905         * wcsmbs/wmemset.c (__wmemset): Likewise.
9906         * wctype/wcfuncs.c (__towlower): Likewise.
9907         (__towupper): Likewise.
9909         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
9910         (lll_unlock_elision): Add adapt_count parameter.
9912 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
9914         * sysdeps/nptl/configure.ac: Do not give errors based on the
9915         results of top-level configure tests.
9916         * sysdeps/nptl/configure: Regenerated.
9918         * configure.ac (libc_cv_Bgroup): Remove configure test.
9919         * configure: Regenerated.
9920         * config.make.in (have-Bgroup): Remove variable.
9922         * configure.ac (sizeof_long_double): Remove configure test.
9923         * configure: Regenerated.
9924         * config.make.in (sizeof-long-double): Remove variable.
9926         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
9927         * configure: Regenerated.
9928         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
9929         variable.
9930         (exceptions): Likewise.
9931         * sysdeps/arm/configure: Regenerated.
9932         * config.make.in (exceptions): Remove variable.
9933         * Makeconfig (uses-callbacks): Use -fexceptions instead of
9934         $(exceptions).
9935         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
9936         (CFLAGS-vdprintf_chk.c): Likewise.
9937         (CFLAGS-printf_chk.c): Likewise.
9938         (CFLAGS-fprintf_chk.c): Likewise.
9939         (CFLAGS-vprintf_chk.c): Likewise.
9940         (CFLAGS-vfprintf_chk.c): Likewise.
9941         (CFLAGS-gets_chk.c): Likewise.
9942         (CFLAGS-fgets_chk.c): Likewise.
9943         (CFLAGS-fgets_u_chk.c): Likewise.
9944         (CFLAGS-fread_chk.c): Likewise.
9945         (CFLAGS-fread_u_chk.c): Likewise.
9946         (CFLAGS-wprintf_chk.c): Likewise.
9947         (CFLAGS-fwprintf_chk.c): Likewise.
9948         (CFLAGS-vwprintf_chk.c): Likewise.
9949         (CFLAGS-vfwprintf_chk.c): Likewise.
9950         (CFLAGS-fgetws_chk.c): Likewise.
9951         (CFLAGS-fgetws_u_chk.c): Likewise.
9952         * libio/Makefile (CFLAGS-fileops.c): Likewise.
9953         (CFLAGS-fputc.c): Likewise.
9954         (CFLAGS-fputwc.c): Likewise.
9955         (CFLAGS-freopen64.c): Likewise.
9956         (CFLAGS-freopen.c): Likewise.
9957         (CFLAGS-fseek.c): Likewise.
9958         (CFLAGS-fseeko64.c): Likewise.
9959         (CFLAGS-fseeko.c): Likewise.
9960         (CFLAGS-ftello64.c): Likewise.
9961         (CFLAGS-ftello.c): Likewise.
9962         (CFLAGS-fwide.c): Likewise.
9963         (CFLAGS-genops.c): Likewise.
9964         (CFLAGS-getc.c): Likewise.
9965         (CFLAGS-getchar.c): Likewise.
9966         (CFLAGS-getwc.c): Likewise.
9967         (CFLAGS-getwchar.c): Likewise.
9968         (CFLAGS-iofclose.c): Likewise.
9969         (CFLAGS-iofflush.c): Likewise.
9970         (CFLAGS-iofgetpos64.c): Likewise.
9971         (CFLAGS-iofgetpos.c): Likewise.
9972         (CFLAGS-iofgets.c): Likewise.
9973         (CFLAGS-iofgetws.c): Likewise.
9974         (CFLAGS-iofputs.c): Likewise.
9975         (CFLAGS-iofputws.c): Likewise.
9976         (CFLAGS-iofread.c): Likewise.
9977         (CFLAGS-iofsetpos64.c): Likewise.
9978         (CFLAGS-iofsetpos.c): Likewise.
9979         (CFLAGS-ioftell.c): Likewise.
9980         (CFLAGS-iofwrite.c): Likewise.
9981         (CFLAGS-iogetdelim.c): Likewise.
9982         (CFLAGS-iogetline.c): Likewise.
9983         (CFLAGS-iogets.c): Likewise.
9984         (CFLAGS-iogetwline.c): Likewise.
9985         (CFLAGS-ioputs.c): Likewise.
9986         (CFLAGS-ioseekoff.c): Likewise.
9987         (CFLAGS-ioseekpos.c): Likewise.
9988         (CFLAGS-iosetbuffer.c): Likewise.
9989         (CFLAGS-iosetvbuf.c): Likewise.
9990         (CFLAGS-ioungetc.c): Likewise.
9991         (CFLAGS-ioungetwc.c): Likewise.
9992         (CFLAGS-oldfileops.c): Likewise.
9993         (CFLAGS-oldiofclose.c): Likewise.
9994         (CFLAGS-oldiofgetpos64.c): Likewise.
9995         (CFLAGS-oldiofgetpos.c): Likewise.
9996         (CFLAGS-oldiofsetpos64.c): Likewise.
9997         (CFLAGS-oldiofsetpos.c): Likewise.
9998         (CFLAGS-peekc.c): Likewise.
9999         (CFLAGS-putc.c): Likewise.
10000         (CFLAGS-putchar.c): Likewise.
10001         (CFLAGS-putwc.c): Likewise.
10002         (CFLAGS-putwchar.c): Likewise.
10003         (CFLAGS-rewind.c): Likewise.
10004         (CFLAGS-wfileops.c): Likewise.
10005         (CFLAGS-wgenops.c): Likewise.
10006         (CFLAGS-oldiofopen.c): Likewise.
10007         (CFLAGS-iofopen.c): Likewise.
10008         (CFLAGS-iofopen64.c): Likewise.
10009         (CFLAGS-oldtmpfile.c): Likewise.
10010         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
10011         (CFLAGS-fprintf.c): Likewise.
10012         (CFLAGS-printf.c): Likewise.
10013         (CFLAGS-vfwprintf.c): Likewise.
10014         (CFLAGS-vfscanf.c): Likewise.
10015         (CFLAGS-vfwscanf.c): Likewise.
10016         (CFLAGS-fscanf.c): Likewise.
10017         (CFLAGS-scanf.c): Likewise.
10018         (CFLAGS-isoc99_vfscanf.c): Likewise.
10019         (CFLAGS-isoc99_vscanf.c): Likewise.
10020         (CFLAGS-isoc99_fscanf.c): Likewise.
10021         (CFLAGS-isoc99_scanf.c): Likewise.
10022         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
10023         (CFLAGS-isoc99_fwscanf.c): Likewise.
10024         (CFLAGS-isoc99_vwscanf.c): Likewise.
10025         (CFLAGS-isoc99_vfwscanf.c): Likewise.
10027         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
10028         after mkstemp64.
10029         * login/tst-utmp.c (do_prepare): Likewise.
10030         * rt/tst-aio.c (do_prepare): Likewise.
10031         * rt/tst-aio64.c (do_prepare): Likewise.
10033 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10035         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10036         (__lll_lock_elision): Remove adapt_count decrement...
10037         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10038         (__lll_trylock_elision): Likewise.
10039         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10040         (__lll_unlock_elision): ... to here. And utilize
10041         new adapt_count parameter.
10042         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10043         (__lll_unlock_elision): Update to include adapt_count
10044         parameter.
10045         (lll_unlock_elision): Pass pointer to adapt_count
10046         variable.
10048 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10050         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
10051         Add elision adapt_count parameter to list of arguments.
10052         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10053         (lll_unlock_elision): Update with new parameter list
10054         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
10055         (lll_unlock_elision): Likewise.
10056         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
10057         (lll_unlock_elision): Likewise.
10059 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10061         [BZ #19122]
10062         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
10063         attribute_hidden.
10065         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
10066         attribute_hidden.
10067         [IS_IN (rtld)] (__strdup): Likewise.
10068         [IS_IN (rtld)] (__strerror_r): Likewise.
10069         [IS_IN (rtld)] (__strsep_g): Likewise.
10070         [IS_IN (rtld)] (memchr): Likewise.
10071         [IS_IN (rtld)] (memcmp): Likewise.
10072         [IS_IN (rtld)] (memcpy): Likewise.
10073         [IS_IN (rtld)] (memmove): Likewise.
10074         [IS_IN (rtld)] (memset): Likewise.
10075         [IS_IN (rtld)] (rawmemchr): Likewise.
10076         [IS_IN (rtld)] (stpcpy): Likewise.
10077         [IS_IN (rtld)] (strchr): Likewise.
10078         [IS_IN (rtld)] (strcmp): Likewise.
10079         [IS_IN (rtld)] (strlen): Likewise.
10080         [IS_IN (rtld)] (strnlen): Likewise.
10081         [IS_IN (rtld)] (strsep): Likewise.
10083         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
10084         attribute_hidden.
10085         [IS_IN (rtld)] (__strtoul_internal): Likewise.
10087         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
10088         attribute_hidden.
10089         [IS_IN (rtld)] (__libc_sigaction): Likewise.
10091         * include/setjmp.h (__longjmp): Add attribute_hidden.
10092         [IS_IN (rtld)] (__sigsetjmp): Likewise.
10094         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
10095         Add attribute_hidden.
10097         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
10098         [IS_IN (rtld)] (__open): Likewise.
10099         [IS_IN (rtld)] (__fcntl): Likewise.
10101         * include/dirent.h (__opendirat): Add attribute_hidden.
10102         (__getdents): Likewise.
10103         (__getdents64): Likewise.
10104         (__alloc_dir): Likewise.
10105         [IS_IN (rtld)] (__closedir): Likewise.
10106         [IS_IN (rtld)] (__fdopendir): Likewise.
10107         [IS_IN (rtld)] (__readdir): Likewise.
10108         [IS_IN (rtld)] (__readdir64): Likewise.
10109         [IS_IN (rtld)] (__rewinddir): Likewise.
10111         * include/dlfcn.h (_dl_catch_error): Moved to ...
10112         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
10113         attribute_hidden.
10115         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
10116         (_itoa_word): Likewise.
10118         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
10119         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
10120         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
10121         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
10122         (_dl_higher_prime_number): Likewise.
10123         (_dl_debug_printf_c): Likewise.
10124         (_dl_signal_cerror): Likewise.
10125         (_dl_receive_error): Likewise.
10126         (_dl_reloc_bad_type): Likewise.
10127         (_dl_resolve_conflicts): Likewise.
10128         (_dl_check_all_versions): Likewise.
10129         (_dl_check_map_versions): Likewise.
10130         (_dl_sort_fini): Likewise.
10131         (_dl_debug_initialize): Likewise.
10132         (_dl_init_paths): Likewise.
10133         (_dl_show_auxv): Likewise.
10134         (_dl_next_ld_env_entry): Likewise.
10135         (_dl_important_hwcaps): Likewise.
10136         (_dl_load_cache_lookup): Likewise.
10137         (_dl_update_slotinfo): Likewise.
10138         (_dl_show_scope): Likewise.
10140         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
10141         attribute_hidden.
10142         (_wordcopy_fwd_dest_aligned): Likewise.
10143         (_wordcopy_bwd_aligned): Likewise.
10144         (_wordcopy_bwd_dest_aligned): Likewise.
10146         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10147         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10148         Likewise.
10149         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10150         Likewise.
10151         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
10153 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10155         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
10156         GCC 5 requirement.
10158 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
10160         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
10161         test.
10162         * sysdeps/i386/configure: Regenerated.
10163         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
10164         code unconditional.
10166         * configure.ac (libc_cv_asm_previous_directive): Remove configure
10167         test.
10168         (libc_cv_asm_popsection_directive): Likewise.
10169         * configure: Regenerated.
10170         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
10171         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
10172         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
10173         (__make_section_unallocated): Make definition unconditional.
10174         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
10175         Remove conditional definition.
10176         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
10177         (__make_section_unallocated): Likewise.
10179         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
10180         * configure: Regenerated.
10181         * config.make.in (static-libgcc): Remove variable.
10182         * Makerules (build-shlib-helper): Use -static-libgcc instead of
10183         $(static-libgcc).
10184         (build-module-helper): Likewise.
10186         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
10187         * configure: Regenerated.
10189 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10191         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
10192         (struct char_buffer): New type.
10193         (char_buffer_start, char_buffer_size, char_buffer_error)
10194         (char_buffer_rewind, char_buffer_add): New functions.
10195         (ADDW): Remove macro, replaced by the char_buffer_add function.
10196         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
10197         of extend_alloca.  Make control flow more explicit.
10199 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10201         [BZ #19137]
10202         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10203         Add -fomit-frame-pointer.
10204         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
10206 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10208         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
10209         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
10210         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
10211         only if !__GNUC_PREREQ (5,0).
10212         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
10213         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
10214         (INTERNAL_SYSCALL_NCS): Likewise.
10215         (LOADREGS_0): New macro for GCC 5.
10216         (ASMARGS_0): Likewise.
10217         (LOADREGS_1): Likewise.
10218         (ASMARGS_1): Likewise.
10219         (LOADREGS_2): Likewise.
10220         (ASMARGS_2): Likewise.
10221         (LOADREGS_3): Likewise.
10222         (ASMARGS_3): Likewise.
10223         (LOADREGS_4): Likewise.
10224         (ASMARGS_4): Likewise.
10225         (LOADREGS_5): Likewise.
10226         (ASMARGS_5): Likewise.
10227         (LOADREGS_6): Likewise.
10228         (ASMARGS_6): Likewise.
10230 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10232         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
10233         -fomit-frame-pointer.
10234         (CFLAGS-mmap64.c): Likewise.
10235         (CFLAGS-semtimedop.c): Likewise.
10236         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
10237         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
10238         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10239         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10241 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10243         [BZ #18928]
10244         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
10245         _dl_pointer_guard member.
10246         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
10247         initializer.
10248         (security_init): Always set up pointer guard.
10249         (process_envvars): Do not process LD_POINTER_GUARD.
10251 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
10253         [BZ #19134]
10254         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
10255         (.LC2): Likewise.
10256         (.LC3): Likewise.
10257         (__lround): Do not add 0.5 to integer or out-of-range arguments.
10259 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10261         [BZ #19129]
10262         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
10263         r0 and r1.
10265 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
10267         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
10269 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
10271         * include/stap-probe.h: Fix macro definition formatting.
10273 2015-10-14  Florian Weimer  <fweimer@redhat.com>
10275         [BZ #19074]
10276         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
10277         load and store num_ifs.
10279 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10281         [BZ #18822]
10282         * sysdeps/unix/sysv/linux/sched_getaffinity.c
10283         (__sched_getaffinity_new): Add libc_hidden_proto and
10284         libc_hidden_def.
10286 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10288         [BZ #19007]
10289         * scripts/localplt.awk: Also allow GOT references.
10290         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
10291         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
10292         with "+ REL R_386_GLOB_DAT".
10293         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
10294         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
10296 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10298         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
10299         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10300         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
10301         Likewise.
10302         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
10303         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
10304         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10305         INTERNAL_SYSCALLINTERNAL_SYSCALL and
10306         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10307         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10308         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10309         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10310         Likewise.
10311         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10313 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
10315         [BZ #19125]
10316         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
10317         <math_private.h> and <stdint.h>.
10318         (__llround): Avoid conversions to and from long long int, and
10319         subtractions, where those might raise spurious exceptions.
10320         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
10321         <math_private.h> and <stdint.h>.
10322         (__llroundf): Avoid conversions to and from long long int, and
10323         subtractions, where those might raise spurious exceptions.
10325 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10327         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
10328         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10329         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10330         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
10331         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10332         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10333         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
10334         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
10335         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
10336         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10337         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10338         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10339         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
10340         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10341         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10342         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
10343         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
10344         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10345         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
10346         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
10347         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
10348         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
10349         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
10350         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
10351         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
10352         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10353         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
10354         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10355         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10356         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
10357         (__xstat64_conv): Likewise.
10358         (__xstat32_conv): Likewise.
10360 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10362         * sysdeps/unix/sysv/linux/sysdep.h: New file.
10363         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
10364         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
10365         <sysdeps/unix/sysv/linux/sysdep.h>.
10366         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10367         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
10368         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
10369         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10370         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10371         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
10372         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
10373         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
10374         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
10375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10377         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10378         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10379         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10380         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10381         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10382         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
10383         (sysdep-dl-routines): Add sysdep.
10384         [$(subdir) == nptl] (libpthread-routines): Likewise.
10385         [$(subdir) == rt] (librt-routines): Likewise.
10386         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
10387         PIC when branching to SYSCALL_ERROR_LABEL.
10388         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
10389         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
10390         <sysdeps/unix/sysv/linux/sysdep.h>.
10391         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
10392         (SYSCALL_ERROR_ERRNO): Removed.
10393         (SYSCALL_ERROR_HANDLER): Changed to empty.
10394         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
10395         (__syscall_error): New prototype.
10396         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
10397         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
10399 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10401         [BZ #19124]
10402         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
10403         (_dl_runtime_resolve_avx512): Make it a hidden alias of
10404         _dl_runtime_resolve_avx.
10405         (_dl_runtime_profile_avx512): Make it a hidden alias of
10406         _dl_runtime_profile_avx.
10408 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
10410         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
10411         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
10412         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
10413         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
10415         [BZ #16422]
10416         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
10417         New configure test.
10418         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
10419         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
10420         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
10421         <math_private.h> and <stdint.h>.
10422         (__llrint): Avoid conversions to long long int where those might
10423         raise spurious exceptions.
10424         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
10425         <math_private.h> and <stdint.h>.
10426         (__llrintf): Avoid conversions to long long int where those might
10427         raise spurious exceptions.
10429 2015-10-12  Andreas Schwab  <schwab@suse.de>
10431         [BZ #18969]
10432         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
10433         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
10434         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
10435         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
10436         $(gen-locales).
10437         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
10438         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
10439         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
10440         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
10441         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
10442         $(gen-locales).
10443         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
10444         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
10445         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
10446         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
10447         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
10448         ($(objpfx)tst-ftell-active-handler.out)
10449         ($(objpfx)tst-ftell-append.out)
10450         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
10451         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
10452         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
10453         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
10454         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
10455         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
10456         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
10457         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
10458         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
10459         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
10460         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
10461         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
10462         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
10463         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
10464         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
10465         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
10466         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
10467         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
10468         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
10469         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
10470         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
10471         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
10472         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
10473         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
10474         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
10475         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
10476         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
10477         $(gen-locales).
10478         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
10479         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
10480         $(gen-locales).
10481         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
10482         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
10483         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
10484         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
10485         $(gen-locales).
10486         * libio/tst_wprintf2.c (main): Use explicit locale.
10487         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
10489 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10491         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
10492         __msg_sig_post.
10493         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
10495 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
10497         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10498         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10500         * sysdeps/arm/libm-test-ulps: Regenerated.
10502         [BZ #15470]
10503         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
10505         [BZ #16399]
10506         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
10507         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
10508         and <fix-fp-int-convert-overflow.h>.
10509         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10510         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10511         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
10512         and <fix-fp-int-convert-overflow.h>.
10513         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
10514         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10515         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
10516         <fix-fp-int-convert-overflow.h>.
10517         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10518         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10519         * sysdeps/ieee754/dbl-64/s_lround.c: Include
10520         <fix-fp-int-convert-overflow.h>.
10521         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
10522         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10523         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
10524         and <fix-fp-int-convert-overflow.h>.
10525         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10526         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10527         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
10528         <limits.h> and <fix-fp-int-convert-overflow.h>.
10529         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10530         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10531         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
10532         and <fix-fp-int-convert-overflow.h>.
10533         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10534         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10535         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
10536         and <fix-fp-int-convert-overflow.h>.
10537         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10538         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10539         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
10541 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
10543         [BZ #18589]
10544         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
10545         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
10546         $(gen-locales).
10548 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10549             Phil Blundell <pb@pbcl.net>
10551         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
10552         * nptl/tst-cancel26.c: New file.
10553         * nptl/tst-cancel27.c: Likewise.
10555 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
10557         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
10558         __ILP32__ isn't defined.
10559         (lrint): Likewise.
10560         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
10561         (lrintf): Likewise.
10562         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
10563         (lrintl): Likewise.
10564         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
10565         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
10566         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
10568 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10570         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10571         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10573         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
10574         file.
10575         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
10576         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10578 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
10580         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
10581         configure test.
10582         * sysdeps/i386/configure: Regenerated.
10583         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
10584         configure test.
10585         * sysdeps/x86_64/configure: Regenerated.
10586         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
10587         Make code unconditional.
10589         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
10590         test.
10591         * sysdeps/i386/configure: Regenerated.
10592         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
10593         test.
10594         * sysdeps/x86_64/configure: Regenerated.
10595         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
10596         Make code unconditional.
10597         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
10598         Likewise.
10599         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
10600         Likewise.
10601         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10602         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
10603         code unconditional.
10604         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10605         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
10606         code unconditional.
10607         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10608         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
10609         code unconditional.
10610         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
10611         code unconditional.
10612         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10613         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
10614         code unconditional.
10615         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10616         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
10617         code unconditional.
10618         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10619         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
10620         code unconditional.
10621         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10622         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
10623         code unconditional.
10624         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10625         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
10627         [BZ #19095]
10628         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
10629         mantissa to long int before shifting left.
10631 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
10633         [BZ #19094]
10634         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
10635         <limits.h>.
10636         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10637         when result overflows but exception would not result from cast.
10638         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
10639         <limits.h>.
10640         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10641         when result overflows but exception would not result from cast.
10642         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
10643         <limits.h>.
10644         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10645         when result overflows but exception would not result from cast.
10646         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
10647         <limits.h>.
10648         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10649         when result overflows but exception would not result from cast.
10650         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
10651         <limits.h>.
10652         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10653         when result overflows but exception would not result from cast.
10654         * math/libm-test.inc (lrint_test_data): Add more tests.
10655         (llrint_test_data): Likewise.
10657 2015-10-08  Roland McGrath  <roland@hack.frob.com>
10659         [BZ #18872]
10660         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
10661         Move out from under [$(run-built-tests) = yes] conditional.
10662         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
10663         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
10665 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
10667         [BZ #18589]
10668         * string/Makefile (tests): Add bug-strcoll2.
10669         (LOCALES): Add cs_CZ.UTF-8.
10670         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
10672         [BZ #18589]
10673         * string/bug-strcoll2.c: New file.
10674         * locale/categories.def: Revert commit
10675         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
10676         * locale/langinfo.h: Likewise.
10677         * locale/localeinfo.h: Likewise.
10678         * locale/C-collate.c: Likewise.
10679         * locale/programs/ld-collate.c (collate_output): Likewise.
10680         * string/strcoll_l.c (STRDIFF): Likewise.
10681         (STRCOLL): Likewise.
10682         * wcsmbs/wcscoll_l.c: Likewise.
10684 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
10686         * math/libm-test.inc (lround_test_data): Do not expect the absence
10687         of "inexact" for some tests with non-integer arguments.
10688         (llround_test_data): Likewise.
10690         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
10691         test.
10692         (libc_cv_cc_sse2avx): Likewise.
10693         * sysdeps/i386/configure: Regenerated.
10694         * sysdeps/i386/i686/multiarch/Makefile
10695         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
10696         [$(subdir) = math].
10697         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
10698         code unconditional.
10699         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
10700         Likewise.
10701         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
10702         Likewise.
10703         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
10704         Likewise.
10705         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
10706         test.
10707         (libc_cv_cc_sse2avx): Likewise.
10708         * sysdeps/x86_64/configure: Regenerated.
10709         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
10710         unconditional.
10711         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
10712         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
10713         unconditional.
10714         (_dl_runtime_profile)
10715         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
10716         conditional code.
10717         * sysdeps/x86_64/fpu/multiarch/Makefile
10718         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
10719         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
10720         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10721         * sysdeps/x86_64/fpu/multiarch/e_exp.c
10722         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10723         * sysdeps/x86_64/fpu/multiarch/e_log.c
10724         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10725         * sysdeps/x86_64/fpu/multiarch/s_atan.c
10726         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10727         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
10728         Likewise.
10729         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
10730         Likewise.
10731         * sysdeps/x86_64/fpu/multiarch/s_sin.c
10732         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10733         * sysdeps/x86_64/fpu/multiarch/s_tan.c
10734         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10735         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
10736         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
10737         (HAVE_SSE2AVX_SUPPORT): Likewise.
10739 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
10741         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
10742         instead of #pragma optimize.
10744 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
10746         [BZ #17195]
10747         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
10748         as is similarly done in systrim and _int_free already.
10750 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10752         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
10754 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10756         [BZ #19088]
10757         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
10758         <limits.h>.
10759         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10760         overflows but exception would not result from cast.
10761         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
10762         and <limits.h>.
10763         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10764         overflows but exception would not result from cast.
10765         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
10766         <limits.h>.
10767         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10768         overflows but exception would not result from cast.
10769         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
10770         <limits.h>.
10771         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10772         overflows but exception would not result from cast.
10773         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
10774         <limits.h>.
10775         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10776         overflows but exception would not result from cast.
10777         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
10778         <limits.h>.
10779         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10780         overflows but exception would not result from cast.
10781         * math/libm-test.inc (lround_test_data): Add more tests.
10782         (llround_test_data): Likewise.
10784 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
10786         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
10787         (CFLAGS-ialloc.c): Ditto.
10788         (CFLAGS-scheck.c): Ditto.
10790 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
10792         [BZ #19086]
10793         * manual/filesys.texi (Storage Allocation): Fix argument order for
10794         posix_fallocate64.
10796 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10798         [BZ #19085]
10799         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
10800         exponent below 48 inside case for non-overflowing exponent.
10801         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
10803 2015-10-07  Florian Weimer  <fweimer@redhat.com>
10805         * iconvdata/cp737.h (from_idx): Add const.
10806         * iconvdata/cp775.h (from_idx): Likewise.
10808 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10810         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
10811         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
10812         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
10814         [BZ #19079]
10815         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
10816         file, conditioned on [!_LP64].
10817         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
10818         [!_LP64] (__lround): Do not define as function or alias.
10819         [!_LP64] (lround): Likewise.
10820         [!_LP64] (__lroundl): Likewise.
10821         [!_LP64] (lroundl): Likewise.
10822         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
10823         macro.
10824         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10825         Likewise.
10827 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
10829         * math/libm-test.inc (lrint_test_data): Add more tests.
10830         (llrint_test_data): Likewise.
10831         (lround_test_data): Likewise.
10832         (llround_test_data): Likewise.
10834         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
10835         (llrint_test_data): Add tests used for lrint.
10837         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
10838         test.
10839         * sysdeps/i386/configure: Regenerated.
10840         * sysdeps/i386/i686/multiarch/Makefile
10841         [$(config-cflags-sse4) = yes]: Make code unconditional.
10842         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10843         Likewise.
10844         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
10845         Likewise.
10846         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
10847         test.
10848         * sysdeps/x86_64/configure: Regenerated.
10849         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
10850         Make code unconditional.
10851         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10852         Likewise.
10853         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
10854         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
10856         * scripts/rpm2dynsym.sh: Remove file.
10858 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10860         * configure.ac (libc_cv_cxx_thread_local): Define.
10861         * configure: Regenerate.
10862         * config.make.in (have-cxx-thread_local): Define.
10863         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
10864         (LDLIBS-tst-thread_local1): Define.
10865         (tests): Add tst-thread_local1.
10866         [have-cxx-thread_local != yes] (tests-unsupported): Add
10867         tst-thread_local1.
10868         * nptl/tst-thread_local1.cc: New file.
10870 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
10872         [BZ #19078]
10873         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
10874         (u_thres): Likewise.
10875         (__expl): Determine whether to call __kernel_standard_l based on
10876         value of result, not argument.
10878         * math/libm-test.inc (scalb_test_data): Add more expectations for
10879         the "inexact" exception.
10881         [BZ #19077]
10882         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
10883         0.0L for argument 1.0L.
10885         [BZ #19076]
10886         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
10887         constant 0.0L when computing infinite result.
10889 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10891         [BZ #10432]
10892         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
10893         malloc_usable_size.
10895 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10897         [BZ #19018]
10898         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10899         Mangle function pointer before storing it.
10900         (__call_tls_dtors): Demangle function pointer before calling it.
10902 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10904         [BZ #19012]
10905         * iconv/gconv_db.c (gen_steps): Check for additional errors.
10906         Clean up on failure.
10908 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
10910         [BZ #19071]
10911         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
10912         long int variable to store possibly incremented high part of
10913         mantissa.
10914         * math/libm-test.inc (lround_test_data): Add tests used for
10915         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
10916         for tests requiring 64-bit long.  Do not condition tests on
10917         [TEST_FLOAT] unnecessarily.
10918         (llround_test_data): Add tests used for lround.  Add another
10919         expectation for the "inexact" exception.  Do not condition tests
10920         on [TEST_FLOAT] unnecessarily.
10922         [BZ #887]
10923         [BZ #19049]
10924         [BZ #19050]
10925         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
10926         * sysdeps/ieee754/dbl-64/e_log10.c: Include
10927         <fix-int-fp-convert-zero.h>.
10928         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10929         * sysdeps/ieee754/dbl-64/e_log2.c: Include
10930         <fix-int-fp-convert-zero.h>.
10931         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10932         * sysdeps/ieee754/dbl-64/s_erf.c: Include
10933         <fix-int-fp-convert-zero.h>.
10934         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10935         * sysdeps/ieee754/dbl-64/s_logb.c: Include
10936         <fix-int-fp-convert-zero.h>.
10937         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10938         * sysdeps/ieee754/flt-32/e_log10f.c: Include
10939         <fix-int-fp-convert-zero.h>.
10940         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10941         * sysdeps/ieee754/flt-32/e_log2f.c: Include
10942         <fix-int-fp-convert-zero.h>.
10943         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10944         * sysdeps/ieee754/flt-32/s_erff.c: Include
10945         <fix-int-fp-convert-zero.h>.
10946         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10947         * sysdeps/ieee754/flt-32/s_logbf.c: Include
10948         <fix-int-fp-convert-zero.h>.
10949         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10950         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
10951         <fix-int-fp-convert-zero.h>.
10952         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10953         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
10954         <fix-int-fp-convert-zero.h>.
10955         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10956         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
10957         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
10958         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
10959         file.
10960         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
10962 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
10964         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10966 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
10968         [BZ #19059]
10969         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
10970         overflowing computation.
10971         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10972         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10973         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10974         Likewise.
10975         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10976         Likewise.
10977         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
10978         Likewise.
10979         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10980         Likewise.
10981         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10982         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10983         Likewise.
10984         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10985         Likewise.
10986         * math/libm-test.inc (nexttoward_test_data): Add more tests.
10988         * nss/rewrite_field.c (__nss_rewrite_field): Use
10989         internal_function.
10990         * nss/valid_field.c (__nss_valid_field): Likewise.
10991         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
10993 2015-10-02  Florian Weimer  <fweimer@redhat.com>
10995         [BZ #18724]
10996         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
10997         (__nss_invalid_field_characters, __nss_valid_field)
10998         (__nss_valid_list_field, __nss_rewrite_field): Declare.
10999         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
11000         tst-field.c: New file.
11001         * nss/Makefile (routines): Add valid_field, rewrite_field.
11002         (tests-static): Define unconditionally.
11003         (tests): Include tests-static.
11004         [build-static-nss] (tests-static): Use append.
11005         [build-static-nss] (tests): Remove modification.
11006         * nss/getent.c (print_group): Call putgrent.  Report error.
11007         (print_gshadow): Call putsgent.  Report error.
11008         (print_passwd): Call putpwent.  Report error.
11009         (print_shadow): Call putspent.  Report error.
11010         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
11011         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
11012         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
11013         name, password, directory, shell fields for valid syntax.  Rewrite
11014         GECOS field to match syntax.
11015         * pwd/Makefile (tests): Add tst-putpwent.
11016         * pwd/tst-putpwent.c: New file.
11017         * grp/putgrent.c (putgrent): Convert to ISO function definition.
11018         Check grName, grpasswd, gr_mem fields for valid syntax.
11019         Change loop variable i to size_t.
11020         * grp/Makefile (tests): Add tst-putgrent.
11021         * grp/tst-putgrent.c: New file.
11022         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
11023         valid syntax.
11024         * shadow/Makefile (tests): Add tst-putspent.
11025         * shadow/tst-putspent.c: New file.
11026         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
11027         sg_mem fields for valid syntax.
11028         * gshadow/Makefile (tests): Add tst-putsgent.
11029         * gshadow/tst-putsgent.c: New file.
11031 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11033         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
11034         assembly instructions.
11036 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11038         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
11039         prefix from operands.
11041 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
11043         [BZ #16347]
11044         [BZ #19046]
11045         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
11046         <libc-internal.h>.
11047         (MAXLGM): Do not use diagnostic control macros.
11048         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
11049         threshold for ldbl-128ibm.
11050         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
11051         instead of multiplying by log then subtracting.
11052         * math/auto-libm-test-in: Add more tests of lgamma.
11053         * math/auto-libm-test-out: Regenerated.
11055         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
11056         (TYPE_HEX_DIG): Likewise.
11057         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
11058         precisions when printing floating-point numbers.
11059         (check_float_internal): Likewise.
11061 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
11063         [BZ #16620]
11064         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
11065         of log (10) rounded downward to 48 bits.
11066         (log10_low): Use corresponding low part of log (10).
11068         [BZ #19032]
11069         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
11070         compute result as (x - x) / (x - x) not as 0 / 0.
11071         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11072         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
11074         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11075         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
11076         and expm1.
11077         * math/auto-libm-test-out: Regenerated.
11078         * math/libm-test.inc (acos_test_data): Add more tests.
11079         (asin_test_data): Likewise.
11080         (asinh_test_data): Likewise.
11081         (atan_test_data): Likewise.
11082         (atanh_test_data): Likewise.
11083         (atan2_test_data): Likewise.
11084         (cbrt_test_data): Likewise.
11085         (ceil_test_data): Likewise.
11086         (copysign_test_data): Likewise.
11087         (cos_test_data): Likewise.
11088         (cosh_test_data): Likewise.
11089         (erf_test_data): Likewise.
11090         (erfc_test_data): Likewise.
11091         (exp_test_data): Likewise.
11092         (exp10_test_data): Likewise.
11093         (exp2_test_data): Likewise.
11094         (expm1_test_data): Likewise.
11095         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11097 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
11099         [BZ #19006]
11100         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
11101         to ...
11102         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
11103         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
11104         to ...
11105         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
11106         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
11107         to ...
11108         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
11109         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
11110         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
11111         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
11112         to ...
11113         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
11114         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11115         Moved to ...
11116         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
11117         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11118         Moved to ...
11119         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
11120         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
11121         to ...
11122         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
11123         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11124         Moved to ...
11125         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
11126         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
11127         to ...
11128         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
11129         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
11130         Removed.
11131         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
11132         Likewise.
11133         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
11134         Likewise.
11135         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
11136         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
11137         Likewise.
11138         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11139         Likewise.
11140         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11141         Likewise.
11142         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11143         Likewise.
11144         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11145         Likewise.
11146         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
11147         Likewise.
11148         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
11149         Likewise.
11150         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
11151         Likewise.
11152         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
11153         Likewise.
11154         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
11155         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
11156         Likewise.
11157         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11158         Likewise.
11159         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11160         Likewise.
11161         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11162         Likewise.
11163         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
11164         Likewise.
11165         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11166         Replace ../i486/pthread_cond_timedwait.S with
11167         ../pthread_cond_timedwait.S.
11169 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
11171         * math/libm-test.inc (acos_test_data): Refine expectations for
11172         errno and "inexact" exceptions.
11173         (acosh_test_data): Likewise.
11174         (asin_test_data): Likewise.
11175         (asinh_test_data): Likewise.
11176         (atan_test_data): Likewise.
11177         (atanh_test_data): Likewise.
11178         (atan2_test_data): Likewise.
11179         (cbrt_test_data): Likewise.
11180         (ceil_test_data): Likewise.
11181         (copysign_test_data): Likewise.
11182         (cosh_test_data): Likewise.
11183         (erf_test_data): Likewise.
11184         (erfc_test_data): Likewise.
11185         (exp_test_data): Likewise.
11186         (exp10_test_data): Likewise.
11187         (exp2_test_data): Likewise.
11188         (expm1_test_data): Likewise.
11189         (fabs_test_data): Likewise.
11190         (floor_test_data): Likewise.
11191         (fma_test_data): Likewise.
11192         (fmax_test_data): Likewise.
11193         (fmin_test_data): Likewise.
11194         (fmod_test_data): Likewise.
11195         (fpclassify_test_data): Likewise.
11196         (frexp_test_data): Likewise.
11197         (hypot_test_data): Likewise.
11198         (ilogb_test_data): Likewise.
11199         (isgreater_test_data): Likewise.
11200         (isgreaterequal_test_data): Likewise.
11201         (isinf_test_data): Likewise.
11202         (isless_test_data): Likewise.
11203         (islessequal_test_data): Likewise.
11204         (islessgreater_test_data): Likewise.
11205         (isnan_test_data): Likewise.
11206         (isnormal_test_data): Likewise.
11207         (issignaling_test_data): Likewise.
11208         (isunordered_test_data): Likewise.
11209         (j0_test_data): Likewise.
11210         (j1_test_data): Likewise.
11211         (jn_test_data): Likewise.
11212         (lgamma_test_data): Likewise.
11213         (lrint_test_data): Likewise.
11214         (llrint_test_data): Likewise.
11215         (log_test_data): Likewise.
11216         (log10_test_data): Likewise.
11217         (log1p_test_data): Likewise.
11218         (log2_test_data): Likewise.
11219         (logb_test_data): Likewise.
11220         (lround_test_data): Likewise.
11221         (llround_test_data): Likewise.
11222         (modf_test_data): Likewise.
11223         (nearbyint_test_data): Likewise.
11224         (nextafter_test_data): Likewise.
11225         (nexttoward_test_data): Likewise.
11226         (pow_test_data): Likewise.
11227         (remainder_test_data): Likewise.
11228         (remquo_test_data): Likewise.
11229         (rint_test_data): Likewise.
11230         (round_test_data): Likewise.
11231         (signbit_test_data): Likewise.
11232         (sinh_test_data): Likewise.
11233         (sqrt_test_data): Likewise.
11234         (tanh_test_data): Likewise.
11235         (tgamma_test_data): Likewise.
11236         (trunc_test_data): Likewise.
11237         (y0_test_data): Likewise.
11238         (y1_test_data): Likewise.
11239         (yn_test_data): Likewise.
11240         (significand_test_data): Likewise.
11242 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
11244         * manual/filesys.texi (Storage Allocation): Document that
11245         posix_fallocate emulation fails when fd is open with O_WRONLY.
11247 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
11249         [BZ #19016]
11250         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
11251         allow more cases with X^2 + Y^2 >= 0.5.
11252         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
11253         normal element in sum instead of special-casing based on values of
11254         arguments.
11255         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
11256         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
11257         -1 as normal element in sum instead of special-casing based on
11258         values of arguments.
11259         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
11260         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
11261         (__x2y2m1): Update comment.
11262         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
11263         as normal element in sum instead of special-casing based on values
11264         of arguments.
11265         * math/s_clog.c (__clog): Handle more cases using log1p without
11266         hypot.
11267         * math/s_clog10.c (__clog10): Likewise.
11268         * math/s_clog10f.c (__clog10f): Likewise.
11269         * math/s_clog10l.c (__clog10l): Likewise.
11270         * math/s_clogf.c (__clogf): Likewise.
11271         * math/s_clogl.c (__clogl): Likewise.
11272         * math/auto-libm-test-in: Add more tests of clog and clog10.
11273         * math/auto-libm-test-out: Regenerated.
11274         * sysdeps/i386/fpu/libm-test-ulps: Update.
11275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11277 2015-09-28  Martin Sebor  <msebor@redhat.com>
11279         [BZ #18969]
11280         * string/Makefile (LOCALES): Define.
11281         (gen-locales.mk): Include.
11282         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
11283         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
11284         * string/tst-strxfrm2.c (do_test): Print the name of the locale
11285         on setlocale failure.
11287 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
11289         [BZ #18985]
11290         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
11291         (__strftime_internal): Likewise.
11292         * time/tst-strftime.c (do_bz18985): New test.
11293         (do_test): Call it.
11295 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
11297         [BZ #18956]
11298         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
11299         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
11300         extracting high part.
11301         * math/auto-libm-test-in: Add another test of pow.
11302         * math/auto-libm-test-out: Regenerated.
11303         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11305 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
11307         [BZ #18825]
11308         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
11309         New macro.
11310         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
11311         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11312         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
11313         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
11314         DBL_NARROW_EVAL, reloading the PIC register as needed.
11315         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
11316         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
11317         FLT_NARROW_EVAL.  Use separate return path for case when first
11318         argument is NaN.
11319         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
11320         DEFINE_LDBL_MIN.
11321         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
11322         PIC register.
11323         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
11324         math_check_force_underflow_nonneg.
11325         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
11326         underflow for subnormal result.
11327         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11328         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
11329         math_check_force_underflow_nonneg.
11330         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
11331         math_check_force_underflow.
11332         * sysdeps/x86_64/fpu/x86_64-math-asm.h
11333         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
11334         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
11335         DEFINE_LDBL_MIN.
11336         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
11337         * math/auto-libm-test-in: Add more tests of pow.
11338         * math/auto-libm-test-out: Regenerated.
11340 2015-09-25  Florian Weimer  <fweimer@redhat.com>
11342         * nss/bug17079.c (init_test_items): Add diagnostic for
11343         inconsistent entries.
11344         (test_buffer_size): Skip inconsistent entries.
11346 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
11348         [BZ #13304]
11349         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
11350         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
11351         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
11353         [BZ #13304]
11354         * sysdeps/microblaze/s_fma.c: New file.
11355         * sysdeps/microblaze/s_fmaf.c: Likewise.
11356         * sysdeps/microblaze/sfp-machine.h: Likewise.
11358 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
11360         [BZ #17250]
11361         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
11362         member.
11364 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
11366         [BZ #18803]
11367         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
11368         (MO): New macro.
11369         (__ieee754_hypot) [PIC]: Load PIC register.
11370         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
11371         DBL_NARROW_EVAL.
11372         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
11373         math_check_force_underflow_nonneg in case where result might be
11374         tiny.
11375         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11376         Likewise.
11377         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11378         Likewise.
11379         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11380         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
11381         * math/auto-libm-test-in: Add more tests of hypot.
11382         * math/auto-libm-test-out: Regenerated.
11384 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
11386         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
11388 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
11390         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
11391         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
11392         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11393         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11394         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
11395         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11396         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11398         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
11399         LOAD_PIC_REG.
11401         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
11402         (FLT_CHECK_FORCE_UFLOW): Likewise.
11403         (DBL_CHECK_FORCE_UFLOW): Likewise.
11404         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
11405         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
11406         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
11407         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11408         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11409         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11410         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11411         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11412         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
11413         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11414         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
11415         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
11416         (flt_min): Replace with use of DEFINE_FLT_MIN.
11417         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
11418         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
11419         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11420         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
11421         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
11422         (flt_min): Replace with use of DEFINE_FLT_MIN.
11423         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
11424         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
11425         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11426         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
11427         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
11428         (flt_min): Replace with use of DEFINE_FLT_MIN.
11429         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
11430         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
11431         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11432         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11433         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
11434         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11435         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11436         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
11437         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11438         (__atan): Use DBL_CHECK_FORCE_UFLOW.
11439         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
11440         (flt_min): Replace with use of DEFINE_FLT_MIN.
11441         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
11442         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
11443         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11444         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
11445         main computation.
11446         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
11447         (flt_min): Replace with use of DEFINE_FLT_MIN.
11448         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
11449         main computation.
11450         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
11451         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11452         (MO): New macro.
11453         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
11454         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
11455         (flt_min): Replace with use of DEFINE_FLT_MIN.
11456         (MO): New macro.
11457         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
11458         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
11459         (__log1pl): Use MO.
11461         [BZ #19003]
11462         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
11463         $(config-cflags-nofma).
11465 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11467         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11469 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
11471         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
11472         (TWO127): Likewise.
11474         * sysdeps/generic/math_private.h (fabs_tg): New macro.
11475         (min_of_type): Likewise.
11476         (math_check_force_underflow): Likewise.
11477         (math_check_force_underflow_nonneg): Likewise.
11478         (math_check_force_underflow_complex): Likewise.
11479         * math/e_exp2l.c (__ieee754_exp2l): Use
11480         math_check_force_underflow_nonneg.
11481         * math/k_casinh.c (__kernel_casinh): Likewise.
11482         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11483         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11484         * math/s_catan.c (__catan): Use
11485         math_check_force_underflow_complex.
11486         * math/s_catanf.c (__catanf): Likewise.
11487         * math/s_catanh.c (__catanh): Likewise.
11488         * math/s_catanhf.c (__catanhf): Likewise.
11489         * math/s_catanhl.c (__catanhl): Likewise.
11490         * math/s_catanl.c (__catanl): Likewise.
11491         * math/s_ccosh.c (__ccosh): Likewise.
11492         * math/s_ccoshf.c (__ccoshf): Likewise.
11493         * math/s_ccoshl.c (__ccoshl): Likewise.
11494         * math/s_cexp.c (__cexp): Likewise.
11495         * math/s_cexpf.c (__cexpf): Likewise.
11496         * math/s_cexpl.c (__cexpl): Likewise.
11497         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
11498         * math/s_clog10.c (__clog10): Likewise.
11499         * math/s_clog10f.c (__clog10f): Likewise.
11500         * math/s_clog10l.c (__clog10l): Likewise.
11501         * math/s_clogf.c (__clogf): Likewise.
11502         * math/s_clogl.c (__clogl): Likewise.
11503         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
11504         * math/s_csinf.c (__csinf): Likewise.
11505         * math/s_csinh.c (__csinh): Likewise.
11506         * math/s_csinhf.c (__csinhf): Likewise.
11507         * math/s_csinhl.c (__csinhl): Likewise.
11508         * math/s_csinl.c (__csinl): Likewise.
11509         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
11510         * math/s_csqrtf.c (__csqrtf): Likewise.
11511         * math/s_csqrtl.c (__csqrtl): Likewise.
11512         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
11513         * math/s_ctanf.c (__ctanf): Likewise.
11514         * math/s_ctanh.c (__ctanh): Likewise.
11515         * math/s_ctanhf.c (__ctanhf): Likewise.
11516         * math/s_ctanhl.c (__ctanhl): Likewise.
11517         * math/s_ctanl.c (__ctanl): Likewise.
11518         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
11519         instead of volatile.
11520         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
11521         math_check_force_underflow.
11522         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11523         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
11524         volatile when forcing underflow.
11525         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11526         math_check_force_underflow_nonneg.
11527         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11528         Likewise.
11529         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
11530         math_check_force_underflow.
11531         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11532         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11533         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11534         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
11535         math_check_force_underflow_nonneg.
11536         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
11537         math_check_force_underflow.
11538         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
11539         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
11540         instead of volatile.
11541         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
11542         math_check_force_underflow.
11543         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11544         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
11545         math_check_force_underflow_nonneg.
11546         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
11547         math_check_force_underflow.
11548         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
11549         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11550         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
11551         math_check_force_underflow_nonneg.
11552         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11553         Likewise.
11554         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
11555         math_check_force_underflow.
11556         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11557         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11558         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
11559         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
11560         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11561         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
11562         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
11563         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
11564         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11565         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
11566         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
11567         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
11568         Likewise.
11569         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
11570         math_check_force_underflow_nonneg.
11571         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11572         Likewise.
11573         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
11574         math_check_force_underflow.
11575         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11576         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
11577         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11578         Likewise.
11579         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
11580         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
11581         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
11582         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
11583         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
11584         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
11585         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
11586         instead of volatile.
11587         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
11588         math_check_force_underflow.
11589         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
11590         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
11591         math_check_force_underflow.
11592         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
11593         Likewise.
11594         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11595         Use math_check_force_underflow_nonneg.
11596         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
11597         math_check_force_underflow.
11598         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
11599         Likewise.
11600         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11601         Likewise.
11602         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11603         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11604         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11605         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11606         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
11607         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11608         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
11609         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
11610         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
11611         math_check_force_underflow_nonneg.
11612         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
11613         math_check_force_underflow.
11614         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11615         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
11616         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
11617         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
11618         math_check_force_underflow_nonneg.
11619         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
11620         math_check_force_underflow.
11621         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
11622         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
11623         instead of volatile.
11624         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
11625         math_check_force_underflow.
11627         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
11628         * stdlib/strtod_l.c: Include <math_private.h>.
11629         (overflow_value): Use math_narrow_eval.
11630         (underflow_value): Likewise.
11631         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11632         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11633         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
11634         (__ieee754_gamma_r): Likewise.
11635         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
11636         Likewise.
11637         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11638         Likewise.
11639         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
11640         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
11641         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
11642         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
11643         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11644         (__ieee754_gammaf_r): Likewise.
11645         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11646         Likewise.
11647         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
11648         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
11649         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
11650         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
11651         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
11652         volatile.
11653         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
11654         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
11655         math_narrow_eval.
11656         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11657         Likewise.
11658         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11659         Likewise.
11660         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
11661         Likewise.
11662         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
11663         volatile.
11664         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
11665         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
11666         math_narrow_eval.
11667         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11668         Likewise.
11669         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11670         Likewise.
11672 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
11674         * nptl/Versions: Remove ignored symbols.
11676 2015-09-22  Florian Weimer  <fweimer@redhat.com>
11678         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
11679         * nss/Makefile (tests): Update.
11681 2015-09-22  Florian Weimer  <fweimer@redhat.com>
11683         * nss/bug18287.c: New file.
11684         * nss/Makefile (tests): Add bug18287.
11686 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11688         * mach/Versions (__mach_host_self_): Add symbol.
11690 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11692         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
11693         vm_page_size.
11695 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11697         Really fix sysdeps/i386/fpu/s_scalbn.S build
11699         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
11700         (libc: GLIBC_2_22): Remove unused version set.
11702 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
11704         * config.make.in (enable-timezone-tools): New variable.
11705         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
11706         (enable_timezone_tools): Export to generated files.
11707         * configure: Regenerate.
11708         * INSTALL: Regenerate.
11709         * manual/install.texi (--disable-timezone-tools): Document new flag.
11710         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
11711         ifeq ($(enable-timezone-tools),yes) check.
11713 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11715         * timezone/Makefile: Revert previous change.
11717         [BZ #18980]
11718         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
11719         (DEFINE_DBL_MIN): Likewise.
11720         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
11721         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
11722         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
11723         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
11724         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
11725         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11726         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11727         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
11728         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
11729         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11730         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11731         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
11732         (flt_min): Replace with use of DEFINE_FLT_MIN.
11733         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11734         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
11735         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11736         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11737         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
11738         (flt_min): Replace with use of DEFINE_FLT_MIN.
11739         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11740         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
11741         (flt_min): Replace with use of DEFINE_FLT_MIN.
11742         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11743         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
11744         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
11745         (__ieee754_hypot): Use DBL_NARROW_EVAL.
11746         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
11747         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
11748         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
11749         (__ieee754_pow): Use DBL_NARROW_EVAL.
11750         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
11751         (__ieee754_powf): Use FLT_NARROW_EVAL.
11752         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
11753         (__ieee754_expf_sse2): Convert double-precision result to single
11754         precision.
11755         * sysdeps/i386/fpu/libm-test-ulps: Update.
11757 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11759         * timezone/Makefile: Ignore unused variable errors due to private.h
11760         (time_t_min) and (time_t_max).
11761         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
11762         Likewise.
11764 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11766         [BZ #18981]
11767         * sysdeps/i386/fpu/i386-math-asm.h: New file.
11768         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
11769         (__ieee754_scalb): Use DBL_NARROW_EVAL.
11770         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
11771         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
11772         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
11773         (__scalbn): Use DBL_NARROW_EVAL.
11774         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
11775         (__scalbnf): Use FLT_NARROW_EVAL.
11777 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11779         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
11780         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
11781         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
11782         * stdio-common/printf_fp.c (___printf_fp):
11783         Use signbit to get the sign. Use isinf macro to allow inlining.
11784         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
11785         * stdio-common/printf_size.c (__printf_size): Likewise.
11787 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
11789         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
11791 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11793         [BZ #18980]
11794         * sysdeps/generic/math_private.h: Include <float.h>.
11795         (math_narrow_eval): New macro.
11796         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11797         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
11798         math_narrow_eval on overflowing return value.
11799         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
11800         Likewise.
11801         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11802         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
11803         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
11804         Likewise.
11805         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11807 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11809         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
11810         * math/Makefile: Remove isinf_ns.c.
11811         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
11812         * math/multc3.c (__multc3): Likewise.
11813         * math/s_casin.c (__casin): Likewise.
11814         * math/s_casinf.c (__casinf): Likewise.
11815         * math/s_casinl.c (__casinl): Likewise.
11816         * math/s_cproj.c (__cproj): Likewise.
11817         * math/s_cprojf.c (__cprojf): Likewise.
11818         * math/s_cprojl.c (__cprofl): Likewise.
11819         * math/s_ctan.c (__ctan): Likewise.
11820         * math/s_ctanf.c (__ctanf): Likewise.
11821         * math/s_ctanh.c (__ctanh): Likewise.
11822         * math/s_ctanhf.c (__ctanhf): Likewise.
11823         * math/s_ctanhl.c (__ctanhl): Likewise.
11824         * math/s_ctanl.c (__ctanl): Likewise.
11825         * math/w_fmod.c (__fmod): Likewise.
11826         * math/w_fmodf.c (__fmodf): Likewise.
11827         * math/w_fmodl.c (_fmodl): Likewise.
11828         * math/w_remainder.c (__remainder): Likewise.
11829         * math/w_remainderf.c (__remainderf): Likewise.
11830         * math/w_remainderl.c (__remainderl): Likewise.
11831         * math/w_scalb.c (__scalb): Likewise.
11832         * math/w_scalbf.c (__scalbf): Likewise.
11833         * math/w_scalbl.c (__scalbl): Likewise.
11834         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
11835         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
11836         with isinf.
11837         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
11838         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
11839         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
11840         __isinf_nsf with isinf.
11841         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
11842         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
11843         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
11844         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
11845         with isinf.
11846         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
11847         __isinf_nsl with isinf.
11848         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
11849         with isinf.
11850         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
11851         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
11852         __isinf_nsl with isinf.
11853         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
11854         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
11855         with isinf.
11857 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11859         * resolv/base64.c (rcsid): Remove unused static.
11860         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
11861         static.  (tqpi1): Likewise.
11862         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
11863         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
11864         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
11865         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
11866         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
11867         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
11868         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
11869         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
11870         Likewise.
11872 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
11874         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
11875         <nptl/pthreadP.h>.
11876         (_longjmp_unwind): Use __libc_ptf_call.
11877         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
11879 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
11881         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
11882         * sysdeps/arm/__longjmp.S: Likewise.
11884 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11886         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
11887         Use __builtin_signbit.
11888         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
11889         Use __builtin_signbitf.
11890         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
11891         Use __builtin_signbitl.
11892         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11893         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
11895 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11897         [BZ #15367]
11898         [BZ #17441]
11900         * math/Makefile: Build test-snan.c with -fsignaling-nans.
11901         * math/math.h (fpclassify): Use __builtin_fpclassify when
11902         available.  (signbit): Use __builtin_signbit(f/l).
11903         (isfinite): Use__builtin_isfinite.  (isnormal): Use
11904         __builtin_isnormal.  (isnan): Use __builtin_isnan.
11905         (isinf): Use __builtin_isinf_sign.
11907 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11909         * benchtests/Makefile: Add bench-math-inlines, link with libm.
11910         * benchtests/bench-math-inlines.c: New benchmark.
11911         * benchtests/bench-util.h: New file.
11912         * benchtests/bench-util.c: New file.
11913         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
11915 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
11917         * elf/tst-dlmopen1.c: Define TEST_SO.
11918         (do_test): Use TEST_SO.
11920         * elf/dl-load.c: Include libc-internal.h.
11921         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
11923 2015-09-18  Vincent Bernat  <vincent@bernat.im>
11925         [BZ #17887]
11926         * time/strptime_l.c (__strptime_internal): Make %z accept
11927         [+-]HH:MM time zones.
11929 2015-09-18  Vincent Bernat  <vincent@bernat.im>
11931         [BZ #17886]
11932         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
11933         valid time zone.
11935 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
11937         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
11938         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
11939         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11940         (__ASSUME_FDATASYNC): Delete.
11942 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11944         * conform/linknamespace.pl: Require weak undefined symbols to be
11945         in the standard namespace.
11946         (%strong_syms): Rename to %seen_syms.
11947         (%strong_seen): Rename to %seen_where.
11949 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
11951         [BZ #18970]
11952         * misc/error.c (error): Replace pthread_setcancelstate with
11953         __pthread_setcancelstate.
11954         (error_at_line): Likewise.
11955         * posix/wordexp.c (parse_comm): Likewise.
11956         * stdlib/fmtmsg.c (fmtmsg): Likewise.
11957         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
11958         (__pthread_setcancelstate): This.
11959         (pthread_setcancelstate): Add an alias.
11960         * nptl/nptl-init.c (pthread_functions): Replace
11961         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
11962         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
11963         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
11964         hidden_proto.
11965         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
11966         it with hidden_def.
11967         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
11968         (pthread_setcancelstate): Renamed to ...
11969         (__pthread_setcancelstate): This.
11970         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
11971         __libc_ptf_call with __pthread_setcancelstate.
11973 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11974             Andreas Schwab  <schwab@suse.de>
11976         [BZ #17118]
11977         * math/s_ctan.c (__ctan): Determine sign of zero real part of
11978         result when imaginary part of argument is infinite using sine and
11979         cosine.
11980         * math/s_ctanf.c (__ctanf): Likewise.
11981         * math/s_ctanl.c (__ctanl): Likewise.
11982         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
11983         of result when real part of argument is infinite using sine and
11984         cosine.
11985         * math/s_ctanhf.c (__ctanhf): Likewise.
11986         * math/s_ctanhl.c (__ctanhl): Likewise.
11987         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
11988         (ctanh_test_data): Add more tests of ctanh.
11990 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11992         [BZ #15384]
11993         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
11994         bit-mask as in subtraction.
11995         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
11996         Likewise.
11997         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
11998         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
11999         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
12001         [BZ #18951]
12002         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
12003         underflow exception for small results.
12004         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12005         Likewise.
12006         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12007         Likewise.
12008         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12009         Likewise.
12010         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12011         Likewise.
12012         * math/auto-libm-test-in: Add more tests of tgamma.
12013         * math/auto-libm-test-out: Regenerated.
12015 2015-09-17  Andreas Schwab  <schwab@suse.de>
12017         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
12019 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
12021         [BZ #18977]
12022         * math/bits/mathcalls.h
12023         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
12024         not declare.
12025         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
12026         Likewise.
12027         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
12028         Likewise.
12029         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
12030         Likewise.
12031         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
12032         Likewise.
12033         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
12034         Likewise.
12035         * conform/data/math.h-data
12036         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
12037         function.
12038         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
12039         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
12040         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
12041         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
12042         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
12043         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
12044         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
12045         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
12046         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
12047         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
12048         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
12050         [BZ #6803]
12051         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
12052         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
12053         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
12054         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
12055         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
12056         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
12057         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
12058         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
12059         [NO_LONG_DOUBLE] (scalbnl): Likewise.
12060         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
12061         Likewise.
12062         [NO_LONG_DOUBLE] (scalbnl): Likewise.
12063         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
12064         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
12065         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
12066         long_double_symbol calls.
12067         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
12068         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
12069         strong alias of __ldexpl.
12070         (scalbnl): Define using long_double_symbol.
12071         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
12072         Remove alias.
12073         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
12074         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
12075         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
12076         (scalbln_test_data): Add more errno expectations.
12078 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
12080         Cache the host port like we cache the task port.  This way we do not
12081         need to call the kernel just to get the port.  Furthermore, we no
12082         longer increase the reference count on every invocation of
12083         `mach_host_self'.
12085         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
12086         Protect declarations against the macro expansion.
12087         * mach/mach_init.c (__mach_host_self_): New variable.
12088         (mach_init): Initialize `__mach_host_self_'.
12089         * mach/mach_init.h (__mach_host_self_): New declaration.
12090         (__mach_host_self, mach_host_self): New macros.
12091         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
12092         Release reference.
12094 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
12096         [BZ #4404]
12097         * po/de.po: Update from Translation Project.
12099         [BZ #16415]
12100         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
12101         (__expm1l): Remove code to handle positive infinity and overflow.
12102         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
12103         variable.
12104         (__expm1l): Remove code to handle positive infinity and overflow.
12106 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
12107             Paul Pluzhnikov  <ppluzhnikov@google.com>
12109         [BZ #18872]
12110         * stdio-common/Makefile (tst-printf-bz18872): New test.
12111         (tst-printf-bz18872-mem.out): Likewise.
12112         * stdio-common/tst-printf-bz18872.sh: Generate new test.
12113         * stdio-common/vfprintf.c: Fix memory leaks.
12115 2015-09-16  Andreas Schwab  <schwab@suse.de>
12117         [BZ #17244]
12118         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
12119         Remove extra va_start/va_end calls.
12121         [BZ #17243]
12122         * posix/execl.c (execl): Add missing va_end.
12123         * posix/execle.c (execle): Likewise.
12124         * posix/execlp.c (execlp): Likewise.
12126 2015-09-15  Roland McGrath  <roland@hack.frob.com>
12128         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
12129         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
12131 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
12133         [BZ #18967]
12134         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
12135         undefine around includes of <bits/mathcalls.h>.
12136         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
12137         not declare function.
12138         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
12139         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
12140         (scalb): Likewise.
12141         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
12142         not define macro.
12143         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
12144         variable.
12145         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12146         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12147         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12149         [BZ #18857]
12150         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
12151         return non-finite argument without doing ordered comparisons on
12152         it.
12154         [BZ #16296]
12155         * math/fenv.h (fegetround): Use __attribute_pure__.
12156         * include/fenv.h (__fegetround): Likewise.
12158         [BZ #18595]
12159         * math/s_ctan.c (__ctan): Force underflow exception for results
12160         whose real or imaginary part has small absolute value.
12161         * math/s_ctanf.c (__ctanf): Likewise.
12162         * math/s_ctanh.c (__ctanh): Likewise.
12163         * math/s_ctanhf.c (__ctanhf): Likewise.
12164         * math/s_ctanhl.c (__ctanhl): Likewise.
12165         * math/s_ctanl.c (__ctanl): Likewise.
12166         * math/auto-libm-test-in: Do not allow missing underflow for ctan
12167         and ctanh.  Add more tests of ctan and ctanh.
12169         [BZ #15918]
12170         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
12171         handling of cases where one argument is an infinity.
12173         [BZ #18875]
12174         [BZ #18966]
12175         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
12176         (MO): New macro.
12177         (__ieee754_exp10): For small results, force underflow exception
12178         and remove excess range and precision from return value.
12179         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
12180         (MO): New macro.
12181         (__ieee754_exp10f): For small results, force underflow exception
12182         and remove excess range and precision from return value.
12183         * math/auto-libm-test-in: Add more tests of exp10.
12184         * math/auto-libm-test-out: Regenerated.
12186 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
12188         [BZ #18875]
12189         [BZ #18961]
12190         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
12191         (MO): New macro.
12192         (__ieee754_exp): For small results, force underflow exception and
12193         remove excess range and precision from return value.
12194         (__exp_finite): Likewise.
12195         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
12196         (MO): New macro.
12197         (__ieee754_expf): For small results, force underflow exception and
12198         remove excess range and precision from return value.
12199         (__expf_finite): Likewise.
12200         * math/auto-libm-test-in: Add more tests of exp.
12201         * math/auto-libm-test-out: Regenerated.
12203         [BZ #16521]
12204         [BZ #18875]
12205         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
12206         small results.
12207         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
12208         (MO): New macro.
12209         (__ieee754_exp2): For small results, force underflow exception and
12210         remove excess range and precision from return value.
12211         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
12212         (MO): New macro.
12213         (__ieee754_exp2f): For small results, force underflow exception
12214         and remove excess range and precision from return value.
12215         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
12216         (MO): New macro.
12217         (__ieee754_exp2l): Force underflow exception for small results.
12218         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12219         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12220         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
12221         (MO): New macro.
12222         (__ieee754_exp2l): Force underflow exception for small results.
12223         * math/auto-libm-test-in: Add more tests or exp2.
12224         * math/auto-libm-test-out: Regenerated.
12226 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
12228         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
12230         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
12231         /dev/null.
12233 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12235         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12236         io fs process)): Drop spurious backslash.
12238 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12240         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
12241         Use sysinfo system call instead of parsing /proc/meminfo.
12242         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
12243         Likewise.
12245 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
12247         [BZ #16985]
12248         * programs/localedef.c (main): Display argv[remaining] when
12249         output_path is NULL.
12251 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12253         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12254         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
12255         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
12256         tanh.
12257         * math/auto-libm-test-out: Regenerated.
12258         * sysdeps/i386/fpu/libm-test-ulps: Update.
12259         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12260         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12263 2015-09-11  Roland McGrath  <roland@hack.frob.com>
12265         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
12266         Use 'override' keyword to freeze the value here, preventing
12267         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
12269 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12271         [BZ #14912]
12272         * sysdeps/aarch64/bits/atomic.h: Move to ...
12273         * sysdeps/aarch64/atomic-machine.h: ...here.
12274         (_AARCH64_BITS_ATOMIC_H): Rename macro to
12275         _AARCH64_ATOMIC_MACHINE_H.
12276         * sysdeps/alpha/bits/atomic.h: Move to ...
12277         * sysdeps/alpha/atomic-machine.h: ...here.
12278         * sysdeps/arm/bits/atomic.h: Move to ...
12279         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
12280         * bits/atomic.h: Move to ...
12281         * sysdeps/generic/atomic-machine.h: ...here.
12282         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12283         * sysdeps/i386/bits/atomic.h: Move to ...
12284         * sysdeps/i386/atomic-machine.h: ...here.
12285         * sysdeps/ia64/bits/atomic.h: Move to ...
12286         * sysdeps/ia64/atomic-machine.h: ...here.
12287         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
12288         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
12289         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12290         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
12291         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
12292         * sysdeps/microblaze/bits/atomic.h: Move to ...
12293         * sysdeps/microblaze/atomic-machine.h: ...here.
12294         * sysdeps/mips/bits/atomic.h: Move to ...
12295         * sysdeps/mips/atomic-machine.h: ...here.
12296         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
12297         * sysdeps/powerpc/bits/atomic.h: Move to ...
12298         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
12299         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
12300         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
12301         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
12302         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
12303         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
12304         <atomic-machine.h> instead of <bits/atomic.h>.
12305         * sysdeps/s390/bits/atomic.h: Move to ...
12306         * sysdeps/s390/atomic-machine.h: ...here.
12307         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
12308         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
12309         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12310         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
12311         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
12312         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
12313         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
12314         * sysdeps/tile/bits/atomic.h: Move to ...
12315         * sysdeps/tile/atomic-machine.h: ...here.
12316         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
12317         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
12318         <sysdeps/tile/atomic-machine.h> instead of
12319         <sysdeps/tile/bits/atomic.h>.
12320         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12321         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
12322         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
12323         <sysdeps/tile/atomic-machine.h> instead of
12324         <sysdeps/tile/bits/atomic.h>.
12325         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12326         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
12327         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
12328         <sysdeps/arm/atomic-machine.h> instead of
12329         <sysdeps/arm/bits/atomic.h>.
12330         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
12331         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
12332         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12333         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
12334         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
12335         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12336         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
12337         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
12338         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
12339         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
12340         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
12341         * sysdeps/x86_64/bits/atomic.h: Move to ...
12342         * sysdeps/x86_64/atomic-machine.h: ...here.
12343         * include/atomic.h: Include <atomic-machine.h> instead of
12344         <bits/atomic.h>.
12346         * sysdeps/mips/mips32/libm-test-ulps: Update.
12347         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12349         [BZ #18952]
12350         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
12351         not convert non-integer negative arguments to int to determine the
12352         value of signgam.
12353         * math/auto-libm-test-in: Add more tests of lgamma.
12354         * math/auto-libm-test-out: Regenerated.
12356         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
12357         cosh, csqrt, erfc, expm1 and lgamma.
12358         * math/auto-libm-test-out: Regenerated.
12359         * sysdeps/i386/fpu/libm-test-ulps: Update.
12360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12362 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
12364         [BZ #2542]
12365         [BZ #2543]
12366         [BZ #2558]
12367         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
12368         __lgamma_neg for arguments from -28.0 to -2.0.
12369         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
12370         __lgamma_negf for arguments from -15.0 to -2.0.
12371         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12372         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
12373         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
12374         Call __lgamma_negl for arguments from -33.0 to -2.0.
12375         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
12376         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
12377         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12378         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
12379         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12380         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12381         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12382         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
12383         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12384         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
12385         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
12386         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
12387         (__lgamma_neg): Likewise.
12388         (__lgamma_negl): Likewise.
12389         (__lgamma_product): Likewise.
12390         (__lgamma_productl): Likewise.
12391         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
12392         * math/auto-libm-test-in: Add more tests of lgamma.
12393         * math/auto-libm-test-out: Regenerated.
12394         * sysdeps/i386/fpu/libm-test-ulps: Update.
12395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12397 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
12399         [BZ #18675]
12400         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
12402 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
12404         [BZ #14912]
12405         * bits/libc-lock.h: Move to ...
12406         * sysdeps/generic/libc-lock.h: ...here.
12407         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12408         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
12409         * sysdeps/mach/hurd/libc-lock.h: ...here.
12410         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12411         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
12412         * sysdeps/mach/bits/libc-lock.h: Move to ...
12413         * sysdeps/mach/libc-lock.h: ...here.
12414         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12415         * sysdeps/nptl/bits/libc-lock.h: Move to ...
12416         * sysdeps/nptl/libc-lock.h: ...here.
12417         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12418         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
12419         * sysdeps/nptl/libc-lockP.h: ...here.
12420         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
12421         * crypt/crypt_util.c: Include <libc-lock.h> instead of
12422         <bits/libc-lock.h>.
12423         * dirent/scandir-tail.c: Likewise.
12424         * dlfcn/dlerror.c: Likewise.
12425         * elf/dl-close.c: Likewise.
12426         * elf/dl-iteratephdr.c: Likewise.
12427         * elf/dl-lookup.c: Likewise.
12428         * elf/dl-open.c: Likewise.
12429         * elf/dl-support.c: Likewise.
12430         * elf/dl-writev.h: Likewise.
12431         * elf/rtld.c: Likewise.
12432         * grp/fgetgrent.c: Likewise.
12433         * gshadow/fgetsgent.c: Likewise.
12434         * gshadow/sgetsgent.c: Likewise.
12435         * iconv/gconv_conf.c: Likewise.
12436         * iconv/gconv_db.c: Likewise.
12437         * iconv/gconv_dl.c: Likewise.
12438         * iconv/gconv_int.h: Likewise.
12439         * iconv/gconv_trans.c: Likewise.
12440         * include/link.h: Likewise.
12441         * inet/getnameinfo.c: Likewise.
12442         * inet/getnetgrent.c: Likewise.
12443         * inet/getnetgrent_r.c: Likewise.
12444         * intl/bindtextdom.c: Likewise.
12445         * intl/dcigettext.c: Likewise.
12446         * intl/finddomain.c: Likewise.
12447         * intl/gettextP.h: Likewise.
12448         * intl/loadmsgcat.c: Likewise.
12449         * intl/localealias.c: Likewise.
12450         * intl/textdomain.c: Likewise.
12451         * libidn/idn-stub.c: Likewise.
12452         * libio/libioP.h: Likewise.
12453         * locale/duplocale.c: Likewise.
12454         * locale/freelocale.c: Likewise.
12455         * locale/newlocale.c: Likewise.
12456         * locale/setlocale.c: Likewise.
12457         * login/getutent_r.c: Likewise.
12458         * login/getutid_r.c: Likewise.
12459         * login/getutline_r.c: Likewise.
12460         * login/utmp-private.h: Likewise.
12461         * login/utmpname.c: Likewise.
12462         * malloc/mtrace.c: Likewise.
12463         * misc/efgcvt.c: Likewise.
12464         * misc/error.c: Likewise.
12465         * misc/fstab.c: Likewise.
12466         * misc/getpass.c: Likewise.
12467         * misc/mntent.c: Likewise.
12468         * misc/syslog.c: Likewise.
12469         * nis/nis_call.c: Likewise.
12470         * nis/nis_callback.c: Likewise.
12471         * nis/nss-default.c: Likewise.
12472         * nis/nss_compat/compat-grp.c: Likewise.
12473         * nis/nss_compat/compat-initgroups.c: Likewise.
12474         * nis/nss_compat/compat-pwd.c: Likewise.
12475         * nis/nss_compat/compat-spwd.c: Likewise.
12476         * nis/nss_nis/nis-alias.c: Likewise.
12477         * nis/nss_nis/nis-ethers.c: Likewise.
12478         * nis/nss_nis/nis-grp.c: Likewise.
12479         * nis/nss_nis/nis-hosts.c: Likewise.
12480         * nis/nss_nis/nis-network.c: Likewise.
12481         * nis/nss_nis/nis-proto.c: Likewise.
12482         * nis/nss_nis/nis-pwd.c: Likewise.
12483         * nis/nss_nis/nis-rpc.c: Likewise.
12484         * nis/nss_nis/nis-service.c: Likewise.
12485         * nis/nss_nis/nis-spwd.c: Likewise.
12486         * nis/nss_nisplus/nisplus-alias.c: Likewise.
12487         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
12488         * nis/nss_nisplus/nisplus-grp.c: Likewise.
12489         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
12490         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
12491         * nis/nss_nisplus/nisplus-network.c: Likewise.
12492         * nis/nss_nisplus/nisplus-proto.c: Likewise.
12493         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
12494         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
12495         * nis/nss_nisplus/nisplus-service.c: Likewise.
12496         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
12497         * nis/ypclnt.c: Likewise.
12498         * nptl/libc_pthread_init.c: Likewise.
12499         * nss/getXXbyYY.c: Likewise.
12500         * nss/getXXent.c: Likewise.
12501         * nss/getXXent_r.c: Likewise.
12502         * nss/nss_db/db-XXX.c: Likewise.
12503         * nss/nss_db/db-netgrp.c: Likewise.
12504         * nss/nss_db/nss_db.h: Likewise.
12505         * nss/nss_files/files-XXX.c: Likewise.
12506         * nss/nss_files/files-alias.c: Likewise.
12507         * nss/nsswitch.c: Likewise.
12508         * posix/regex_internal.h: Likewise.
12509         * posix/wordexp.c: Likewise.
12510         * pwd/fgetpwent.c: Likewise.
12511         * resolv/res_hconf.c: Likewise.
12512         * resolv/res_libc.c: Likewise.
12513         * shadow/fgetspent.c: Likewise.
12514         * shadow/lckpwdf.c: Likewise.
12515         * shadow/sgetspent.c: Likewise.
12516         * socket/opensock.c: Likewise.
12517         * stdio-common/reg-modifier.c: Likewise.
12518         * stdio-common/reg-printf.c: Likewise.
12519         * stdio-common/reg-type.c: Likewise.
12520         * stdio-common/vfprintf.c: Likewise.
12521         * stdio-common/vfscanf.c: Likewise.
12522         * stdlib/abort.c: Likewise.
12523         * stdlib/cxa_atexit.c: Likewise.
12524         * stdlib/fmtmsg.c: Likewise.
12525         * stdlib/random.c: Likewise.
12526         * stdlib/setenv.c: Likewise.
12527         * string/strsignal.c: Likewise.
12528         * sunrpc/auth_none.c: Likewise.
12529         * sunrpc/bindrsvprt.c: Likewise.
12530         * sunrpc/create_xid.c: Likewise.
12531         * sunrpc/key_call.c: Likewise.
12532         * sunrpc/rpc_thread.c: Likewise.
12533         * sysdeps/arm/backtrace.c: Likewise.
12534         * sysdeps/generic/ldsodefs.h: Likewise.
12535         * sysdeps/generic/stdio-lock.h: Likewise.
12536         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
12537         * sysdeps/i386/backtrace.c: Likewise.
12538         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12539         * sysdeps/m68k/backtrace.c: Likewise.
12540         * sysdeps/mach/hurd/cthreads.c: Likewise.
12541         * sysdeps/mach/hurd/dirstream.h: Likewise.
12542         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12543         * sysdeps/nptl/malloc-machine.h: Likewise.
12544         * sysdeps/nptl/stdio-lock.h: Likewise.
12545         * sysdeps/posix/dirstream.h: Likewise.
12546         * sysdeps/posix/getaddrinfo.c: Likewise.
12547         * sysdeps/posix/system.c: Likewise.
12548         * sysdeps/pthread/aio_suspend.c: Likewise.
12549         * sysdeps/s390/s390-32/backtrace.c: Likewise.
12550         * sysdeps/s390/s390-64/backtrace.c: Likewise.
12551         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12552         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12553         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
12554         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
12555         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
12556         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
12557         * sysdeps/unix/sysv/linux/system.c: Likewise.
12558         * sysdeps/x86_64/backtrace.c: Likewise.
12559         * time/alt_digit.c: Likewise.
12560         * time/era.c: Likewise.
12561         * time/tzset.c: Likewise.
12562         * wcsmbs/wcsmbsload.c: Likewise.
12563         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
12564         instead of <bits/libc-lock.h> in comment.
12566 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
12568         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
12569         Only use .set mips2 if the current ISA is below mips2.
12570         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
12571         Likewise.
12572         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
12573         mips32r2 if the current ISA is below mips32r2.
12574         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
12575         (TLS_IE): Updated to use the TLD_RDHWR macro.
12576         (TLS_LE): Likewise.
12577         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
12578         __ASSEMBLER__ condition.
12580 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12582         Fix parallel build of before-compile targets.
12584         * sysdeps/mach/Makefile ($(patsubst
12585         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
12586         mach-before-compile target.
12587         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12588         io fs process)): Move rule to dedicated hurd-before-compile target.
12590 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12592         Fix rules generating headers in hurd/ and mach/ when initial make call
12593         has subdir= explicitly set.
12595         * sysdeps/mach/Makefile ($(patsubst
12596         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
12597         calling $(MAKE).
12598         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12599         io fs process)): Force subdir to hurd when calling $(MAKE).
12600         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
12601         subdir to mach when calling $(MAKE).
12603 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
12605         Check sysheaders when looking for Mach and Hurd headers
12607         * sysdeps/mach/configure.ac: Add sysheaders check.
12608         * sysdeps/mach/configure: Regenerate.
12609         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
12610         * sysdeps/mach/hurd/configure: Regenerate.
12612 2015-09-04  Roland McGrath  <roland@hack.frob.com>
12614         [BZ #18921]
12615         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
12616         Fix inverted sense of test of 'o_directory_works' value.
12617         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
12618         Bernhard Voelker <mail@bernhard-voelker.de>.
12620 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
12622         [BZ #14912]
12623         * bits/linkmap.h: Move to ...
12624         * sysdeps/generic/linkmap.h: ...here.
12625         * sysdeps/aarch64/bits/linkmap.h: Move to ...
12626         * sysdeps/aarch64/linkmap.h: ...here.
12627         * sysdeps/arm/bits/linkmap.h: Move to ...
12628         * sysdeps/arm/linkmap.h: ...here.
12629         * sysdeps/hppa/bits/linkmap.h: Move to ...
12630         * sysdeps/hppa/linkmap.h: ...here.
12631         * sysdeps/ia64/bits/linkmap.h: Move to ...
12632         * sysdeps/ia64/linkmap.h: ...here.
12633         * sysdeps/mips/bits/linkmap.h: Move to ...
12634         * sysdeps/mips/linkmap.h: ...here.
12635         * sysdeps/s390/bits/linkmap.h: Move to ...
12636         * sysdeps/s390/linkmap.h: ...here.
12637         * sysdeps/sh/bits/linkmap.h: Move to ...
12638         * sysdeps/sh/linkmap.h: ...here.
12639         * sysdeps/x86/bits/linkmap.h: Move to ...
12640         * sysdeps/x86/linkmap.h: ...here.
12641         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
12643 2015-09-04  Andreas Schwab  <schwab@suse.de>
12645         [BZ #18635]
12646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
12647         (__makecontext): Terminate FDE before return label.
12648         (__novec_makecontext): Likewise.
12650 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12652         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
12653         first member of struct sv in syscall macro.
12655 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
12657         [BZ #14912]
12658         * bits/stdio-lock.h: Move to ...
12659         * sysdeps/generic/stdio-lock.h: ...here.
12660         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12661         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
12662         * sysdeps/nptl/stdio-lock.h: ...here.
12663         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12664         * include/libio.h: Include <stdio-lock.h> instead of
12665         <bits/stdio-lock.h>.
12666         * sysdeps/nptl/fork.c: Likewise.
12667         * sysdeps/pthread/flockfile.c: Likewise.
12668         * sysdeps/pthread/ftrylockfile.c: Likewise.
12669         * sysdeps/pthread/funlockfile.c: Likewise.
12671         [BZ #14912]
12672         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
12673         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
12674         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
12675         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
12676         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
12677         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12678         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
12680 2015-09-03  Roland McGrath  <roland@hack.frob.com>
12682         * elf/Makefile (test-xfail-tst-protected1a): New variable.
12683         (test-xfail-tst-protected1b): New variable.
12685 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
12687         [BZ #14912]
12688         * bits/libc-tsd.h: Move to ...
12689         * sysdeps/generic/libc-tsd.h: ...here.
12690         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
12691         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
12692         * sysdeps/mach/hurd/libc-tsd.h: ...here.
12693         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
12694         * include/ctype.h: Include <libc-tsd.h> instead of
12695         <bits/libc-tsd.h>.
12696         * include/rpc/rpc.h: Likewise.
12697         * locale/localeinfo.h: Likewise.
12698         * sunrpc/rpc_thread.c: Likewise.
12699         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12700         * sysdeps/nptl/malloc-machine.h: Likewise.
12702         * Makefile (headers): Remove bits/libc-lock.h.
12703         * libio/Makefile (headers): Remove bits/stdio-lock.h.
12705         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
12706         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
12707         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
12708         <bits/stdio-lock.h>.
12709         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
12710         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
12712 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
12714         [BZ #18757]
12715         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
12716         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
12717         BZ #18757.
12719 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
12721         * malloc/mtrace.pl: Filter out NULL entries.
12723 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
12725         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
12726         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
12727         macro.
12729         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
12730         (TCP_CC_INFO): Likewise.
12731         (TCP_SAVE_SYN): Likewise.
12732         (TCP_SAVED_SYN): Likewise.
12734 2015-08-31  Brett Neumeier <brett@neumeier.us>
12736         [BZ #18870]
12737         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
12739 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
12741         [BZ #18873]
12742         Fix broken overflow check in posix_fallocate
12743         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
12744         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
12745         Fix parenthesization typo.
12747 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
12749         [BZ #18887]
12750         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
12751         tst-mntent-blank-passno.
12752         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
12753         * misc/tst-mntent-blank-corrupt.c: New test.
12754         * misc/tst-mntent-blank-passno.c: New test ripped from ...
12755         * misc/tst-mntent.c (do_test): ... here.
12757 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
12759         [BZ #4404]
12760         * po/de.po: Fix SIGALRM typo.
12762 2015-08-28  James Perkins  <james@loowit.net>
12764         * time/tst-strptime2.c (tests): Replace short list of test
12765         strings for strptime %z specifier with code which exhaustively
12766         tests every combination of sign and 0 to 5 digits. Tests for
12767         rejection of invalid strings.
12769 2015-08-28  James Perkins  <james@loowit.net>
12771         [BZ #16141]
12772         * time/strptime_l.c (__strptime_internal): Fix %z minutes
12773         calculation, removing incorrect decimal time rounding, so that
12774         all minute values result in a valid seconds value.
12775         * time/strptime_l.c (__strptime_internal): Extend %z time zone
12776         offset range limits to UTC-99:59 through UTC+99:59 to parse
12777         current and historical use cases.
12778         * time/tst-strptime2.c (tests): Modify and add tests for the
12779         strptime %z input field descriptor, specifically conversion of
12780         minutes to seconds and validating an offset range of -9959 to
12781         +9959.
12783 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12784             Dmitry V. Levin  <ldv@altlinux.org>
12786         [BZ #18877]
12787         * posix/Makefile (tests): Add tst-mmap-offset.
12788         * posix/tst-mmap.c: New file.
12789         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
12790         offset calculation for negative values.
12792 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12794         * sysdeps/i386/init-arch.h: New file.
12795         * sysdeps/i386/i586/init-arch.h: Likewise.
12796         * sysdeps/i386/i686/init-arch.h: Likewise.
12797         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
12798         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
12799         * sysdeps/x86/cpu-features.h (bit_I586): New.
12800         (bit_I686): Likewise.
12801         (bit_CX8): Likewise.
12802         (bit_CMOV): Likewise.
12803         (index_CX8): Likewise.
12804         (index_CMOV): Likewise.
12805         (index_I586): Likewise.
12806         (index_I686): Likewise.
12807         (reg_CX8): Likewise.
12808         (reg_CMOV): Likewise.
12809         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
12810         available at compile-time.
12811         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
12812         available at compile-time.
12813         * sysdeps/x86/init-arch.h (USE_I586): New macro.
12814         (USE_I686): Likewise.
12816 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12818         * sysdeps/i386/bcopy.S: New file.
12819         * sysdeps/i386/bzero.S: Likewise.
12820         * sysdeps/i386/memcpy.S: Likewise.
12821         * sysdeps/i386/memmove.S: Likewise.
12822         * sysdeps/i386/mempcpy.S: Likewise.
12823         * sysdeps/i386/memset.S: Likewise.
12824         * sysdeps/i386/bzero.c: Removed.
12825         * sysdeps/i386/memset.c: Likewise.
12826         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
12827         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
12828         * sysdeps/i386/i586/memset_chk.S: Likewise.
12829         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
12830         * sysdeps/i386/memcpy_chk.S: Here.
12831         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
12832         * sysdeps/i386/memmove_chk.S: Here.
12833         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
12834         * sysdeps/i386/mempcpy_chk.S: Likewise.
12835         * sysdeps/i386/i686/memset_chk.S: Moved to ...
12836         * sysdeps/i386/memset_chk.S: Likewise.
12838 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
12840         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
12841         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
12842         file, move DIAG_POP_NEEDS_COMMENT to end of file.
12843         * soft-fp/fmadf4.c: Ditto.
12844         * soft-fp/fmatf4.c: Ditto.
12846 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12848         * sysdeps/i386/i586/Implies: Removed.
12849         * sysdeps/i386/i686/Implies: Likewise.
12851 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12853         * sysdeps/i386/i486/strlen.S: Moved to ...
12854         * sysdeps/i386/strlen.S: Here.
12856 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12858         * sysdeps/i386/i486/strcat.S: Moved to ...
12859         * sysdeps/i386/strcat.S: Here.
12861 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12863         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
12864         * sysdeps/i386/pthread_spin_trylock.S: Here.
12865         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
12866         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
12868 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12870         * sysdeps/i386/i486/string-inlines.c: Moved to ...
12871         * sysdeps/i386/string-inlines.c: Here.
12873 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12875         * sysdeps/i386/i486/htonl.S: Moved ...
12876         * sysdeps/i386/htonl.S: here.
12878 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12880         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
12881         * sysdeps/i386/bits/atomic.h: Here.
12883 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12885         * sysdeps/i386/i486/Versions: Removed.
12887 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
12889         [BZ #2898]
12890         * misc/mktemp.c: Add mkdtemp to the link_warning message.
12891         Based on patch by Aurelien Jarno.
12893 2015-08-26  Stan Shebs  <stanshebs@google.com>
12895         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
12896         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12898 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12900         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
12901         * sysdeps/powerpc/dl-procinfo.c:
12902         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
12903         feature so it shows when LD_SHOW_AUXV=1.
12905 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12907         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12908         (__arch_compare_and_exchange_val_32_acq): Remove and use common
12909         definition.  ISA 2.07B no longer requires full sync.
12911 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
12913         [BZ #18863]
12914         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
12915         (si_call_addr): Define.
12916         (si_syscall): Define.
12917         (si_arch): Define.
12919 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
12921         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
12922         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
12923         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
12924         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
12925         (__memset_zero_constant_len_parameter): New.
12926         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
12927         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
12928         (__memset_zero_constant_len_parameter): Don't define if
12929         __memset_chk or USE_AS_BZERO are defined.
12931         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
12932         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
12933         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
12935         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
12936         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
12937         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
12938         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
12939         comments.
12940         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
12941         -mno-mmx for $(all-rtld-routines).
12942         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
12943         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
12944         i386.
12946 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
12948         * sysdeps/generic/unwind.h
12949         (_Unwind_Word): Use __mode__(__unwind_word__)
12950         instead of __mode__(__word__).
12951         (_Unwind_Sword): Likewise.
12953         * sysdeps/s390/s390-64/utf8-utf16-z9.c
12954         (MAX_NEEDED_INPUT): New define.
12955         (MAX_NEEDED_OUTPUT): New define.
12957         * NEWS: New item for IBM z13 string optimizations.
12959         * sysdeps/s390/multiarch/memrchr-c.c: New File.
12960         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
12961         * sysdeps/s390/multiarch/memrchr.c: Likewise.
12962         * sysdeps/s390/multiarch/Makefile
12963         (sysdep_routines): Add memrchr functions.
12964         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12965         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
12967         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
12968         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
12969         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
12970         * sysdeps/s390/multiarch/Makefile
12971         (sysdep_routines): Add wmemcmp functions.
12972         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12973         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
12974         * benchtests/bench-wmemcmp.c: New File.
12975         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
12977         * sysdeps/s390/multiarch/wmemset-c.c: New File.
12978         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
12979         * sysdeps/s390/multiarch/wmemset.c: Likewise.
12980         * sysdeps/s390/multiarch/Makefile
12981         (sysdep_routines): Add wmemset functions.
12982         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12983         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
12984         * wcsmbs/wmemset.c: Use WMEMSET if defined.
12985         * string/test-memset.c: Add wmemset support.
12986         * wcsmbs/test-wmemset.c: New File.
12987         * wcsmbs/Makefile (strop-tests): Add wmemset.
12988         * benchtests/bench-memset.c: Add wmemset support.
12989         * benchtests/bench-wmemset.c: New File.
12990         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
12992         * sysdeps/s390/multiarch/memccpy-c.c: New File.
12993         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
12994         * sysdeps/s390/multiarch/memccpy.c: Likewise.
12995         * sysdeps/s390/multiarch/Makefile
12996         (sysdep_routines): Add memccpy functions.
12997         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12998         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
12999         * string/memccpy.c: Use MEMCCPY if defined.
13001         * sysdeps/s390/multiarch/memchr-vx.S: New File.
13002         * sysdeps/s390/multiarch/memchr.c: Likewise.
13003         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
13004         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
13005         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
13006         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
13007         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
13008         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
13009         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
13010         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
13011         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
13012         and rawmemchr functions.
13013         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13014         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
13015         and wmemchr.
13016         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
13017         * string/test-memchr.c: Add wmemchr support.
13018         * wcsmbs/test-wmemchr.c: New File.
13019         * wcsmbs/Makefile (strop-tests): Add wmemchr.
13020         * benchtests/bench-memchr.c: Add wmemchr support.
13021         * benchtests/bench-wmemchr.c: New File.
13022         * benchtests/Makefile (wcsmbs-bench): wmemchr.
13024         * sysdeps/s390/multiarch/strcspn-c.c: New File.
13025         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
13026         * sysdeps/s390/multiarch/strcspn.c: Likewise.
13027         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
13028         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
13029         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
13030         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
13031         wcscspn functions.
13032         * sysdeps/s390/multiarch/ifunc-impl-list.c
13033         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
13034         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
13035         * string/test-strcspn.c: Add wcscspn support.
13036         * wcsmbs/test-wcscspn.c: New File.
13037         * wcsmbs/Makefile (strop-tests): Add wcscspn.
13038         * benchtests/bench-strcspn.c: Add wcscspn support.
13039         * benchtests/bench-wcscspn.c: New File.
13040         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
13042         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
13043         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
13044         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
13045         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
13046         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
13047         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
13048         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
13049         wcspbrk functions.
13050         * sysdeps/s390/multiarch/ifunc-impl-list.c
13051         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
13052         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
13053         * string/test-strpbrk.c: Add wcspbrk support.
13054         * wcsmbs/test-wcspbrk.c: New File.
13055         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
13056         * benchtests/bench-strpbrk.c: Add wcspbrk support.
13057         * benchtests/bench-wcspbrk.c: New File.
13058         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
13060         * sysdeps/s390/multiarch/strspn-c.c: New File.
13061         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
13062         * sysdeps/s390/multiarch/strspn.c: Likewise.
13063         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
13064         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
13065         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
13066         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
13067         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
13068         wcsspn functions.
13069         * sysdeps/s390/multiarch/ifunc-impl-list.c
13070         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
13071         * string/test-strspn.c: Add wcsspn support.
13072         * wcsmbs/test-wcsspn.c: New File.
13073         * wcsmbs/Makefile (strop-tests): Add wcsspn.
13074         * benchtests/bench-strspn.c: Add wcsspn support.
13075         * benchtests/bench-wcsspn.c: New File.
13076         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
13078         * sysdeps/s390/multiarch/strrchr-c.c: New File.
13079         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
13080         * sysdeps/s390/multiarch/strrchr.c: Likewise.
13081         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
13082         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
13083         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
13084         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
13085         wcsrchr functions.
13086         * sysdeps/s390/multiarch/ifunc-impl-list.c
13087         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
13088         * benchtests/bench-wcsrchr.c: New File.
13089         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
13091         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
13092         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
13093         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
13094         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
13095         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
13096         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
13097         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
13098         wcschrnul functions.
13099         * sysdeps/s390/multiarch/ifunc-impl-list.c
13100         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
13101         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
13102         * string/test-strchr.c: Add wcschrnul support.
13103         * wcsmbs/test-wcschrnul.c: New File.
13104         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
13105         * benchtests/bench-strchr.c: Add wcschrnul support.
13106         * benchtests/bench-wcschrnul.c: New File.
13107         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
13109         * sysdeps/s390/multiarch/strchr-c.c: New File.
13110         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
13111         * sysdeps/s390/multiarch/strchr.c: Likewise.
13112         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
13113         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
13114         * sysdeps/s390/multiarch/wcschr.c: Likewise.
13115         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
13116         wcschr functions.
13117         * sysdeps/s390/multiarch/ifunc-impl-list.c
13118         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
13119         * string/strchr.c (STRCHR): Define and use macro.
13120         * benchtests/bench-wcschr.c: New File.
13121         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
13123         * sysdeps/s390/multiarch/strncmp-c.c: New File.
13124         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
13125         * sysdeps/s390/multiarch/strncmp.c: Likewise.
13126         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
13127         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
13128         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
13129         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
13130         wcsncmp functions.
13131         * sysdeps/s390/multiarch/ifunc-impl-list.c
13132         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
13133         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
13134         * benchtests/bench-strncmp.c: Add wcsncmp support.
13135         * benchtests/bench-wcsncmp.c: New File.
13136         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
13138         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
13139         * sysdeps/s390/multiarch/strcmp.c: Likewise.
13140         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
13141         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
13142         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
13143         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
13144         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
13145         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
13146         wcscmp functions.
13147         * sysdeps/s390/multiarch/ifunc-impl-list.c
13148         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
13149         * string/strcmp.c (STRCMP): Define and use macro.
13150         * benchtests/bench-wcscmp.c: New File.
13151         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
13152         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
13153         instead of _HAVE_STRING_ARCH_memchr.
13155         * sysdeps/s390/multiarch/strncat-c.c: New File.
13156         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
13157         * sysdeps/s390/multiarch/strncat.c: Likewise.
13158         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
13159         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
13160         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
13161         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
13162         wcsncat functions.
13163         * sysdeps/s390/multiarch/ifunc-impl-list.c
13164         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
13165         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
13166         * string/test-strncat.c: Add wcsncat support.
13167         * wcsmbs/test-wcsncat.c: New File.
13168         * wcsmbs/Makefile (strop-tests): Add wcsncat.
13169         * benchtests/bench-strncat.c: Add wcsncat support.
13170         * benchtests/bench-wcsncat.c: New File.
13171         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
13173         * sysdeps/s390/multiarch/strcat-c.c: New File.
13174         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
13175         * sysdeps/s390/multiarch/strcat.c: Likewise.
13176         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
13177         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
13178         * sysdeps/s390/multiarch/wcscat.c: Likewise.
13179         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
13180         wcscat functions.
13181         * sysdeps/s390/multiarch/ifunc-impl-list.c
13182         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
13183         * string/strcat.c (STRCAT): Define and use macro.
13184         * wcsmbs/wcscat.c: Use WCSCAT if defined.
13185         * string/test-strcat.c: Add wcscat support.
13186         * wcsmbs/test-wcscat.c: New File.
13187         * wcsmbs/Makefile (strop-tests): Add wcscat.
13188         * benchtests/bench-strcat.c: Add wcscat support.
13189         * benchtests/bench-wcscat.c: New File.
13190         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
13192         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
13193         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
13194         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
13195         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
13196         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
13197         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
13198         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
13199         wcpncpy functions.
13200         * sysdeps/s390/multiarch/ifunc-impl-list.c
13201         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
13202         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
13203         * string/test-stpncpy.c: Add wcpncpy support.
13204         * wcsmbs/test-wcpncpy.c: New File.
13205         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
13206         * benchtests/bench-stpncpy.c: Add wcpncpy support.
13207         * benchtests/bench-wcpncpy.c: New File.
13208         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
13210         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
13211         * sysdeps/s390/multiarch/strncpy.c: Likewise.
13212         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
13213         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
13214         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
13215         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
13216         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
13217         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
13218         wcsncpy functions.
13219         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
13220         * sysdeps/s390/multiarch/ifunc-impl-list.c
13221         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
13222         * string/test-strncpy.c: Add wcsncpy support.
13223         * wcsmbs/test-wcsncpy.c: New File.
13224         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
13225         * benchtests/bench-strncpy.c: Add wcsncpy support.
13226         * benchtests/bench-wcsncpy.c: New File.
13227         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
13229         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
13230         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
13231         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
13232         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
13233         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
13234         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
13235         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
13236         wcpcpy functions.
13237         * string/stpcpy.c: Use STPCPY if defined.
13238         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
13239         * sysdeps/s390/multiarch/ifunc-impl-list.c
13240         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
13241         * string/test-stpcpy.c: Add wcpcpy support.
13242         * wcsmbs/test-wcpcpy.c: New File.
13243         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
13244         * benchtests/bench-stpcpy.c: Add wcpcpy support.
13245         * benchtests/bench-wcpcpy.c: New File.
13246         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
13248         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
13249         * sysdeps/s390/multiarch/strcpy.c: Likewise.
13250         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
13251         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
13252         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
13253         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
13254         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
13255         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
13256         wcscpy functions.
13257         * sysdeps/s390/multiarch/ifunc-impl-list.c
13258         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
13259         * benchtests/bench-wcscpy.c: New File.
13260         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
13262         * sysdeps/s390/multiarch/strnlen-c.c: New File.
13263         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
13264         * sysdeps/s390/multiarch/strnlen.c: Likewise.
13265         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
13266         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
13267         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
13268         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
13269         wcsnlen functions.
13270         * sysdeps/s390/multiarch/ifunc-impl-list.c
13271         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
13272         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
13273         * string/test-strnlen.c: Add wcsnlen support.
13274         * wcsmbs/test-wcsnlen.c: New File.
13275         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
13276         * benchtests/bench-strnlen.c: Add wcsnlen support.
13277         * benchtests/bench-wcsnlen.c: New File.
13278         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
13280         * sysdeps/s390/multiarch/Makefile: New File.
13281         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
13282         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
13283         * sysdeps/s390/multiarch/strlen.c: Likewise.
13284         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
13285         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
13286         * sysdeps/s390/multiarch/wcslen.c: Likewise.
13287         * string/strlen.c (STRLEN): Define and use macro.
13288         * sysdeps/s390/multiarch/ifunc-impl-list.c
13289         (IFUNC_VX_IMPL): New macro function.
13290         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
13291         * benchtests/Makefile (wcsmbs-bench): New variable.
13292         (string-bench-all): Added wcsmbs-bench.
13293         * benchtests/bench-wcslen.c: New File.
13295         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
13296         s390_vx_libc_ifunc2): New macro function.
13298         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
13299         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
13300         assembler support.
13301         * sysdeps/s390/configure: Regenerated.
13303         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
13304         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
13306         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
13307         * sysdeps/s390/dl-procinfo.h: Add vector capability.
13308         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
13310         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
13311         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
13312         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
13313         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
13314         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
13315         (memcmp, bcmp): Use __memcmp_default as alias source.
13316         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
13317         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
13318         Rename to __memcmp_default.
13319         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
13320         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
13321         (memcpy): Use __memcpy_default as alias source.
13322         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
13323         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
13324         Rename to __memcpy_default.
13325         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
13326         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
13327         (memset): Use __memset_default as alias source.
13328         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
13329         * sysdeps/s390/s390-32/memset.S (__memset_g5):
13330         Rename to __memset_default.
13331         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
13332         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
13333         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
13334         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
13335         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
13336         (memcmp, bcmp): Use __memcmp_default as alias source.
13337         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
13338         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
13339         Rename to __memcmp_default.
13340         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
13341         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
13342         (memcpy): Use __memcpy_default as alias source.
13343         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
13344         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
13345         Rename to __memcpy_default.
13346         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
13347         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
13348         (memset): Use __memset_default as alias source.
13349         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
13350         * sysdeps/s390/s390-64/memset.S (__memset_z900):
13351         Rename to __memset_default.
13352         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
13353         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
13355         [BZ #18610]
13356         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
13357         __ieee_instruction_pointer to __unused.
13358         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
13359         __ieee_instruction_pointer.
13360         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
13361         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
13362         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13363         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13364         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
13365         Mark dxc-field as reserved.
13367 2015-08-25  Roland McGrath  <roland@hack.frob.com>
13369         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
13370         if the weak reference is not null.
13372 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13374         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
13376         [BZ #11214]
13377         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
13379 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13381         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
13382         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
13383         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
13384         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
13385         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
13386         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
13387         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
13388         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
13389         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
13390         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
13391         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
13392         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
13393         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
13394         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
13395         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
13396         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
13397         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
13398         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
13400 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13402         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
13403         register other than r0 for tabort, it has special meaning.
13404         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
13405         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
13406         transaction before starting syscall.
13408 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13410         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
13412 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13414         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
13416         * sysdeps/x86_64/rtld-memcmp.c: Removed.
13417         * sysdeps/x86_64/rtld-memset.S: Likewise.
13418         * sysdeps/x86_64/rtld-strchr.S: Likewise.
13419         * sysdeps/x86_64/rtld-strlen.S: Likewise.
13420         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
13421         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13423         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
13425 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
13427         * debug/strcpy_chk.c: Improve performance.
13428         * debug/stpcpy_chk.c: Likewise.
13429         * sysdeps/x86_64/strcpy_chk.S: Remove.
13430         * sysdeps/x86_64/stpcpy_chk.S: Remove.
13432         [BZ #18240]
13433         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
13435 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13437         [BZ #15128]
13438         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
13439         ifuncmain8.
13440         (modules-names): Add ifuncmod8.
13441         ($(objpfx)ifuncmain8): New rule.
13442         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
13443         <cpuid.h>.
13444         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
13445         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
13446         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
13447         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
13448         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
13449         * sysdeps/x86_64/dl-trampoline.h: Likewise.
13450         * sysdeps/x86_64/ifuncmain8.c: New file.
13451         * sysdeps/x86_64/ifuncmod8.c: Likewise.
13452         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
13453         Removed.
13454         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
13455         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
13456         Change rtld_savespace_sse to __glibc_unused2.
13457         (RTLD_CHECK_FOREIGN_CALL): Removed.
13458         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
13459         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
13460         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
13462 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
13464         * sysdeps/aarch64/bzero.S (__bzero): Remove.
13466 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
13468         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
13469         Unconditionally set __fpcr to avoid uninialized warning.
13470         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
13472 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13474         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
13475         is corrupt.
13477         * malloc/arena.c (arena_get2): Drop unused argument.
13478         (arena_lock): Adjust.
13479         (arena_get_retry): Likewise.
13481 2015-08-24  Andreas Schwab  <schwab@suse.de>
13483         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
13484         Don't define.
13485         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13486         (__ASSUME_IPC64): Don't undef.
13487         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
13488         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13489         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13490         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
13491         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
13492         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
13493         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
13494         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
13495         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
13496         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
13497         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
13498         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
13499         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
13500         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
13501         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
13502         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
13503         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
13504         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
13505         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
13506         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
13507         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
13509 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
13511         * manual/Makefile (install): Only build manual when perl is available.
13513 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13515         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
13516         '#undef memcpy' by '#undef memchr'.
13518 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13520         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
13521         memchr not point to the internal __GI_memchr implementation.
13523 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
13525         * timezone/Makefile (CFLAGS-zdump.c): Remove
13526         -Wno-strict-prototypes.
13527         (CFLAGS-zic.c): Likewise.
13528         (CFLAGS-ialloc.c): Likewise.
13529         (CFLAGS-scheck.c): Likewise.
13531         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
13532         -Wno-error=undef.
13534 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13536         * i386/i686/multiarch/strcasestr-c.c: Removed.
13537         * x86_64/multiarch/strcasestr.c: Likewise.
13538         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13539         Remove strcasestr.
13541 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
13543         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
13545         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
13546         variables for high and low parts before possibly modifying them.
13548 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13550         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
13551         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
13552         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
13553         of "multiarch/init-arch.h".
13554         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
13555         * sysdeps/x86/init-arch.h: This.
13557 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13559         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
13560         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
13562 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
13564         [BZ #17787]
13565         * manual/macros.texi: Add twoexp macro.
13566         * manual/filesys.texi: Fix exponents.
13567         * manual/llio.texi: Likewise.
13568         * manual/stdio.texi: Likewise.
13570 2015-08-20  Florian Weimer  <fweimer@redhat.com>
13572         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
13573         incorrect use.
13575 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
13577         [BZ #18370]
13578         * math/s_csqrt.c (__csqrt): Force underflow exception for results
13579         whose real or imaginary part has small absolute value.
13580         * math/s_csqrtf.c (__csqrtf): Likewise.
13581         * math/s_csqrtl.c (__csqrtl): Likewise.
13582         * math/auto-libm-test-in: Add more tests of csqrt.
13583         * math/auto-libm-test-out: Regenerated.
13584         * sysdeps/i386/fpu/libm-test-ulps: Update.
13586 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13588         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
13589         __ppc_set_ppr_very_low): New functions.
13590         * manual/platform.texi: Add documentation about
13591         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
13593 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
13595         * string/stpncpy.c (stpncpy): Improve performance using
13596         __strnlen/memcpy/memset.
13598 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13600         [BZ #18796]
13601         * scripts/test-installation.pl: Don't add -lmvec to build options if
13602         libmvec wasn't built.
13604 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
13606         [BZ #14341]
13607         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
13608         case when there is a gap between DT_REL and DT_JMPREL sections.
13609         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
13610         (LDFLAGS-tst-split-dynreloc): New.
13611         (tst-split-dynreloc-ENV): Likewise.
13612         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
13613         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
13615 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13617         [BZ #18822]
13618         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
13619         attribute_hidden.
13620         (__xstat64_conv): Likewise.
13621         (__xstat32_conv): Likewise.
13623 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13625         [BZ #18822]
13626         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
13627         Don't load %ebx when calling __setcontext.  Call __setcontext
13628         with HIDDEN_JUMPTARGET.
13629         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
13630         libc_hidden_def.
13632 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13634         * sysdeps/i386/i686/Makefile
13635         [$(subdir) == string] (sysdep_routines): Moved to ...
13636         * sysdeps/i386/Makefile: Here.
13637         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
13638         * sysdeps/i386/cacheinfo.c: Here.
13639         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
13640         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
13641         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
13642         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
13644 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13646         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
13647         __i586__ is defined.
13648         (HAS_I686): Defined to 1 if __i686__ is defined.
13650 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
13652         * elf/Makefile [$(have-z-execstack) = yes]
13653         (CPPFLAGS-tst-execstack.c): New variable.
13655         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
13656         conditional to [defined UTMPX || _HAVE_UT_TYPE].
13657         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
13658         UTMPX || _HAVE_UT_TV].
13659         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
13660         UTMPX || _HAVE_UT_TV - 0].
13662 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
13664         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
13665         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
13666         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
13668 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13670         * sysdeps/powerpc/dl-procinfo.c:
13671         (_dl_powerpc_cap_flags): Added missing strings for some
13672         hwcap features.
13673         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
13675 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
13677         Port the 0x7efe...feff pattern to GCC 6.
13678         See Steve Ellcey's bug report in:
13679         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
13680         * string/memrchr.c (MEMRCHR):
13681         * string/rawmemchr.c (RAWMEMCHR):
13682         * string/strchr.c (strchr):
13683         * string/strchrnul.c (STRCHRNUL):
13684         Rewrite code to avoid issues with signed shift overflow.
13686 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
13688         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
13689         whether cpuid is available only if HAS_CPUID is 0.
13690         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
13691         (HAS_I586): Likewise.
13692         (HAS_I686): Likewise.
13694 2015-08-18  Zack Weinberg  <zackw@panix.com>
13696         * misc/Versions (libc): Add GLIBC_2.23.
13698 2015-08-18  Alan Modra  <amodra@gmail.com>
13700         [BZ #18421]
13701         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
13702         .Lp__global.
13703         (_start): Load %dp via .Lp__global.
13704         [!SHARED]: Use .section .rodata.
13706 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13708         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
13709         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
13711 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13713         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
13714         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
13716 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13718         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
13719         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
13721 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13723         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
13724         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
13726 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13728         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
13729         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
13731 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13733         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
13734         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
13736 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13738         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
13740 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13742         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
13743         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
13744         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13745         (__ASSUME_LWS_CAS): Delete.
13747 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13749         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
13750         * sysdeps/hppa/configure: Regenerated.
13751         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
13752         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
13753         * sysdeps/hppa/nptl/tls.h: Likewise.
13755 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
13757         [BZ #18823]
13758         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
13759         for scaling up small arguments.
13760         * math/s_csqrtf.c (__csqrtf): Likewise.
13761         * math/s_csqrtl.c (__csqrtl): Likewise.
13762         * math/auto-libm-test-in: Add more tests of csqrt.
13763         * math/auto-libm-test-out: Regenerated.
13765 2015-08-17  Andreas Schwab  <schwab@suse.de>
13767         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
13768         version set GLIBC_2.19.
13770 2015-08-16  Zack Weinberg  <zackw@panix.com>
13772         [BZ #18681]
13773         * misc/regexp.h: This interface is no longer supported.
13774         Remove all contents, leaving only an #error directive.
13775         * misc/regexp.c (loc1, loc2, locs, step, advance):
13776         Demote to compatibility symbols.
13778 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
13780         [BZ #18084]
13781         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
13782         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
13783         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
13784         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
13785         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
13786         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
13787         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
13788         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
13789         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
13791 2015-08-15  Zack Weinberg  <zackw@panix.com>
13793         [BZ #18795]
13794         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
13795         buffer length is known to be too large, not if it's known to be
13796         small enough.
13797         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
13798         overflow at runtime, involving a length parameter, twice: once
13799         with a compile-time constant length parameter, once without.
13801 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
13803         [BZ #18824]
13804         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
13805         scaling x * y up instead of down.
13806         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13807         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13808         * math/auto-libm-test-in: Add more tests of fma.
13809         * math/auto-libm-test-out: Regenerated.
13811 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13813         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13815 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13817         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
13818         unnecessary movq.
13819         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
13820         Likewise.
13822 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
13824         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13825         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
13826         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
13827         and tgamma.
13828         * math/auto-libm-test-out: Regenerated.
13829         * sysdeps/i386/fpu/libm-test-ulps: Update.
13830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13832         [BZ #16520]
13833         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
13834         (__tanh): Force underflow exception for arguments with small
13835         absolute value.
13836         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
13837         (__tanhf): Force underflow exception for arguments with small
13838         absolute value.
13839         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
13840         (__tanhl): Force underflow exception for arguments with small
13841         absolute value.
13842         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
13843         (__tanhl): Force underflow exception for arguments with small
13844         absolute value.
13845         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
13846         (__tanhl): Force underflow exception for arguments with small
13847         absolute value.
13848         * math/auto-libm-test-in: Add more tests of tanh.
13849         * math/auto-libm-test-out: Regenerated.
13850         * sysdeps/i386/fpu/libm-test-ulps: Update.
13852 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13854         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
13855         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
13857 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13859         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
13860         <cpuid.h>.
13862 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13864         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
13865         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
13867 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13869         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
13870         Remove $(objpfx)init-arch.o.
13871         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
13872         init-arch.
13873         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
13874         (INIT_ARCH_EXT): Defined as empty.
13875         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
13876         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
13877         __init_cpu_features call.  Replace HAS_XXX with
13878         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13879         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
13880         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
13881         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
13882         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
13883         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13884         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
13885         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
13886         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13887         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
13888         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
13889         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13890         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
13891         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
13892         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13893         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
13894         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
13895         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13896         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13897         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
13898         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
13899         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
13900         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
13901         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
13902         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
13903         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
13904         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
13905         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
13906         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
13907         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
13908         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
13909         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
13910         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
13911         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
13912         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
13913         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
13915 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13917         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
13918         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13919         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
13920         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
13921         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
13922         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
13923         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
13924         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
13925         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
13926         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
13927         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
13928         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
13929         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13930         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13931         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13932         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13933         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13934         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13935         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13936         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13937         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13938         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13939         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13940         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13941         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13942         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13943         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13944         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13945         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13946         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13947         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13948         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13949         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13950         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13951         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13952         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13953         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13954         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13955         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13956         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13957         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13958         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13959         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13961 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13963         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
13964         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13965         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13966         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13967         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13968         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
13969         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13970         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
13971         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13972         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13973         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13974         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
13975         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
13976         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
13977         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
13978         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
13979         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
13980         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
13981         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
13982         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
13983         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
13984         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
13985         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
13986         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13987         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13988         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
13989         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
13990         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
13991         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13992         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13993         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13994         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13995         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13996         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13997         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13998         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13999         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14000         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14001         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14002         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14003         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14004         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14005         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14007 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14009         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
14010         (dl_platform_init): Call init_cpu_features.
14011         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
14012         * sysdeps/i386/i686/cacheinfo.c
14013         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
14014         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
14015         * sysdeps/i386/i686/multiarch/Versions: Removed.
14016         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
14017         Removed.
14018         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
14019         * sysdeps/unix/sysv/linux/x86/Makefile
14020         (libpthread-sysdep_routines): Remove init-arch.
14021         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
14022         <sysdeps/x86_64/dl-procinfo.c> instead of
14023         sysdeps/generic/dl-procinfo.c>.
14024         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
14025         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
14026         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
14027         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
14028         [$(subdir) == elf] (tests-static): Add
14029         tst-get-cpu-features-static.
14030         * sysdeps/x86/Versions: New file.
14031         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
14032         * sysdeps/x86/cpu-features.c: Likewise.
14033         * sysdeps/x86/cpu-features.h: Likewise.
14034         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
14035         * sysdeps/x86/libc-start.c: Likewise.
14036         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14037         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
14038         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
14039         * sysdeps/x86_64/dl-procinfo.c: Likewise.
14040         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
14041         Assume USE_MULTIARCH is defined and don't check it.
14042         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
14043         (is_amd): Likewise.
14044         (max_cpuid): Likewise.
14045         (intel_check_word): Likewise.
14046         (__cache_sysconf): Don't call __init_cpu_features.
14047         (__x86_preferred_memory_instruction): Removed.
14048         (init_cacheinfo): Don't call __init_cpu_features. Replace
14049         __cpu_features with GLRO(dl_x86_cpu_features).
14050         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
14051         (dl_platform_init): Call init_cpu_features.
14052         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
14053         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
14054         * sysdeps/x86_64/multiarch/Versions: Removed.
14055         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
14056         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
14057         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
14058         Removed.
14059         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
14061 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14063         [BZ #18820]
14064         * libio/Makefile (test-fmemopen-mem): New test.
14065         * libio/test-fmemopen.c (do_bz18820): New test.
14066         * libio/fmemopen.c (__fmemopen): Fix memory leak.
14067         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
14069 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14071         [BZ #16734]
14072         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
14073         (FREE_BUF): Delete.
14074         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
14075         * libio/genops.c (_IO_setb): Use malloc and free directly.
14076         (_IO_default_doallocate, _IO_default_finish): Likewise.
14077         ( _IO_unbuffer_all): Likewise.
14078         ( libc_freeres_fn): Likewise.
14079         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14080         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
14081         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
14082         (_IO_wdefault_doallocate): Likewise.
14084 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14086         [BZ #18086]
14087         * sysdeps/posix/nice.c (nice): Restore old errno.
14088         * posix/tst-nice.c (do_test): Add test for BZ #18086.
14090 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
14092         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
14094 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14096         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
14097         __bcopy and add a weak_alias to bcopy.
14098         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
14099         for static build.
14101         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
14102         cleanup macro usage.
14103         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
14104         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
14105         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
14106         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
14107         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
14108         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
14109         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
14110         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14111         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14112         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
14113         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14114         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
14115         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14116         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
14117         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14118         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
14119         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
14120         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
14121         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14123         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
14124         libc_hidden_def.
14125         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
14127         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
14128         (sysdep_routines): Add strstr-ppc64.
14129         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
14131 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
14133         [BZ #18778]
14134         * elf/Makefile (tests): Add Add tst-nodelete2.
14135         (modules-names): Add tst-nodelete2mod.
14136         (tst-nodelete2mod.so-no-z-defs): New.
14137         ($(objpfx)tst-nodelete2): Likewise.
14138         ($(objpfx)tst-nodelete2.out): Likewise.
14139         (LDFLAGS-tst-nodelete2): Likewise.
14140         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
14141         out of loop through all loaded libraries.
14142         * elf/tst-nodelete2.c: New file.
14143         * elf/tst-nodelete2mod.c: Likewise.
14144         * elf/tst-znodelete-zlib.cc: Delete.
14146 2015-08-11  Andreas Schwab  <schwab@suse.de>
14148         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
14149         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
14150         (__openat64_nocancel): Likewise.
14152 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
14154         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
14155         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
14156         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
14157         * math/auto-libm-test-out: Regenerated.
14158         * sysdeps/i386/fpu/libm-test-ulps: Update.
14159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14161 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
14163         [BZ #18790]
14164         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
14165         threshold for returning +/- 1.
14166         * math/auto-libm-test-in: Add more tests of tanh.
14167         * math/auto-libm-test-out: Regenerated.
14168         * sysdeps/i386/fpu/libm-test-ulps: Update.
14170 2015-08-10  Andreas Schwab  <schwab@suse.de>
14172         [BZ #18781]
14173         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
14174         MORE_OFLAGS to oflag.
14175         * io/test-lfs.c (do_test): Test openat64.
14177 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
14179         [BZ #18789]
14180         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
14181         smaller threshold for returning the argument.
14182         * math/auto-libm-test-in: Add more tests of sinh.
14183         * math/auto-libm-test-out: Regenerated.
14184         * sysdeps/i386/fpu/libm-test-ulps: Update.
14186 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
14188         [BZ #18674]
14189         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
14190         break.
14192 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
14194         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
14195         (generated): Don't add $(addprefix z.,$(tzfiles)).
14197 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14199         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
14200         * scripts/sysd-rules.awk: Likewise.
14202 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14204         * iconvdata/tst-tables.sh: Change echo -n to printf.
14205         * nss/db-Makefile: Likewise.
14206         * posix/tst-getconf.sh: Likewise.
14207         * stdio-common/tst-unbputc.sh: Likewise.
14209 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14211         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
14212         MADV_*_PAGES defines behind this feature check.
14214 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
14216         [BZ #18480]
14217         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
14218         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
14219         Define.
14220         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
14221         LOAD_REGS_5, LOAD_REGS_6): Update.
14222         (INTERNAL_SYSCALL): Update using new LOAD defines.
14223         (INTERNAL_SYSCALL_NCS): Likewise.
14224         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
14226 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14228         [BZ #16734]
14229         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
14231 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14233         [BZ #17905]
14234         * catgets/Makefile (tst-catgets-mem): New test.
14235         * catgets/catgets.c (catopen): Don't use unbounded alloca.
14236         * catgets/open_catalog.c (__open_catalog): Likewise.
14237         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
14239 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
14241         [BZ #18787]
14242         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
14243         clobber registers.
14244         (atomic_compare_and_exchange_val_acq): Use register asms to assign
14245         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
14246         Cast return to __typeof (oldval).
14248 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
14250         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
14251         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
14252         and delete sys/syscall.h include.
14254 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
14256         [BZ #16517]
14257         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
14258         (tan): Force underflow exception for arguments with small absolute
14259         value.
14260         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
14261         (__kernel_tanf): Force underflow exception for arguments with
14262         small absolute value.
14263         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
14264         (__kernel_tanl): Force underflow exception for arguments with
14265         small absolute value.
14266         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
14267         (__kernel_tanl): Force underflow exception for arguments with
14268         small absolute value.
14269         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
14270         (__kernel_tanl): Force underflow exception for arguments with
14271         small absolute value.
14272         * math/auto-libm-test-in: Add more tests of tan.
14273         * math/auto-libm-test-out: Regenerated.
14275 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14277         Fix sysdeps/i386/fpu/s_scalbn.S build
14279         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
14281 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
14283         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14285 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14287         Fix gcrt0.o compilation
14289         When static-start-installed-name is different from
14290         start-installed-name, we must not use the shared objects.
14292         * csu/Makefile
14293         (extra-objs): Add gmon-start.o when building shared library and
14294         $(static-start-installed-name) is different from
14295         $(start-installed-name).
14296         $(objpfx)g$(static-start-installed-name): When building shared
14297         library and $(static-start-installed-name) is different from
14298         $(static-start-installed-name), revert to non-shared rule,
14299         i.e. using $(objpfx)% and gmon-start.o.
14301 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
14303         [BZ #16519]
14304         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
14305         (__ieee754_sinh): Force underflow exception for arguments with
14306         small absolute value.
14307         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
14308         (__ieee754_sinhf): Force underflow exception for arguments with
14309         small absolute value.
14310         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
14311         (__ieee754_sinhl): Force underflow exception for arguments with
14312         small absolute value.
14313         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
14314         (__ieee754_sinhl): Force underflow exception for arguments with
14315         small absolute value.
14316         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
14317         (__ieee754_sinhl): Force underflow exception for arguments with
14318         small absolute value.
14319         * math/auto-libm-test-in: Add more tests of sinh.
14320         * math/auto-libm-test-out: Regenerated.
14321         * sysdeps/i386/fpu/libm-test-ulps: Update.
14323 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14325         * libio/oldfileops.c: Include unistd.h.
14327 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
14329         * stdlib/isomac.c: Include ctype.h.
14331 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
14333         * dirent/tst-seekdir.c (main): Converted to ...
14334         (do_test): ... this.
14335         (TEST_FUNCTION): New macro.
14336         Include test-skeleton.c.
14337         * elf/tst-dlmodcount.c (main): Converted to ...
14338         (do_test): ... this.
14339         (TEST_FUNCTION): New macro.
14340         Include test-skeleton.c.
14341         * elf/tst-order-main.c (main): Converted to ...
14342         (do_test): ... this.
14343         (TEST_FUNCTION): New macro.
14344         Include test-skeleton.c.
14345         * elf/tst-pie2.c (main): Converted to ...
14346         (do_test): ... this.
14347         (TEST_FUNCTION): New macro.
14348         Include test-skeleton.c.
14349         * inet/tst-ether_aton.c (main): Converted to ...
14350         (do_test): ... this.
14351         (TEST_FUNCTION): New macro.
14352         Include test-skeleton.c.
14353         * misc/tst-mntent.c (main): Converted to ...
14354         (do_test): ... this.
14355         (TEST_FUNCTION): New macro.
14356         Include test-skeleton.c.
14357         * misc/tst-tsearch.c (main): Converted to ...
14358         (do_test): ... this.
14359         (TEST_FUNCTION): New macro.
14360         Include test-skeleton.c.
14361         * posix/tst-regexloc.c (main): Converted to ...
14362         (do_test): ... this.
14363         (TEST_FUNCTION): New macro.
14364         Include test-skeleton.c.
14365         * resolv/tst-aton.c (main): Converted to ...
14366         (do_test): ... this.
14367         (TEST_FUNCTION): New macro.
14368         Include test-skeleton.c.
14369         * stdio-common/test-fwrite.c (main): Converted to ...
14370         (do_test): ... this.
14371         (TEST_FUNCTION): New macro.
14372         Include test-skeleton.c.
14373         * stdio-common/tst-ferror.c (main): Converted to ...
14374         (do_test): ... this.
14375         (TEST_FUNCTION): New macro.
14376         Include test-skeleton.c.
14377         * stdio-common/tst-printf.c (main): Converted to ...
14378         (do_test): ... this.
14379         (TEST_FUNCTION): New macro.
14380         Include test-skeleton.c.
14381         * stdio-common/tst-printfsz.c (main): Converted to ...
14382         (do_test): ... this.
14383         (TEST_FUNCTION): New macro.
14384         Include test-skeleton.c.
14385         * stdlib/tst-strtod.c (main): Converted to ...
14386         (do_test): ... this.
14387         (TEST_FUNCTION): New macro.
14388         Include test-skeleton.c.
14389         * string/tst-strlen.c (main): Converted to ...
14390         (do_test): ... this.
14391         (TEST_FUNCTION): New macro.
14392         Include test-skeleton.c.
14393         * string/tst-svc.c (main): Converted to ...
14394         (do_test): ... this.
14395         (TEST_FUNCTION): New macro.
14396         Include test-skeleton.c.
14397         * time/tst-strptime.c (main): Converted to ...
14398         (do_test): ... this.
14399         (TEST_FUNCTION): New macro.
14400         Include test-skeleton.c.
14401         * timezone/tst-timezone.c (main): Converted to ...
14402         (do_test): ... this.
14403         (TEST_FUNCTION): New macro.
14404         Include test-skeleton.c.
14406 2015-08-05  Zack Weinberg  <zackw@panix.com>
14408         * misc/regexp.h: Update comments.
14410 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
14412         [BZ #18635]
14413         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
14414         before return label.
14416 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14418         [BZ #18661]
14419         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
14420         when calling __errno_location.
14421         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
14422         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
14424 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14426         [BZ #18661]
14427         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
14428         (__lll_timedwait_tid): Align stack to 16 bytes when calling
14429         __gettimeofday.
14431 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14433         [BZ #18661]
14434         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14435         (__start_context): Don't use pop to restore %rdi so that stack
14436         is aligned to 16 bytes when calling __setcontext.
14438 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14440         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
14441         only for libc.
14442         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14444 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14446         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
14447         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
14448         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
14450 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14452         * string/memccpy.c (memccpy):
14453         Improve performance by using memchr/memcpy/__mempcpy.
14455 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14457         * string/strncpy.c (strncpy):
14458         Improve performance by using __strnlen/memcpy.
14460 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14462         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14463         Optimize to avoid an unnecessary FPCR read.
14465 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14467         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
14468         Optimize to reduce FPCR/FPSR accesses.
14470 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14472         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
14473         dead->data[category] != NULL.
14475 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
14477         [BZ #18647]
14478         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
14479         and |x| close to 1, use absolute value of x when computing log.
14480         * math/auto-libm-test-in: Add more tests of pow.
14481         * math/auto-libm-test-out: Regenerated.
14483 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14485         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
14486         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
14487         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
14489 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
14491         [BZ #18525]
14492         * locales/km_KH: Remove timezone definition.
14493         * locales/lo_LA: Likewise.
14494         * locales/my_MM: Likewise.
14495         * locales/nan_TW@latin: Likewise.
14496         * locales/th_TH: Likewise.
14497         * locales/uk_UA: Likewise.
14499 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
14501         [BZ #18265]
14502         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
14503         (wcsncat): Likewise.
14504         (wcscmp): Likewise.
14505         (wcsncmp): Likewise.
14507 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14509         * test-skeleton.c (usage): New function.
14510         (main): Call usage when opt is '?'.
14512 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14514         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
14515         before first use.
14517 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14519         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
14520         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
14521         in there too.
14523 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
14525         * version.h (RELEASE): Set to "development".
14526         (VERSION): Set to "2.22.90"
14528         * version.h (RELEASE): Set to "stable".
14529         (VERSION): Set to "2.22"
14530         * include/features.h (__GLIBC_MINOR__): Set to 22.
14532 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
14534         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
14535         Restructure macro to avoid "value computed is not used" warning.
14536         (atomic_compare_and_exchange_val_acq): Likewise.
14538 2015-08-04  Andreas Schwab  <schwab@suse.de>
14540         [BZ #18635]
14541         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
14542         ret.
14543         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
14545 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
14547         * po/pl.po: Updated translation.
14548         * po/uk.po: Likewise.
14549         * po/fi.po: Likewise.
14550         * po/ko.po: Likewise.
14551         * po/ru.po: Likewise.
14552         * po/vi.po: Likewise.
14554 2015-07-31  Zack Weinberg  <zackw@panix.com>
14556         [BZ #18681]
14557         * regexp.h: Add unconditional #warning stating that this header
14558         will be removed soon.  Revise banner comment to match.
14559         (compile): Consistently use ERROR instead of RETURN to report
14560         errors (partial fix for bz#18681).
14561         * regexp.c: Don't include regexp.h. Remove some unnecessary
14562         declarations.
14564 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
14566         * po/libc.pot: Regenerated.
14568 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
14570         [BZ #18740]
14571         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
14572         float-vlen4-arch-ext-cflags): Removed.
14573         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
14574         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
14576 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14578         [BZ #14113]
14579         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
14580         aligned to __aligned__.
14581         (pthread_cond_t, pthread_rwlock_t): Likewise.
14583 2015-07-30  Torvald Riegel  <triegel@redhat.com>
14585         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
14587 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14589         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
14590         (struct sigaction): Change sa_flags from a long to an int, and add
14591         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
14593 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14595         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
14596         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
14597         sysdeps/generic/sysdep.h include.
14598         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
14599         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
14600         sysdeps/hppa/sysdep.h.
14601         (ENTRY, PSEUDO): Undefine before defining.
14603 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14605         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
14606         from scratch to use INTERNAL_SYSCALL.
14608 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
14610         [BZ #18078]
14611         * scripts/check-localplt.awk: Support alternate relocations.
14612         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
14613         sections.
14614         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
14615         malloc entries with + REL R_386_GLOB_DAT.
14616         * sysdeps/x86_64/localplt.data: New file.
14618 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
14620         [BZ #18731]
14621         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
14622         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14623         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14625 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14627         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
14629 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14631         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
14632         directly in terms of __sync_fetch_and_add and delete (int) cast.
14634 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14636         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
14637         the -D_ASM_IA64_CURRENT_H flag.
14639 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14641         [BZ #18641]
14642         * pwd/pwd.h (putpwent): Delete __nonnull markings.
14644 2015-07-27  Andreas Schwab  <schwab@suse.de>
14646         * conform/conformtest.pl (checknamespace): Filter out string
14647         literals while tokenizing.
14649 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
14651         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14652         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
14653         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14655 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
14657         * nptl/tst-join7mod.c: Add #include <string.h>.
14659 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
14661         * sysdeps/nios2/libm-test-ulps: Update.
14663 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
14665         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
14666         Fix order of arguments to the rt_sigprocmask syscall.
14667         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
14668         Likewise.
14670 2015-07-24  Roland McGrath  <roland@hack.frob.com>
14672         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
14674 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14676         [BZ #18457]
14677         * nptl/Makefile (tests): New test case tst-join7.
14678         (modules-names): New test case module tst-join7mod.
14679         * nptl/tst-join7.c: New file.
14680         * nptl/tst-join7mod.c: New file.
14681         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
14682         all translation units in libc.so, libpthread.so and rtld.
14684 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14686         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14688 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
14690         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
14691         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
14692         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
14693         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
14694         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
14695         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
14696         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
14697         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
14698         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
14699         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
14700         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
14701         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
14702         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
14703         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
14704         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
14705         implementation.
14707 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14709         [BZ #17711]
14710         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14711         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
14712         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14713         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14714         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
14715         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14717 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14719         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
14720         instead of just saying load lock in the comments.
14722 2015-07-23  Roland McGrath  <roland@hack.frob.com>
14724         * sysdeps/unix/Subdirs: Moved ...
14725         * sysdeps/posix/Subdirs: ... here.
14726         * login/pty.h (struct termios, struct winsize): Add forward decls.
14727         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
14728         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
14729         * sysdeps/arm/nacl/libc.abilist: Updated.
14730         * sysdeps/nacl/libutil.abilist: New file.
14732         * bits/signum.h: Update comments to mention 1003.1-2013 too.
14733         (SIGWINCH): New macro.
14735         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
14736         * sysdeps/arm/nacl/libc.abilist: Add it.
14738 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
14740         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
14742 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
14744         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
14745         Swap __glibc_reserved0 and sa_flags order.
14747 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14749         [BZ #18657]
14750         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
14751         are pending TLS destructor calls.
14752         * include/link.h (struct link_map): Add concurrency note for
14753         L_TLS_DTOR_COUNT.
14754         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14755         Don't touch the link map flag.  Atomically increment
14756         l_tls_dtor_count.
14757         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
14758         Avoid taking the load lock and don't touch the link map flag.
14759         * stdlib/tst-tls-atexit-nodelete.c: New test case.
14760         * stdlib/Makefile (tests): Use it.
14761         * stdlib/tst-tls-atexit.c (do_test): dlopen
14762         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
14763         to allow tst-tls-atexit-nodelete test case to use it.
14765 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14767         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
14768         to bits/types.h.
14769         (msgqnum_t): New typedef.
14770         (msglen_t): Likewise.
14771         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
14772         and msg_qbytes type to msglen_t.
14774 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14776         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
14777         pad0 to __glibc_reserved0.
14778         (struct stat64): Likewise.
14780 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14782         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
14783         Change sa_flags from a long to an int and add __glibc_reserved0 before
14784         it for padding.
14786 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14788         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
14789         anonymous by deleting "siginfo" name.
14791 2015-07-21  Roland McGrath  <roland@hack.frob.com>
14793         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
14794         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
14795         rather than __nacl_irt_filename.
14796         * sysdeps/nacl/xstat.c (__xstat): Likewise.
14798         * NEWS: New item for arm-nacl port.
14799         * sysdeps/arm/nacl/libc.abilist: New file.
14800         * sysdeps/nacl/ld.abilist: New file.
14801         * sysdeps/nacl/libBrokenLocale.abilist: New file.
14802         * sysdeps/nacl/libanl.abilist: New file.
14803         * sysdeps/nacl/libcrypt.abilist: New file.
14804         * sysdeps/nacl/libdl.abilist: New file.
14805         * sysdeps/nacl/libm.abilist: New file.
14806         * sysdeps/nacl/libpthread.abilist: New file.
14807         * sysdeps/nacl/libresolv.abilist: New file.
14808         * sysdeps/nacl/librt.abilist: New file.
14810 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
14812         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
14813         __startcontext to initialize the new context.
14814         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
14815         up CFI directive to forbid further backtracing.
14817 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
14819         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
14820         reference.
14821         * charmaps/ANSI_X3.4-1968: Likewise.
14822         * charmaps/BS_4730: Likewise.
14823         * charmaps/BS_VIEWDATA: Likewise.
14824         * charmaps/CP1250: Likewise.
14825         * charmaps/CP1251: Likewise.
14826         * charmaps/CP1252: Likewise.
14827         * charmaps/CP1253: Likewise.
14828         * charmaps/CP1254: Likewise.
14829         * charmaps/CP1255: Likewise.
14830         * charmaps/CP1256: Likewise.
14831         * charmaps/CSN_369103: Likewise.
14832         * charmaps/EBCDIC-DK-NO: Likewise.
14833         * charmaps/GB_1988-80: Likewise.
14834         * charmaps/GREEK-CCITT: Likewise.
14835         * charmaps/GREEK7: Likewise.
14836         * charmaps/INIS-8: Likewise.
14837         * charmaps/ISIRI-3342: Likewise.
14838         * charmaps/ISO_2033-1983: Likewise.
14839         * charmaps/ISO_5427-EXT: Likewise.
14840         * locales/POSIX: Likewise.
14841         * locales/ar_SA: Likewise.
14842         * locales/be_BY: Likewise.
14843         * locales/be_BY@latin: Likewise.
14844         * locales/ca_ES: Likewise.
14845         * locales/cs_CZ: Likewise.
14846         * locales/da_DK: Likewise.
14847         * locales/de_BE: Likewise.
14848         * locales/de_CH: Likewise.
14849         * locales/de_LU: Likewise.
14850         * locales/en_AU: Likewise.
14851         * locales/en_BW: Likewise.
14852         * locales/en_CA: Likewise.
14853         * locales/en_DK: Likewise.
14854         * locales/en_GB: Likewise.
14855         * locales/en_IE: Likewise.
14856         * locales/en_NZ: Likewise.
14857         * locales/en_ZA: Likewise.
14858         * locales/en_ZW: Likewise.
14859         * locales/es_AR: Likewise.
14860         * locales/es_BO: Likewise.
14861         * locales/es_CL: Likewise.
14862         * locales/es_CO: Likewise.
14863         * locales/es_DO: Likewise.
14864         * locales/es_EC: Likewise.
14865         * locales/es_ES: Likewise.
14866         * locales/es_HN: Likewise.
14867         * locales/es_MX: Likewise.
14868         * locales/es_PA: Likewise.
14869         * locales/es_PE: Likewise.
14870         * locales/es_PY: Likewise.
14871         * locales/es_SV: Likewise.
14872         * locales/es_US: Likewise.
14873         * locales/es_UY: Likewise.
14874         * locales/es_VE: Likewise.
14875         * locales/et_EE: Likewise.
14876         * locales/fa_IR: Likewise.
14877         * locales/fo_FO: Likewise.
14878         * locales/fr_CA: Likewise.
14879         * locales/fr_CH: Likewise.
14880         * locales/gv_GB: Likewise.
14881         * locales/he_IL: Likewise.
14882         * locales/hr_HR: Likewise.
14883         * locales/id_ID: Likewise.
14884         * locales/is_IS: Likewise.
14885         * locales/it_CH: Likewise.
14886         * locales/iw_IL: Likewise.
14887         * locales/kl_GL: Likewise.
14888         * locales/ko_KR: Likewise.
14889         * locales/kw_GB: Likewise.
14890         * locales/lg_UG: Likewise.
14891         * locales/lt_LT: Likewise.
14892         * locales/lv_LV: Likewise.
14893         * locales/mi_NZ: Likewise.
14894         * locales/nhn_MX: Likewise.
14895         * locales/nl_BE: Likewise.
14896         * locales/pl_PL: Likewise.
14897         * locales/sk_SK: Likewise.
14898         * locales/sl_SI: Likewise.
14899         * locales/sv_FI: Likewise.
14900         * locales/tl_PH: Likewise.
14901         * locales/tr_TR: Likewise.
14902         * locales/vi_VN: Likewise.
14904 2015-07-21  Khem Raj  <raj.khem@gmail.com>
14906         [BZ #17475]
14907         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
14908         of tu_IN and bh_IN.
14910 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
14912         [BZ #18694]
14913         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
14914         bits/wordsize.h.
14915         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
14917 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14919         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
14920         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
14921         (spawn_thread): New function.
14922         (load): Rename to reg_dtor_and_close.  Move dlopen to...
14923         (do_test): ... here.  Use IS_LOADED to test for its
14924         availability.
14926 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
14928         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14930 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
14932         [BZ #18696]
14933         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
14934         si_addr_bnd.
14935         (si_lower): New.
14936         (si_upper): Likewise.
14938 2015-07-16  David S. Miller  <davem@davemloft.net>
14940         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
14942 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14944         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
14945         buffer.
14946         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
14947         fail output information.
14949 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14951         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
14952         and strstr-ppc64..
14953         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14954         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
14955         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
14956         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
14957         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
14959 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
14961         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
14962         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14963         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
14964         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14966 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
14968         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14969         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
14970         rtld_hidden_proto.
14971         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
14973 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14975         * tst-nodelete-opened.c (do_test): Add comment to clarify how
14976         the test can fail.
14978         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
14980         [BZ #18676]
14981         * elf/tst-nodelete-opened.c: New test case.
14982         * elf/tst-nodelete-opened-lib.c: New test case module.
14983         * elf/Makefile (tests, modules-names): Use them.
14984         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
14985         early.
14987 2015-07-15  David S. Miller  <davem@davemloft.net>
14989         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
14990         futex-intenal.h
14991         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
14992         * sysdeps/sparc/sparc64/Makefile: Likewise.
14993         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
14994         Remove space from macro define.
14995         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
14997 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
14999         [BZ #17475]
15000         * locale/iso-639.def: Update Bhili and Tulu language codes as
15001         per iso639-3.
15003 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
15005         * elf/tst-leaks1.c (main): Converted to ...
15006         (do_test): ... this.
15007         (TEST_FUNCTION): New macro.
15008         Include test-skeleton.c.
15009         * localedata/tst-langinfo.c (main): Converted to ...
15010         (do_test): ... this.
15011         (TEST_FUNCTION): New macro.
15012         Include test-skeleton.c.
15013         * math/test-fpucw.c (main): Converted to ...
15014         (do_test): ... this.
15015         (TEST_FUNCTION): New macro.
15016         Include test-skeleton.c.
15017         * math/test-tgmath.c (main): Converted to ...
15018         (do_test): ... this.
15019         (TEST_FUNCTION): New macro.
15020         Include test-skeleton.c.
15021         * math/test-tgmath2.c (main): Converted to ...
15022         (do_test): ... this.
15023         (TEST_FUNCTION): New macro.
15024         Include test-skeleton.c.
15025         * setjmp/tst-setjmp.c (main): Converted to ...
15026         (do_test): ... this.
15027         (TEST_FUNCTION): New macro.
15028         Include test-skeleton.c.
15029         * stdio-common/tst-sscanf.c (main): Converted to ...
15030         (do_test): ... this.
15031         (TEST_FUNCTION): New macro.
15032         Include test-skeleton.c.
15033         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
15034         (do_test): ... this.
15035         (TEST_FUNCTION): New macro.
15036         Include test-skeleton.c.
15038         * elf/tst-audit9.c (main): Converted to ...
15039         (do_test): ... this.
15040         (TEST_FUNCTION): New macro.
15041         Include test-skeleton.c.
15043 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
15045         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
15047 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15049         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
15050         New variable.
15052 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15054         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15056 2015-07-14  Roland McGrath  <roland@hack.frob.com>
15058         * sysdeps/generic/dl-fileid.h: New file.
15059         * sysdeps/posix/dl-fileid.h: New file.
15060         * sysdeps/nacl/dl-fileid.h: New file.
15061         * include/link.h: Include <dl-fileid.h>.
15062         (struct link_map): Replace l_dev and l_ino with l_file_id.
15063         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
15064         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
15065         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
15067 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15069         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
15071 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15073         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
15074         Add iff $CXX is set.
15075         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
15076         Likewise.
15077         (tst-nodelete-zmodiff): Likewise.
15078         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
15080 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15082         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
15084 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15086         * sysdeps/aarch64/fpu/math_private.h
15087         (define math_opt_barrier): Add AArch64 version.
15088         (math_force_eval): Likewise.
15090 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15092         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
15094 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
15096         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
15097         %ld with %jd and cast to intmax_t.
15098         (do_test_length_zero): Likewise.
15100 2015-07-10  Roland McGrath  <roland@hack.frob.com>
15102         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
15104 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
15106         * sysdeps/tile/libm-test-ulps: Regenerated.
15108         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
15109         Comment out the whole function, not just its body.
15111 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15113         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
15114         locks.
15116         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
15118 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15120         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
15121         (sem_assume_only_signals_cause_futex_EINTR): Remove.
15123 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15125         * sysdeps/nptl/futex-internal.h: New file.
15126         * sysdeps/nacl/futex-internal.h: New file.
15127         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
15128         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
15129         error checking.
15130         (setxid_unmark_thread): Likewise.
15131         (__nptl_setxid): Likewise.
15132         (__wait_lookup_done): Likewise.
15133         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
15134         * nptl/nptl-init.c (sighandler_setxid): Likewise.
15135         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
15136         * nptl/pthread_once.c (clear_once_control): Likewise.
15137         (__pthread_once_slow): Likewise.
15138         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15139         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
15140         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
15141         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15142         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
15143         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
15144         Likewise.
15145         (__pthread_rwlock_rdlock): Likewise.
15146         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15147         Likewise.
15148         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15149         Likewise.
15150         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15151         Likewise.
15152         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
15153         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
15154         Likewise.
15155         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
15156         __ASSUME_PRIVATE_FUTEX check.
15157         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
15158         Check that shared futexes are supported.
15159         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
15160         wrappers with error checking.
15161         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
15162         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
15163         * nptl/pthread_barrierattr_setpshared.c
15164         (pthread_barrierattr_setpshared): Check that shared futexes are
15165         supported.
15166         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
15167         Likewise.
15168         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
15169         Likewise.
15170         * nptl/sem_init.c (futex_private_if_supported): Remove.
15171         (__new_sem_init): Adapt and check that shared futexes are supported.
15172         * nptl/sem_open.c (sem_open): Likewise.
15173         * nptl/sem_post.c (futex_wake): Remove.
15174         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
15175         (do_futex_wait): Use futex wrappers with error checking.
15176         * nptl/sem_wait.c: Include lowlevellock.h.
15177         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
15178         Use futex_supports_pshared.
15179         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
15180         Use futex wrappers with error checking.
15181         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
15182         Likewise.
15183         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
15184         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
15185         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
15186         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
15187         (futex_wake): Likewise.
15188         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
15189         (do_futex_wait): Use futex wrappers with error checking.
15190         (__new_sem_wait_slow): Update EINTR handling.
15191         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
15193 2015-07-09  Martin Sebor  <msebor@redhat.com>
15195         [BZ #18435]
15196         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15197         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
15198         * nptl/Makefile (test-xfail-tst-once5): Define.
15200 2015-07-09  Roland McGrath  <roland@hack.frob.com>
15202         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
15203         * elf/dl-minimal.c: For readability, reorder some definitions and
15204         introduce more page breaks.  Include <stdio.h>.
15205         (__libc_fatal): New function.
15207         * include/unistd.h: Add rtld_hidden_proto for _exit.
15208         * posix/_exit.c: Add rtld_hidden_def.
15209         * sysdeps/mach/hurd/_exit.c: Likewise.
15210         * sysdeps/nacl/_exit.c: Likewise.
15211         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
15212         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
15214 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
15216         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
15217         bndmov encoding with zero displacement.
15219 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
15220             H.J. Lu  <hongjiu.lu@intel.com>
15222         [BZ #18134]
15223         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
15224         * sysdeps/i386/configure: Regenerated.
15225         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15226         (_dl_runtime_profile): Save and restore Intel MPX return bound
15227         registers when calling _dl_call_pltexit.  Add
15228         PRESERVE_BND_REGS_PREFIX before return.
15229         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
15230         (LRV_BND1_OFFSET): Likewise.
15231         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
15232         lrv_bnd1.
15233         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
15234         typo in bndmov encoding.
15235         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
15236         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
15237         branch instructions to preserve bounds.
15239 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
15242         [GLIBC_2.22]: Add fmemopen.
15244 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15246         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
15247         returns an error, also try to use host port from __mach_host_self for
15248         the __vm_wire call.
15249         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
15251 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15253         [BZ #18400]
15254         [BZ #18648]
15255         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
15256         Fix pr_uid and pr_gid members.
15257         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
15258         definition to elf_greg_t.
15260 2015-07-08  Roland McGrath  <roland@hack.frob.com>
15262         [BZ #18383]
15263         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
15264         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
15265         * sysdeps/arm/configure: Regenerated.
15266         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
15267         (test-xfail-tst-tlsalign-static): Variable removed.
15269         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
15270         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
15271         rather than explicit 'ln -s'.
15273         * resolv/rpc/netdb.h: New file.
15274         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
15276 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15278         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
15279         length buffers.
15280         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
15281         test-skeleton.c.
15283         [BZ #6544]
15284         [BZ #11216]
15285         [BZ #12836]
15286         [BZ #13151]
15287         [BZ #13152]
15288         [BZ #14292]
15289         * include/stdio.h (fmemopen): Remove hidden prototype.
15290         (__fmemopen): Add new hidden prototype.
15291         * libio/Makefile: Add oldfmemopen object.
15292         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
15293         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
15294         compliance.
15295         * libio/oldfmemopen.c: New file: old fmemopen implementation for
15296         symbol compatibility.
15297         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
15298         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
15299         fmemopen.
15300         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
15301         on append and read mode.
15302         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
15303         fmemopen.
15304         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
15305         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
15306         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
15307         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
15308         Likewise.
15309         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
15310         [GLIBC_2.22]: Likewise.
15311         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
15312         Likewise.
15313         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
15314         Likewise.
15315         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
15316         [GLIBC_2.22]: Likewise.
15317         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
15318         [GLIBC_2.22]: Likewise.
15319         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
15320         [GLIBC_2.22]: Likewise.
15321         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
15322         [GLIBC_2.22]: Likewise.
15323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
15324         [GLIBC_2.22]: Likewise.
15325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
15326         [GLIBC_2.22]: Likewise.
15327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
15328         [GLIBC_2.22]: Likewise.
15329         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
15330         Likewise.
15331         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
15332         Likewise.
15333         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
15334         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
15335         [GLIBC_2.22]: Likewise.
15336         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
15337         [GLIBC_2.22]: Likewise.
15338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
15339         [GLIBC_2.22]: Likewise.
15340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
15341         [GLIBC_2.22]: Likewise.
15342         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
15343         Likewise.
15344         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
15345         Likewise.
15346         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
15347         Likewise.
15348         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
15349         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
15351 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
15353         [BZ #18643]
15354         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
15355         IPV6_PATHMTU, and IPV6_DONTFRAG.
15357 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
15359         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
15360         and _IO_UNBUFFERED.
15361         * libio/oldfileops.c: Likewise.
15362         * libio/wfileops.c: Likewise.
15364 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
15366         * nscd/selinux.c: Delete selinux/flask.h include.
15368 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
15370         [BZ #18641]
15371         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
15372         (putpwent): Likewise.
15373         (getpwnam): Likewise.
15374         (getpwent_r): Likewise.
15375         (getpwuid_r): Likewise.
15376         (getpwnam_r): Likewise.
15377         (fgetpwent_r): Likewise.
15379 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
15381         [BZ #18557]
15382         * inet/rcmd.c (__validuser2_sa): Check user first to
15383         short-circuit host check.
15385 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
15386             Mikhail Ilin  <m.ilin@samsung.com>
15388         [BZ #17833]
15389         * elf/Makefile (tests): Add tst-nodelete.
15390         (modules-names): Add tst-nodelete-uniquemod.
15391         (tst-nodelete-uniquemod.so-no-z-defs): New.
15392         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
15393         (tst-nodelete-zmod.so-no-z-defs): Likewise.
15394         ($(objpfx)tst-nodelete): Likewise.
15395         ($(objpfx)tst-nodelete.out): Likewise.
15396         (LDFLAGS-tst-nodelete): Likewise.
15397         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
15398         * elf/dl-close.c (_dl_close_worker): Add a parameter to
15399         implement forced object deletion.
15400         (_dl_close): Pass false to _dl_close_worker.
15401         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
15402         * elf/tst-nodelete.cc: New file.
15403         * elf/tst-nodeletelib.cc: Likewise.
15404         * elf/tst-znodeletelib.cc: Likewise.
15405         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
15407 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15409         [BZ #18508]
15410         * stdlib/Makefile ($(objpfx)tst-makecontext3):
15411         Depend on $(libdl).
15412         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
15413         is not called infinitely times.
15414         (backtrace_helper): New function.
15415         (trace_arg): New struct.
15416         (st1): Enlarge stack size.
15417         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15418         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
15419         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15420         Likewise.
15422 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15424         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15426 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15428         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
15429         Include sys/types.h instead of bits/types.h.
15430         Remove inclusion of bits/wordsize.h.
15432 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15434         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
15435         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
15436         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
15437         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
15438         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
15439         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
15441 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15443         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
15444         link-defines.sym.
15445         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
15446         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
15447         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
15448         and LR_SIZE.
15449         * sysdeps/i386/link-defines.sym: New file.
15451 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15453         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
15454         (modules-names): Add tst-auditmod3a tst-auditmod3b.
15455         ($(objpfx)tst-audit3): New rule.
15456         ($(objpfx)tst-audit3.out): Likewise.
15457         * sysdeps/i386/tst-audit3.c: New file.
15458         * sysdeps/i386/tst-audit3.h: Likewise.
15459         * sysdeps/i386/tst-auditmod3a.c: Likewise.
15460         * sysdeps/i386/tst-auditmod3b.c: Likewise.
15462 2015-07-07  Torvald Riegel  <triegel@redhat.com>
15464         [BZ #18633]
15465         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
15466         pointer in C code.
15467         (__strcat_c): Likewise.
15468         (__strcat_g): Likewise.
15470 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
15472         [BZ #18592]
15473         * misc/sbrk.c: Set errno to ENOMEM on overflow.
15475 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
15477         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
15478         New function.  (__ieee754_sqrtf): New function.
15479         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
15480         New function.
15481         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
15482         New function.
15484 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
15486         * sysdeps/ieee754/support.c: Remove unused file.
15488 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15490         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
15491         registers instead of d ones so the layout is kernel abi compatible.
15492         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
15493         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
15494         Likewise.
15496 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15498         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15500 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
15502         [BZ #18619]
15503         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
15504         and return argument in case of subnormal argument.
15506 2015-07-01  Martin Sebor  <msebor@redhat.com>
15508         [BZ #18435]
15509         * nptl/Makefile: Add tst-once5.cc.
15510         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15511         Remove macro redefinitions.
15512         * nptl/tst-once5.cc: New test.
15514 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
15516         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15518         * sysdeps/arm/libm-test-ulps: Regenerated.
15520         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15521         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15523 2015-06-30  Torvald Riegel  <triegel@redhat.com>
15525         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
15526         lll_lock_wait_private and lll_futex_wake probes.
15528         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15529         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
15530         Likewise.
15531         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
15532         atomic_spin_nop.
15533         * sysdeps/x86_64/bits/atomic.h: Likewise.
15534         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
15535         to atomic_spin_nop and move ...
15536         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15537         ... here and ...
15538         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
15539         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
15540         atomic_spin_nop instead of BUSY_WAIT_NOP.
15541         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
15542         Likewise.
15543         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
15544         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15545         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
15546         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
15547         instead of atomic_delay.
15549 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
15551         [BZ #18613]
15552         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
15553         X_ADJ not X when adjusting exponent.
15554         (__ieee754_gamma_r): Do intermediate computations in
15555         round-to-nearest then adjust overflowing and underflowing results
15556         as needed.
15557         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
15558         of X_ADJ not X when adjusting exponent.
15559         (__ieee754_gammaf_r): Do intermediate computations in
15560         round-to-nearest then adjust overflowing and underflowing results
15561         as needed.
15562         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
15563         log of X_ADJ not X when adjusting exponent.
15564         (__ieee754_gammal_r): Do intermediate computations in
15565         round-to-nearest then adjust overflowing and underflowing results
15566         as needed.  Use 1.0L not 1.0f as numerator of division.
15567         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
15568         log of X_ADJ not X when adjusting exponent.
15569         (__ieee754_gammal_r): Do intermediate computations in
15570         round-to-nearest then adjust overflowing and underflowing results
15571         as needed.  Use 1.0L not 1.0f as numerator of division.
15572         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
15573         of X_ADJ not X when adjusting exponent.
15574         (__ieee754_gammal_r): Do intermediate computations in
15575         round-to-nearest then adjust overflowing and underflowing results
15576         as needed.  Use 1.0L not 1.0f as numerator of division.
15577         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
15578         to auto-libm-test-in.
15579         (tgamma_test): Use ALL_RM_TEST.
15580         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
15581         tests of tgamma with spurious-overflow.
15582         * math/auto-libm-test-out: Regenerated.
15583         * math/gen-libm-have-vector-test.sh: Do not check for START.
15584         * sysdeps/i386/fpu/libm-test-ulps: Update.
15585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15587         [BZ #18612]
15588         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
15589         arguments, just return 0.5 times the argument, with underflow
15590         forced as needed.
15591         * math/auto-libm-test-in: Add more tests of j1.
15592         * math/auto-libm-test-out: Regenerated.
15594         [BZ #16559]
15595         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
15596         (__ieee754_j1): Force underflow exception for small results.
15597         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15598         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
15599         (__ieee754_j1f): Force underflow exception for small results.
15600         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15601         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15602         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15603         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
15604         (__ieee754_j1l): Force underflow exception for small results.
15605         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15606         * math/auto-libm-test-in: Add more tests of j1 and jn.
15607         * math/auto-libm-test-out: Regenerated.
15609         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
15610         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
15611         (PF_MPLS): Likewise.
15612         (AF_IB): Likewise.
15613         (AF_MPLS): Likewise.
15614         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
15615         value and macro.
15616         (MS_RMT_MASK): Include MS_LAZYTIME.
15618 2015-06-26  Mel Gorman  <mgorman@suse.de>
15620         [BZ #18502]
15621         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
15622         already minimal.
15624 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
15626         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
15627         (DT_MIPS_NUM): Update.
15628         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
15629         DT_MIPS_RLD_MAP_REL.
15631 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
15633         [BZ #16559]
15634         [BZ #18602]
15635         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
15636         round-to-nearest internally then recompute results that
15637         underflowed to zero in the original rounding mode.
15638         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15639         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15640         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15641         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15642         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
15643         * sysdeps/i386/fpu/libm-test-ulps: Update.
15644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15646 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
15648         * NEWS: Fixed description of link with vector math library.
15650 2015-06-25  Andreas Schwab  <schwab@suse.de>
15652         [BZ #18549]
15653         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
15654         * libio/test-fmemopen.c (do_test): Add test for it.
15656 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
15658         [BZ #17841]
15659         * Makeconfig (no-pie-ldflag): New.
15660         (+link): Set to $(+link-pie) if default to PIE.
15661         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
15662         * config.make.in (build-pie-default): New.
15663         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
15664         is default.  AC_SUBST.
15665         * configure: Regenerated.
15666         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
15668 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15670         * nptl/descr.h (struct pthread): Change type of field setxid_futex
15671         to 'unsigned int'.
15673         * resolv/gai_misc.h (struct waitlist): Change type of field
15674         counterp to 'volatile unsigned int *'.
15675         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
15676         FUTEXADDR and OLDVAL.
15677         * resolv/getaddrinfo_a.c (getaddrinfo_a):
15678         Give local variable TOTAL type 'volatile unsigned int'.
15679         (struct async_waitlist): Change type of field counter to 'unsigned int'.
15680         * resolv/gai_suspend.c (gai_suspend):
15681         Give local variable CNTR type 'unsigned int'.
15683         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
15684         counterp to 'volatile unsigned int *'.
15685         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
15686         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
15687         (aio_suspend): Give local variable CNTR type 'unsigned int'.
15688         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
15689         Give local variable TOTAL type 'volatile unsigned int'.
15690         (struct async_waitlist): Change type of field counter to 'unsigned int'.
15692 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
15694         [BZ #18383]
15695         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
15696         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
15697         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
15698         comment for i386/x86-64.
15699         (test-xfail-tst-tlsalign-extern-static): Removed.
15701 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15703         * math/test-double.h: New file.
15704         * math/test-float.h: Likewise.
15705         * math/test-ldouble.h: Likewise.
15706         * math/test-math-inline.h: Likewise.
15707         * math/test-math-no-inline.h: Likewise.
15708         * math/test-math-scalar.h: Likewise.
15709         * math/test-math-vector.h: Likewise.
15710         * math/test-vec-loop.h: Remove file.  Contents moved into
15711         test-math-vector.h.
15712         * math/libm-test.inc (MATHCONST): Do not document macro.
15713         * math/test-double.c: Include test-double.h, test-math-no-inline.h
15714         and test-math-scalar.h.
15715         (FUNC): Remove macro.
15716         (FUNC_TEST): Likewise.
15717         (FLOAT): Likewise.
15718         (MATHCONST): Likewise.
15719         (PRINTF_EXPR): Likewise.
15720         (PRINTF_XEXPR): Likewise.
15721         (PRINTF_NEXPR): Likewise.
15722         (TEST_DOUBLE): Likewise.
15723         (TEST_MATHVEC): Likewise.
15724         (__NO_MATH_INLINES): Likewise.
15725         * math/test-float.c: Include test-float.h, test-math-no-inline.h
15726         and test-math-scalar.h.
15727         (FUNC): Remove macro.
15728         (FUNC_TEST): Likewise.
15729         (FLOAT): Likewise.
15730         (MATHCONST): Likewise.
15731         (PRINTF_EXPR): Likewise.
15732         (PRINTF_XEXPR): Likewise.
15733         (PRINTF_NEXPR): Likewise.
15734         (TEST_FLOAT): Likewise.
15735         (TEST_MATHVEC): Likewise.
15736         (__NO_MATH_INLINES): Likewise.
15737         * math/test-idouble.c: Include test-double.h, test-math-inline.h
15738         and test-math-scalar.h.
15739         (FUNC): Remove macro.
15740         (FUNC_TEST): Likewise.
15741         (FLOAT): Likewise.
15742         (MATHCONST): Likewise.
15743         (PRINTF_EXPR): Likewise.
15744         (PRINTF_XEXPR): Likewise.
15745         (PRINTF_NEXPR): Likewise.
15746         (TEST_DOUBLE): Likewise.
15747         (TEST_MATHVEC): Likewise.
15748         (TEST_INLINE): Likewise.
15749         (__NO_MATH_INLINES): Likewise.
15750         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
15751         test-math-scalar.h.
15752         (FUNC): Remove macro.
15753         (FUNC_TEST): Likewise.
15754         (FLOAT): Likewise.
15755         (MATHCONST): Likewise.
15756         (PRINTF_EXPR): Likewise.
15757         (PRINTF_XEXPR): Likewise.
15758         (PRINTF_NEXPR): Likewise.
15759         (TEST_FLOAT): Likewise.
15760         (TEST_MATHVEC): Likewise.
15761         (TEST_INLINE): Likewise.
15762         (__NO_MATH_INLINES): Likewise.
15763         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
15764         and test-math-scalar.h.
15765         (FUNC): Remove macro.
15766         (FUNC_TEST): Likewise.
15767         (FLOAT): Likewise.
15768         (MATHCONST): Likewise.
15769         (PRINTF_EXPR): Likewise.
15770         (PRINTF_XEXPR): Likewise.
15771         (PRINTF_NEXPR): Likewise.
15772         (TEST_LDOUBLE): Likewise.
15773         (TEST_MATHVEC): Likewise.
15774         (TEST_INLINE): Likewise.
15775         (__NO_MATH_INLINES): Likewise.
15776         * math/test-ldouble.c: Include test-ldouble.h,
15777         test-math-no-inline.h and test-math-scalar.h.
15778         (FUNC): Remove macro.
15779         (FUNC_TEST): Likewise.
15780         (FLOAT): Likewise.
15781         (MATHCONST): Likewise.
15782         (PRINTF_EXPR): Likewise.
15783         (PRINTF_XEXPR): Likewise.
15784         (PRINTF_NEXPR): Likewise.
15785         (TEST_LDOUBLE): Likewise.
15786         (TEST_MATHVEC): Likewise.
15787         (__NO_MATH_INLINES): Likewise.
15788         * math/test-double-vlen2.h: Include test-double.h,
15789         test-math-no-inline.h and test-math-vector.h.
15790         (FLOAT): Remove macro.
15791         (FUNC): Likewise.
15792         (MATHCONST): Likewise.
15793         (PRINTF_EXPR): Likewise.
15794         (PRINTF_XEXPR): Likewise.
15795         (PRINTF_NEXPR): Likewise.
15796         (TEST_DOUBLE): Likewise.
15797         (TEST_MATHVEC): Likewise.
15798         (__NO_MATH_INLINES): Likewise.
15799         (CNCT): Likewise.
15800         (CONCAT): Likewise.
15801         (WRAPPER_NAME): Likewise.
15802         (WRAPPER_DECL): Likewise.
15803         (WRAPPER_DECL_ff): Likewise.
15804         (WRAPPER_DECL_fFF): Likewise.
15805         (VECTOR_WRAPPER): Likewise.
15806         (VECTOR_WRAPPER_ff): Likewise.
15807         (VECTOR_WRAPPER_fFF): Likewise.
15808         (VEC_LEN): New macro.
15809         * math/test-double-vlen4.h: Include test-double.h,
15810         test-math-no-inline.h and test-math-vector.h.
15811         (FLOAT): Remove macro.
15812         (FUNC): Likewise.
15813         (MATHCONST): Likewise.
15814         (PRINTF_EXPR): Likewise.
15815         (PRINTF_XEXPR): Likewise.
15816         (PRINTF_NEXPR): Likewise.
15817         (TEST_DOUBLE): Likewise.
15818         (TEST_MATHVEC): Likewise.
15819         (__NO_MATH_INLINES): Likewise.
15820         (CNCT): Likewise.
15821         (CONCAT): Likewise.
15822         (WRAPPER_NAME): Likewise.
15823         (WRAPPER_DECL): Likewise.
15824         (WRAPPER_DECL_ff): Likewise.
15825         (WRAPPER_DECL_fFF): Likewise.
15826         (VECTOR_WRAPPER): Likewise.
15827         (VECTOR_WRAPPER_ff): Likewise.
15828         (VECTOR_WRAPPER_fFF): Likewise.
15829         (VEC_LEN): New macro.
15830         * math/test-double-vlen8.h: Include test-double.h,
15831         test-math-no-inline.h and test-math-vector.h.
15832         (FLOAT): Remove macro.
15833         (FUNC): Likewise.
15834         (MATHCONST): Likewise.
15835         (PRINTF_EXPR): Likewise.
15836         (PRINTF_XEXPR): Likewise.
15837         (PRINTF_NEXPR): Likewise.
15838         (TEST_DOUBLE): Likewise.
15839         (TEST_MATHVEC): Likewise.
15840         (__NO_MATH_INLINES): Likewise.
15841         (CNCT): Likewise.
15842         (CONCAT): Likewise.
15843         (WRAPPER_NAME): Likewise.
15844         (WRAPPER_DECL): Likewise.
15845         (WRAPPER_DECL_ff): Likewise.
15846         (WRAPPER_DECL_fFF): Likewise.
15847         (VECTOR_WRAPPER): Likewise.
15848         (VECTOR_WRAPPER_ff): Likewise.
15849         (VECTOR_WRAPPER_fFF): Likewise.
15850         (VEC_LEN): New macro.
15851         * math/test-float-vlen4.h: Include test-float.h,
15852         test-math-no-inline.h and test-math-vector.h.
15853         (FLOAT): Remove macro.
15854         (FUNC): Likewise.
15855         (MATHCONST): Likewise.
15856         (PRINTF_EXPR): Likewise.
15857         (PRINTF_XEXPR): Likewise.
15858         (PRINTF_NEXPR): Likewise.
15859         (TEST_FLOAT): Likewise.
15860         (TEST_MATHVEC): Likewise.
15861         (__NO_MATH_INLINES): Likewise.
15862         (CNCT): Likewise.
15863         (CONCAT): Likewise.
15864         (WRAPPER_NAME): Likewise.
15865         (WRAPPER_DECL): Likewise.
15866         (WRAPPER_DECL_ff): Likewise.
15867         (WRAPPER_DECL_fFF): Likewise.
15868         (VECTOR_WRAPPER): Likewise.
15869         (VECTOR_WRAPPER_ff): Likewise.
15870         (VECTOR_WRAPPER_fFF): Likewise.
15871         (VEC_LEN): New macro.
15872         * math/test-float-vlen8.h: Include test-float.h,
15873         test-math-no-inline.h and test-math-vector.h.
15874         (FLOAT): Remove macro.
15875         (FUNC): Likewise.
15876         (MATHCONST): Likewise.
15877         (PRINTF_EXPR): Likewise.
15878         (PRINTF_XEXPR): Likewise.
15879         (PRINTF_NEXPR): Likewise.
15880         (TEST_FLOAT): Likewise.
15881         (TEST_MATHVEC): Likewise.
15882         (__NO_MATH_INLINES): Likewise.
15883         (CNCT): Likewise.
15884         (CONCAT): Likewise.
15885         (WRAPPER_NAME): Likewise.
15886         (WRAPPER_DECL): Likewise.
15887         (WRAPPER_DECL_ff): Likewise.
15888         (WRAPPER_DECL_fFF): Likewise.
15889         (VECTOR_WRAPPER): Likewise.
15890         (VECTOR_WRAPPER_ff): Likewise.
15891         (VECTOR_WRAPPER_fFF): Likewise.
15892         (VEC_LEN): New macro.
15893         * math/test-float-vlen16.h: Include test-float.h,
15894         test-math-no-inline.h and test-math-vector.h.
15895         (FLOAT): Remove macro.
15896         (FUNC): Likewise.
15897         (MATHCONST): Likewise.
15898         (PRINTF_EXPR): Likewise.
15899         (PRINTF_XEXPR): Likewise.
15900         (PRINTF_NEXPR): Likewise.
15901         (TEST_FLOAT): Likewise.
15902         (TEST_MATHVEC): Likewise.
15903         (__NO_MATH_INLINES): Likewise.
15904         (CNCT): Likewise.
15905         (CONCAT): Likewise.
15906         (WRAPPER_NAME): Likewise.
15907         (WRAPPER_DECL): Likewise.
15908         (WRAPPER_DECL_ff): Likewise.
15909         (WRAPPER_DECL_fFF): Likewise.
15910         (VECTOR_WRAPPER): Likewise.
15911         (VECTOR_WRAPPER_ff): Likewise.
15912         (VECTOR_WRAPPER_fFF): Likewise.
15913         (VEC_LEN): New macro.
15914         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
15915         test-vec-loop.h.
15916         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15917         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15918         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15919         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15920         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15921         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15922         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15924 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15926         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
15927         (__getlogin_r): ... this.
15929 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15931         [BZ #18594]
15932         * math/s_ccosh.c (__ccosh): Compare with least normal value
15933         instead of comparing class with FP_SUBNORMAL.
15934         * math/s_ccoshf.c (__ccoshf): Likewise.
15935         * math/s_ccoshl.c (__ccoshl): Likewise.
15936         * math/s_cexp.c (__cexp): Likewise.
15937         * math/s_cexpf.c (__cexpf): Likewise.
15938         * math/s_cexpl.c (__cexpl): Likewise.
15939         * math/s_csin.c (__csin): Likewise.
15940         * math/s_csinf.c (__csinf): Likewise.
15941         * math/s_csinh.c (__csinh): Likewise.
15942         * math/s_csinhf.c (__csinhf): Likewise.
15943         * math/s_csinhl.c (__csinhl): Likewise.
15944         * math/s_csinl.c (__csinl): Likewise.
15945         * math/s_ctan.c (__ctan): Likewise.
15946         * math/s_ctanf.c (__ctanf): Likewise.
15947         * math/s_ctanh.c (__ctanh): Likewise.
15948         * math/s_ctanhf.c (__ctanhf): Likewise.
15949         * math/s_ctanhl.c (__ctanhl): Likewise.
15950         * math/s_ctanl.c (__ctanl): Likewise.
15951         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
15952         csin, csinh, ctan and ctanh.
15953         * math/auto-libm-test-out: Regenerated.
15954         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
15955         * sysdeps/i386/fpu/libm-test-ulps: Update.
15956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15958 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15960         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
15961         return value is wrong, print the expected value too.
15963 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
15965         [BZ #18585]
15966         * elf/readlib.c (is_gdb_python_file): New.
15967         (process_file): Don't issue errors on filenames with -gdb.py
15968         suffix.
15970 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15972         * math/auto-libm-test-in: Add more tests of csin and csinh.
15973         * math/auto-libm-test-out: Regenerated.
15974         * math/libm-test.inc (csin_test_data): Remove tests moved to
15975         auto-libm-test-in.
15976         (csinh_test_data): Likewise.
15978         [BZ #18593]
15979         * math/s_csin.c (__csin): Negate before rather than after possibly
15980         overflowing multiplication.
15981         * math/s_csinf.c (__csinf): Likewise.
15982         * math/s_csinh.c (__csinh): Likewise.
15983         * math/s_csinhf.c (__csinhf): Likewise.
15984         * math/s_csinhl.c (__csinhl): Likewise.
15985         * math/s_csinl.c (__csinl): Likewise.
15986         * math/auto-libm-test-in: Add some tests of csin and csinh.
15987         * math/auto-libm-test-out: Regenerated.
15988         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
15989         (csinh_test_data): Likewise.
15990         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15992         [BZ #18586]
15993         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
15994         underflow exception for small results.
15996 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
15998         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
15999         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
16000         variable and included header.
16001         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
16002         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
16003         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
16004         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
16005         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
16006         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
16007         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
16008         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
16009         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
16010         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
16011         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
16012         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
16013         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
16014         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
16015         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
16016         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
16018 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16020         [BZ #16526]
16021         [BZ #16538]
16022         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
16023         (__sin): Force underflow exception for arguments with small
16024         absolute value.
16025         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
16026         (__kernel_sinf): Force underflow exception for arguments with
16027         small absolute value.
16028         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
16029         (__kernel_sincosl): Force underflow exception for arguments with
16030         small absolute value.
16031         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
16032         (__kernel_sinl): Force underflow exception for arguments with
16033         small absolute value.
16034         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
16035         (__kernel_sincosl): Force underflow exception for arguments with
16036         small absolute value.
16037         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
16038         (__kernel_sinl): Force underflow exception for arguments with
16039         small absolute value.
16040         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
16041         (__kernel_sinl): Force underflow exception for arguments with
16042         small absolute value.
16043         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
16044         (__kernel_sinf): Force underflow exception for arguments with
16045         small absolute value.
16046         * math/auto-libm-test-in: Add more tests of sin and sincos.
16047         * math/auto-libm-test-out: Regenerated.
16049         [BZ #18245]
16050         [BZ #18583]
16051         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
16052         (__kernel_standard_l): Use feholdexcept and fesetenv around
16053         conversion to double instead of special-casing overflow and
16054         underflow.
16055         * math/libm-test.inc (fmod_test_data): Add more tests.
16056         (remainder_test_data): Likewise.
16057         (sqrt_test_data): Likewise.
16059 2015-06-23  Torvald Riegel  <triegel@redhat.com>
16061         [BZ #17403]
16062         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
16063         atomic_read_barrier, atomic_write_barrier): Define.
16064         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
16065         atomic_read_barrier, atomic_write_barrier): Define.
16067 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16069         * math/Makefile [$(PERL) != no]
16070         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
16071         dependency on libm-test.stmp below the inclusion of Rules.
16073 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
16075         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16076         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
16077         and included header.
16078         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
16079         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
16080         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
16081         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
16082         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
16083         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
16084         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
16085         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
16086         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
16087         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
16088         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
16089         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
16090         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
16091         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
16092         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
16093         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
16094         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
16095         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
16096         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
16098 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16100         [BZ #18371]
16101         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
16102         intermediate but not final result might underflow.
16103         * math/s_csqrtf.c (__csqrtf): Likewise.
16104         * math/s_csqrtl.c (__csqrtl): Likewise.
16105         * math/auto-libm-test-in: Add more tests of csqrt.
16106         * math/auto-libm-test-out: Regenerated.
16107         * sysdeps/i386/fpu/libm-test-ulps: Update.
16109         [BZ #18219]
16110         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
16111         threshold on absolute value of exponent for which scaling is used.
16112         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16113         * math/auto-libm-test-in: Add more tests of exp2.
16114         * math/auto-libm-test-out: Regenerated.
16116 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
16118         [BZ #17977]
16119         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
16120         when initializing interface list, based on the bug analysis
16121         and the patch proposed by Eric Newton.
16122         * resolv/tst-res_hconf_reorder.c: New test.
16123         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
16124         tst-res_hconf_reorder.
16125         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
16126         and $(shared-thread-library).
16127         (tst-res_hconf_reorder-ENV): New variable.
16129         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
16130         in comment.
16132 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
16134         [BZ #16353]
16135         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
16136         (__expm1): Force underflow exception for arguments with small
16137         absolute value.
16138         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
16139         (__expm1f): Force underflow exception for arguments with small
16140         absolute value.
16141         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
16142         (__expm1): Force underflow exception for arguments with small
16143         absolute value.
16144         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
16145         (__expm1f): Force underflow exception for arguments with small
16146         absolute value.
16147         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16148         Check for small arguments before calling __expm1.
16149         * math/auto-libm-test-in: Do not mark underflow exceptions as
16150         possibly missing for bug 16353.
16151         * math/auto-libm-test-out: Regenerated.
16153 2015-06-22  Andreas Schwab  <schwab@suse.de>
16155         [BZ #18513]
16156         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
16157         PTR queries.
16159 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
16161         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
16163         * string/strcoll_l.c: Remove unused struct element idxnow.
16165 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
16167         [BZ #18569]
16168         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
16169         underflow and return argument in case of subnormal argument.
16170         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16171         Likewise.
16172         * math/auto-libm-test-in: Add more tests of expm1.
16173         * math/auto-libm-test-out: Regenerated.
16175         [BZ #16361]
16176         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16177         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16178         tiny results.
16179         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16180         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16181         tiny results.
16182         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
16183         mark underflow exceptions as possibly missing for bug 16361.
16184         * math/auto-libm-test-out: Regenerated.
16186 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
16188         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
16189         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
16190         Remove variable.
16191         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16192         (test-xfail-XOPEN2K8/utmpx.h/conform).
16194         * conform/conformtest.pl ($xerrors): New variable.
16195         (note_error): New function.
16196         (compiletest): New argument $xfail.  Use not_error.
16197         (runtest): Likewise.
16198         (top level): Handle xfail- lines.  Update calls to compiletest and
16199         runtest.  Handle xfail- and optional- in headers listed with
16200         allow-header.
16201         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
16202         (O_EXEC): Likewise.
16203         (O_SEARCH): Likewise.
16204         * conform/data/stropts.h-data (ioctl): Likewise.
16205         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
16206         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
16207         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
16208         (msghdr.msg_controllen): Likewise.
16209         (cmsghdr.cmsg_len): Likewise.
16210         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
16211         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
16212         variable.
16213         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16214         (test-xfail-XPG4/stropts.h/conform): Likewise.
16215         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16216         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16217         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16218         (test-xfail-UNIX98/stropts.h/conform): Likewise.
16219         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16220         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16221         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16222         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16223         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16224         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16225         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16226         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16227         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16228         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16229         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16230         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16231         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16232         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16233         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16235 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16237         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
16238         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
16239         definitions for proper unfolding of __MATHDECL_VEC.
16241 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16243         * benchtests/bench-strcoll.c:
16244         Include string.h.
16245         (main): Remove unused variable res.
16247 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16249         * timezone/Makefile (%/UTC %/Universal):
16250         Generate test-result files for UTC and Universal.
16252 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16254         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16256 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
16258         [BZ #16350]
16259         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
16260         for arguments with small absolute value.
16261         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
16262         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
16263         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
16264         (__asinh): Force underflow exception for arguments with small
16265         absolute value.
16266         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
16267         (__asinhf): Force underflow exception for arguments with small
16268         absolute value.
16269         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
16270         (__asinhl): Force underflow exception for arguments with small
16271         absolute value.
16272         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
16273         (__asinhl): Force underflow exception for arguments with small
16274         absolute value.
16275         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
16276         (__asinhl): Force underflow exception for arguments with small
16277         absolute value.
16278         * math/auto-libm-test-in: Do not mark underflow exceptions as
16279         possibly missing for bug 16350.
16280         * math/auto-libm-test-out: Regenerated.
16282         * include/bits/ipc.h: Remove file.
16283         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
16284         variable.
16285         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16286         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16287         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16288         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16289         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16290         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16291         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16292         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16293         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16295         * math/auto-libm-test-in: Remove spurious underflow allowance for
16296         tests of cexp.
16297         * math/auto-libm-test-out: Regenerated.
16299         [BZ #18558]
16300         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
16301         unconditional definition.
16302         (MCAST_BLOCK_SOURCE): Likewise.
16303         (MCAST_UNBLOCK_SOURCE): Likewise.
16304         (MCAST_LEAVE_GROUP): Likewise.
16305         (MCAST_JOIN_SOURCE_GROUP): Likewise.
16306         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16307         (MCAST_MSFILTER): Likewise.
16308         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
16309         Remove variable.
16310         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16311         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16312         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16313         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16314         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16316 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
16318         * NEWS: Mention addition of x86_64 vector sincosf.
16319         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
16320         * math/test-float-vlen4.h: Likewise.
16321         * math/test-float-vlen8.h: Likewise.
16322         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16323         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
16324         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16325         * sysdeps/x86_64/fpu/Versions: New versions added.
16326         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16327         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16328         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16329         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
16330         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
16331         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
16332         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
16333         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
16334         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
16335         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
16336         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
16337         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
16338         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
16339         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
16340         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
16341         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
16342         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
16343         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16344         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16345         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16346         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16347         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16348         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16349         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16351         * NEWS: Mention addition of x86_64 vector sincos.
16352         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
16353         * math/math.h (__MATHDECL_VEC): New macro.
16354         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
16355         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
16356         declaration under condition.
16357         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
16358         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
16359         TEST_VEC_LOOP change.
16360         * math/test-double-vlen4.h: Likewise.
16361         * math/test-double-vlen8.h: Likewise.
16362         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
16363         * math/test-float-vlen4.h: Likewise.
16364         * math/test-float-vlen8.h: Likewise.
16365         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16366         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
16367         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16368         * sysdeps/x86_64/fpu/Versions: New versions added.
16369         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16370         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16371         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16372         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
16373         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
16374         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
16375         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
16376         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
16377         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
16378         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
16379         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
16380         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
16381         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
16382         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
16383         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
16384         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
16385         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
16386         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16387         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16388         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16389         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16390         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16391         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16392         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16394         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16395         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16396         redirections for powf.
16397         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16398         * sysdeps/x86_64/fpu/Versions: New versions added.
16399         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16400         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16401         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16402         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
16403         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
16404         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
16405         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
16406         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
16407         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
16408         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
16409         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
16410         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
16411         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
16412         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
16413         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
16414         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
16415         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
16416         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16417         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16418         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16419         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16420         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16421         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16422         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16423         * math/test-float-vlen16.h: Fixed 2 argument macro.
16424         * math/test-float-vlen4.h: Likewise.
16425         * math/test-float-vlen8.h: Likewise.
16426         * NEWS: Mention addition of x86_64 vector powf.
16428 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
16430         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16431         and redefine.
16432         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16433         and redefine.
16434         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
16435         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16436         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16438         [BZ #18553]
16439         * resource/getpriority.c (getpriority): Rename to __getpriority
16440         and define as weak alias of __getpriority.
16441         * resource/setpriority.c (setpriority): Rename to __setpriority
16442         and define as weak alias of __setpriority.
16443         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
16444         __getpriority and define as weak alias of __getpriority.
16445         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
16446         __setpriority and define as weak alias of __setpriority.
16447         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
16448         strong name.
16449         (setpriority): Use __setpriority as strong name.
16450         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
16451         __getpriority and define as weak alias of __getpriority.
16452         * include/sys/resource.h (__getpriority): Declare.  Use
16453         libc_hidden_proto.
16454         (__setpriority): Likewise.
16455         (getpriority): Don't use libc_hidden_proto.
16456         (setpriority): Likewise.
16457         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
16458         getpriority.  Call __setpriority instead of setpriority.
16459         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
16460         Remove variable.
16462         [BZ #18547]
16463         * misc/getttyent.c (getttynam): Rename to __getttynam and define
16464         as weak alias of __getttynam.  Use prototype function definition.
16465         Call __setttyent, __getttyent and __endttyent instead of
16466         setttyent, getttyent and endttyent.
16467         (getttyent): Rename to __getttyent and define as weak alias of
16468         __getttyent.  Call __setttyent instead of setttyent.  Call
16469         __fgets_unlocked instead of fgets_unlocked.
16470         (setttyent): Rename to __setttyent and define as weak alias of
16471         __setttyent.
16472         (endttyent): Rename to __endttyent and define as weak alias of
16473         __endttyent.
16474         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
16475         (__setttyent): Likewise.
16476         (__endttyent): Likewise.
16477         (getttyent): Don't use libc_hidden_proto.
16478         (setttyent): Likewise.
16479         (endttyent): Likewise.
16480         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
16481         __endttyent instead of setttyent, getttyent and endttyent.
16482         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
16483         Remove variable.
16485         [BZ #18546]
16486         * socket/recv.c (__recv): Use libc_hidden_def.
16487         * socket/socket.c (__socket): Likewise.
16488         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
16489         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
16490         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
16491         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
16492         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
16493         libc_hidden_def.
16494         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
16495         libc_hidden_weak.
16496         * include/sys/socket.h (__socket): Do not use attribute_hidden.
16497         Use libc_hidden_proto.
16498         (__recv): Likewise.
16499         * socket/Versions (libc): Export __recv and __socket at version
16500         GLIBC_PRIVATE.
16501         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
16502         instead of recv.
16503         (init_mq_netlink): Call __socket instead of socket.
16504         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
16505         Remove variable.
16507         [BZ #18545]
16508         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
16509         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
16510         hidden_weak.
16511         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
16512         define as alias of __mq_timedsend.  Use hidden_weak.
16513         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
16514         __mq_timedsend as strong name.
16515         (mq_timedreceive): Use __mq_timedreceive as strong name.
16516         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
16517         (__mq_timedreceive): Likewise.
16518         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
16519         __mq_timedreceive instead of mq_timedreceive.
16520         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
16521         instead of mq_timedsend.
16522         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
16523         Remove variable.
16525         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
16526         hidden_def and hidden_weak instead of libc_hidden_def and
16527         libc_hidden_weak.
16528         (top level): Refer to hidden_def in comment.
16529         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
16530         macro.  Use it instead of libc_hidden_def.
16531         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
16532         specify __GI_* name explicitly.
16533         (mq_timedreceive): Likewise.
16534         (mq_setattr): Likewise.
16536         [BZ #18544]
16537         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
16538         __pthread_barrier_init and define as weak alias of
16539         __pthread_barrier_init.
16540         * sysdeps/sparc/nptl/pthread_barrier_init.c
16541         (pthread_barrier_init): Likewise.
16542         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
16543         __pthread_barrier_wait and define as weak alias of
16544         __pthread_barrier_wait.
16545         * sysdeps/sparc/nptl/pthread_barrier_wait.c
16546         (pthread_barrier_wait): Likewise.
16547         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
16548         (pthread_barrier_wait): Likewise.
16549         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
16550         (pthread_barrier_wait): Likewise.
16551         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
16552         (pthread_barrier_wait): Likewise.
16553         * nptl/Versions (libpthread): Export __pthread_barrier_init and
16554         __pthread_barrier_wait at version GLIBC_PRIVATE.
16555         * include/pthread.h (__pthread_barrier_init): Declare.
16556         (__pthread_barrier_wait): Likewise.
16557         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
16558         Call __pthread_barrier_wait instead of pthread_barrier_wait.
16559         (helper_thread): Likewise.
16560         (init_mq_netlink): Call __pthread_barrier_init instead of
16561         pthread_barrier_init.
16563         [BZ #18542]
16564         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
16565         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
16566         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
16567         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
16568         vswscanf.
16569         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
16570         Remove variable.
16572         [BZ #18540]
16573         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
16574         strong alias of _IO_fflush.  Use libc_hidden_def.
16575         * libio/iofflush_u.c (fflush_unlocked): Rename to
16576         __fflush_unlocked and define as weak alias of __fflush_unlocked.
16577         Use libc_hidden_weak.
16578         * include/stdio.h (__fflush_unlocked): Declare.  Use
16579         libc_hidden_proto.
16580         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
16581         fflush_unlocked.
16582         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
16583         Remove variable.
16585         [BZ #18539]
16586         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
16587         define as weak alias of __addseverity.
16588         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
16589         Remove variable.
16590         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
16591         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
16592         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
16594         [BZ #18536]
16595         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
16596         (__tfind): Likewise.
16597         (__tdelete): Likewise.
16598         (__twalk): Likewise.
16599         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
16600         __twalk to GLIBC_PRIVATE.
16601         * include/search.h (__tsearch): Use libc_hidden_proto.
16602         (__tfind): Likewise.
16603         (__tdelete): Likewise.
16604         (__twalk): Likewise.
16605         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
16606         Call __tdelete instead of tdelete.
16607         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
16608         tfind.  Call __tsearch instead of tsearch.
16609         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
16610         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
16611         Remove variable.
16612         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
16614         [BZ #18534]
16615         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
16616         (dprintf): Define as a weak alias of __dprintf, not a strong
16617         alias.
16618         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
16619         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
16620         dprintf.
16621         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
16622         Remove variable.
16623         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
16624         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
16626         [BZ #18533]
16627         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
16628         not a strong alias.
16629         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
16630         Remove variable.
16632         [BZ #18532]
16633         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
16634         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
16635         (in6addr_loopback): Rename to __in6addr_loopback and define as
16636         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
16637         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
16638         libc_hidden_proto.
16639         (__in6addr_any): Likewise.
16640         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
16641         in6addr_any.
16642         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
16643         variable.
16644         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
16646 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
16648         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
16649         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
16650         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16651         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16652         redirections for pow.
16653         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16654         * sysdeps/x86_64/fpu/Versions: New versions added.
16655         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16656         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16657         build of SSE, AVX2 and AVX512 IFUNC versions.
16658         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
16659         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
16660         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
16661         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
16662         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
16663         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
16664         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
16665         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
16666         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
16667         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
16668         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
16669         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
16670         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
16671         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
16672         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16673         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16674         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16675         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16676         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16677         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16678         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16679         * NEWS: Mention addition of x86_64 vector pow.
16681         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16682         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16683         redirections for expf.
16684         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16685         * sysdeps/x86_64/fpu/Versions: New versions added.
16686         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16687         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16688         build of SSE, AVX2 and AVX512 IFUNC versions.
16689         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
16690         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
16691         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
16692         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
16693         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
16694         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
16695         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
16696         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
16697         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
16698         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
16699         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
16700         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
16701         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
16702         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16703         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16704         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16705         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16706         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16707         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16708         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16709         * NEWS: Mention addition of x86_64 vector expf.
16711         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
16712         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
16713         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16714         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16715         redirections for exp.
16716         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16717         * sysdeps/x86_64/fpu/Versions: New versions added.
16718         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16719         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16720         build of SSE, AVX2 and AVX512 IFUNC versions.
16721         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
16722         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
16723         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
16724         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
16725         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
16726         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
16727         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
16728         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
16729         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
16730         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
16731         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
16732         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
16733         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
16734         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16735         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16736         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16737         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16738         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16739         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16740         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16741         * NEWS: Mention addition of x86_64 vector exp.
16743         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16744         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16745         redirections for logf.
16746         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16747         * sysdeps/x86_64/fpu/Versions: New versions added.
16748         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16749         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16750         build of SSE, AVX2 and AVX512 IFUNC versions.
16751         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
16752         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
16753         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
16754         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
16755         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
16756         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
16757         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
16758         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
16759         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
16760         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
16761         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
16762         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
16763         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
16764         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16765         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16766         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16767         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16768         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16769         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16770         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16771         * NEWS: Mention addition of x86_64 vector logf.
16773         * bits/libm-simd-decl-stubs.h: Added stubs for log.
16774         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
16775         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16776         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16777         redirections for log.
16778         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16779         * sysdeps/x86_64/fpu/Versions: New versions added.
16780         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16781         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16782         build of SSE, AVX2 and AVX512 IFUNC versions.
16783         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
16784         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
16785         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
16786         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
16787         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
16788         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
16789         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
16790         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
16791         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
16792         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
16793         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
16794         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
16795         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
16796         test.
16797         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16798         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16799         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16800         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16801         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16802         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16803         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16804         * NEWS: Mention addition of x86_64 vector log.
16806 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16808         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
16809         cfi_adjust_cfa_offset argument.
16810         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
16811         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
16813         [BZ #18034]
16814         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
16815         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
16816         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
16817         ordering using ldar.
16818         (_dl_tlsdesc_dynamic): Likewise.
16819         (_dl_tlsdesc_return_lazy): Likewise.
16820         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
16821         relaxed atomics instead of volatile and synchronize with release store.
16822         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
16823         volatile.
16824         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
16826 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
16828         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16829         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
16830         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16831         * sysdeps/x86_64/fpu/Versions: New versions added.
16832         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16833         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16834         build of SSE, AVX2 and AVX512 IFUNC versions.
16835         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
16836         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
16837         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
16838         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
16839         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
16840         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
16841         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
16842         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
16843         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
16844         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
16845         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
16846         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
16847         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
16848         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16849         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16850         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16851         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16852         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16853         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16854         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16855         * NEWS: Mention addition of x86_64 vector sinf.
16857 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
16859         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
16860         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
16861         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
16862         Remove variable.
16863         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
16864         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
16866 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
16868         [BZ #18530]
16869         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
16870         strong alias of _IO_fputs.  Use libc_hidden_def.
16871         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
16872         and define as weak alias of __fputs_unlocked.  Use
16873         libc_hidden_weak.
16874         * include/stdio.h (__fputs_unlocked): Declare.  Use
16875         libc_hidden_proto.
16876         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
16877         fputs_unlocked.
16879         [BZ #18529]
16880         * resolv/netdb.h [__USE_POSIX]: Change condition to
16881         [__USE_XOPEN2K].
16882         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
16883         not expect.
16884         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
16885         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
16886         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
16887         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
16888         [XPG4 || UNIX98] (AI_ALL): Likewise.
16889         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
16890         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
16891         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
16892         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
16893         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
16894         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
16895         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
16896         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
16897         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
16898         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
16899         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
16900         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
16901         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
16902         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
16903         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
16904         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
16905         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
16906         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
16907         [XPG4 || UNIX98] (gai_strerror): Likewise.
16908         [XPG4 || UNIX98] (getaddrinfo): Likewise.
16909         [XPG4 || UNIX98] (getnameinfo): Likewise.
16911         [BZ #18528]
16912         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
16913         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
16914         __USE_XOPEN2K8].
16915         (getgrent): Likewise.
16916         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
16917         expect.
16918         [XPG3 || POSIX2008] (endgrent): Likewise.
16919         [XPG3] (setgrent): Likewise.
16920         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
16921         variable.
16922         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
16924         [BZ #18527]
16925         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
16926         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
16927         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
16928         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
16929         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
16930         * include/unistd.h (__getlogin_r): Declare.  Use
16931         libc_hidden_proto.
16932         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
16933         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
16934         variable.
16935         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
16936         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
16937         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
16939 2015-06-12  Martin Sebor  <msebor@redhat.com>
16941         [BZ #18512]
16942         * Makerules (check-install-supported): New target.
16943         (install): Add check-install-supported as a dependency.
16944         * manual/install.texi (Installing the C Library): Document
16945         that overriding prefix and exec_prefix is not supported.
16946         Mention DESTDIR.
16947         * INSTALL: Regenerate from the above.
16949 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
16951         [BZ #18519]
16952         * posix/Versions (libc): Export __libc_pread at version
16953         GLIBC_PRIVATE.
16954         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
16955         instead of pread.
16956         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
16957         variable.
16959         [BZ #18522]
16960         * misc/efgcvt_r.c
16961         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
16962         (cvt_symbol): Use weak_alias instead of strong_alias.
16963         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
16964         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
16965         Remove variable.
16966         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
16967         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
16969         [BZ #18520]
16970         * inet/herrno.c (h_errno): Rename to __h_errno.
16971         (__libc_h_errno): Define as alias of __h_errno not h_errno.
16972         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
16973         to __h_errno instead of h_errno.
16974         * nptl/herrno.c (h_errno): Rename to __h_errno.
16975         (__h_errno_location): Refer to __h_errno not h_errno.
16976         * resolv/Versions (h_errno): Rename to __h_errno.
16977         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
16978         Remove variable.
16979         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
16981 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
16983         * configure.ac: More strict check for AVX512 assembler support.
16984         * configure: Regenerated.
16986         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
16987         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
16988         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16989         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
16990         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16991         * sysdeps/x86_64/fpu/Versions: New versions added.
16992         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16993         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16994         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16995         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
16996         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
16997         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
16998         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
16999         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
17000         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
17001         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
17002         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
17003         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
17004         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
17005         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
17006         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
17007         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
17008         test.
17009         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17010         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17011         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17012         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17013         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17014         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17015         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17016         * NEWS: Mention addition of x86_64 vector sin.
17018 2015-06-11  Florian Weimer  <fweimer@redhat.com>
17020         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
17021         comment.
17023 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
17025         [BZ #18479]
17026         * nptl/pt-interp.c: New file.
17027         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
17028         Add pt-interp.
17029         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
17030         $(common-objpfx)runtime-linker.h.
17032 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
17034         * Makeconfig (+interp): Remove unused variable.
17035         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
17036         only.  Depend on $(common-objpfx)runtime-linker.h instead of
17037         $(elf-objpfx)runtime-linker.h.
17038         ($(elf-objpfx)runtime-linker.h): Rename to
17039         $(common-objpfx)runtime-linker.h and move ...
17040         * Makerules [$(build-shared) = yes]: ... here.
17041         * elf/interp.c: Include <runtime-linker.h> instead of
17042         <elf/runtime-linker.h>.
17044 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17046         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
17047         (__gettimeofday_syscall): Remove vsyscall fallback.
17048         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
17049         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
17050         Add syscall fallback function.
17051         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
17052         if vDSO is not present.
17053         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
17054         fallback function.
17055         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
17056         present.
17057         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
17058         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17060 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
17062         [BZ #18497]
17063         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
17064         of wcscmp.
17065         (wcscmp): Define as weak alias of WCSCMP.
17066         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
17067         wcscoll.
17068         (USE_HIDDEN_DEF): Define.
17069         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
17070         __wcscoll.  Don't use libc_hidden_weak.
17071         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
17072         wcscmp.
17073         * sysdeps/i386/i686/multiarch/wcscmp-c.c
17074         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
17075         __GI_wcscmp.
17076         (weak_alias): Undefine and redefine.
17077         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
17078         __wcscmp and define as weak alias of __wcscmp.
17079         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
17080         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
17081         (__wcscoll): Likewise.
17082         (wcscmp): Don't use libc_hidden_proto.
17083         (wcscoll): Likewise.
17084         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
17085         wcscoll.
17086         * posix/regexec.c (check_node_accept_bytes): Likewise.
17087         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
17088         variable.
17089         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
17090         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
17092         [BZ #18507]
17093         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
17094         __fstatvfs and define as weak alias of __fstatvfs.  Use
17095         libc_hidden_weak.
17096         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
17097         and define as weak alias of __statvfs.  Use libc_hidden_weak.
17098         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
17099         Define as alias of __fstatvfs, not fstatvfs.
17100         (fstatvfs64): Likewise.
17101         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
17102         Define as alias of __statvfs, not statvfs.
17103         (statvfs64): Likewise.
17104         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
17105         Remove variable.
17107 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17110         (HAVE_GETCPU_VSYSCALL): Define.
17111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17112         (HAVE_GETCPU_VSYSCALL): Likewise.
17113         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
17114         * sysdeps/unix/sysv/linux/sched_getcpu.c
17115         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
17116         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
17117         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
17118         prototype.
17119         * sysdeps/unix/sysv/linux/x86_64/init-first.c
17120         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
17121         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
17122         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
17123         Define.
17124         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
17125         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17126         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
17127         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17129 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
17131         * sysdeps/x86_64/fpu/Makefile: New file.
17132         * sysdeps/x86_64/fpu/Versions: New file.
17133         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
17134         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
17135         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
17136         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
17137         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
17138         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
17139         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
17140         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
17141         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
17142         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
17143         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
17144         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
17145         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
17146         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17147         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17148         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
17149         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
17150         * sysdeps/x86_64/configure.ac: Options for libmvec build.
17151         * sysdeps/x86_64/configure: Regenerated.
17152         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
17153         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
17154         * manual/install.texi (Configuring and compiling): Document
17155         --disable-mathvec.
17156         * INSTALL: Regenerated.
17157         * NEWS: Mention addition of libmvec and x86_64 vector cos.
17159         * math/Makefile: Added rules for vector tests.
17160         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
17161         declaration under condition.
17162         * math/test-double-vlen2.h: New file.
17163         * math/test-double-vlen4.h: New file.
17164         * math/test-double-vlen8.h: New file.
17165         * math/test-vec-loop.h: Added initialization macro.
17166         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
17167         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
17168         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
17169         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
17170         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
17171         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
17172         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
17173         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
17174         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
17175         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
17176         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
17178         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17179         * sysdeps/x86_64/fpu/Versions: New versions added.
17180         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
17181         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
17182         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
17183         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
17184         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
17185         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
17186         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
17187         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
17188         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
17189         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
17190         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
17191         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
17192         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
17193         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17194         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17195         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17196         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
17197         * NEWS: Mention addition of x86_64 vector cosf.
17199         * math/Makefile: Added CFLAGS for new tests.
17200         * math/test-float-vlen16.h: New file.
17201         * math/test-float-vlen4.h: New file.
17202         * math/test-float-vlen8.h: New file.
17203         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
17204         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
17205         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17206         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
17207         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
17208         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
17209         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
17210         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
17211         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
17212         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
17213         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
17215 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
17217         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
17218         * locale/programs/ld-ctype.c: Likewise.
17220 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
17222         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
17223         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
17224         bit_ZMM16_31_state): New macro.
17225         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17226         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
17228 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
17230         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
17232 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
17234         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
17236 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
17238         [BZ #18498]
17239         * libio/memstream.c (open_memstream): Rename to __open_memstream
17240         and define as weak alias of __open_memstream.
17241         * include/stdio.h (__open_memstream): Declare.  Use
17242         libc_hidden_proto.
17243         (open_memstream): Don't use libc_hidden_proto.
17244         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
17245         open_memstream.
17246         * posix/getopt.c (_getopt_internal_r): Likewise.
17247         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
17248         variable.
17249         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
17250         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
17251         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
17253         [BZ #18496]
17254         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
17255         instead of wcrtomb.
17257         [BZ #18483]
17258         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
17259         [__USE_XOPEN2K8].  Remove redundant #endif.
17260         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
17261         Remove redundant #if.
17262         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
17263         Remove variable.
17264         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
17265         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
17267         [BZ #18495]
17268         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
17269         (__iswlower): Likewise.
17270         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
17271         (__iswlower): Likewise.
17272         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
17273         instead of towlower.
17274         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
17275         instead of iswlower.  Call __towupper instead of towupper.
17276         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
17277         instead of iswalnum.
17279 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17281         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
17282         errors to stderr.
17284 2015-06-05  Florian Weimer  <fweimer@redhat.com>
17286         [BZ #15661]
17287         [BZ #17322]
17288         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
17289         Check for overflow properly.  Check for O_APPEND.  Ignore large
17290         file system block sizes.  Add comments about problems.
17291         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
17292         * manual/filesys.texi (Storage Allocation): New node.
17294 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17296         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
17297         cancellable syscalls.
17298         (SYS_ify): Add guard to no redefine it.
17299         (INLINE_SYSCALL): Likewise.
17300         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
17301         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
17302         SYSCALL_CANCEL instead.
17303         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
17304         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17305         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17306         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17307         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17308         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
17309         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
17310         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
17311         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
17312         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
17313         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
17314         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
17315         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
17316         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
17317         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
17318         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17319         Likewise.
17320         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17321         (__libc_pread64): Likewise.
17322         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
17323         (__libc_preadv): Likewise.
17324         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
17325         (__libc_readv64): Likewise.
17326         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17327         (__libc_pwrite): Likewise.
17328         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17329         (__libc_pwrite64): Likewise.
17330         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
17331         (__libc_pwritev): Likewise.
17332         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
17333         (__libc_pwritev64): Likewise.
17334         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
17335         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
17336         (sync_file_range): Likewise.
17337         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
17338         Likewise.
17339         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
17340         Likewise.
17341         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17342         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17343         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17344         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17345         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17346         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
17347         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
17348         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
17349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
17350         Likewise.
17351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17352         (__libc_read64): Likewise.
17353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
17354         Likewise.
17355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
17356         Likewise.
17357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
17358         Likewise.
17359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
17360         Likewise.
17361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17362         (__libc_pread64): Likewise.
17363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
17364         Likewise.
17365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17366         (__libc_pwrite64): Likewise.
17367         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
17368         (sync_file_range): Likewise.
17369         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
17370         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
17371         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
17372         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
17373         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
17374         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17375         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17376         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
17377         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
17378         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17379         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17380         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17381         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17382         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17383         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
17384         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17385         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17386         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17387         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17388         Likewise.
17389         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
17390         Likewise.
17391         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
17392         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
17393         Likewise.
17394         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
17395         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
17396         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
17397         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
17398         Likewise.
17399         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
17400         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
17401         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
17402         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
17403         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
17405 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
17407         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
17408         Include dl-vdso.
17409         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
17410         Use VDSO routines for gettimeofday, clock_gettime if
17411         available.
17412         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
17413         Declare VDSO symbols.
17414         * sysdeps/unix/sysv/linux/arm/sysdep.h:
17415         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
17416         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17417         * sysdeps/unix/sysv/linux/arm/Versions: Add
17418         __vdso_clock_gettime.
17420 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17422         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
17423         be an inline implementation regardless of library is built within.
17424         (open_not_cancel_2): Likewise.
17425         (__read_nocancel): Likewise.
17426         (__write_nocancel): Likewise.
17427         (openat_not_cancel): Likewise.
17428         (openat_not_cancel_3): Likewise.
17429         (openat64_not_cancel): Likewise.
17430         (openat64_not_cancel_3): Likewise.
17431         (__close_nocancel): Likewise.
17432         (pause_not_cancel): Likewise.
17433         (nanosleep_not_cancel): Likewise.
17434         (sigsuspend_not_cancel): Likewise.
17436 2015-06-04  Torvald Riegel  <triegel@redhat.com>
17438         [BZ #14958]
17439         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
17440         wake-up.
17441         (__pthread_rwlock_rdlock_slow): Likewise.
17442         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17443         Likewise.
17444         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17445         Likewise.
17446         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
17447         * nptl/tst-rwlock16.c: New file.
17448         * nptl/Makefile (tests): Add new test.
17450 2015-06-04  Torvald Riegel  <triegel@redhat.com>
17452         [BZ #18324]
17453         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
17454         missing wake-up of readers.
17455         * nptl/tst-rwlock15.c: New file.
17456         * nptl/Makefile (tests): Add new test.
17458 2015-06-03  Roland McGrath  <roland@hack.frob.com>
17460         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
17461         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
17462         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
17463         and __nacl_supply_interface_rtld.
17464         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
17465         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
17466         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
17467         Add __nacl_supply_interface_rtld.
17468         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
17470 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
17472         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
17473         isfinite.
17474         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17475         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
17477 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
17479         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
17480         __signbit* with standard C99 macros.
17481         * math/e_exp10l.c: Likewise.
17482         * math/e_exp2l.c: Likewise.
17483         * math/e_scalb.c: Likewise.
17484         * math/e_scalbf.c: Likewise.
17485         * math/e_scalbl.c: Likewise.
17486         * math/s_ldexp.c: Likewise.
17487         * math/s_ldexpf.c: Likewise.
17488         * math/s_ldexpl.c: Likewise.
17489         * math/w_atan2.c: Likewise.
17490         * math/w_atan2f.c: Likewise.
17491         * math/w_atan2l.c: Likewise.
17492         * math/w_cosh.c: Likewise.
17493         * math/w_coshf.c: Likewise.
17494         * math/w_coshl.c: Likewise.
17495         * math/w_exp10.c: Likewise.
17496         * math/w_exp10f.c: Likewise.
17497         * math/w_exp10l.c: Likewise.
17498         * math/w_exp2.c: Likewise.
17499         * math/w_exp2f.c: Likewise.
17500         * math/w_exp2l.c: Likewise.
17501         * math/w_fmod.c: Likewise.
17502         * math/w_fmodf.c: Likewise.
17503         * math/w_fmodl.c: Likewise.
17504         * math/w_hypot.c: Likewise.
17505         * math/w_hypotf.c: Likewise.
17506         * math/w_hypotl.c: Likewise.
17507         * math/w_jnl.c: Likewise.
17508         * math/w_lgamma.c: Likewise.
17509         * math/w_lgamma_r.c: Likewise.
17510         * math/w_lgammaf.c: Likewise.
17511         * math/w_lgammaf_r.c: Likewise.
17512         * math/w_lgammal.c: Likewise.
17513         * math/w_lgammal_r.c: Likewise.
17514         * math/w_pow.c: Likewise.
17515         * math/w_powf.c: Likewise.
17516         * math/w_powl.c: Likewise.
17517         * math/w_remainder.c: Likewise.
17518         * math/w_remainderf.c: Likewise.
17519         * math/w_remainderl.c: Likewise.
17520         * math/w_scalb.c: Likewise.
17521         * math/w_scalbf.c: Likewise.
17522         * math/w_scalbl.c: Likewise.
17523         * math/w_scalbln.c: Likewise.
17524         * math/w_scalblnf.c: Likewise.
17525         * math/w_scalblnl.c: Likewise.
17526         * math/w_sinh.c: Likewise.
17527         * math/w_sinhf.c: Likewise.
17528         * math/w_sinhl.c: Likewise.
17529         * math/w_tgamma.c: Likewise.
17530         * math/w_tgammaf.c: Likewise.
17531         * math/w_tgammal.c: Likewise.
17532         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17533         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
17534         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17535         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17536         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17537         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17538         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17539         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17540         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17541         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17542         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17543         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17544         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17545         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17546         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17547         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17548         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17549         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17550         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17551         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17552         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17553         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17554         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17555         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17556         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17557         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17558         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
17559         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17560         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17561         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17562         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
17563         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
17564         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
17565         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
17566         * stdio-common/printf_fp.c: Likewise.
17567         * stdio-common/printf_fphex.c: Likewise.
17568         * stdio-common/printf_size.c: Likewise.
17570 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
17572         [BZ #18470]
17573         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
17574         strnlen.
17575         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
17576         Remove variable.
17577         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
17578         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
17579         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
17580         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
17581         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
17582         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
17583         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
17584         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
17585         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
17586         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
17588         [BZ #18468]
17589         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
17590         weak alias of __wmemchr.  Use libc_hidden_weak.
17591         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
17592         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
17593         instead of wmemchr.
17595 2015-06-02  Roland McGrath  <roland@hack.frob.com>
17597         [BZ #18383]
17598         * elf/tst-tlsalign-extern.c: New file.
17599         * elf/tst-tlsalign-extern-static.c: New file.
17600         * elf/tst-tlsalign-vars.c: New file.
17601         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
17602         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
17603         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
17604         ($(objpfx)tst-tlsalign-extern-static): Likewise.
17605         (test-xfail-tst-tlsalign-extern-static): New variable.
17607 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
17609         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
17610         Use variable name _sc_err instead of err.
17611         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
17612         instead of ret.
17613         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
17614         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
17615         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
17616         (INLINE_SYSCALL): Likewise.
17618         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
17619         * include/string.h (__strnlen): Use libc_hidden_proto.
17620         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
17621         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
17622         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
17623         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
17624         (libc_hidden_def): Undefine and redefine.
17625         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
17626         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
17627         __GI_strnlen.
17628         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
17629         libc_hidden_def.
17630         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
17632         [BZ #18469]
17633         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
17634         weak alias of __towlower.  Use libc_hidden_weak.
17635         (towupper): Rename to __towupper and define as weak alias of
17636         __towupper.  Use libc_hidden_weak.
17637         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
17638         (__towupper): Likewise.
17639         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
17640         __towlower instead of towlower.
17642 2015-06-02  Roland McGrath  <roland@hack.frob.com>
17644         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
17645         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
17647 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17649         * sysdeps/aarch64/libm-test-ulps: Update.
17651 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17653         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
17654         Define.
17655         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17656         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
17657         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17658         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17659         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
17660         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
17661         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
17663 2015-06-01  Martin Sebor  <msebor@redhat.com>
17665         [BZ #18116]
17666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17667         (__setcontext): Use extended four-operand version of mtsf whenever
17668         possible.
17669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17670         (__novec_swapcontext): Likewise.
17672 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
17674         * benchtests/scripts/compare_bench.py: New file.
17675         * benchtests/scripts/import_bench.py (mean): New function.
17676         (split_list): Likewise.
17677         (do_for_all_timings): Likewise.
17678         (compress_timings): Likewise.
17680         * benchtests/scripts/import_bench.py: New file.
17681         * benchtests/scripts/validate_benchout.py: Import import_bench
17682         instead of jsonschema.
17683         (validate_bench): Remove function.
17684         (main): Use import_bench.
17686 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
17688         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
17689         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
17691 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17693         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17695 2015-05-28  Roland McGrath  <roland@hack.frob.com>
17697         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
17698         set THREAD_SELF->tid to a magic value and futex-wake it.
17699         Pass its address to the thread_exit system call.
17700         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
17701         bit is clear.
17702         * sysdeps/nacl/lowlevellock.h: New file.
17703         * sysdeps/nacl/lll_timedwait_tid.c: New file.
17705         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
17706         Add TIMEOUT to current time, don't subtract it.
17708 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
17710         [BZ #2981]
17711         [BZ #18422]
17712         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
17713         ($(objpfx)tst-audit2.out): Also depend on
17714         $(objpfx)tst-auditmod9b.so.
17715         * elf/tst-audit2.c: Include <dlfcn.h>.
17716         (calloc_called): New.
17717         (calloc): Allow to be called more than once.
17718         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
17720 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
17722         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
17723         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
17725 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
17727         * stdlib/monetary.h: Fix comment.
17729 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
17731         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
17732         Avoid using variables in #defines that might cause shadowing.
17733         (INTERNAL_VSYSCALL_CALL): Likewise.
17735 2015-05-26  Roland McGrath  <roland@hack.frob.com>
17737         * sysdeps/nacl/lll_timedlock_wait.c: New file.
17739         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
17740         * nptl/lll_timedlock_wait.c: ... to this new file.
17741         * nptl/Makefile (libpthread-routines): Add it.
17742         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
17743         * nptl/lll_timedwait_tid.c: ... to this new file.
17744         * nptl/Makefile (libpthread-routines): Add it.
17745         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
17746         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
17747         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
17748         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
17749         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
17750         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
17751         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
17752         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
17753         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
17754         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
17756 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17758         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
17759         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17760         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
17761         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
17762         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
17763         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17764         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17765         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17766         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17767         * sysdeps/unix/sysv/linux/tile/sysdep.h
17768         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17769         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
17770         using vDSO syscall macro.
17772 2015-05-26  Andriy Rysin  <arysin@gmail.com>
17774         [BZ #17293]
17775         * uk_UA: Fix sorting order for Ukrainian locale
17777 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
17779         * stdlib/monetary.h: Fix comment.
17781 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17783         [BZ #18234]
17784         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
17785         st_mtim and st_ctim members.
17786         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
17787         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
17788         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
17789         (struct stat64): Likewise.
17790         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
17791         (struct stat64): Likewise.
17792         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
17793         (struct stat64): Likewise.
17795 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17797         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
17798         Define and include sysdep-vdso.h.
17799         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
17800         Likewise.
17801         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
17802         Likewise.
17803         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
17804         Define with VDSO_SYMBOL and use PTR_MANGLE.
17805         (__vdso_clock_gettime): Likewise.
17806         (__vdso_clock_getres): Likewise.
17807         (_libc_vdso_platform_setup): Likewise.
17808         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
17809         Likewise.
17810         (_libc_vdso_platform_setup): Likewise.
17811         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
17812         Likewise.
17813         (__vdso_clock_gettime): Likewise.
17814         (__vdso_clock_getres): Likewise.
17815         (__vdso_get_tbfreq): Likewise.
17816         (__vdso_getcpu): Likewise.
17817         (__vdso_time): Likewise.
17818         (__vdso_sigtramp_rt64): Likewise.
17819         (__vdso_signtramp32): Likewise.
17820         (__vdso_sigtramp_rt32): Likewise.
17821         (_libc_vdso_platform_setup): Likewise.
17822         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
17823         Likewise.
17824         (__vdso_clock_gettime): Likewise.
17825         (__vdso_clock_getres): Likewise.
17826         (_libc_vdso_platform_setup): Likewise.
17827         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
17828         Likewise.
17829         (__vdso_clock_gettime): Likewise.
17830         (_libc_vdso_platform_setup): Likewise.
17831         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17832         Likewise.
17833         (__vdso_getcpu): Likewise.
17834         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
17835         Use VDSO_SYMBOL macro to define.
17836         (__vdso_clock_gettime): Likewise.
17837         (__vdso_clock_getres): Likewise.
17838         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
17839         Likewise.
17840         (__vdso_clock_gettime): Likewise.
17841         (__vdso_clock_getres): Likewise.
17842         (__vdso_get_tbfreq): Likewise.
17843         (__vdso_getcpu): Likewise.
17844         (__vdso_time): Likewise.
17845         (__vdso_sigtramp_rt64): Likewise.
17846         (__vdso_signtramp32): Likewise.
17847         (__vdso_sigtramp_rt32): Likewise.
17848         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
17849         Likewise.
17850         (__vdso_clock_gettime): Likewise.
17851         (__vdso_clock_getres): Likewise.
17852         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
17853         Likewise.
17854         (__vdso_clock_gettime): Likewise.
17855         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
17856         Likewise.
17857         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
17858         macro.
17859         (INTERNAL_VSYSCALL): Likewise.
17860         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
17861         Remove macro.
17862         (INTERNAL_VSYSCALL): Likewise.
17863         (INTERNAL_VSYSCALL_NCS): Likewise.
17864         (INTERNAL_VSYSCALL_CALL): New macro.
17865         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17866         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
17867         Likewise.
17868         (INTERNAL_VSYSCALL): Likewise.
17869         (INTERNAL_VSYSCALL_NCS): Likewise.
17870         (INTERNAL_VSYSCALL_CALL): New macro.
17871         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17873         (INLINE_VSYSCALL): Remove macro.
17874         (INTERNAL_VSYSCALL): Remove macro.
17875         (INTERNAL_VSYSCALL_NCS): Remove macro.
17876         (INTERNAL_VSYSCALL_CALL): New macro.
17877         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
17878         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
17879         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17880         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
17881         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17883         (INLINE_VSYSCALL): Remove macro.
17884         (INTERNAL_VSYSCALL): Likewise.
17885         (INTERNAL_VSYSCALL_NCS): Likewise.
17886         (INTERNAL_VSYSCALL_CALL): New macro.
17887         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
17888         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
17889         PTR_DEMANGLE on vDSO pointer.
17890         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17891         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
17892         macro.
17893         (INTERNAL_SYSCALL): Likewise.
17894         (INTERNAL_VSYSCALL_NCS): Remove macro.
17895         (INTERNAL_VSYSCALL_CALL): New macro.
17896         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
17897         Remove macro.
17898         (INTERNAL_VSYSCALL): Likewise.
17899         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
17900         sysdep-vdso.h instead of libc-vdso.h.
17901         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
17902         definition.
17903         (INLINE_VSYSCALL): Likewise.
17904         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
17905         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
17906         definition.
17907         (INLINE_VSYSCALL): Likewise.
17908         (INTERNAL_VSYSCALL): Likewise.
17909         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17910         * sysdeps/unix/sysv/linux/timespec_get.c
17911         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17912         (timespec_get): Use ANSI prototype.
17913         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
17914         and definition for Linux.
17916 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
17918         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
17919         * include/libc-symbols.h: libmvec_hidden_* macro series added.
17921 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17923         [BZ #2981]
17924         [BZ #18410]
17925         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
17926         for missing DT_PLTRELSZ.
17928 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
17930         Remove obsolete aliases that broke 'locale -a'
17931         [BZ #18412]
17932         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
17933         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
17934         breaking some applications that use 'locale -a' output.
17935         Change the encoding of this file from Latin-1 to ASCII to avoid
17936         other potential problems with people grepping this file.
17938 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17940         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
17941         -fasynchronous-unwind-tables.
17942         (CFLAGS-sendto.c): Likewise.
17943         (CFLAGS-sendmsg.c): Likewise.
17944         (CFLAGS-connect.c): Likewise.
17945         (CFLAGS-recvmsg.c): Likewise.
17946         (CFLAGS-recvfrom.c): Likewise.
17947         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
17948         (SOCKETCALL): New macro: non-cancellable socketcall.
17949         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
17950         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
17951         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
17952         * sysdeps/unix/sysv/linux/accept.c: New file.
17953         * sysdeps/unix/sysv/linux/bind.c: Likewise.
17954         * sysdeps/unix/sysv/linux/connect.c: Likewise.
17955         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
17956         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
17957         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
17958         * sysdeps/unix/sysv/linux/listen.c: Likewise.
17959         * sysdeps/unix/sysv/linux/recv.c: Likewise.
17960         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
17961         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
17962         * sysdeps/unix/sysv/linux/send.c: Likewise.
17963         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
17964         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
17965         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
17966         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
17967         * sysdeps/unix/sysv/linux/socket.c: Likewise.
17968         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
17969         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
17970         prototype.
17971         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
17972         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17973         instead of __internal_xxx function.
17974         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
17975         prototype.
17976         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
17977         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17978         instead of __internal_xxx function.
17979         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
17980         prototype.
17981         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
17982         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17983         instead of __internal_xxx function.
17984         * sysdeps/unix/sysv/linux/accept.S: Remove file.
17985         * sysdeps/unix/sysv/linux/bind.S: Likewise.
17986         * sysdeps/unix/sysv/linux/connect.S: Likewise.
17987         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
17988         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
17989         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
17990         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
17991         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
17992         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
17993         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
17994         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
17995         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17996         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
17997         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
17998         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
17999         * sysdeps/unix/sysv/linux/listen.S: Likewise.
18000         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
18001         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
18002         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
18003         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
18004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
18005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
18006         * sysdeps/unix/sysv/linux/recv.S: Likewise.
18007         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
18008         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
18009         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
18010         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18011         * sysdeps/unix/sysv/linux/send.S: Likewise.
18012         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
18013         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
18014         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
18015         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
18016         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
18017         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
18018         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
18019         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
18020         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
18021         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
18022         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
18023         socketcall is implemented in GLIBC.
18025 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
18027         * soft-fp/fmadf4.c: Include <libc-internal.h>.
18028         (__fma): Ignore uninitialized warnings around packing.
18029         * soft-fp/fmasf4.c: Include <libc-internal.h>.
18030         (__fmaf): Ignore uninitialized warnings around packing.
18031         * soft-fp/fmatf4.c: Include <libc-internal.h>.
18032         (__fmal): Ignore uninitialized warnings around packing.
18034         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
18035         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18036         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
18037         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18039         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
18040         switch statement into default case.
18041         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
18043         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
18044         a conditional in forcing "inexact".
18045         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18046         Likewise.
18048 2015-05-22  Roland McGrath  <roland@hack.frob.com>
18050         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
18051         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
18052         for each INTERNAL_SYSCALL use.
18054 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
18056         [BZ #438]
18057         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
18058         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
18059         variable.
18061         [BZ #18444]
18062         * string/basename.c (basename): Rename to __basename and define as
18063         weak alias of __basename.  Use libc_hidden_weak.
18064         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
18065         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
18066         __basename instead of basename.
18067         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
18068         Remove variable.
18069         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
18071 2015-05-18  Florian Weimer  <fweimer@redhat.com>
18073         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
18074         (_IO_JUMPS_FILE_plus): New.
18075         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
18076         _IO_CAST_FIELD_ACCESS.
18077         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
18078         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
18079         * libio/freopen.c (freopen): Likewise.
18080         * libio/freopen64.c (freopen64): Likewise.
18081         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
18082         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
18083         * libio/iofwide.c (_IO_fwide): Likewise.
18084         * libio/memstream.c (open_memstream): Likewise.
18085         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18086         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18087         * libio/oldiopopen.c (_IO_old_popen): Likewise.
18089 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
18091         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
18092         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
18093         NADJ.
18094         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
18095         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
18096         NADJ.
18097         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
18098         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
18099         NADJ.
18101         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
18102         (p == 4) case.
18104         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
18105         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
18106         Remove variable.
18107         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
18108         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
18109         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18111 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18113         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
18114         Adjust jump table label generation macros.
18116 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18118         * stdio-common/vfprintf.c (vfprintf): Move local variables
18119         args_malloced, specs, specs_malloced, and the code after
18120         do_positional to the printf_positional function.
18121         (printf_positional): New function.
18123 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18125         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
18126         function.
18127         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
18128         STEP4_TABLE, process_arg): Move macro definitions
18129         out of the vfprintf function.  (Cosmetic change only.)
18131 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
18133         * benchtests/Makefile (stdio-common-bench): Define.
18134         (benchset): Add stdio-common-bench.
18135         * sprintf-inputs: New file.
18136         * sprintf-source.c: New file.
18138 2015-05-21  Andreas Schwab  <schwab@suse.de>
18140         [BZ #13028]
18141         [BZ #17053]
18142         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
18143         of struct __res_state.
18144         * resolv/res_send.c (__libc_res_nsend): Likewise.
18145         (get_nsaddr): New function.
18146         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
18147         statp directly.
18149 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
18151         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
18152         -D_POSIX_C_SOURCE=199506L.
18154         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
18156         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
18157         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
18158         Do not mention otherwise.
18159         [POSIX] (_XOPEN_VERSION): Do not expect.
18160         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
18161         [POSIX] (_POSIX2_C_BIND): Likewise.
18162         [POSIX] (_POSIX2_VERSION): Likewise.
18163         [POSIX] (_XOPEN_XPG2): Likewise.
18164         [POSIX] (_XOPEN_XPG3): Likewise.
18165         [POSIX] (_XOPEN_XPG4): Likewise.
18166         [POSIX] (_XOPEN_UNIX): Likewise.
18167         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
18168         [POSIX] (_POSIX_BARRIERS): Likewise.
18169         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
18170         [POSIX] (_POSIX_CPUTIME): Likewise.
18171         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
18172         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
18173         [POSIX] (_POSIX_SHELL): Likewise.
18174         [POSIX] (_POSIX_SPAWN): Likewise.
18175         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
18176         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
18177         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
18178         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
18179         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
18180         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
18181         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
18182         [POSIX] (_XBS5_LP64_OFF64): Likewise.
18183         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
18184         [POSIX] (_POSIX_TIMEOUTS): Likewise.
18185         [POSIX] (_POSIX2_PBS): Likewise.
18186         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
18187         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
18188         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
18189         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
18190         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
18191         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
18192         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
18193         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
18194         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
18195         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
18196         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
18197         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
18198         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
18199         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
18200         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
18201         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
18202         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
18203         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
18204         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
18205         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
18206         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
18207         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
18208         [POSIX] (_SC_2_C_BIND): Likewise.
18209         [POSIX] (_SC_2_C_VERSION): Likewise.
18210         [POSIX] (_SC_2_PBS): Likewise.
18211         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
18212         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
18213         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
18214         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
18215         [POSIX] (_SC_2_PBS_TRACK): Likewise.
18216         [POSIX] (_SC_ATEXIT_MAX): Likewise.
18217         [POSIX] (_SC_BARRIERS): Likewise.
18218         [POSIX] (_SC_BASE): Likewise.
18219         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
18220         [POSIX] (_SC_DEVICE_IO): Likewise.
18221         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
18222         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
18223         [POSIX] (_SC_FD_MGMT): Likewise.
18224         [POSIX] (_SC_FIFO): Likewise.
18225         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
18226         [POSIX] (_SC_FILE_LOCKING): Likewise.
18227         [POSIX] (_SC_FILE_SYSTEM): Likewise.
18228         [POSIX] (_SC_IOV_MAX): Likewise.
18229         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
18230         [POSIX] (_SC_NETWORKING): Likewise.
18231         [POSIX] (_SC_PAGE_SIZE): Likewise.
18232         [POSIX] (_SC_PASS_MAX): Likewise.
18233         [POSIX] (_SC_PIPE): Likewise.
18234         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
18235         [POSIX] (_SC_REGEXP): Likewise.
18236         [POSIX] (_SC_SHELL): Likewise.
18237         [POSIX] (_SC_SIGNALS): Likewise.
18238         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
18239         [POSIX] (_SC_SPIN_LOCKS): Likewise.
18240         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
18241         [POSIX] (_SC_USER_GROUPS): Likewise.
18242         [POSIX] (_SC_USER_GROUPS_R): Likewise.
18243         [POSIX] (_SC_STREAMS): Likewise.
18244         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
18245         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
18246         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
18247         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
18248         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
18249         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
18250         [POSIX] (_PC_FILESIZEBITS): Likewise.
18251         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
18252         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
18253         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
18254         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
18255         [POSIX] (uid_t): Likewise.
18256         [POSIX] (gid_t): Likewise.
18257         [POSIX] (off_t): Likewise.
18258         [POSIX] (pid_t): Likewise.
18259         [POSIX] (cuserid): Allow.
18260         (_SC_2_CHAR_TERM): Require constant.
18261         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
18262         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
18263         variable.
18265 2015-05-20  Roland McGrath  <roland@hack.frob.com>
18267         * sysdeps/nacl/pthread-pids.h: New file.
18268         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
18269         (create_thread): Use __nacl_get_tid to initialize PD->tid.
18271         * nptl/pthread-pids.h: New file.
18272         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
18273         * nptl/nptl-init.c: Include <pthread-pids.h>.
18274         (__pthread_initialize_minimal_internal):
18275         Call __pthread_initialize_pids instead of set_tid_address syscall.
18277         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
18278         * sysdeps/posix/usleep.c: ... here.
18280 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18282         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
18283         call_pselect6 object.
18284         [$(subdir) = io]: Remove call_sync_file_range object.
18285         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
18286         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
18287         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
18288         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
18290 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
18292         * math/s_cproj.c: Add include "math_private.h".
18293         * math/s_cprojf.c: Likewise.
18294         * math/s_cprojl.c: Likewise.
18296 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
18298         [BZ #18244]
18299         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
18300         high mantissa bit when testing whether P is a NaN.
18301         * math/libm-test.inc (remainder_test_data): Add more tests.
18302         (remquo_test_data): Likewise.
18304         [BZ #18049]
18305         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
18306         below -32, return the argument, with underflow if subnormal.
18307         * math/auto-libm-test-in: Add more tests of atanh.
18308         * math/auto-libm-test-out: Regenerated.
18310 2015-05-19  Roland McGrath  <roland@hack.frob.com>
18312         [BZ #18434]
18313         * nptl/tst-sem15.c: New file.
18314         * nptl/Makefile (tests): Add it.
18315         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
18316         s/<</>>/ to fix typo in EOVERFLOW check.
18317         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
18319 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18321         * manual/strings.texi (envz_remove): Fix typo in safety
18322         annotations.
18324 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
18325             Steve Ellcey  <sellcey@imgtec.com>
18327         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
18328         in order to avoid strict alias warnings.
18329         (iruserok_af): Ditto for ra.
18331 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
18333         [BZ #17581]
18334         * malloc/hooks.c
18335         (magicbyte): Convert to a function and avoid returning 0x01.
18336         (mem2mem_check): Avoid using a length byte equal to the magic byte.
18337         (mem2chunk_check): Fix unsigned comparisons to zero.
18338         Hoist defs of sz and magic.
18340 2015-05-19  Richard Henderson  <rth@redhat.com>
18342         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
18344         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18346 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18348         [BZ #16159]
18349         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
18350         * malloc/arena.c (arena_lock): Check if arena is corrupt.
18351         (reused_arena): Find a non-corrupt arena.
18352         (heap_trim): Pass arena to unlink.
18353         * malloc/hooks.c (malloc_check_get_size): Pass arena to
18354         malloc_printerr.
18355         (top_check): Likewise.
18356         (free_check): Likewise.
18357         (realloc_check): Likewise.
18358         * malloc/malloc.c (malloc_printerr): Add arena argument.
18359         (unlink): Likewise.
18360         (munmap_chunk): Adjust.
18361         (ARENA_CORRUPTION_BIT): New macro.
18362         (arena_is_corrupt): Likewise.
18363         (set_arena_corrupt): Likewise.
18364         (sysmalloc): Use mmap if there are no usable arenas.
18365         (_int_malloc): Likewise.
18366         (__libc_malloc): Don't fail if arena_get returns NULL.
18367         (_mid_memalign): Likewise.
18368         (__libc_calloc): Likewise.
18369         (__libc_realloc): Adjust for additional argument to
18370         malloc_printerr.
18371         (_int_free): Likewise.
18372         (malloc_consolidate): Likewise.
18373         (_int_realloc): Likewise.
18374         (_int_memalign): Don't touch corrupt arenas.
18375         * malloc/tst-malloc-backtrace.c: New test case.
18377         * Makefile (summarize-tests): Fix return value on success.
18379         * manual/string.texi (Envz Functions): Add envz_remove.
18381 2015-05-18  Roland McGrath  <roland@hack.frob.com>
18383         * sysdeps/posix/opendir.c: Include <stdbool.h>.
18384         (invalid_name): New function, broken out of ...
18385         (__opendirat): ... here.  Call it.
18386         (need_isdir_precheck): New function, broken out of ...
18387         (__opendirat): ... here.  Call it.
18388         Use __fxstatat64, not __xstatat64.
18389         (opendir_oflags): New function, broken out of ...
18390         (__opendirat): ... here.  Call it.
18391         (opendir_tail): New function, broken out of ...
18392         (__opendirat): ... here.  Call it.
18393         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
18394         opendir_tail, rather than punting to __opendirat.
18395         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
18397 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18399         * .gitignore: Ignore generated *.pyc.
18401 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
18403         * include/stdio.h: Define __need_wint_t.
18404         * test-skeleton.c: Avoid `for' loop initial declaration.
18405         * nptl/tst-initializers1.c: Use test-skeleton.c.
18407 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18409         [BZ #18418]
18410         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
18412 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
18414         [BZ #16352]
18415         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
18416         (__ieee754_atanh): Force underflow exception for results with
18417         small absolute value.
18418         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
18419         (__ieee754_atanhf): Force underflow exception for results with
18420         small absolute value.
18421         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
18422         (__ieee754_atanh): Force underflow exception for results with
18423         small absolute value.
18424         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
18425         (__ieee754_atanhf): Force underflow exception for results with
18426         small absolute value.
18427         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
18428         (__ieee754_atanhl): Force underflow exception for results with
18429         small absolute value.
18430         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
18431         (__ieee754_atanhl): Force underflow exception for results with
18432         small absolute value.
18433         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
18434         (__ieee754_atanhl): Force underflow exception for results with
18435         small absolute value.
18436         * math/auto-libm-test-in: Do not allow missing underflow
18437         exceptions from atanh.
18438         * math/auto-libm-test-out: Regenerated.
18440         [BZ #18221]
18441         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
18442         2**-28 as threshold for returning x or +/- 1/x.
18443         * math/auto-libm-test-in: Add more tests of tan.
18444         * math/auto-libm-test-out: Regenerated.
18446         [BZ #18220]
18447         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18448         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
18449         * math/auto-libm-test-in: Add another test of lgamma.
18450         * math/auto-libm-test-out: Regenerated.
18452 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
18454         * stdio-common/printf_fp.c (___printf_fp): Use abs.
18455         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
18456         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
18457         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
18458         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
18459         (ADD2A): Use fabs.  (SUB2A): Use fabs.
18460         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
18461         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
18462         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
18463         (log1): Use fabs.  (my_log2): Use fabs.
18464         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
18465         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
18466         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
18467         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
18468         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
18469         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
18470         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
18471         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
18472         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
18473         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
18474         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
18476 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
18478         [BZ #18217]
18479         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
18480         as threshold for returning 1 - x.
18481         * math/auto-libm-test-in: Add more tests of erfc.
18482         * math/auto-libm-test-out: Regenerated.
18484 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
18486         [BZ #18196]
18487         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
18488         threshold for large arguments.
18489         * math/auto-libm-test-in: Add another test of atan.
18490         * math/auto-libm-test-out: Regenerated.
18492         [BZ #16339]
18493         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
18494         (__log1p): Force underflow exception for results with small
18495         absolute value.
18496         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
18497         (__log1pf): Force underflow exception for results with small
18498         absolute value.
18499         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
18500         (__log1p): Force underflow exception for results with small
18501         absolute value.
18502         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
18503         (__log1pf): Force underflow exception for results with small
18504         absolute value.
18505         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
18506         (__log1pl): Force underflow exception for results with small
18507         absolute value.
18508         * math/auto-libm-test-in: Do not allow missing underflow
18509         exceptions from log1p.
18510         * math/auto-libm-test-out: Regenerated.
18512 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
18513             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18515         [BZ #16704]
18516         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
18518 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
18520         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
18521         (libmvec): New variable.
18522         * configure.ac: Added option for mathvec build.
18523         * configure: Regenerated.
18524         * mathvec/Depend: New file.
18525         * mathvec/Makefile: New file.
18526         * shlib-versions: Added libmvec.
18527         * math/Makefile: Added rule for libm.so installation.
18529         * bits/math-vector.h: New file.
18530         * bits/libm-simd-decl-stubs.h: New header.
18531         * math/Makefile (headers): Added new header
18532         libm-simd-decl-stubs.h.
18533         * math/math.h (__MATHCALL_VEC): New macro.
18535         * math/gen-libm-have-vector-test.sh: Script generates series of macros
18536         for conditions in testing functions.
18537         * math/Makefile: Added call of libm-have-vector-test.sh.
18538         * math/libm-test.inc (HAVE_VECTOR): New macros.
18540         * math/libm-test.inc: START refactored.
18541         * math/test-double.c (TEST_MATHVEC): Add define.
18542         * math/test-float.c: Likewise.
18543         * math/test-idouble.c: Likewise.
18544         * math/test-ifloat.c: Likewise.
18545         * math/test-ildoubl.c: Likewise.
18546         * math/test-ldouble.c: Likewise.
18547         * sysdeps/generic/math-tests-arch.h
18548         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
18549         architecture check.
18551         * math/test-double.c (FUNC_TEST): New macro.
18552         * math/test-float.c: Likewise.
18553         * math/test-idouble.c: Likewise.
18554         * math/test-ifloat.c: Likewise.
18555         * math/test-ildoubl.c: Likewise.
18556         * math/test-ldouble.c: Likewise.
18557         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
18559 2015-05-13  Roland McGrath  <roland@hack.frob.com>
18561         * sysdeps/nacl/fdopendir.c: New file.
18563         * dirent/scandir-tail.c: New file.
18564         * dirent/scandir64-tail.c: New file.
18565         * dirent/Makefile (routines): Add them.
18566         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
18567         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
18568         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
18569         [!SCANDIR] (SCANDIR_TAIL): New macro.
18570         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
18571         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
18572         (SCANDIRAT): Macro removed.
18573         (SCANDIR_TAIL): New macro.
18574         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
18575         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
18576         (SCANDIRAT): Just call __opendirat and __scandir_tail.
18577         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
18578         (READDIR): Macro removed.
18579         (SCANDIR_TAIL): New macro.
18580         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
18581         (SCANDIR_TAIL): New macro.
18583         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
18584         * dirent/scandir-cancel.c: ... to this new file.
18585         * dirent/Makefile (routines): Add it.
18586         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
18587         * sysdeps/unix/sysv/linux/i386/scandir64.c
18588         (SKIP_SCANDIR_CANCEL): Macro removed.
18589         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
18591         * dirent/tst-scandir.c: New file.
18592         * dirent/tst-scandir64.c: New file.
18593         * dirent/Makefile (tests): Add them.
18595 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18597         [BZ #18409]
18598         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
18600 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18602         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
18603         list.
18605 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
18607         * benchtests/bench-strcoll.c: New benchmark.
18608         * benchtests/Makefile: Generate locales and run benchmark.
18609         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
18610         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
18611         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
18612         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
18613         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
18614         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
18615         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
18616         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
18617         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
18618         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
18619         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
18620         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
18621         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
18622         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
18623         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
18624         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
18625         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
18626         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
18627         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
18628         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
18629         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
18630         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
18631         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
18632         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
18634 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
18636         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
18637         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18639 2015-05-12  Roland McGrath  <roland@hack.frob.com>
18641         * posix/uname-values.h: New file.
18642         * posix/uname.c: Include that instead of <config-name.h>.
18643         * sysdeps/nacl/uname-values.h: New file.
18644         * sysdeps/arm/nacl/uname-values.h: New file.
18646 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
18648         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
18649         splitting into fields.
18651 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
18653         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
18654         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
18655         * locale/localeinfo.h: Add enum collation_encoding_type.
18656         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
18657         * programs/ld-collate.c (collate_output): Add encoding type info.
18658         * string/strcoll_l.c (STRDIFF): New function.
18659         * (STRCOLL): Use STRDIFF to skip over equal prefix.
18660         * wcsmbs/wcscoll_l.c: Define STRDIFF.
18662 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
18664         [BZ #18397]
18665         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
18666         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
18667         <fpu_control.h> instead of <math/fpu_control.c>.
18668         * sysdeps/mips/mips32/fpu/Makefile: New file.
18670 2015-05-11  Andreas Schwab  <schwab@suse.de>
18672         [BZ #18007]
18673         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
18674         nss_endgrent.
18675         (_nss_compat_endgrent): Call nss_endgrent.
18676         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
18677         nss_endpwent.
18678         (_nss_compat_endpwent): Call nss_endpwent.
18679         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
18680         needent, call nss_setspent only if non-zero.
18681         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
18682         (internal_endspent): Don't call nss_endspent.
18683         (_nss_compat_endspent): Call nss_endspent.
18684         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
18685         Remove.  All uses removed.
18686         (internal_setent): Remove parameter stayopen, add parameter
18687         stream.  Use it instead of global variable.
18688         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
18689         (internal_endent, internal_getent): Add parameter stream.  Use it
18690         instead of global variable.
18691         (CONCAT(_nss_files_end,ENTNAME))
18692         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
18693         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
18694         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
18695         uses removed.
18696         (internal_setent, internal_endent): Add parameter stream.  Use it
18697         instead of global variable.
18698         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
18699         stream.
18700         (get_next_alias): Add parameter stream.
18701         (_nss_files_getaliasent_r): Pass global stream.
18702         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
18703         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
18704         (_nss_files_gethostbyname4_r): Pass local stream to
18705         internal_setent, internal_getent and internal_endent.  Remove
18706         locking.
18708 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18710         * tst-strfmon1.c (tests): Update expected currency symbol.
18712 2015-05-08  Roland McGrath  <roland@hack.frob.com>
18714         * sysdeps/nacl/gethostname.c: New file.
18716 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
18718         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
18719         and sinh.
18720         * math/auto-libm-test-out: Regenerated.
18721         * sysdeps/i386/fpu/libm-test-ulps: Update.
18722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18724 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
18726         [BZ #18125]
18727         * stdlib/tst-setcontext3.c: New file.
18728         * stdlib/tst-setcontext3.sh: New file.
18729         * stdlib/Makefile (tests): Add tst-setcontext3.
18730         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
18731         to verify test program created output file.
18732         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
18733         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
18734         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
18735         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
18737 2015-05-06  Roland McGrath  <roland@hack.frob.com>
18739         [BZ #18383]
18740         * elf/tst-tlsalign.c: New file.
18741         * elf/tst-tlsalign-static.c: New file.
18742         * elf/tst-tlsalign-lib.c: New file.
18743         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
18744         (tests-static): Add tst-tlsalign-static.
18745         (modules-names): Add tst-tlsalign-lib.
18746         (test-xfail-tst-tlsalign): New variable.
18747         (test-xfail-tst-tlsalign-static): New variable.
18749         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
18750         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
18752 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
18754         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
18755         csqrt, erfc, sin and sincos.
18756         * math/auto-libm-test-out: Regenerated.
18757         * sysdeps/i386/fpu/libm-test-ulps: Update.
18758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18760 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18762         * sysdeps/aarch64/libm-test-ulps: Update.
18764 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
18766         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
18767         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
18768         * math/auto-libm-test-out: Regenerated.
18769         * sysdeps/i386/fpu/libm-test-ulps: Update.
18770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18772 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
18774         [BZ #18265]
18775         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
18776         (wcsncpy): Likewise.
18778 2015-05-05  Florian Weimer  <fweimer@redhat.com>
18780         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18781         Assume __ASSUME_FALLOCATE is always true.
18782         * sysdeps/unix/sysv/linux/posix_fallocate64.c
18783         (__posix_fallocate64_l64): Likweise.
18784         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
18785         (posix_fallocate): Likewise.
18786         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
18787         (__posix_fallocate64_l64): Likewise.
18788         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18789         [!__ASSUME_FALLOCATE]: Add comment.
18791 2015-05-05  Florian Weimer  <fweimer@redhat.com>
18793         * sysdeps/unix/sysv/linux/i386/Makefile
18794         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
18795         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
18796         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
18797         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18798         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18799         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
18800         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
18802 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
18804         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
18805         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
18806         tgamma.
18807         * math/auto-libm-test-out: Regenerated.
18808         * sysdeps/i386/fpu/libm-test-ulps: Update.
18809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18811 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
18813         * math/auto-libm-test-in: Add more tests of tgamma.
18814         * math/auto-libm-test-out: Regenerated.
18815         * sysdeps/i386/fpu/libm-test-ulps: Update.
18816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18818         * math/auto-libm-test-in: Add more tests of tanh.
18819         * math/auto-libm-test-out: Regenerated.
18820         * sysdeps/i386/fpu/libm-test-ulps: Update.
18821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18823         * math/auto-libm-test-in: Add more tests of tan.
18824         * math/auto-libm-test-out: Regenerated.
18825         * sysdeps/i386/fpu/libm-test-ulps: Update.
18826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18828         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
18829         * math/auto-libm-test-out: Regenerated.
18830         * sysdeps/i386/fpu/libm-test-ulps: Update.
18831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18833         * math/auto-libm-test-in: Add another test of pow.
18834         * math/auto-libm-test-out: Regenerated.
18835         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18837         * math/auto-libm-test-in: Add more tests of lgamma.
18838         * math/auto-libm-test-out: Regenerated.
18839         * sysdeps/i386/fpu/libm-test-ulps: Update.
18840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18842         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
18843         log1p.
18844         * math/auto-libm-test-out: Regenerated.
18845         * sysdeps/i386/fpu/libm-test-ulps: Update.
18846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18848 2015-05-01  Mark Wielaard  <mjw@redhat.com>
18850         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
18851         Elf64_Chdr structs and ELFCOMPRESS constants.
18853 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
18855         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
18856         expm1.
18857         * math/auto-libm-test-out: Regenerated.
18858         * sysdeps/i386/fpu/libm-test-ulps: Update.
18859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18861         * math/auto-libm-test-in: Add more tests of erf and erfc.
18862         * math/auto-libm-test-out: Regenerated.
18863         * sysdeps/i386/fpu/libm-test-ulps: Update.
18864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18866 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18868         * config.h.in (HAVE_AARCH64_BE): Add.
18870 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
18872         * math/auto-libm-test-in: Add more tests of csqrt.
18873         * math/auto-libm-test-out: Regenerated.
18874         * sysdeps/i386/fpu/libm-test-ulps: Update.
18875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18877         * math/auto-libm-test-in: Add more tests of cosh and sinh.
18878         * math/auto-libm-test-out: Regenerated.
18879         * sysdeps/i386/fpu/libm-test-ulps: Update.
18880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18882         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
18884 2015-04-29  Roland McGrath  <roland@hack.frob.com>
18886         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
18887         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
18889         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
18890         (euidaccess, eaccess): Define as weak aliases.
18892         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
18893         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
18894         but __suseconds_t is often 'long int' so some sources assume that
18895         type is being used (e.g. they use %ld to print tv_usec).
18897 2015-04-29  Florian Weimer  <fweimer@redhat.com>
18899         [BZ #18007]
18900         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
18901         (CVE-2014-8121)
18902         * nss/tst-nss-getpwent.c: New file.
18903         * nss/Makefile (tests): Add new test.
18905 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
18907         [BZ #18346]
18908         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
18909         exponents less than 48 as cases where high part of mantissa needs
18910         examining to determine whether argument is integral.
18911         * math/libm-test.inc (round_test_data): Add more tests.
18913 2015-04-28  Mark Wielaard  <mjw@redhat.com>
18915         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
18917 2015-04-27  David S. Miller  <davem@davemloft.net>
18919         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
18920         __tls_get_addr.
18921         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
18923 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
18925         [BZ#18333]
18926         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
18928 2015-04-27  Florian Weimer  <fweimer@redhat.com>
18930         [BZ#18333]
18931         * time/tzset.c (parse_tzname): Return error on memory allocation
18932         failure.
18933         * test-skeleton.c (struct temp_name_list): Change type of name
18934         member to non-const.
18935         (add_temp_file): Create a copy of the file name.
18936         (delete_temp_files): Deallocate memory.
18937         (create_temp_file): Add comment.
18939 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18941         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
18942         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
18944 2015-04-24  Roland McGrath  <roland@hack.frob.com>
18946         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
18947         * sysdeps/arm/configure: Regenerated.
18949 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18951         [BZ #17715]
18952         * time/tzfile.c (__tzfile_read): Check for large values of
18953         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
18954         * time/tzset.c (__tzstring_len): New function, based on the old
18955         __tzstring function.
18956         (__tzstring): Call __tzstring_len.
18957         (parse_tzname): New helper function extracted from
18958         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
18959         the input string.
18960         (parse_offset): New helper function extracted from
18961         __tzset_parse_tz.  Replace switch with fallthrough with
18962         initialization before sscanf.
18963         (parse_rule): Likewise.
18964         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
18965         new-style function definition.
18966         * timezone/Makefile (tests): Add tst-tzset.
18967         (tst-tzset.out): Dependencies on time zone files.
18968         (tst-tzset-ENV): Set TZDIR.
18969         (testdata/XT%): Copy crafted time zone files.
18970         * timezone/README: Mention crafted time zone files.
18971         * timezone/testdata/XT1, timezone/testdata/XT2,
18972         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
18973         files.
18974         * timezone/tst-tzset.c: New test.
18976 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18978         * Makeconfig (+gccwarn): Remove -Winline.
18980 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18982         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
18984 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18986         * NEWS: Mention sysconf() cache information support for s390.
18987         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
18989 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
18991         * math/k_casinh.c (__kernel_casinh): Use __copysign.
18992         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
18993         (__nearbyint): Likewise.
18994         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
18995         (copysignl): Likewise.
18997 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
18999         [BZ #18287]
19000         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
19001         based on padding.  (CVE-2015-1781)
19003 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19005         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
19006         libc-vdso.h.
19007         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
19008         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
19009         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
19010         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
19011         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
19012         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
19013         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
19014         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19015         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19016         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
19017         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19018         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19019         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19020         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
19021         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
19022         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
19023         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
19024         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
19025         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
19026         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
19027         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
19028         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
19029         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
19031 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
19033         * stdlib/setenv.c (__add_to_environ):
19034         Dump core quickly if setenv (..., NULL, ...) is called.
19035         This time, do it the right way, and pacify GCC with a pragma.
19037 2015-04-17  Roland McGrath  <roland@hack.frob.com>
19039         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
19040         IMAP->l_prev cannot be null, and #if out the code for the contrary
19041         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
19042         believe that NS (&_dl_ns[NSID]) could point outside the array.
19044         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
19045         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
19046         before using NSID as an index.
19048 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
19050         [BZ #17825]
19051         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
19052         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
19053         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19055 2015-04-17  Roland McGrath  <roland@hack.frob.com>
19057         Add preliminary port to Google Native Client on ARM.
19058         * abi-tags (.*-.*-nacl.*): New entry.
19059         * sysdeps/arm/nacl: New directory.
19060         * sysdeps/nacl: New directory.
19062 2015-04-16  David S. Miller  <davem@davemloft.net>
19064         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
19065         lowlevellock-futex.h
19067 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
19069         * sysdeps/tile/configure.ac: New file.
19070         * sysdeps/tile/configure: Regenerated.
19072 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19074         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
19075         conditionals for weak_alias and libc_hidden_weak.
19076         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
19077         libc_hidden_weak and weak_alias.
19078         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
19079         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
19080         and weak_alias for static one.
19082 2015-04-15  David S. Miller  <davem@davemloft.net>
19084         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19086 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19088         [BZ #18206]
19089         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
19090           Use signed comparision instead of substraction to avoid
19091           overflow bug.
19092         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
19093           Take the sign of ret.
19094         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
19095           Do not expect precise return values. Only the sign matters.
19096         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
19097         * wcsmbs/test-wcsncmp.c: New File.
19098         * string/test-strncmp.c: Add wcsncmp support.
19100 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19102         [BZ #6792]
19103         * math/w_log1p.c: New file.
19104         * math/w_log1pf.c: Likewise.
19105         * math/w_log1pl.c: Likewise.
19106         * math/Makefile (libm-calls): Add w_log1p.
19107         * math/s_log1pl.c (log1pl): Remove weak_alias.
19108         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
19109         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
19110         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
19111         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
19112         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
19113         [NO_LONG_DOUBLE] (log1pl): Likewise.
19114         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
19115         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
19116         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
19117         (log1p): Remove long_double_symbol.
19118         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
19119         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
19120         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
19121         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
19122         remove weak_alias for corresponding log1p function.
19123         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
19124         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
19125         * sysdeps/ia64/fpu/w_log1p.c: New file.
19126         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
19127         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
19128         * math/libm-test.inc (log1p_test_data): Add errno expectations.
19130 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
19132         [BZ #18247]
19133         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
19134         decimal exponent by 1.
19135         * stdlib/tst-strtod-round-data: Add more tests.
19136         * stdlib/tst-strtod-round.c (tests): Regenerated.
19138 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
19140         * math/auto-libm-test-in: Add more tests of clog and clog10.
19141         * math/auto-libm-test-out: Regenerated.
19142         * sysdeps/i386/fpu/libm-test-ulps: Update.
19143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19145 2015-04-09  Roland McGrath  <roland@hack.frob.com>
19147         * Makeconfig (module-cppflags): Exclude all .v.i files.
19148         (skip-module-cppflags): Variable removed.
19150         * configure.ac (libc_config_ok): Initialize before reading
19151         preconfigure scripts, not after.
19152         * configure: Regenerated.
19154         * test-skeleton.c (TIMEOUT): Move #define to top level.
19155         (main): Grok environment variable TEST_DIRECT.  If set, print
19156         test expectation details into that file and then behave as if
19157         given --direct.
19159 2015-04-09  Florian Weimer  <fweimer@redhat.com>
19161         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
19162         warning on 32-bit.
19164 2015-04-08  David S. Miller  <davem@davemloft.net>
19166         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19168 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
19170         * math/auto-libm-test-in: Add more tests of atanh.
19171         * math/auto-libm-test-out: Regenerated.
19172         * sysdeps/i386/fpu/libm-test-ulps: Update.
19173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19175         * math/auto-libm-test-in: Add more tests of atan.
19176         * math/auto-libm-test-out: Regenerated.
19177         * sysdeps/i386/fpu/libm-test-ulps: Update.
19178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19180 2015-04-08  Florian Weimer  <fweimer@redhat.com>
19182         * elf/pldd.c (main): Rewrite to use struct
19183         scratch_buffer instead of extend_alloca.
19184         * elf/pldd-xx.c (find_maps): Likewise.
19185         * grp/initgroups.c: Include <scratch_buffer.h> instead of
19186         <alloca.h>.
19187         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
19188         scratch_buffer instead of extend_alloca.
19189         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
19190         grp/compat-initgroups.c.
19191         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
19192         Rewrite to use struct scratch_buffer instead of extend_alloca.
19193         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
19194         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19196 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
19198         * math/auto-libm-test-in: Add more tests of cbrt.
19199         * math/auto-libm-test-out: Regenerated.
19200         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19202         * math/auto-libm-test-in: Add more tests of cabs.
19203         * math/auto-libm-test-out: Regenerated.
19204         * sysdeps/i386/fpu/libm-test-ulps: Update.
19205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19207         [BZ #18210]
19208         [BZ #18211]
19209         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
19210         (__ieee754_atan2): Set FE_TONEAREST mode for internal
19211         computations.
19212         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
19213         clog10.
19214         * math/auto-libm-test-out: Regenerated.
19215         * sysdeps/i386/fpu/libm-test-ulps: Update.
19216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19218         [BZ #18197]
19219         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
19220         (atan): Set FE_TONEAREST mode for internal computations.
19221         * math/auto-libm-test-in: Add more tests of atan.
19222         * math/auto-libm-test-out: Regenerated.
19224 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
19226         [BZ #17930]
19227         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
19229 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19231         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
19233 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19235         * include/scratch_buffer.h: New file.
19236         * malloc/scratch_buffer_grow.c: Likewise.
19237         * malloc/scratch_buffer_grow_preserve.c: Likewise.
19238         * malloc/scratch_buffer_set_array_size.c: Likewise.
19239         * malloc/tst-scratch_buffer.c: Likewise.
19240         * malloc/Makefile (routines): Add scratch_buffer_grow.
19241         (tests): Add test case.
19242         * malloc/Versions (GLIBC_PRIVATE): Export
19243         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
19244         __libc_scratch_buffer_set_array_size.
19246 2015-04-06  Richard Henderson  <rth@redhat.com>
19248         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
19249         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19251         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
19252         unsigned int before printing.
19254 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19256         [BZ #17596]
19257         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
19258         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19260 2015-04-02  Florian Weimer  <fweimer@redhat.com>
19262         * include/libc-internal.h (libc_max_align_t): Define.
19264 2015-04-02  Andreas Schwab  <schwab@suse.de>
19266         [BZ #16850]
19267         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
19269 2015-04-02  Mel Gorman  <mgorman@suse.de>
19271         [BZ #17195]
19272         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
19273         as well as the main arena.
19275 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19277         [BZ #18185]
19278         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
19279         sharing L2 cache to 2 for Silvermont/Knights Landing.
19281 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19283         [BZ #17711]
19284         * config.make.in (have-protected-data): New.
19285         * configure.ac: Check linker support for protected data symbol.
19286         * configure: Regenerated.
19287         * elf/Makefile (modules-names): Add tst-protected1moda and
19288         tst-protected1modb if $(have-protected-data) is yes.
19289         (tests): Add tst-protected1a and tst-protected1b if
19290         $(have-protected-data) is yes.
19291         ($(objpfx)tst-protected1a): New.
19292         ($(objpfx)tst-protected1b): Likewise.
19293         (tst-protected1modb.so-no-z-defs): Likewise.
19294         * elf/tst-protected1a.c: New file.
19295         * elf/tst-protected1b.c: Likewise.
19296         * elf/tst-protected1mod.h: Likewise.
19297         * elf/tst-protected1moda.c: Likewise.
19298         * elf/tst-protected1modb.c: Likewise.
19300 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19302         [BZ #17711]
19303         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
19304         indicates it is called from do_lookup_x on relocation against
19305         protected data, skip the data definion in the executable from
19306         copy reloc.
19307         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
19308         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
19309         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
19310         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
19311         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
19312         otherwise to 0.
19313         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19314         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
19315         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
19316         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19317         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
19318         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
19320 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
19322         * sysdeps/nptl/pthread.h: Remove duplicate definition of
19323         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
19325 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
19327         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
19328         THREAD_SETMEM_NC.
19329         * sysdeps/x86_64/nptl/tls.h: Ditto.
19331 2015-03-27  Roland McGrath  <roland@hack.frob.com>
19333         * dlfcn/tststatic.c (main): Converted to ...
19334         (do_test): ... this.
19335         (TEST_FUNCTION): New macro.
19336         Include test-skeleton.c.
19338 2015-03-26  Alan Modra  <amodra@gmail.com>
19340         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
19341         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
19342         zero for undefined weak.
19343         (elf_machine_plt_conflict): Similarly.
19345 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
19347         * math/auto-libm-test-in: Add more tests of acosh, asinh and
19348         atanh.
19349         * math/auto-libm-test-out: Regenerated.
19350         * sysdeps/i386/fpu/libm-test-ulps: Update.
19351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19353         * math/auto-libm-test-in: Add another test of asin.
19354         * math/auto-libm-test-out: Regenerated.
19355         * sysdeps/i386/fpu/libm-test-ulps: Update.
19356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19358         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
19359         Remove macro.
19360         (LLL_EBX_REG): Likewise.
19361         (LLL_ENTER_KERNEL): Likewise.
19363         * math/auto-libm-test-in: Add more tests of asin.
19364         * math/auto-libm-test-out: Regenerated.
19365         * sysdeps/i386/fpu/libm-test-ulps: Update.
19366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19368         [BZ #18138]
19369         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
19370         libc_do_syscall_args): New structure.
19371         (INTERNAL_SYSCALL_MAIN_0): New macro.
19372         (INTERNAL_SYSCALL_MAIN_1): Likewise.
19373         (INTERNAL_SYSCALL_MAIN_2): Likewise.
19374         (INTERNAL_SYSCALL_MAIN_3): Likewise.
19375         (INTERNAL_SYSCALL_MAIN_4): Likewise.
19376         (INTERNAL_SYSCALL_MAIN_5): Likewise.
19377         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
19378         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
19379         Replace conditional definitions by conditional definitions of ....
19380         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
19381         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
19382         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
19383         (libpthread-sysdep_routines): Add libc-do-syscall.
19384         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
19385         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
19386         to __NR_futex not 240.
19388 2015-03-25  Alan Modra  <amodra@gmail.com>
19390         * NEWS: Advertise TLS optimization.
19391         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
19392         (DT_PPC_NUM): Increment.
19393         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
19394         (CHECK_STATIC_TLS): Use here.
19395         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
19396         TLS descriptors.
19397         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19398         * sysdeps/powerpc/dl-tls.c: New file.
19399         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
19400         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
19401         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
19402         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
19403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
19404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
19405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
19407 2015-03-25  Alan Modra  <amodra@gmail.com>
19409         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
19410         for overlapping .opd entries" to "support...".
19411         * sysdeps/powerpc/powerpc64/configure: Regenerate
19413 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
19415         * math/auto-libm-test-in: Add more tests of acos.
19416         * math/auto-libm-test-out: Regenerated.
19417         * sysdeps/i386/fpu/libm-test-ulps: Update.
19418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19420         * math/auto-libm-test-in: Add more tests of expm1.
19421         * math/auto-libm-test-out: Regenerated.
19422         * sysdeps/i386/fpu/libm-test-ulps: Update.
19423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19425 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
19427         * math/auto-libm-test-in: Add more tests of cosh and sinh.
19428         * math/auto-libm-test-out: Regenerated.
19429         * sysdeps/i386/fpu/libm-test-ulps: Update.
19430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19432         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19435         * math/auto-libm-test-in: Add more tests of log2.
19436         * math/auto-libm-test-out: Regenerated.
19437         * sysdeps/i386/fpu/libm-test-ulps: Update.
19438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19440 2015-03-23  Roland McGrath  <roland@hack.frob.com>
19442         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
19443         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
19444         _IO_IS_APPENDING bit in READ_WRITE instead.
19446 2015-03-23  Florian Weimer  <fweimer@redhat.com>
19448         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
19449         (__determine_cpumask_size): Replace extend_alloca with a
19450         variable-length array.  Do not treat res == 0 as an error.
19452 2015-03-23  Florian Weimer  <fweimer@redhat.com>
19454         [BZ #18100]
19455         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
19456         and integer overflow.
19457         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
19458         (main): Add integer overflow tests.
19459         * manual/pattern.texi (Calling Wordexp): Document additional use
19460         for WRDE_SYNTAX.
19462 2015-03-23  Alan Modra  <amodra@gmail.com>
19464         * config.h.in: Remove HAVE_ASM_PPC_REL16.
19465         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
19466         and false branch of conditional.
19467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19468         Likewise.
19470 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
19472         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
19473         libc-modules.h
19474         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
19475         unused declaration of _hurd_intr_rpc_msg_in_trap.
19476         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
19477         defined instead of whether it is non-zero.
19478         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
19479         input constraint instead of both input and output constraint.  Use ecx
19480         clobber instead of %ecx.
19481         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
19482         mutex_unlock): Use a statement expression instead of an expression list.
19483         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
19484         type to vm_size_t instead of vm_address_t.
19485         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
19486         defined instead of whether it is non-zero.
19487         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
19488         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
19489         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
19490         comparisons with mapaddr.
19491         * nscd/nscd-client.h: Include <time.h>.
19492         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
19493         9th parameter to __vm_region instead of int.
19494         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
19495         * scripts/check-local-headers.sh (exclude): Add device/,
19496         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
19497         cthreads.h.
19499 2015-03-19  Roland McGrath  <roland@hack.frob.com>
19501         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
19502         to account for alignment padding.
19503         * sysdeps/arm/memmove.S: Likewise.
19505 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
19507         * sysdeps/unix/sysv/linux/generic/README: New file.
19509 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
19511         [BZ #18138]
19512         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
19513         (futex_abstimed_wait)
19514         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
19515         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
19516         of lll_futex_timed_wait.
19518 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
19520         [BZ #17542]
19521         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
19523 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
19525         [BZ #17090]
19526         [BZ #17620]
19527         [BZ #17621]
19528         [BZ #17628]
19529         * NEWS: Update.
19530         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
19531         entries with Static TLS too.  Skip entries past the end of the
19532         allocated DTV, from Alan Modra.
19533         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
19534         Static TLS DTV entry set up from...
19535         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
19536         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
19537         * nptl/allocatestack.c (init_one_static_tls): ... and here...
19538         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
19539         for Static TLS.
19540         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
19541         that the slot we find is associated with the given map before
19542         using its generation count.
19543         * nptl_db/db_info.c: Include ldsodefs.h.
19544         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
19545         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
19546         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
19547         (link_map::l_tls_offset): New struct field.
19548         (dtv_t::counter): Likewise.
19549         (rtld_global): New struct.
19550         (_rtld_global): New rtld variable.
19551         (dl_tls_dtv_slotinfo_list): New rtld global field.
19552         (dtv_slotinfo_list): New struct.
19553         (dtv_slotinfo): Likewise.
19554         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
19555         (td_lookup): Rename to...
19556         (td_mod_lookup): ... this.  Use new mod parameter instead of
19557         LIBPTHREAD_SO.
19558         * nptl_db/td_thr_tlsbase.c: Include link.h.
19559         (dtv_slotinfo_list, dtv_slotinfo): New functions.
19560         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
19561         addresses even if the DTV is out of date or missing them.
19562         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
19563         index zero-length arrays.
19564         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
19565         (td_lookup): Make it a macro implemented in terms of...
19566         (td_mod_lookup): ... this declaration.
19567         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
19568         (DB_MAIN_VARIABLE): Likewise.
19570 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19572         [BZ #18134]
19573         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
19575 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
19577         * stdlib/setenv.c (__add_to_environ): Revert previous change.
19579 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
19581         [BZ #18128]
19582         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
19583         (atomic_add, atomic_increment_and_test)
19584         (atomic_decrement_and_test): Fix 64-bit arithmetic.
19586 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
19588         * stdlib/setenv.c (__add_to_environ):
19589         Dump core quickly if setenv (..., NULL, ...) is called.
19591 2015-03-13  Roland McGrath  <roland@hack.frob.com>
19593         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
19594         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
19595         all the necessary asm magic in one place.
19596         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
19597         using those.
19599 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
19601         [BZ #14906]
19602         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
19603         traced file mtime. Use consistent log message.
19604         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
19605         (register_traced_file): Call install_watches. Always set mtime.
19606         (invalidate_cache): Iterate over all trace files. Call install_watches.
19607         (inotify_check_files): Don't inline. Handle watching parent
19608         directories and configuration file movement in and out.
19609         (handle_inotify_events): New function.
19610         (main_loop_poll): Call handle_inotify_events.
19611         (main_loop_epoll): Likewise.
19612         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
19613         (struct traced_file): Use array of inotify fds. Add parent directory,
19614         and basename.
19615         (struct database_dyn): Remove unused file_mtime.
19616         (init_traced_file): New inline function.
19617         (define_traced_file): New macro.
19618         * nss/nss_db/db-init.c: Use define_traced_file.
19619         (_nss_db_init): Use init_traced_file.
19620         * nss/nss_files/files-init.c: Use define_traced_file.
19621         (_nss_files_init): Use init_traced_file.
19623 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
19625         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
19626         [_LIBC]: Do not include <stdlib.h>.
19627         [!_LIBC] (abort): Remove declaration.
19628         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
19629         _FP_STATIC_ASSERT instead of conditionally calling abort.
19630         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
19631         (_FP_EXTEND_CNAN): Likewise.
19632         (FP_TRUNC): Likewise.
19633         (__FP_CLZ): Likewise.
19634         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
19636 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
19638         * manual/string.texi (XPG basename): Fix prototype.
19640 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19642         [BZ #18080]
19643         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
19644         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19645         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
19646         (__setcontext): Likewise.
19647         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
19648         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19649         Call rt_sigprocmask syscall one time to set new signal mask
19650         and retrieve the current signal mask instead of two calls.
19651         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
19652         (__swapcontext): Likewise.
19653         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
19654         * stdlib/tst-setcontext2.c: New file.
19656 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19658         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19660 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
19662         [BZ #18093]
19663         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
19664         the wrong size.
19666 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19668         [BZ #18043]
19669         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
19671 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19673         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
19674         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
19675         Remove define.
19676         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
19677         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
19678         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
19679         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
19680         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
19681         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
19682         define.
19683         * nptl_db/td_symbol_list.c (td_lookup): Remove
19684         HAVE_ASM_GLOBAL_DOT_NAME code.
19685         * sysdeps/powerpc/powerpc64/configure.ac: Remove
19686         HAVE_ASM_GLOBAL_DOT_NAME check.
19687         * sysdeps/powerpc/powerpc64/configure: Regenerate.
19688         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
19689         (DOT_LABEL): Remove define.
19690         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
19691         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
19692         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
19693         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
19694         (__TLS_GET_ADDR): Likewise.
19695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
19696         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
19698 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
19700         [BZ #18111]
19701         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
19702         (_FPU_SETCW): Initialize cw from fpsr before storing.
19703         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
19704         (fesetexceptflag): Rewrite using fpu_control.h.
19705         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
19707 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
19709         [BZ #18110]
19710         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
19711         asms.
19712         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
19714 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
19716         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
19717         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
19718         abort.
19719         (_FP_FMA): Likewise.
19720         (_FP_DIV): Likewise.
19722 2015-03-10  Roland McGrath  <roland@hack.frob.com>
19724         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
19725         with 0 in that case.
19726         * Makefile (summarize-tests): New canned sequence, factored out of
19727         commands for targets tests and xtests.  Display summary lines that
19728         don't start with PASS: or XFAIL: rather than ones that do start with
19729         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
19730         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
19731         do start with ERROR: or FAIL:.
19732         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
19733         (except for [$(build-shared) = yes]).
19734         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
19735         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
19736         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
19737         * nptl/Makefile: Revert 2015-03-04 changes.
19738         [$(CXX) empty] (tests-unsupported): New variable.
19739         * debug/Makefile: Likewise.
19741         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
19742         gnulib file.  Replace __attribute with __attribute__ throughout.
19744 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
19746         * sysdeps/hppa/fpu/libm-test-ulps: Update.
19748 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
19750         [BZ #18104]
19751         * math/auto-libm-test-in: Add another test of pow.
19752         * math/auto-libm-test-out: Regenerated.
19754 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19756         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
19757         $(config-cflags-nofma).
19759 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
19761         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
19762         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
19763         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
19764         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
19765         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
19766         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
19767         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
19768         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
19769         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
19770         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
19771         Add comment on closing #endif.
19773 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19775         * posix/wordexp.c (CHAR_IN_SET): New macro.
19776         (parse_param): Use it.
19778 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19780         * sysdeps/powerpc/fpu/libm-test-ulps: update.
19782 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19784         [BZ #18043]
19785         * posix/wordexp.c (parse_param): Fix buffer overflow.
19786         * posix/wordexp-test.c (test_case): Add test case.
19788 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19790         [BZ #18042]
19791         * posix/wordexp.c (parse_backtick): Fix off-by-one.
19792         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
19794 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19796         [BZ #18043]
19797         * posix/wordexp-test.c (test_case): Add test for BZ #18043
19798         (do_bz18043): Delete.
19799         (at_page_end): New.
19800         (testit): Refactor to have words at the edge of unreadable page.
19802 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19804         [BZ #16734]
19805         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
19806         Cleanup read-only streams as well.
19807         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
19809 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19811         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
19812         <bits/libc-lockP.h>
19814 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
19816         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
19817         on [__KERNEL__].
19818         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
19819         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
19820         * soft-fp/op-common.h (_FP_DECL): Likewise.
19822 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
19824         * elf/ifuncdep2.c (global): Replace
19825         __attribute__((visibility("protected"))) with
19826         asm (".protected global").
19827         * elf/ifuncmod1.c (global): Likewise.
19828         * elf/ifuncmod5.c (global): Likewise.
19830 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
19832         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
19833         <asm/sfp-machine.h> instead of <sfp-machine.h>.
19835 2015-03-06  Roland McGrath  <roland@hack.frob.com>
19837         * manual/install.texi (Configuring and compiling):
19838         Document test-wrapper-env-only.
19839         * INSTALL: Regenerated.
19841 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19843         [BZ #18043]
19844         * posix/wordexp.c (parse_param): Fix buffer overflow.
19845         * posix/wordexp-test.c (do_bz18043): Add test case.
19847 2015-03-06  Vincent Bernat  <vincent@bernat.im>
19849         * time/tst-strptime2.c (do_test): Ensure failing tests are
19850         reported correctly.
19851         * time/tst-strptime3.c (do_test): Likewise.
19853 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
19855         Fix aio_error thread-safety.
19856         * sysdeps/pthread/aio_error.c: New file
19857         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
19858         synchronization.
19860 2015-03-06  Florian Weimer  <fweimer@redhat.com>
19862         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
19863         (group_number, vfprintf): Use it.
19864         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
19865         (JUMP, REF): Use it.
19866         (WORK_BUFFER_SIZE): New enum constant.
19867         (process_arg, vfprintf): Use it.
19869 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
19871         * manual/errno.texi (Error Messages): Complete example function
19872         by adding missing #define.
19873         (program_invocation_name): Add statement indicating GNU
19874         extension and reference which header file declares the variable.
19875         (program_invocation_short_name): Likewise.
19877 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
19879         * manual/errno.texi (Error Messages): Delete strerror ISO C89
19880         compatibility note.
19882 2015-03-05  Roland McGrath  <roland@hack.frob.com>
19884         * Makeconfig (test-wrapper-env-only): New variable.
19885         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
19886         then use that with $(test-wrapper-env-only) rather than using
19887         $(test-wrapper-env) $(run-program-env) $($*-ENV).
19889 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
19891         [BZ #18082]
19892         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
19893         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
19894         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
19895         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
19896         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
19897         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
19898         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
19899         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
19900         Likewise.
19901         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
19902         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
19903         Likewise.
19904         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
19905         Likewise.
19906         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
19907         Likewise.
19908         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
19909         Likewise.
19910         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
19911         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
19912         Likewise.
19913         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
19914         Likewise.
19915         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
19916         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
19918 2015-03-04  Roland McGrath  <roland@hack.frob.com>
19920         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
19921         (ETH_ALEN): New macro.
19922         (struct ether_addr): Use it for length of ether_addr_octet.
19924         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
19925         (setdb): Don't call __nss_configure_lookup for "rpc".
19926         (do_test): Don't call test_rpc.
19927         (output_rpcent, test_rpc): Functions moved ...
19928         * sunrpc/test-rpcent.c: ... to this new file.
19929         * sunrpc/Makefile (tests): Add it.
19931         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
19932         __xpg_sigpause.
19933         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
19934         * nptl/tst-signal6.c: Likewise.
19935         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
19936         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
19938         * configure.ac (libc_cv_cxx_link_ok): New check.
19939         Reset CXX to empty if it fails to link.
19940         * configure: Regenerated.
19941         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
19942         bug-atexit3-lib only if $(CXX) is nonempty.
19943         * nptl/Makefile (tests): Likewise for tst-cancel24.
19944         (tests, tests-static): Likewise for tst-cancel24-static.
19945         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
19946         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
19947         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
19948         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
19950 2015-03-04  Andreas Schwab  <schwab@suse.de>
19952         [BZ #17631]
19953         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
19954         for non-GCC compilers.
19955         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19956         Likewise.
19958 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19960         [BZ #17776]
19961         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
19962         integer before bitwise and assembly operations.
19963         (feclearexcept): Likewise.
19964         * math/test-fenvinline.c: New file.
19965         * math/Makefile: Add test-fenvinline test.
19967 2015-03-03  Alan Modra  <amodra@gmail.com>
19969         [BZ #16512]
19970         * scripts/localplt.awk: Strip off symbol version.
19971         * NEWS: Mention bug fix.
19973 2015-03-02  Roland McGrath  <roland@hack.frob.com>
19975         * sysdeps/pthread/timer_routines.c
19976         (timer_free_list, thread_free_list, thread_active_list): Make static.
19978 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
19980         [BZ #17779]
19981         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19982         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19983         Undefine.
19984         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19985         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19986         Likewise.
19987         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19988         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19989         Likewise.
19991 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
19993         [BZ #18036]
19994         * posix/fnmatch_loop.c (END): Detect invalid pattern.
19995         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
19997 2015-03-02  Andreas Schwab  <schwab@suse.de>
19999         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
20000         variable name.
20002 2015-03-02  Florian Weimer  <fweimer@redhat.com>
20004         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
20005         Return error status.
20007 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
20009         [BZ #15969]
20010         * locale/findlocale.c (_nl_find_locale): Introduce const
20011         version of loc_name and drop unsafe type casts.
20013 2015-02-27  Roland McGrath  <roland@hack.frob.com>
20015         * dlfcn/tststatic2.c (main): Converted to ...
20016         (do_test): ... this.
20017         (TEST_FUNCTION): New macro.
20018         Include test-skeleton.c.
20020 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
20022         [BZ #17711]
20023         * elf/Makefile (tests): Add vismain only if PIE is enabled.
20024         (tests-pie): Add vismain.
20025         (CFLAGS-vismain.c): New.
20026         * elf/vismain.c: Add comments for PIE requirement.
20028 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
20030         [BZ #18046]
20031         [BZ #18047]
20032         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
20033         0x1p-56L as threshold for just returning the argument.
20034         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
20035         0x1p-32L as threshold for just returning the argument.
20036         * math/auto-libm-test-in: Add more tests of atanh.
20037         * math/auto-libm-test-out: Regenerated.
20038         * sysdeps/i386/fpu/libm-test-ulps: Update.
20039         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
20041 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
20043         * string/bcopy.c (bcopy): Call memmove for performance.
20045 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
20047         * string/bzero.c (__bzero): Call memset for performance.
20049 2015-02-27  John David Anglin  <dave.anglin@bell.net>
20051         [BZ #18068]
20052         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
20053         to 00100000.
20055 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
20057         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
20059 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
20061         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
20062         (__kernel_standard): Use CSTR macro when setting exc.name.
20063         * sysdeps/ieee754/Makefile [$(subdir) = math]
20064         (CFLAGS-k_standard.c): Remove variable.
20066         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
20067         setting p and q from "else if" to "else".
20068         (qzero): Likewise.
20069         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
20070         (qone): Likewise.
20071         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
20072         (qzerof): Likewise.
20073         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
20074         (qonef): Likewise.
20075         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
20076         (qzero): Likewise.
20077         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
20078         (qone): Likewise.
20080         [BZ #18038]
20081         [BZ #18039]
20082         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
20083         return pi/2 for arguments below 0x1p-113L.
20084         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
20085         return pi/2 for arguments below 0x1p-106L.
20086         * math/auto-libm-test-in: Add more tests of acos.
20087         * math/auto-libm-test-out: Regenerated.
20089         [BZ #16351]
20090         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
20091         (MO): New macro.
20092         (__ieee754_asin): Force underflow exception for results with small
20093         absolute value.
20094         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
20095         (MO): New macro.
20096         (__ieee754_asinf): Force underflow exception for results with
20097         small absolute value.
20098         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
20099         (__ieee754_asin): Force underflow exception for results with small
20100         absolute value.
20101         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
20102         (__ieee754_asinf): Force underflow exception for results with
20103         small absolute value.
20104         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
20105         (__ieee754_asinl): Force underflow exception for results with
20106         small absolute value.
20107         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
20108         (__ieee754_asinl): Force underflow exception for results with
20109         small absolute value.
20110         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
20111         (__ieee754_asinl): Force underflow exception for results with
20112         small absolute value.
20113         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
20114         Include <math.h>.
20115         * math/auto-libm-test-in: Do not mark underflow exceptions as
20116         possibly missing for bug 16351.
20117         * math/auto-libm-test-out: Regenerated.
20119         [BZ #18030]
20120         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
20121         of power of 2 down when low part has opposite sign.
20122         * math/libm-test.inc (logb_test_data): Add more tests.
20124 2015-02-26  Andreas Schwab  <schwab@suse.de>
20126         [BZ #18032]
20127         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
20128         over collating symbol inside a bracket expression.  Minor cleanup.
20129         * posix/tst-fnmatch3.c (do_test): Add test case.
20131 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
20133         [BZ #18029]
20134         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
20135         Adjust exponent of power of 2 down when low part has opposite
20136         sign.
20137         * math/libm-test.inc (ilogb_test_data): Add more tests.
20139 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
20141         [BZ #15969]
20142         * locale/findlocale.c (_nl_find_locale): Fix constness error in
20143         the previous change.
20145         [BZ #15969]
20146         * locale/findlocale.c (_nl_find_locale): Retry archive search
20147         after alias expansion.
20149 2015-02-25  Roland McGrath  <roland@hack.frob.com>
20151         * iconv/tst-iconv3.c (main): Converted to ...
20152         (do_test): ... this.
20153         (TEST_FUNCTION): New macro.
20154         Include test-skeleton.c.
20156         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
20157         (convert): Make function static.
20158         (test_unalign): Likewise.  Add const to argument pointee types.
20159         (main): Replace with static function do_test.
20160         Print "Succeeded." only if RET is zero.
20161         (TEST_FUNCTION): New macro.
20162         Include test-skeleton.c.
20164         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
20165         returns a null pointer.
20167 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20169         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
20170         to __memcpy_ppc only for static builds.
20172 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
20174         [BZ #18020]
20175         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
20176         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
20177         * math/auto-libm-test-in: Add more tests of asinh.
20178         * math/auto-libm-test-out: Regenerated.
20179         * sysdeps/i386/fpu/libm-test-ulps: Update.
20180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20182 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
20184         [BZ #15850]
20185         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
20186         and ip6_mtuinfo definitions here.
20187         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
20188         in this define too.  Update comment.
20190 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
20192         * elf/sprof.c (load_shobj): Tweak error message to match others.
20194 2015-02-24  Kevin Easton  <kevin@guarana.org>
20196         [BZ #16145] (partial fix)
20197         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
20198         to reduce lock contention.
20200 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
20202         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
20203         (struct timex): Update time comment.
20204         (ADJ_SETOFFSET): Define.
20206 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20208         [BZ #18019]
20209         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20210         2**56 not 2**28 as threshold for log (2x) formula.
20211         * math/auto-libm-test-in: Add more tests of acosh.
20212         * math/auto-libm-test-out: Regenerated.
20213         * sysdeps/i386/fpu/libm-test-ulps: Update.
20214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20216 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20218         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
20219         parenthesis around the buf assignment.
20220         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
20222 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20224         [BZ #16783]
20225         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
20226         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
20227         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
20228         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20229         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20230         * math/libm-test.inc (scalb_test_data): Add more tests.
20232 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20234         [BZ #17916]
20235         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
20236         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
20238 2015-02-24  Eric Rannaud  <e@nanocritical.com>
20240         [BZ #17523]
20241         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
20242         * io/bits/fcntl2.h (open): Use it.
20243         (openat): Likewise.
20244         * io/open.c (__libc_open): Likewise.
20245         * io/open64.c (__libc_open64): Likewise.
20246         * io/open64_2.c (__open64_2): Likewise.
20247         * io/open_2.c (__open_2): Likewise.
20248         * io/openat.c (__openat): Likewise.
20249         * io/openat64.c (__openat64): Likewise.
20250         * io/openat64_2.c (__openat64_2): Likewise.
20251         * io/openat_2.c (__openat_2): Likewise.
20252         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
20253         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20254         * sysdeps/posix/open64.c (__libc_open64): Likewise.
20255         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20256         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20257         (__open_nocancel): Likewise.
20258         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20259         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20260         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
20262 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20264         [BZ #14841]
20265         * resolv/gethnamaddr.c (getanswer): Skip logging if
20266         RES_USE_DNSSEC is set.
20267         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20269 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20271         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
20273 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
20275         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
20276         201304L, for Unicode 7.
20278 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
20280         [BZ #17836]
20281         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
20282         shared library.  Add gmon-start.os otherwise.
20283         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
20284         $(objpfx)gmon-start.os if builing shared library.
20285         ($(objpfx)g$(static-start-installed-name)): Likewise.
20287 2015-02-23  Andreas Schwab  <schwab@suse.de>
20289         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
20291 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
20293         [BZ #17269]
20294         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
20295         (enlarge_userbuf): Likewise.
20297 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
20299         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
20300         * math/atest-exp.c (TIMEOUT): Adjust to 200.
20301         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
20302         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
20304 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
20306         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
20307         expression inside statement expression.
20309 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20311         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
20312         <sysdeps/nptl/lowlevellock.h> and remove macros and
20313         functions that are now defined there.
20314         (SYS_futex): Remove.
20315         (lll_compare_and_swap): Remove.
20316         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
20318 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
20320         [BZ #17999]
20321         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
20322         instead of scandirat.
20323         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
20324         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
20325         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
20326         __scandirat.
20327         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
20328         (__scandirat): Declare.  Use libc_hidden_proto.
20329         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
20330         Remove variable.
20331         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20333 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
20335         [BZ #15319]
20336         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
20337         (MO): New macro.
20338         (__ieee754_atan2): For results with small absolute value, force
20339         underflow exception and remove excess range and precision from
20340         return value.
20341         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
20342         (MO): New macro.
20343         (__ieee754_atan2f): For results with small absolute value, force
20344         underflow exception and remove excess range and precision from
20345         return value.
20346         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
20347         (MO): New macro.
20348         (__atan): For results with small absolute value, force underflow
20349         exception and remove excess range and precision from return value.
20350         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
20351         (MO): New macro.
20352         (__atanf): For results with small absolute value, force underflow
20353         exception and remove excess range and precision from return value.
20354         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
20355         <math.h>.
20356         (__ieee754_atan2): Force underflow exception for results with
20357         small absolute value.
20358         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
20359         <math_private.h>.
20360         (atan): Force underflow exception for results with small absolute
20361         value.
20362         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
20363         (__atanf): Force underflow exception for results with small
20364         absolute value.
20365         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
20366         <math.h>.
20367         (__atanl): Force underflow exception for results with small
20368         absolute value.
20369         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
20370         (__atanl): Force underflow exception for results with small
20371         absolute value.
20372         * sysdeps/x86/fpu/bits/mathinline.h
20373         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
20374         (__ieee754_atan2): Only define inline for long double.
20375         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
20376         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
20377         * math/auto-libm-test-in: Do not mark underflow exceptions as
20378         possibly missing for bug 15319.  Add more tests of atan2.
20379         * math/auto-libm-test-out: Regenerated.
20380         * math/libm-test.inc (casin_test_data): Do not mark underflow
20381         exceptions as possibly missing for bug 15319.
20382         (casinh_test_data): Likewise.
20383         * sysdeps/i386/fpu/libm-test-ulps: Update.
20385 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
20387         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
20388         * sysdeps/mips/bits/endian.h: Fix comments.
20390 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
20392         [BZ #17996]
20393         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
20394         (hdestroy_r): Likewise.
20395         (hsearch_r): Likewise.
20396         (__hcreate_r): Declare and use libc_hidden_proto.
20397         (__hdestroy_r): Likewise.
20398         (__hsearch_r): Likewise.
20399         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
20400         (hcreate): Call __hcreate_r instead of hcreate_r.
20401         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
20402         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
20403         as weak alias of __hcreate_r.
20404         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
20405         __hdestroy_r.
20406         (hsearch_r): Rename to __hsearch_r and define as weak alias of
20407         __hsearch_r.
20408         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
20409         Remove variable.
20410         (test-xfail-XPG4/search.h/linknamespace): Likewise.
20411         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20412         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20413         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20415 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20417         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
20418         arena_lock into a single arena_get.
20420 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
20422         * dl-reloc.c: Inlucde libc-internal.h.
20423         (_dl_try_allocate_static_tls): Call ALIGN_UP.
20424         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
20425         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
20426         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
20427         (grow_heap): Likewise.
20428         * malloc/malloc.c: Include libc-internal.h.
20429         (do_check_malloc): Call powerof2.
20430         (sysmalloc): Use pagesize. Call ALIGN_UP.
20431         (systrim): Use pagesize.
20432         (mremap_chunk): Use pagesize. Call ALIGN_UP.
20433         (__libc_valloc): Use pagesize.
20434         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
20436 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
20438         [BZ #17991]
20439         * include/sys/resource.h (__getrlimit64): Declare.  Use
20440         libc_hidden_proto.
20441         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
20442         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
20443         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
20444         getrlimit64.
20445         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
20446         __getrlimit64.
20447         [!getrlimit64] (getrlimit64): Define as weak alias of
20448         __getrlimit64.  Use libc_hidden_weak.
20449         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
20450         using __getrlimit64 not __new_getrlimit64.
20451         (__GI_getrlimit64): Likewise.
20452         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
20453         Likewise.
20454         (__GI_getrlimit64): Likewise.
20455         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
20456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
20457         (getrlimit): Add __getrlimit64 alias.
20458         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
20459         Likewise.
20460         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
20461         Remove variable.
20462         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20463         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20465 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
20467         * libio/fileops.c: Add missing sys/mman.h
20468         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
20470 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
20472         * manual/math.texi (Errors in Math Functions): Clarify goals
20473         regarding inexact and underflow exceptions.
20475 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
20477         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
20478         * sysdeps/mips/memset.S: Ditto.
20480 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
20482         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
20484 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20486         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
20487         (__v1longjmp): Remove versioned symbol.
20488         (__v1siglongjmp): Remove alias and versioned symbol.
20489         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
20490         (__v2siglongjmp): Likewise.
20492 2015-02-16  Torvald Riegel  <triegel@redhat.com>
20494         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
20496 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
20498         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
20500 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
20502         [BZ #17987]
20503         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
20504         zero result does not depend on the sign resulting from
20505         subtraction.
20506         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20507         Likewise.
20508         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20509         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20510         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20511         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20512         * math/libm-test.inc (remquo_test_data): Add more tests.
20514 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
20516         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
20517         Problem reported by J William Piggott.
20519 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
20521         [BZ #17978]
20522         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
20523         products 4 * y and 2 * y where those would overflow.
20524         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20525         Likewise.
20526         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20527         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20528         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20529         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20530         * math/libm-test.inc (remquo_test_data): Add more tests.
20532         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
20534         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
20535         [defined _COMPILING_NEWLIB].
20536         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
20537         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
20539         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
20540         [!defined __mips_isa_rev || __mips_isa_rev < 6].
20542 2015-02-16  Torvald Riegel  <triegel@redhat.com>
20544         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
20545         acquired.
20547 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
20549         [BZ #17792]
20550         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
20551         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
20552         HOST_STACK_END_ADDR): Likewise.
20554 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
20556         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
20557         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
20558         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
20560 2015-02-13  Roland McGrath  <roland@hack.frob.com>
20562         * sysdeps/generic/c++-types.data: New file.
20563         * sysdeps/generic/ld.abilist: New file.
20564         * sysdeps/generic/libBrokenLocale.abilist: New file.
20565         * sysdeps/generic/libanl.abilist: New file.
20566         * sysdeps/generic/libc.abilist: New file.
20567         * sysdeps/generic/libcrypt.abilist: New file.
20568         * sysdeps/generic/libdl.abilist: New file.
20569         * sysdeps/generic/libm.abilist: New file.
20570         * sysdeps/generic/libpthread.abilist: New file.
20571         * sysdeps/generic/libresolv.abilist: New file.
20572         * sysdeps/generic/librt.abilist: New file.
20574 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
20576         [BZ #17569]
20577         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20578         Compute absolute value of x as modified by fmod, not original
20579         value of x.
20580         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
20581         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
20582         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
20583         RUN_TEST_ffI_f1_mod8.
20584         (remquo_test_data): Add more tests.
20586 2015-02-13  Roland McGrath  <roland@hack.frob.com>
20588         * sysdeps/init_array/pt-crti.S: New file.
20590 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
20592         [BZ #17967]
20593         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
20594         __builtin_fmaf instead of relying on contraction of a * b + c.
20596 2015-02-12  J William Piggott  <elseifthen@gmx.com>
20598         [BZ #17969]
20599         * manual/time.texi: correct the zoneinfo path in the TZ Variable
20600         node.
20602 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
20604         [BZ #17964]
20605         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
20606         __builtin_fma instead of relying on contraction of a * b + c.
20608 2015-02-12  Roland McGrath  <roland@hack.frob.com>
20610         * Makeconfig (ASFLAGS): Add -Werror=undef.
20611         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
20612         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
20613         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
20615         * Makeconfig (after-link): New variable.
20616         (+link-pie, +link-pie-tests): Use it.
20617         (+link-static, +link-static-tests): Likewise.
20618         (+link, +link-tests): Likewise.
20619         * Makerules (build-module, build-module-asneeded): Likewise.
20620         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
20621         Likewise.
20622         * elf/Makefile ($(objpfx)ld.so): Likewise.
20624 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
20626         [BZ #17965]
20627         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
20628         both struct timeval and struct timespec.
20630 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
20632         [BZ #16560]
20633         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20634         and redefine.
20635         (__ieee754_exp2l): Do not multiply small fractional parts by
20636         M_LN2l.
20637         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
20638         small argument.
20639         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20640         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20641         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
20642         * math/auto-libm-test-in: Add more tests of exp2.
20643         * math/auto-libm-test-out: Regenerated.
20645 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20647         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
20648         unaligned path.
20650 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20652         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
20653         little endian.
20655 2015-02-12  Andreas Schwab  <schwab@suse.de>
20657         [BZ #15790]
20658         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
20659         Filter out elision flags from value returned in kind.
20660         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
20661         * nptl/tst-pthread-mutexattr.c: New file.
20663 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20665         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
20666         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
20667         into gnu-gnu, and update comment to refer to abi-tags.
20669 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
20671         [BZ #15467]
20672         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
20673         (__sincos): Set errno to EDOM for infinite argument.
20674         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
20675         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
20676         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
20677         (__sincosl): Set errno to EDOM for infinite argument.
20678         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
20679         (__sincosl): Set errno to EDOM for infinite argument.
20680         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
20681         (__sincosl): Set errno to EDOM for infinite argument.
20682         * math/libm-test.inc (sincos_test_data): Test errno setting.
20684 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
20686         * string/strxfrm_l.c: Remove #define STRCMP.
20687         * string/strcoll_l.c: Remove #define STRLEN.
20688         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
20689         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
20691 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
20693         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
20694         * sysdeps/mips/mips32/sfp-machine.h: ... here.
20695         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
20696         * sysdeps/mips/mips64/Makefile: ... here.
20697         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
20698         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
20699         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
20700         * sysdeps/mips/mips64/sfp-machine.h: ... here.
20701         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
20702         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
20703         * sysdeps/mips/mips64/n64/Implies: Likewise.
20705 2015-02-10  Roland McGrath  <roland@hack.frob.com>
20707         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
20708         <sys/time.h>, <string.h>, and <errno.h>.
20709         (dest_offset, dest_address, value, zero): Remove unused variables.
20710         (ldouble): Remove typedef.
20711         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
20712         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
20713         1).  Fix code style.
20714         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
20715         (check): Function removed.
20716         (CHECK): New macro.
20717         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
20718         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
20719         Don't call set_sigaction_FP and remove_sigaction_FP here.
20720         (ldouble_test): Just use 'long double' as macro argument, no need for
20721         the 'ldouble' typedef.
20722         (do_test): Set up SIGFPE handler at start, using plain signal rather
20723         than sigaction.  Fix code style.
20725 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
20727         [BZ #17949]
20728         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
20729         jump label.
20731 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20733         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
20734         * sysdeps/powerpc/powerpc32/configure: Regenerated.
20736         * sysdeps/powerpc/configure.ac: Remove file.
20737         * sysdeps/powerpc/configure: Likewise.
20739         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
20740         [sysdep_routines]: Remove wordcopy-power6 object.
20741         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
20742         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
20743         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
20744         (__memmove_ppc32): Likewise.
20745         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
20746         file.
20747         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
20748         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
20749         Remove preprocessor.
20751         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
20752         [sysdep_routines]: Remove wide chars objects.
20753         [wcsmbs]: New rule for wide char objects.
20755         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20756         Remove wordcopy-power6 obejct.
20757         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
20758         Use local call for wordcopy and memcpy symbols.
20759         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
20760         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
20761         implementation for loader.
20762         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
20764         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20765         Remove wordcopy-power7 object.
20766         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
20767         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
20768         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
20769         (_wordcopy_fwd_dest_aligned): Likewise.
20770         (_wordcopy_bwd_aligned): Likewise.
20771         (_wordcopy_bwd_dest_aligned): Likewise.
20773         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
20774         Rewrite to call __memmove_ppc instead of include default
20775         implementation.
20777         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20778         Remove wide chars objects.
20779         [wcsmbs]: New rule for wide char objects.
20781 2015-02-09  Andreas Schwab  <schwab@suse.de>
20783         [BZ #17912]
20784         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20785         in terms of __O_DIRECTORY.
20787 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20789         * time/getdate.c: Include <stdbool.h>.
20790         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
20791         call PTR_MANGLE.
20792         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
20793         PTR_DEMANGLE.
20795 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
20797         Add ersatz _Static_assert on older C hosts
20798         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
20799         pre-C11 C platform that is not known to support _Static_assert.
20801 2015-02-07  Richard Braun  <rbraun@sceen.net>
20803         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
20804         sigstate.
20805         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
20807 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20809         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
20810         priority against unexistent AIO_PRIO_DELTA_MAX.
20811         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
20812         instead of int.
20813         * misc/fchflags.c (fchflags): Likewise.
20814         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
20815         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
20816         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
20817         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
20818         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
20819         Declare macros.
20820         [__USE_MISC] (chflags, fchflags): Declare functions.
20821         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
20822         EINVAL when nfds is greater than FD_SETSIZE.
20823         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
20824         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
20825         45.
20826         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
20827         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
20828         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
20829         MACH_RCV_TIMED_OUT.
20830         * hurd/hurd/signal.h (_hurd_self_sigstate,
20831         _hurd_critical_section_lock, _hurd_critical_section_unlock):
20832         Explicit casts from void *.
20833         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
20834         * abi-tags: Rename gnu-gnu os into gnu.
20836         [BZ #4719]
20837         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
20838         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
20839         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
20840         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
20841         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
20842         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
20844         [BZ #17944]
20845         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
20846         duplicates ADDR->sun_path with sockaddr LEN limitation.
20847         * sysdeps/mach/hurd/connect.c: Include <string.h>
20848         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
20849         * sysdeps/mach/hurd/sendmsg.c: Likewise.
20850         * sysdeps/mach/hurd/sendto.c: Likewise.
20851         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
20852         implementing it by hand.
20854 2015-02-06  Roland McGrath  <roland@hack.frob.com>
20856         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
20857         Use sfi_breg on ldr.
20858         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
20859         Likewise.
20861         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
20862         it's defined.
20863         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
20864         Test SIGSETXID only if it's defined.
20866         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
20868         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
20869         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
20871         * nptl/tst-align2.c: Moved ...
20872         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
20873         * nptl/Makefile (tests): Remove tst-align2.
20874         * sysdeps/unix/sysv/linux/Makefile
20875         [$(subdir) = nptl] (tests): Add tst-align-clone.
20876         * nptl/tst-getpid1.c: Moved ...
20877         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
20878         * nptl/tst-getpid2.c: Moved ...
20879         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
20880         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
20881         * sysdeps/unix/sysv/linux/Makefile
20882         [$(subdir) = nptl] (tests): ... here.
20883         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
20884         * sysdeps/unix/sysv/linux/Makefile
20885         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
20887         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
20888         Drop trailing \n from perror argument.  Use return rather than exit.
20890         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
20891         on [SA_SIGINFO].
20892         * nptl/tst-cancel21.c (do_test): Likewise.
20893         * debug/tst-backtrace6.c: Include <signal.h> first thing.
20894         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
20895         [!SA_SIGINFO]: Make it a stub test.
20897         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
20898         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
20900         * posix/tst-getlogin.c: Move to ...
20901         * login/tst-getlogin.c: ... here.
20902         * posix/Makefile (tests): Move tst-getlogin to ...
20903         * login/Makefile (tests): ... here.
20905         * libio/tst-atime.c (do_test): Move local variables SV and E
20906         inside [ST_NOATIME] conditional.
20908         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
20910         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
20912         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
20913         (wait_code): New function replaces macro.
20914         Call nanosleep rather than syscall.
20916         * nptl/pt-system.c: Rewritten.  Put everything under
20917         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20918         Use IFUNC to redirect when possible.
20920         * nptl/pt-longjmp.c: Rewritten.  Put everything under
20921         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20922         Use IFUNC to redirect when possible.
20924         * nptl/pt-fork.c: Rewritten.  Put everything under
20925         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20926         Use IFUNC to redirect when possible.
20927         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
20929         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
20930         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
20931         unconditionally nowadays.  This included the only reference to
20932         __vdso_clock_gettime that appears outside libc proper.
20933         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
20934         Remove version set (containing only __vdso_clock_gettime).
20935         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20936         Add attribute_hidden.
20937         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20938         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
20939         libc_hidden_data_def.
20940         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20941         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20943         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
20944         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
20945         setrpcent, and getrpcport to ...
20946         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
20947         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
20948         getrpcbynumber_r, and getrpcent_r to ...
20949         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
20950         * inet/getrpcbyname.c: Moved ...
20951         * sunrpc/getrpcbyname.c: ... here.
20952         * inet/getrpcbyname_r.c: Moved ...
20953         * sunrpc/getrpcbyname_r.c: ... here.
20954         * inet/getrpcbynumber.c: Moved ...
20955         * sunrpc/getrpcbynumber.c: ... here.
20956         * inet/getrpcbynumber_r.c: Moved ...
20957         * sunrpc/getrpcbynumber_r.c: ... here.
20958         * inet/getrpcent.c: Moved ...
20959         * sunrpc/getrpcent.c: ... here.
20960         * inet/getrpcent_r.c: Moved ...
20961         * sunrpc/getrpcent_r.c: ... here.
20962         * inet/Makefile (routines): Move those to ...
20963         * sunrpc/Makefile (routines): ... here.
20964         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
20965         the $(subdirs) list.
20966         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
20967         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
20968         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
20969         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
20971         * elf/Makefile (routines): Include $(all-dl-routines), not just
20972         $(dl-routines).
20973         (rtld-routines): Likewise.  Use = rather than :=.
20974         * sysdeps/aarch64/Makefile [$(subdir) = elf]
20975         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
20976         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
20977         * sysdeps/arm/Makefile: Likewise.
20978         * sysdeps/i386/Makefile: Likewise.
20979         * sysdeps/x86_64/Makefile: Likewise.
20980         * sysdeps/hppa/Makefile [$(subdir) = elf]
20981         (sysdep_routines, sysdep-rtld-routines): Don't add
20982         $(sysdep-dl-routines) to these.
20983         * sysdeps/ia64/Makefile: Likewise.
20984         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
20985         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
20986         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
20987         Don't add dl-static to these; sysdep-dl-routines alone is enough.
20988         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
20989         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
20990         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
20991         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
20992         * sysdeps/powerpc/Makefile [$(subdir) = elf]
20993         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
20994         these; sysdep-dl-routines alone is enough.
20996 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
20998         [BZ #17932]
20999         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
21000         where multiplication results in zero and third argument is finite
21001         and nonzero.
21002         * math/auto-libm-test-in: Add more tests of fma.
21003         * math/auto-libm-test-out: Regenerated.
21005         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
21006         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
21007         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
21008         (_FP_CMP_EQ): Likewise.
21009         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
21011         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
21012         extra argument CHECK_NAN.  Redefine as wrapper around
21013         _FP_EXTEND_CNAN.
21015 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
21017         * version.h (RELEASE): Set to "stable".
21018         (VERSION): Set to "2.21"
21019         * include/features.h (__GLIBC_MINOR__): Set to 21.
21021         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
21023 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21024             Paul Eggert  <eggert@cs.ucla.edu>
21026         [BZ #16618]
21027         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
21028         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
21029         size in bytes. Store needed elements in wpmax. Use needed size
21030         in bytes for extend_alloca.
21032 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
21034         * manual/install.texi: Latest tested versions are GCC 4.9.2,
21035         binutls 2.25, and texinfo 5.2.
21036         * INSTALL: Regenerate.
21037         * sysdeps/nios2/configure: Regenerate.
21038         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
21039         * manual/contrib.texi: Update.
21040         * po/be.po: Update.
21041         * po/bg.po: Update.
21042         * po/ca.po: Update.
21043         * po/cs.po: Update.
21044         * po/da.po: Update.
21045         * po/de.po: Update.
21046         * po/el.po: Update.
21047         * po/eo.po: Update.
21048         * po/es.po: Update.
21049         * po/fi.po: Update.
21050         * po/fr.po: Update.
21051         * po/gl.po: Update.
21052         * po/hr.po: Update.
21053         * po/hu.po: Update.
21054         * po/ia.po: Update.
21055         * po/id.po: Update.
21056         * po/it.po: Update.
21057         * po/ja.po: Update.
21058         * po/ko.po: Update.
21059         * po/lt.po: Update.
21060         * po/nb.po: Update.
21061         * po/nl.po: Update.
21062         * po/pl.po: Update.
21063         * po/pt_BR.po: Update.
21064         * po/ru.po: Update.
21065         * po/rw.po: Update.
21066         * po/sk.po: Update.
21067         * po/sl.po: Update.
21068         * po/sv.po: Update.
21069         * po/tr.po: Update.
21070         * po/uk.po: Update.
21071         * po/vi.po: Update.
21072         * po/zh_CN.po: Update.
21073         * po/zh_TW.po: Update.
21075         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
21076         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
21077         * sysdeps/hppa/dl-irel.h: Remove #warning.
21078         * sysdeps/hppa/entry.h: Provide prototype for
21079         __canonicalize_funcptr_for_compare and cast argument.
21080         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
21081         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
21082         * sysdeps/hppa/sotruss-lib.c: New file.
21083         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
21084         (atomic_compare_and_exchange_val_acq): Use __typeof__.
21085         (atomic_compare_and_exchange_bool_acq): Likewise.
21086         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
21087         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
21089         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
21090         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
21091         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
21093 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
21095         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
21096         called function in non-PIC case.
21098 2015-01-31  David S. Miller  <davem@davemloft.net>
21100         * sysdeps/sparc/sparc32/bits/atomic.h
21101         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
21102         unlock not after it.
21103         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
21104         volatile register usage warnings from the compiler.
21106         * sysdeps/sparc/nptl/sem_init.c: Delete.
21107         * sysdeps/sparc/nptl/sem_post.c: Delete.
21108         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
21109         * sysdeps/sparc/nptl/sem_wait.c: Delete.
21110         * sysdeps/sparc/sparc32/sem_init.c: New file.
21111         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
21112         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
21113         padding explicitly initialized.
21114         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
21115         padding for in-semaphore spinlock.
21116         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
21117         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
21118         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
21119         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
21120         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
21121         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
21122         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
21123         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
21124         version.
21125         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
21126         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
21128 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
21130         [BZ #17801]
21131         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21132         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
21133         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
21134         New.
21135         (index_AVX_Fast_Unaligned_Load): Likewise.
21136         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
21137         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
21138         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
21139         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
21140         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
21141         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
21142         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
21143         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
21144         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
21146 2015-01-29  Andreas Schwab  <schwab@suse.de>
21148         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
21150 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
21152         [BZ #17892]
21153         * nscd/nscd_stat.c (send_stats): Initialize DATA.
21155 2015-01-28  Martin Sebor  <msebor@redhat.com>
21157         * math/README.libm-test: Clarify. Add "How to read the test output."
21159 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
21161         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
21162         Define to 0.
21164 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
21166         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
21167         (__HAVE_64B_ATOMICS): Define to 0.
21169 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21171         [BZ #17885]
21172         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
21173         value to set as new flag.
21175         [BZ #16576]
21176         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
21177         and use _ARCH_PPCSQ instead.
21178         (__ieee754_sqrt): Likewise.
21179         (__ieee754_sqrtf): Likewise.
21180         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
21181         _ARCH_PPCSQ is defined.
21182         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
21183         fsqrt instruction.
21184         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
21185         _ARCH_PPCSQ is defined.
21186         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
21187         fsqrts instruction.
21188         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
21190 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21192         * iconv/loop.c: Suppress array out of bound warning caused by GCC
21193         bug (GCC BZ #64739).
21195 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
21197         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
21198         Mark _retval as used.
21199         (lll_futex_wake_unlock): Likewise.
21200         (lll_futex_timed_wait_requeue_pi): Likewise.
21202         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
21203         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
21204         register variables.
21206         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
21207         libm_hidden_def.
21209         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
21210         (__bswap_64): Mark as __always_inline.
21212 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
21214         [BZ #15378]
21215         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
21216         when none of the search directories exist.
21218 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21220         [BZ #17869]
21221         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
21222         power8 in .machine directive.
21224         [BZ #17868]
21225         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
21226         set dependency from opd value.
21228 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21230         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21231         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
21232         architecture.
21234 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21236         [BZ #17870]
21237         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
21238         with uint64_t.
21239         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
21240         (uint64_t) 1.
21241         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
21242         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
21243         Replace 1UL with (uint64_t) 1.
21244         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
21245         int with uint64_t.
21247 2015-01-23  Roland McGrath  <roland@hack.frob.com>
21249         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
21250         (if_freenameindex): Likewise.
21252         * resource/getrlimit64.c: Add missing libc_hidden_def.
21254 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
21256         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
21257         __label__.
21258         (_FP_FMA): Likewise.
21259         (_FP_TO_INT_ROUND): Likewise.
21260         (_FP_FROM_INT): Likewise.
21262 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21264         [BZ #16418]
21265         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
21266         Make code racy and cancel safe.
21268 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
21270         * sysdeps/arm/unwind-resume.h: Fix copyright year.
21271         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
21272         attribution.
21274         * pwd/tst-getpw.c: Rewrite.
21276         [BZ #17702]
21277         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
21278         (modules-names): Add moddummy1 and moddummy2.
21279         ($(objpfx)tst-rec-dlopen): Define.
21280         * dlfcn/moddummy1.c: New file.
21281         * dlfcn/moddummy2.c: New file.
21282         * dlfcn/tst-rec-dlopen.c: New file.
21283         * elf/dl-cache.c (_dl_load_cache_lookup):
21284         Return char*. Copy result with alloca/strcpy/strdup.
21285         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
21286         returns char*. Free cached. If not saving realname
21287         free cached.
21288         * elf/dl-open.c (dl_open_worker): Do not assert that
21289         _r_debug->r_state is RT_CONSISTENT.
21290         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
21291         returns char*.
21293 2015-01-21  Torvald Riegel  <triegel@redhat.com>
21294             Carlos O'Donell  <carlos@redhat.com>
21296         [BZ #12674]
21297         * nptl/sem_waitcommon.c: New file.
21298         * nptl/sem_wait.c: Include sem_waitcommon.c.
21299         (__sem_wait_cleanup, do_futex_wait): Remove.
21300         (__new_sem_wait): Adapt.
21301         (__new_sem_trywait): New function.
21302         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
21303         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
21304         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
21305         (sem_timedwait): Adapt.
21306         * nptl/sem_post.c (__new_sem_post): Adapt.
21307         (futex_wake): New function.
21308         (__old_sem_post): Add release MO fence.
21309         * nptl/sem_open.c (sem_open): Adapt.
21310         * nptl/sem_init.c (__new_sem_init): Adapt.
21311         (futex_private_if_supported): New function.
21312         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
21313         (__old_sem_getvalue): Add using previous code.
21314         * sysdeps/nptl/internaltypes.h: Adapt.
21315         * nptl/tst-sem13.c (do_test): Adapt.
21316         * nptl/tst-sem11.c (main): Adapt.
21317         * nptl/sem_trywait.c: Remove.
21318         * nptl/DESIGN-sem.txt: Remove.
21319         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
21320         (gen-as-const-headers): Remove structsem.sym.
21321         * nptl/structsem.sym: Remove.
21322         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
21323         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
21324         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
21325         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
21326         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
21327         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
21328         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
21329         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
21330         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
21331         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
21332         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
21333         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
21334         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
21335         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
21336         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
21337         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
21338         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
21339         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
21340         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
21341         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
21342         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
21343         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
21345 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
21347         * INSTALL: Regenerated.
21349         * po/libc.pot: Regenerated.
21351 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
21352             Sandra Loosemore  <sandra@codesourcery.com>
21353             Andrew Jenner  <andrew@codesourcery.com>
21354             Joseph Myers  <joseph@codesourcery.com>
21355             Nathan Sidwell  <nathan@codesourcery.com>
21357         * NEWS: Mention new Nios II port.
21358         * sysdeps/nios2/Implies: New file.
21359         * sysdeps/nios2/Makefile: New file.
21360         * sysdeps/nios2/Subdirs: New file.
21361         * sysdeps/nios2/Versions: New file.
21362         * sysdeps/nios2/__longjmp.S: New file.
21363         * sysdeps/nios2/abort-instr.h: New file.
21364         * sysdeps/nios2/backtrace.c: New file.
21365         * sysdeps/nios2/bits/endian.h: New file.
21366         * sysdeps/nios2/bits/fenv.h: New file.
21367         * sysdeps/nios2/bits/link.h: New file.
21368         * sysdeps/nios2/bits/setjmp.h: New file.
21369         * sysdeps/nios2/bsd-_setjmp.S: New file.
21370         * sysdeps/nios2/bsd-setjmp.S: New file.
21371         * sysdeps/nios2/configure: New generated file.
21372         * sysdeps/nios2/configure.ac: New file.
21373         * sysdeps/nios2/crti.S: New file.
21374         * sysdeps/nios2/crtn.S: New file.
21375         * sysdeps/nios2/dl-init.c: New file.
21376         * sysdeps/nios2/dl-machine.h: New file.
21377         * sysdeps/nios2/dl-sysdep.h: New file.
21378         * sysdeps/nios2/dl-tls.h: New file.
21379         * sysdeps/nios2/dl-trampoline.S: New file.
21380         * sysdeps/nios2/gccframe.h: New file.
21381         * sysdeps/nios2/gmp-mparam.h: New file.
21382         * sysdeps/nios2/jmpbuf-offsets.h: New file.
21383         * sysdeps/nios2/jmpbuf-unwind.h: New file.
21384         * sysdeps/nios2/ldsodefs.h: New file.
21385         * sysdeps/nios2/libc-tls.c: New file.
21386         * sysdeps/nios2/libm-test-ulps: New file.
21387         * sysdeps/nios2/machine-gmon.h: New file.
21388         * sysdeps/nios2/math-tests.h: New file.
21389         * sysdeps/nios2/math_private.h: New file.
21390         * sysdeps/nios2/memusage.h: New file.
21391         * sysdeps/nios2/nptl/Makefile: New file.
21392         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
21393         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
21394         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
21395         * sysdeps/nios2/nptl/pthreaddef.h: New file.
21396         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
21397         * sysdeps/nios2/nptl/tls.h: New file.
21398         * sysdeps/nios2/preconfigure: New file.
21399         * sysdeps/nios2/s_fma.c: New file.
21400         * sysdeps/nios2/s_fmaf.c: New file.
21401         * sysdeps/nios2/setjmp.S: New file.
21402         * sysdeps/nios2/sfp-machine.h: New file.
21403         * sysdeps/nios2/sotruss-lib.c: New file.
21404         * sysdeps/nios2/stackguard-macros.h: New file.
21405         * sysdeps/nios2/stackinfo.h: New file.
21406         * sysdeps/nios2/start.S: New file.
21407         * sysdeps/nios2/sysdep.h: New file.
21408         * sysdeps/nios2/tls-macros.h: New file.
21409         * sysdeps/nios2/tst-audit.h: New file.
21410         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
21411         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
21412         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
21413         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
21414         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
21415         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
21416         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
21417         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
21418         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
21419         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
21420         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
21421         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
21422         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
21423         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
21424         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
21425         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
21426         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
21427         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
21428         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
21429         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
21430         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
21431         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
21432         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
21433         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
21434         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
21435         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
21436         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
21437         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
21438         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
21439         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
21440         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
21441         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
21442         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
21443         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
21444         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
21445         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
21446         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
21447         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
21448         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
21449         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
21450         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
21451         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
21452         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
21453         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
21455 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21457         [BZ #17844]
21458         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
21459         (getutent): Use weak_alias in non SHARED case
21460         and default_symbol_version in SHARED case.
21461         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
21462         (getutent_r, pututline): Likewise.
21463         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
21464         (getutid): Likewise.
21465         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
21466         (getutid_r): Likewise.
21467         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
21468         (getutline): Likewise.
21469         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
21470         (getutline_r): Likewise.
21471         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
21472         (updwtmp): Likewise.
21474 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21476         [BZ #17848]
21477         * sysdeps/s390/s390-32/memcmp.S
21478         (memcmp_g5): Rename to __memcmp_g5.
21479         * sysdeps/s390/s390-32/memcpy.S
21480         (memcpy_g5): Rename to __memcpy_g5.
21481         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21482         (memcpy_mvcle) Rename to __memcpy_mvcle.
21483         * sysdeps/s390/s390-32/memset.S
21484         (memset_g5): Rename to __memset_g5.
21485         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21486         (IFUNC_RESOLVE): Prefix ifunc-resolve function
21487         and use prefixed functions.
21488         * sysdeps/s390/s390-32/multiarch/memcmp.S
21489         (memcmp_z196): Rename to __memcmp_z196.
21490         (memcmp_z10): Rename to __memcmp_z10.
21491         (memcmp): Set alias to __memcmp_g5.
21492         (bcmp): Set alias to __memcmp_g5.
21493         * sysdeps/s390/s390-32/multiarch/memcpy.S
21494         (memcpy_z196): Rename to __memcpy_z196.
21495         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21496         (memcpy_z10): Rename to __memcpy_z10.
21497         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21498         (memcpy): Set alias to __memcpy_g5.
21499         * sysdeps/s390/s390-32/multiarch/memset.S
21500         (memset_z196): Rename to __memset_z196.
21501         Jump to __memset_mvcle instead of memset_mvcle.
21502         (memset_z10): Rename to __memset_z10.
21503         Jump to __memset_mvcle instead of memset_mvcle.
21504         (memset_mvcle) Rename to __memset_mvcle.
21505         (memset): Set alias to __memset_g5.
21506         * sysdeps/s390/s390-64/memcmp.S
21507         (memcmp_z900): Rename to __memcmp_z900.
21508         * sysdeps/s390/s390-64/memcpy.S
21509         (memcpy_z900): Rename to __memcpy_z900.
21510         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21511         (memcpy_mvcle) Rename to __memcpy_mvcle.
21512         * sysdeps/s390/s390-64/memset.S
21513         (memset_z900): Rename to __memset_z900.
21514         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
21515         (IFUNC_RESOLVE): Prefix ifunc-resolve function
21516         and use prefixed functions.
21517         * sysdeps/s390/s390-64/multiarch/memcmp.S
21518         (memcmp_z196): Rename to __memcmp_z196.
21519         (memcmp_z10): Rename to __memcmp_z10.
21520         (memcmp): Set alias to __memcmp_z900.
21521         (bcmp): Set alias to __memcmp_z900.
21522         * sysdeps/s390/s390-64/multiarch/memcpy.S
21523         (memcpy_z196): Rename to __memcpy_z196.
21524         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21525         (memcpy_z10): Rename to __memcpy_z10.
21526         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21527         (memcpy): Set alias to __memcpy_z900.
21528         * sysdeps/s390/s390-64/multiarch/memset.S
21529         (memset_z196): Rename to __memset_z196.
21530         Jump to __memset_mvcle instead of memset_mvcle.
21531         (memset_z10): Rename to __memset_z10.
21532         Jump to __memset_mvcle instead of memset_mvcle.
21533         (memset_mvcle) Rename to __memset_mvcle.
21534         (memset): Set alias to __memset_z900.
21536 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
21538         [BZ #17748]
21539         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
21540         __fesetenv instead of fesetenv.
21542 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21544         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
21545         macro.
21547 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21549         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
21550         regression on LE.
21552         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
21553         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
21554         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21555         strncmp-power8 object.
21556         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21557         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
21558         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
21559         * NEWS: Update.
21561 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21562             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21564         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
21565         trailing byte check.
21567 2015-01-13  David S. Miller  <davem@davemloft.net>
21569         * include/signal.h (__sigreturn): Guard with __USE_MISC.
21571 2015-01-13  Roland McGrath  <roland@hack.frob.com>
21573         * login/logout.c (logout): Use memset rather than bzero.
21574         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
21575         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
21576         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
21577         (_gethtbyaddr): Likewise.
21578         * locale/programs/simple-hash.c (bcopy): Macro removed.
21580 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21582         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21583         Add strcmp-power8 object.
21584         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21585         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
21586         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
21587         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
21588         __strcmp_power8 implementation.
21589         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
21590         * NEWS: Update.
21592         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21593         Add strncpy-power8 and stpncpy-power8 objects.
21594         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21595         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
21596         implementations.
21597         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
21598         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
21599         __stpncpy_power8 implementation.
21600         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
21601         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
21602         __strncpy_power8 implementation.
21603         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
21604         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
21605         * NEWS: Update.
21607         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
21608         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
21609         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
21611         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21612         strncat-power8 object.
21613         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
21614         __strcat_power8 implementation.
21615         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21616         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
21617         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
21618         optimized strcat for power8.
21620         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21621         strcpy-power8 and stpcpy-power8 objects.
21622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21623         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
21624         implementations.
21625         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
21626         multiarch stpcpy implementation for POWER8.
21627         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
21628         multiarch strcpy implementation for POWER8.
21629         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
21630         __strcpy_power8 function.
21631         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
21632         stpcpy for POWER8.
21633         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
21634         strcpy for POWER8.
21635         * NEWS: Update.
21637 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
21639         [BZ #16009]
21640         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
21641         weights and rules. Use do_xfrm_cached if data fits in cache,
21642         do_xfrm otherwise.  Moved former main loop to...
21643         * (do_xfrm_cached): New function.
21644         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
21645         find_idx, find_position and stack_push.
21646         * (find_idx): New function.
21647         * (find_position): Likewise.
21648         * localedata/sort-test.sh: Added test run for do_xfrm.
21649         * localedata/xfrm-test.c (main): Added command line option
21650         -nocache to run the test with strings that are too large for
21651         the STRXFRM cache.
21653 2015-01-13  Torvald Riegel  <triegel@redhat.com>
21655         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
21656         variable to lll_futex_wake call, not the value itself.
21658 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
21660         [BZ #17803]
21661         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
21662         twom64.  Adjust value to 0x1p-64L.
21663         (__scalblnl): Only return standard underflowing result for K <=
21664         -64 not K <= -63; adjust exponent for underflowing result by 64
21665         not 63.
21666         * math/libm-test.inc (scalbn_test_data): Add more tests.
21667         (scalbln_test_data): Likewise.
21669         [BZ #17834]
21670         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
21671         0x1p63L.
21672         (__scalblnl): Get new exponent of adjusted subnormal value from ES
21673         not HX.
21674         * math/libm-test.inc (scalbn_test_data): Add more tests.
21675         (scalbln_test_data): Likewise.
21677 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21678             Stefani Seibold  <stefani@seibold.net>
21680         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
21681         (sysdep_routines): Add dl-vdso here, ...
21682         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
21683         (sysdep_routines): ... not here.
21684         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
21685         fallback when vDSO is not presented.
21686         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21687         Define with libc_hidden_proto/libc_hidden_data_def definitions.
21688         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
21689         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
21690         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
21691         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
21692         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
21693         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
21694         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
21695         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
21696         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
21697         fallback configurable symbol when vDSO is not available.
21698         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
21699         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
21700         be able to redefine fallback symbol when vDSO is not available.
21701         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
21702         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
21704 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21706         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
21707         (TLS_INIT_TP): Add tm_capable initialization.
21708         (TLS_DEFINE_INIT_TP): Likewise.
21709         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
21710         TCB.
21711         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
21712         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
21713         calculation.
21714         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
21715         transactoion is lock elision is built and TCB tm_capable is set.
21716         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
21717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21718         (INTERNAL_SYSCALL_NCS): Likewise.
21719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21720         (INTERNAL_SYSCALL_NCS): Likewise.
21721         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
21723         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
21724         for powerpc.
21725         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21726         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
21727         and remove it for 32 bits case.
21728         [pthread_rwlock_t] (__rwelision): New field for lock elision.
21729         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
21730         initialization.
21731         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
21732         Disable lock elision with rdlocks if elision is not available.
21734         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
21735         (sysdep_routines): Add lock elision objects.
21736         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21737         [pthread_mutex_t] (__spins): Rework to add lock elision field.
21738         [pthread_mutex_t] (__elision): Add field.
21739         [__PTHREAD_SPINS]: Adjust to init lock elision field.
21740         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
21741         elision definitions for powerpc.
21742         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
21743         implementation of lock elision for powerpc.
21744         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
21745         implementation of timed lock elision for powerpc.
21746         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
21747         implementation of trylock with lock elision for powerpc.
21748         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
21749         implementaion of unlock for lock elision for powerpc.
21750         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
21751         automatic enable lock elision for mutexes.
21752         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
21753         transaction execution definitions for powerpc.
21754         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
21755         definitions.
21756         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
21757         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
21758         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
21759         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
21760         * NEWS: Update.
21762 2015-01-09  Roland McGrath  <roland@hack.frob.com>
21764         * sysdeps/posix/shm-directory.c: Use <> rather than ""
21765         for #include of <shm-directory.h>.
21767 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
21769         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
21770         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
21772 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
21774         [BZ #17791]
21775         * NEWS: Mention bug fix.
21776         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
21777         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
21778         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
21780 2015-01-09  Torvald Riegel <triegel@redhat.com>
21782         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
21784 2015-01-09  Torvald Riegel <triegel@redhat.com>
21786         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
21788 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21790         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
21791         pointer and cast to uintptr_t.
21793 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21795         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
21796         removed.
21797         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
21799 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21801         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
21802         of 0.
21804 2015-01-08  Roland McGrath  <roland@hack.frob.com>
21806         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
21807         <nptl/pthreadP.h> instead.
21808         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
21810         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
21811         already defined.
21812         [__SIGRTMIN] (init): Function removed.
21813         [__SIGRTMIN] (initialized): Variable removed.
21814         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
21815         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
21816         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
21817         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
21818         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
21819         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
21820         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
21821         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
21822         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
21823         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
21824         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
21825         * sysdeps/nptl/allocrtsig.c: New file.
21826         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
21827         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
21828         * sysdeps/generic/testrtsig.h: File removed.
21830         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
21831         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
21833         * nptl/nptl-init.c (pthread_functions): Conditionalize
21834         .ptr__nptl_setxid initialization on [SIGSETXID].
21836         * sysdeps/nptl/sys/procfs.h: New file.
21837         * nptl_db/Makefile (headers): Add it.
21838         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
21840         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
21841         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
21842         * nptl/pthread_attr_setaffinity.c: Include it.
21843         * nptl/pthread_setattr_default_np.c: Likewise.
21844         * nptl/check-cpuset.h: New file.
21846 2015-01-08  Richard Henderson  <rth@redhat.com>
21848         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
21849         (CFLAGS-tst-execstack-prog.c): Likewise.
21850         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
21852 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
21853             Sandra Loosemore  <sandra@codesourcery.com>
21854             Andrew Jenner  <andrew@codesourcery.com>
21855             Joseph Myers  <joseph@codesourcery.com>
21856             Nathan Sidwell  <nathan@codesourcery.com>
21858         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
21859         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
21860         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
21861         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
21862         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
21863         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
21864         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
21865         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
21866         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
21867         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
21868         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
21869         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
21870         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
21871         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
21872         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
21873         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
21874         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
21876 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21878         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
21879         timespec struct member in syscall macro.
21880         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
21881         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
21882         first timeval struct member in syscall macro.
21883         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
21885 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
21887         [BZ #17748]
21888         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
21889         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
21890         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
21891         __feupdateenv and define as weak alias of __feupdateenv.  Use
21892         libm_hidden_weak.
21893         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
21894         libm_hidden_def.
21895         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
21896         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
21897         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
21898         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
21899         libm_hidden_def.
21900         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
21901         __feupdateenv and define as weak alias of __feupdateenv.  Use
21902         libm_hidden_weak.
21903         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
21904         libm_hidden_def.
21905         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
21906         __feupdateenv and define as weak alias of __feupdateenv.  Use
21907         libm_hidden_weak.
21908         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
21909         libm_hidden_def.
21910         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21911         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
21912         (__feupdateenv): Likewise.
21913         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
21914         __feupdateenv and define as weak alias of __feupdateenv.  Use
21915         libm_hidden_weak.
21916         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21917         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
21918         libm_hidden_def.
21919         * sysdeps/tile/math_private.h (__feupdateenv): New inline
21920         function.
21921         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
21922         libm_hidden_def.
21923         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
21924         __feupdateenv instead of feupdateenv.
21925         (default_libc_feupdateenv_test): Likewise.
21926         (libc_feresetround_ctx): Likewise.
21928 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21930         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
21931         prototype.
21933 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
21935         * posix/regcomp.c (parse_bracket_exp): Initialize type to
21936         COLL_SYM in a couple of places to avoid uninitialized variable
21937         wanings on tilegx gcc 4.8.2.
21939 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
21941         * sysdeps/aarch64/strcpy.S: New file.
21942         * sysdeps/aarch64/stpcpy.S: New file.
21943         * NEWS: Updated.
21945 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
21947         * sysdeps/aarch64/strrchr.S: New file.
21948         * NEWS: Updated.
21950 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
21952         [BZ #17658]
21953         * stdlib/setenv.c: Fix memory leak when setting large,
21954         duplicate string.
21956 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
21958         [BZ #17273]
21959         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
21960         and tabs from buffer before parsing fstab entry.
21961         * misc/tst-mntent.c (main): Add test for mount entry with
21962         trailing spaces and tabs.
21964 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
21966         [BZ #17748]
21967         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
21968         * math/fesetround.c (fesetround): Rename to __fesetround and
21969         define as weak alias of __fesetround.  Use libm_hidden_weak.
21970         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
21971         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
21972         * sysdeps/arm/fesetround.c (fesetround): Likewise.
21973         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
21974         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
21975         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
21976         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
21977         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
21978         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
21979         __fesetround_inline.
21980         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
21981         __fesetround_inline instead of __fesetround.
21982         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
21983         __fesetround and define as weak alias of __fesetround.  Use
21984         libm_hidden_weak.  Call __fesetround_inline instead of
21985         __fesetround.
21986         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
21987         __fesetround and define as weak alias of __fesetround.  Use
21988         libm_hidden_weak.
21989         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
21990         Likewise.
21991         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
21992         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21993         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
21994         * sysdeps/tile/math_private.h (__fesetround): New inline function.
21995         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
21996         __fesetround and define as weak alias of __fesetround.  Use
21997         libm_hidden_weak.
21998         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
21999         __fesetround instead of fesetround.
22000         (default_libc_feholdexcept_setround): Likewise.
22001         (libc_feholdsetround_ctx): Likewise.
22002         (libc_feholdsetround_noex_ctx): Likewise.
22004         [BZ #17748]
22005         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
22006         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
22007         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22008         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
22009         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22010         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
22011         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22012         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22013         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22014         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22015         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22016         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22017         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22018         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22019         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
22020         libm_hidden_def.
22021         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
22022         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
22023         Likewise.
22024         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22025         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22026         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22027         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22028         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
22029         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22030         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
22031         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
22032         __fesetenv instead of fesetenv.
22033         (libc_feresetround_noex_ctx): Likewise.
22034         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22035         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22036         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
22037         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22038         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22039         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22040         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22041         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22042         (__feupdateenv): Likewise.
22043         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22044         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22045         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22046         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
22048 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
22050         [BZ #17806]
22051         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
22052         addresses have been freed.
22054 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
22056         * resolv/res_init.c (__res_vinit): Improve comments about nserv
22057         and nservall.
22059 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
22061         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
22062         Clean up check_pf allocation pattern. addresses
22064 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22066         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
22067         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
22068         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
22069         * nptl/pthread_exit.c (__pthread_exit): Likewise.
22070         * nptl/pthread_join.c (pthread_join): Likewise.
22071         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
22072         * sysdeps/posix/waitid.c (__waitid): Likewise.
22073         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
22074         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
22075         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
22076         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
22077         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
22078         Likewise.
22079         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
22080         (__libc_pread64): Likewise.
22081         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
22082         (__libc_pwrite): Likewise.
22083         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
22084         (__libc_pwrite64): Likewsie.
22085         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
22086         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
22087         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
22088         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
22089         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
22090         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
22091         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
22093         Likewise.
22094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22095         (__libc_pread64): Likewise.
22096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
22097         Likewise.
22098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22099         (__libc_pwrite64): Likewise.
22100         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
22101         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
22102         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
22103         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
22104         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
22105         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
22106         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
22107         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
22108         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
22109         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
22110         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
22111         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
22112         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
22113         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
22114         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22115         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
22116         Likewise.
22118 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
22120         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
22121         (CFLAGS-test-double.c): Likewise.
22122         (CFLAGS-test-ldouble.c): Likewise.
22123         (CPPFLAGS-test-ifloat.c): Likewise.
22124         (CPPFLAGS-test-idouble.c): Likewise.
22125         (CPPFLAGS-test-ildoubl.c): Likewise.
22126         (CFLAGS-test-test-fenv.c): Remove variable.
22127         (CFLAGS-test-misc.c): Likewise.
22129 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
22131         [BZ #17797]
22132         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
22133         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
22134         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
22135         CLOCKS_PER_SEC == 1000000.
22136         * time/clocktest.c (main): Replace %ld with %jd and cast to
22137         intmax_t.
22139 2015-01-05  Roland McGrath  <roland@hack.frob.com>
22141         * sysdeps/generic/unwind-resume.h: New file.
22142         * sysdeps/gnu/unwind-resume.c: Include it.
22143         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
22144         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
22145         argument list.
22146         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
22147         global rather than static.
22148         (_Unwind_Resume): Update user.
22149         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
22150         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
22151         rather than static.  Add __attribute__ ((cold)).
22152         (_Unwind_Resume, __gcc_personality_v0): Update callers.
22153         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
22154         * sysdeps/arm/arm-unwind-resume.S: New file.
22155         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
22156         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
22157         * sysdeps/arm/Makefile [$(subdir) = csu]
22158         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
22159         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22160         Add rt-arm-unwind-resume.
22161         [$(subdir) = nptl]
22162         (libpthread-sysdep_routines, libpthread-shared-only-routines):
22163         Add pt-arm-unwind-resume.
22164         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
22165         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
22167 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22169         [BZ #17748]
22170         * include/fenv.h (__feholdexcept): Declare.  Use
22171         libm_hidden_proto.
22172         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
22173         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
22174         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22175         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
22176         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
22177         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
22178         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
22179         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22180         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
22181         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
22182         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22183         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
22184         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
22185         (feholdexcept): Likewise.
22186         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22187         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22188         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22189         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22190         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
22191         __feholdexcept instead of feholdexcept.
22192         (default_libc_feholdexcept_setround): Likewise.
22194 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22196         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
22197         to avoid using stl/str to align destination.
22199 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22201         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
22203 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22205         [BZ #17796]
22206         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
22207         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
22208         Define as weak alias not strong alias.
22210 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22212         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
22213         bltzal with addiupc.
22214         (RTLD_START): Ditto.
22216 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
22218         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
22219         for __vdso_* functions in declarations.
22220         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
22221         definitions.
22222         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
22223         INTERNAL_VSYSCALL): Use struct return types to check for error.
22225         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
22226         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
22227         function with cast from llround().
22228         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
22229         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22230         Define.
22232 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22234         [BZ #17793]
22235         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
22236         Define as weak alias not strong alias.
22238         [BZ #17635]
22239         * ctype/ctype-c99.c: New file.  isblank implementation moved from
22240         ...
22241         * ctype/ctype-extn.c: ... here.
22242         (__isblank_l): Move to ...
22243         * ctype/ctype-c99_l.c: ... here.  New file.
22244         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
22245         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
22246         Remove variable.
22247         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
22248         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22249         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22250         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22251         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
22253         [BZ #17777]
22254         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
22255         (posix_fadvise64): Define as weak alias not strong alias.
22256         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22257         (posix_fallocate64): Likewise.
22258         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
22259         Remove variable.
22260         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
22261         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
22262         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
22263         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
22264         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
22266 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
22268         [BZ #16191]
22269         * NEWS: Mention bug fix.
22270         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
22271         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
22272         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
22273         (HOST_STACK_END_ADDR): Likewise.
22275 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
22277         [BZ #17748]
22278         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
22279         * math/fegetround.c (fegetround): Rename to __fegetround and
22280         define as weak alias of __fegetround.  Use libm_hidden_weak.
22281         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
22282         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
22283         * sysdeps/arm/fegetround.c (fegetround): Likewise.
22284         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
22285         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22286         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
22287         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
22288         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
22289         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22290         Undefine after rather than before function definition; use
22291         parentheses around function name in definition.
22292         (__fegetround): Also undefine macro after function definition.
22293         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
22294         __fegetround and define as weak alias of __fegetround.  Use
22295         libm_hidden_weak.  Do not undefine as macro.
22296         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22297         Likewise.
22298         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
22299         __fegetround and define as weak alias of __fegetround.  Use
22300         libm_hidden_weak.
22301         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22302         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22303         * sysdeps/tile/math_private.h (__fegetround): New inline function.
22304         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
22305         __fegetround and define as weak alias of __fegetround.  Use
22306         libm_hidden_weak.
22307         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
22308         __fegetround instead of fegetround.
22310         [BZ #17782]
22311         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
22312         Condition macro definition on [__USE_MISC].
22314         [BZ #17781]
22315         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
22316         (struct sigaction): Change type of sa_flags field to int.
22318         [BZ #17780]
22319         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
22320         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
22321         __glibc_reserved0.
22323         * nptl/version.c (banner): Use single year in copyright notice.
22325         * NEWS: Update copyright dates.
22326         * catgets/gencat.c (print_version): Likewise.
22327         * csu/version.c (banner): Likewise.
22328         * debug/catchsegv.sh: Likewise.
22329         * debug/pcprofiledump.c (print_version): Likewise.
22330         * debug/xtrace.sh (do_version): Likewise.
22331         * elf/ldconfig.c (print_version): Likewise.
22332         * elf/ldd.bash.in: Likewise.
22333         * elf/pldd.c (print_version): Likewise.
22334         * elf/sotruss.sh: Likewise.
22335         * elf/sprof.c (print_version): Likewise.
22336         * iconv/iconv_prog.c (print_version): Likewise.
22337         * iconv/iconvconfig.c (print_version): Likewise.
22338         * locale/programs/locale.c (print_version): Likewise.
22339         * locale/programs/localedef.c (print_version): Likewise.
22340         * login/programs/pt_chown.c (print_version): Likewise.
22341         * malloc/memusage.sh (do_version): Likewise.
22342         * malloc/memusagestat.c (print_version): Likewise.
22343         * malloc/mtrace.pl: Likewise.
22344         * manual/libc.texinfo: Likewise.
22345         * nptl/version.c (banner): Likewise.
22346         * nscd/nscd.c (print_version): Likewise.
22347         * nss/getent.c (print_version): Likewise.
22348         * nss/makedb.c (print_version): Likewise.
22349         * posix/getconf.c (main): Likewise.
22350         * scripts/test-installation.pl: Likewise.
22351         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22353 2015-01-02  Will Newton  <will.newton@linaro.org>
22355         * sysdeps/arm/armv7/configure: Removed.
22356         * sysdeps/arm/armv7/configure.ac: Likewise.
22358 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
22360         * All files with FSF copyright notices: Update copyright dates
22361         using scripts/update-copyrights.
22362         * intl/plural.c: Regenerated.
22363         * locale/programs/charmap-kw.h: Likewise.
22364         * locale/programs/locfile-kw.h: Likewise.
22366 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22368         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
22370 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
22372         [BZ #17748]
22373         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
22374         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
22375         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22376         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
22377         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22378         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
22379         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22380         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
22381         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22382         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22383         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22384         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22385         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22386         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22387         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
22388         libm_hidden_def.
22389         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
22390         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
22391         Likewise.
22392         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22393         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22394         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22395         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22396         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
22397         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22398         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
22399         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
22400         __fegetenv instead of fegetenv.
22401         (libc_feholdsetround_noex_ctx): Likewise.
22403 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
22405         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
22406         (Elf_MIPS_ABIFlags_v0): New structure.
22407         (EF_MIPS_FP64): Define.
22408         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
22409         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
22410         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
22411         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
22412         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
22413         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
22414         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
22415         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
22416         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
22417         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
22418         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
22419         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
22420         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
22421         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
22422         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
22423         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
22424         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
22425         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
22426         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
22427         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
22428         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
22429         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
22430         field.
22431         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
22432         EF_MIPS_FP64.
22433         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
22434         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
22435         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
22436         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
22437         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
22438         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
22439         * sysdeps/mips/tst-abi-interlink.c: Likewise.
22440         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
22441         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
22442         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
22443         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
22444         record the current FP ABI extension.
22445         (mips-mode-switch): Define to show if kernel headers support mode
22446         switching.
22447         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22448         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
22449         supported SYSV ABI version to 3.
22450         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
22451         feature.
22453 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22454             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22456         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
22457         path.
22458         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
22460 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
22462         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
22463         __fegetround and redefine to call __fegetround.  Remove condition
22464         on [!__NO_MATH_INLINES].
22465         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
22466         function.
22467         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
22468         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22469         Remove macro.
22470         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
22471         instead of <fenv_libc.h>.
22472         (__llrintl): Call fegetround instead of __fegetround.
22473         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
22474         instead of <fenv_libc.h>.
22475         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
22476         (__lrintl): Call fegetround instead of __fegetround.
22477         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
22478         instead of <fenv_libc.h>.
22479         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
22480         (__rintl): Call fegetround instead of __fegetround.
22482 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22484         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
22485         arrays.
22487 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
22489         [BZ #17775]
22490         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
22491         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
22492         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
22494 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22496         * sysdeps/i386/tls-macros.h: Include <features.h>.
22497         (TLS_LE): Use non-PIC version for GCC >= 5.0.
22498         (TLS_IE): Likewise.
22499         (TLS_LD): Likewise.
22500         (TLS_GD): Likewise.
22501         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
22502         define for GCC >= 5.0.
22504 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
22506         * math/test-fenv.c (test_single_exception, set_single_exc,
22507         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
22508         feexcp_mask_test, feenable_test, fe_single_test): Add
22509         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
22510         case where they are not used.
22511         * math/libm-test.inc: Likewise.
22512         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
22513         unused in the absence of FP rounding/exception support.
22514         * stdio-common/tst-printf-round.c: Likewise.
22515         * stdlib/tst-strtod-round.c: Likewise.
22516         * stdlib/tst-strtod-underflow.c: Likewise.
22518 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
22520         [BZ #17723]
22521         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
22522         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
22523         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22524         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22525         libm_hidden_weak.
22526         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
22527         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22528         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
22529         libm_hidden_def.
22530         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22531         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22532         libm_hidden_weak.
22533         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
22534         Likewise.
22535         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
22536         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22537         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22538         libm_hidden_weak.
22539         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22540         libm_hidden_def.
22541         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22542         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
22543         (__feraiseexcept): Likewise.
22544         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22545         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22546         libm_hidden_weak.
22547         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22548         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22549         libm_hidden_def.
22550         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
22551         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
22552         Use libm_hidden_def.
22553         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
22554         libm_hidden_def.
22555         (feraiseexcept): Define as weak not strong alias.  Use
22556         libm_hidden_weak.
22557         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
22558         New inline function.  Factored out of ...
22559         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
22560         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
22561         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
22562         feraiseexcept.
22563         * math/w_acos.c (__acos): Likewise.
22564         * math/w_asin.c (__asin): Likewise.
22565         * math/w_ilogb.c (__ilogb): Likewise.
22566         * math/w_j0.c (y0): Likewise.
22567         * math/w_j1.c (y1): Likewise.
22568         * math/w_jn.c (yn): Likewise.
22569         * math/w_log.c (__log): Likewise.
22570         * math/w_log10.c (__log10): Likewise.
22571         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
22572         * sysdeps/aarch64/fpu/math_private.h
22573         (libc_feupdateenv_test_aarch64): Likewise.
22574         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22575         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
22576         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
22577         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22578         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22579         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22580         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
22581         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22582         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22583         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22585 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
22587         [BZ #17732]
22588         * io/test-utime.c (main): Replace %ld with %jd and cast to
22589         intmax_t.
22590         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
22591         * nptl/tst-mutex5.c: Include <stdint.h>.
22592         (do_test): Replace %ld with %jd and cast to intmax_t.
22593         * posix/tst-regex.c (run_test): Likewise.
22594         (run_test_backwards): Likewise.
22595         * rt/tst-clock.c: Include <stdint.h>.
22596         (clock_test): Replace %ld with %jd and cast to intmax_t.
22597         * rt/tst-cpuclock1.c: Include <stdint.h>.
22598         (do_test): Replace %lu with %ju and cast to uintmax_t.
22599         * rt/tst-cpuclock2.c: Include <stdint.h>.
22600         (do_test): Replace %lu with %ju and cast to uintmax_t.
22601         * rt/tst-mqueue1.c: Include <stdint.h>.
22602         (check_attrs): Replace %ld with %jd and cast to intmax_t.
22603         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
22604         intmax_t.
22605         * rt/tst-mqueue4.c (do_test): Likewise.
22606         * rt/tst-timer4.c: Include <stdint.h>.
22607         (check_ts): Replace %ld with %jd and cast to intmax_t.
22608         (do_test): Likewise.
22609         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
22610         and cast to intmax_t.
22611         * sysdeps/pthread/tst-timer.c (main): Likewise.
22612         * time/clocktest.c (main): Likewise.
22613         * time/tst-posixtz.c (do_test): Likewise.
22614         * timezone/tst-timezone.c (main): Likewise.
22616 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22617             H.J. Lu  <hongjiu.lu@intel.com>
22619         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
22620         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
22621         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
22622         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
22623         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
22624         version if bit_Fast_Unaligned_Load is set.
22625         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22626         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22627         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22628         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22629         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22630         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22631         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22632         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
22633         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
22634         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
22635         to 4.
22636         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
22637         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
22638         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
22639         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
22641 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
22643         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
22644         instead of #if to avoid a Wundef warning.
22645         * stdlib/tst-limits.c (do_test): Likewise.
22647         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
22648         parallel other exception macros.
22649         (fegetenv): Convert from macro to extern inline so that it applies
22650         retroactively to inline functions already seen by the compiler.
22651         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
22653         * posix/Makefile (before-compile): Use $(objpfx) for
22654         posix-conf-vars-def.h.
22656 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22658         * posix/getconf.c (main): Use size_t for type of I.
22659         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
22660         NSPEC.
22662         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
22663         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
22664         * posix/posix-envs.def: Likewise.
22665         * sysdeps/posix/sysconf.c: Likewise.
22666         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
22667         (specs): Remove array.
22668         * scripts/gen-posix-conf-vars.awk: Support generation of specs
22669         array.
22671         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
22672         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
22673         (__sysconf): Use CONF_IS_* macros.
22675         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
22676         ($(objpfx)posix-conf-vars-def.h): New target.
22677         * posix/posix-conf-vars.list: New file.
22678         * posix/posix-conf-vars.h: New file.
22679         * posix/confstr.c: Include posix-conf-vars.h.
22680         (confstr): Use CONF_IS_* macros.
22681         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
22682         CONF_IS_* macros.
22683         * scripts/gen-posix-conf-vars.awk: New file.
22685 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
22687         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
22688         fegetround): Add no-op macros to avoid linknamespace issues.
22690         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
22691         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
22693         * sysdeps/unix/sysv/linux/tile/sysdep.h
22694         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
22695         assembly-specific section to avoid a redefinition warning.
22697         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
22698         long before casting to pointer to avoid a cast warning.
22700 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
22702         * sysdeps/tile/tilegx/Implies: New file.
22704 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
22706         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
22708 2014-12-23  Florian Weimer  <fweimer@redhat.com>
22710         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
22712 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22714         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
22715         not define.
22716         * sysdeps/unix/sysv/linux/utimes.c: Do not include
22717         <kernel-features.h>.
22718         (__utimes) [__NR_utimes]: Make code unconditional.
22719         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
22720         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22721         (__ASSUME_UTIMES): Do not undefine.
22722         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22723         (__ASSUME_UTIMES): Likewise.
22724         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22725         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
22726         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
22727         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
22729 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
22731         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
22733 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
22735         [BZ #17747]
22736         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
22737         alias to weak alias for j0l, y0l.
22738         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
22739         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
22741         [BZ #17746]
22742         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
22743         conversion.
22745 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
22747         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
22748         to zero if not already defined.
22750 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22752         [BZ #17724]
22753         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
22754         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
22755         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
22756         (char *) casts added.
22757         * sysdeps/ieee754/k_standardf.c: New file.
22758         * sysdeps/ieee754/k_standardl.c: Likewise.
22759         * math/Makefile (libm-support): Remove k_standard.
22760         (libm-calls): Add k_standard.
22762 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22764         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22765         Optimize to avoid an unnecessary FPCR read.
22767 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22769         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
22770         Optimize to reduce FPCR/FPSR accesses.
22772 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22774         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
22775         Call libc_fetestexcept_aarch64.
22777 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22779         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
22780         Call libc_fesetround_aarch64.
22782 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22784         [BZ #17733]
22785         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
22786         (__bind): Do not define as weak alias.
22787         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
22788         define.
22789         (__getsockname): Do not define as weak alias.
22791 2014-12-22  Will Newton  <will.newton@linaro.org>
22793         * manual/install.texi: Document that we require bison 2.7
22794         or above.
22795         * INSTALL: Regenerate.
22796         * configure.ac: Use AC_CHECK_PROG_VER instead of
22797         AC_PATH_PROG when checking for bison and check for
22798         version 2.7 or above.
22799         * configure: Regenerate.
22801 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
22803         [BZ #17745]
22804         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
22805         * sysdeps/tile/ffsll.c (ffsll): To here.
22807         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
22809 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
22811         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
22812         if not defined.
22813         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
22814         definition.
22815         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22816         hidden ___tls_get_addr.
22817         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22818         hidden __tls_get_addr.
22819         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
22820         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
22821         Likewise.
22823 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
22825         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
22826         _dl_init call.
22828 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
22830         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
22831         from "call _dl_init@PLT".
22832         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
22834 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
22836         * manual/search.texi: (Array Sort Function): Clarify stable sorting
22837         guarantees.
22839 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
22841         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
22843 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
22845         [BZ #17744]
22846         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
22847         strnlen.
22849 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
22851         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
22852         of multu on MIPSr6.
22853         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
22854         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
22855         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
22856         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
22857         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
22859 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
22861         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
22862         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
22863         (PTR_SUBU): Use subu for mips32r6/mips64r6.
22864         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
22865         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
22866         mips32r6/mips64r6.
22867         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
22869 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
22871         * string/strncat.c (STRNCAT): Simplify implementation.
22873 2014-12-19  David S. Miller  <davem@davemloft.net>
22875         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
22876         access the quad as both a long double and as a series of 4 words.
22878         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
22879         link_map->l_info array access.
22881 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
22883         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
22885         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
22886         * math/atest-exp2.c (TIMEOUT): Likewise.
22887         * math/atest-sincos.c (TIMEOUT): Likewise.
22889 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22891         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
22892         -Wno-error with -fno-builtin-lround.
22894 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22896         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
22897         Contains futex constants and functions moved over from ...
22898         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
22899         <lowlevellock-futex.h>.
22900         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
22901         (lll_timedwait_tid): Add comments and parentheses around macro
22902         arguments.
22904 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22906         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
22907         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
22908         (__lll_private_flag): Remove.
22909         (lll_futex_wait): Likewise.
22910         (lll_futex_timed_wait): Likewise.
22911         (lll_futex_wake): Likewise.
22912         (lll_futex_requeue): Likewise.
22913         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
22914         (__lll_timedwait_tid): Spell out argument names.
22915         (lll_timedwait_tid): Add comments and parentheses around macro
22916         arguments.
22917         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
22918         LLL_SHARED and LLL_PRIVATE usable from assembly code.
22920 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22922         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
22923         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
22924         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22925         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
22926         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
22927         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
22928         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
22929         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
22930         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
22931         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
22932         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
22933         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
22934         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
22935         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
22936         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
22937         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
22938         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
22939         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
22940         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
22942 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22944         * sysdeps/x86_64/x32/Makefile: New file.
22946 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22948         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
22949         1L with (mp_limb_t) 1.
22951 2014-12-17  Roland McGrath  <roland@hack.frob.com>
22953         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
22954         * nptl/libc_pthread_init.c: ... here.
22955         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
22956         * nptl/register-atfork.c: ... here.
22958         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
22959         Use pthread_sigmask rather than INTERNAL_SYSCALL.
22960         Use assert_perror to check its return value.
22961         (__gai_create_helper_thread): Likewise.
22963         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
22965         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
22967 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
22969         [BZ #17725]
22970         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
22971         __profil_counter.
22972         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
22973         Likewise.
22974         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
22975         Likewise.
22976         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
22977         Likewise.
22978         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
22979         (profil_counter): Likewise.
22980         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
22981         (profil_counter): Likewise.
22982         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
22983         Likewise.
22984         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
22985         Likewise.
22986         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
22987         (profil_counter): Likewise.
22988         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
22989         Likewise.
22990         [!__profil_counter] (profil_counter): Define as weak alias of
22991         __profil_counter.
22992         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
22993         (profil_counter): Rename to __profil_counter.
22994         [!__profil_counter] (profil_counter): Define as weak alias of
22995         __profil_counter.
22996         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
22997         (profil_counter): Rename to __profil_counter.
22998         [!__profil_counter] (profil_counter): Define as weak alias of
22999         __profil_counter.
23000         * sysdeps/posix/profil.c: Update comment referring to
23001         profil_counter.
23002         (__profil): Use __profil_counter instead of profil_counter.
23003         * sysdeps/posix/sprofil.c (profil_counter): Rename to
23004         __profil_counter.  Use __profil_counter_ushort and
23005         __profil_counter_uint in definitions.
23006         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
23007         instead of profil_counter_uint and profil_counter_ushort.
23009         [BZ #17722]
23010         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
23011         define as weak alias of __inet_makeaddr.
23012         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
23013         as weak alias of __inet_addr.
23014         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
23015         as weak alias of __inet_pton.  Use libc_hidden_weak.
23016         * include/arpa/inet.h (__inet_pton): Declare.  Use
23017         libc_hidden_proto.
23018         (inet_makeaddr): Don't use libc_hidden_proto.
23019         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
23020         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
23021         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
23022         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
23023         Remove variable.
23024         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
23025         (test-xfail-POSIX/time.h/linknamespace): Likewise.
23027 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
23029         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
23031 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23033         * stdio-common/bug-vfprintf-nargs.c (do_test):
23034         Cast value to intptr_t to avoid format warning
23035         for usage with PRIdPTR printing macro.
23037 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23039         * libio/tst-widetext.c (do_test):
23040         Use format type %td instead of %Zd for ptrdiff_t
23041         in order to avoid format warning.
23043 2014-12-17  Andreas Schwab  <schwab@suse.de>
23045         * nscd/mem.c (gc): Add size_t cast to match printf format.
23047 2014-12-16  Roland McGrath  <roland@hack.frob.com>
23049         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
23050         (init): Apply PTR_MANGLE to pointers before storing them.
23051         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
23052         before using them.
23054 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
23056         [BZ #17719]
23057         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
23058         define as weak alias of __memrchr.
23059         (__memrchr): Do not define as strong alias of memrchr.
23060         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
23061         Remove variable.
23062         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
23063         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
23064         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
23066         [BZ #17717]
23067         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
23068         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
23069         (if_indextoname): Rename to __if_indextoname and define as weak
23070         alias of __if_indextoname.  Use libc_hidden_weak.
23071         (if_freenameindex): Rename to __if_freenameindex and define as
23072         weak alias of __if_freenameindex.
23073         (if_nameindex): Rename to __if_nameindex and define as weak alias
23074         of __if_nameindex.
23075         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
23076         __if_nametoindex and define as weak alias of __if_nametoindex.
23077         Use libc_hidden_weak.
23078         (if_freenameindex): Rename to __if_freenameindex and define as
23079         weak alias of __if_freenameindex.
23080         (if_nameindex): Rename to __if_nameindex and define as weak alias
23081         of __if_nameindex.
23082         (if_indextoname): Rename to __if_indextoname and define as weak
23083         alias of __if_indextoname.  Use libc_hidden_weak.
23084         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
23085         __if_nametoindex and define as weak alias of __if_nametoindex.
23086         Use libc_hidden_weak.
23087         (if_freenameindex): Rename to __if_freenameindex and define as
23088         weak alias of __if_freenameindex.  Use libc_hidden_weak.
23089         (if_nameindex_netlink): Use __if_freenameindex instead of
23090         if_freenameindex.
23091         (if_nameindex): Rename to __if_nameindex and define as weak alias
23092         of __if_nameindex.  Use libc_hidden_weak.
23093         (if_indextoname): Rename to __if_indextoname and define as weak
23094         alias of __if_indextoname.  Use libc_hidden_weak.
23095         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
23096         libc_hidden_proto.
23097         [!_ISOMAC] (__if_freenameindex): Likewise.
23098         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
23099         if_nametoindex.
23100         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
23101         variable.
23102         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
23103         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
23104         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
23105         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
23106         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
23107         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
23108         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23110         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
23111         Remove variable.
23112         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23113         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23115 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23117         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
23118         subscript above bounds'
23120         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
23121         bounds.
23123 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
23125         * libio/tst-fopenloc.c: Use test-skeleton.c.
23127         * stdlib/tst-bsearch.c: Use test-skeleton.c.
23128         (entry): Rename to ITEM.
23129         (do_test, comp): Adjust.
23131         * stdio-common/tst-fseek.c: Use test-skeleton.c.
23133 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23135         * string/tester.c: Include <libc-internal.h>.
23136         (test_memset): Ignore -Wmemset-transposed-args.
23138 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23140         * misc/tst-mntent2.c (do_test): Fix warning.
23142 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23144         * elf/tst-unique4lib.cc(a): Mark as used.
23146 2014-12-16  Florian Weimer  <fweimer@redhat.com>
23148         [BZ #17630]
23149         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
23150         names.
23152 2014-12-16  Allan McRae  <allan@archlinux.org>
23154         * stdio-common/Makefile (tests): Re-add bug26.
23156 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
23158         [BZ #17657]
23159         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
23160         static array.
23162 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
23164         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
23165         (__lll_lock_wait): Likewise.
23166         (__lll_timedlock_wait): Likewise.
23167         (__lll_timedwait_tid): Likewise.
23168         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
23169         (__lll_robust_timedlock_wait): Likewise.
23170         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
23171         (lll_cond_trylock): Likewise.
23172         (__lll_lock): Likewise.
23173         (__lll_robust_lock): Likewise.
23174         (__lll_cond_lock): Likewise.
23175         (lll_robust_cond_lock): Likewise.
23176         (__lll_timedlock): Likewise.
23177         (__lll_robust_timedlock): Likewise.
23178         (__lll_unlock): Likewise.
23179         (__lll_robust_unlock): Likewise.
23180         (lll_wait_tid): Likewise.
23181         (lll_timedwait_tid): Likewise.
23183 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23185         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
23187 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23189         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
23191 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
23193         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
23194         * stdio-common/tst-sprintf.c: Likewise.
23196 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23198         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
23200 2014-12-15  Jeff Law  <law@redhat.com>
23202         [BZ #16617]
23203         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
23204         on the heap.  (CVE-2012-3406)
23205         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
23206         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
23207         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
23209 2014-12-15  Will Newton  <will.newton@linaro.org>
23211         * manual/install.texi: Bump required version of texinfo
23212         to 4.7 from 4.5.
23213         * INSTALL: Regenerated.
23214         * configure.ac: Check for makeinfo version 4.7 and above.
23215         * configure: Regenerated.
23217 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23219         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
23220         PREFIX, string constant to insert between directory and name.
23221         * sysdeps/posix/shm_open.c: Update caller.
23222         * sysdeps/posix/shm_unlink.c: Likewise.
23223         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
23224         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
23225         (SEM_SHM_PREFIX): New macro.
23226         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
23227         [$(have-thread-library) = no].
23228         * nptl/Makefile (libpthread-routines): Add shm-directory.
23229         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
23230         * sysdeps/nptl/shm-directory.h: New file.
23231         * sysdeps/posix/shm-directory.c
23232         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
23233         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
23234         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
23235         INTERNAL_SYSCALL.
23236         (__where_is_shmfs): Function removed.
23237         (mountpoint, defaultmount, defaultdir, __namedsem_once):
23238         Variables removed.
23239         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
23240         Use SHM_GET_NAME.
23241         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
23243         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
23244         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
23245         unconditional for use inside libpthread.
23246         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
23248 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23250         * nptl/pthread_getaffinity.c: New file.
23251         * nptl/pthread_setaffinity.c: New file.
23252         * nptl/pthread_getname.c: New file.
23253         * nptl/pthread_setname.c: New file.
23255         * nptl/pthread_create.c (START_THREAD_DEFN)
23256         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
23258 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23259             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23261         * resolv/res_send.c (send_vc): Disable warning resplen may
23262         be used uninitialized.
23264 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23266         * nptl/tst-mutex6.c
23267         (ATTR_NULL): New define checks ATTR against NULL.
23268         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
23269         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
23271 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
23273         [BZ #17581]
23274         * malloc/hooks.c
23275         (mem2mem_check): Revert my previous change.
23276         (malloc_check_get_size): Revert my previous change.
23277         (mem2chunk_check): Revert my previous change.
23279 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23281         * sysdeps/posix/shm-directory.c: New file.
23282         * sysdeps/posix/shm-directory.h: New file.
23283         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
23284         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
23285         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
23286         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
23287         Transmute EPERM to EACCES.
23288         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
23289         from ...
23290         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
23291         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
23293 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23295         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
23296         pointer and cast to uintptr_t.
23297         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
23298         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
23299         Add cast to avoid warning.
23300         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
23302 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23304         * nptl/semaphore.h: Move to ...
23305         * sysdeps/pthread/semaphore.h: ... here.
23306         * Makefile (installed-headers): Change nptl/semaphore.h to
23307         sysdeps/pthread/semaphore.h.
23309 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23311         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
23312         generated error format strings.
23314         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
23315         -Wformat-extra-args warnings for scanf formats.
23316         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
23317         test of zero-length format (duh).
23318         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
23319         corner-case scanf format test.
23320         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
23321         generated fprintf format string.
23322         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
23323         corner-case sprintf format tests.
23324         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
23325         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
23326         -Wformat-extra-args warnings throughout.
23327         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
23328         (CFLAGS-scanf4.c): Likewise.
23329         (CFLAGS-scanf7.c): Likewise.
23330         (CFLAGS-tst-sprintf.c): Likewise.
23331         (CFLAGS-tst-printf.c): Likewise.
23332         (CFLAGS-tst-printfsz.c): Likewise.
23334 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23336         * include/cpio.h: New file.
23337         * include/fmtmsg.h: Likewise.
23339         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
23340         corresponding format argument to size_t.
23341         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
23342         arguments.
23343         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
23344         corresponding format argument to size_t.
23345         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
23346         arguments.
23347         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
23348         corresponding format argument to size_t.
23349         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
23350         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
23351         (CFLAGS-tst-mbswcs2.c): Likewise.
23352         (CFLAGS-tst-mbswcs3.c): Likewise.
23353         (CFLAGS-tst-mbswcs4.c): Likewise.
23354         (CFLAGS-tst-mbswcs5.c): Likewise.
23355         (CFLAGS-tst-trans.c): Likewise.
23357 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23359         * posix/regexbug1.c (main): Use "%s" format with regerror results,
23360         rather than assuming they won't contain any '%'s.
23362 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
23364         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
23365         inhibit_loop_to_libcall to avoid recursive calls.
23366         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
23367         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
23369 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
23371         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
23372         prototype.
23374 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
23376         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
23377         integer value instead of boolean.
23379 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
23381         * malloc/malloc.c: Fix powerof2 check.
23383 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23385         * locale/programs/locfile.h (maybe_swap_uint32):
23386         Remove inline and add unused attribute.
23388 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23390         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23391         Truncating assembler expression to a .long expression.
23393 2014-12-11  Andreas Schwab  <schwab@suse.de>
23395         * elf/rtld.c (struct map_args): Constify str member.
23396         (do_preload): Constify fname argument.
23398 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23400         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
23401         constants definition.
23403 2014-12-11  Andreas Schwab  <schwab@suse.de>
23405         [BZ #16657]
23406         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
23407         FORCE_ELISION instead of DO_ELISION.
23408         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
23409         Remove.
23410         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
23411         Likewise.
23413         * iconvdata/gconv-modules: Remove duplicate entry.
23415 2014-12-11  Will Newton  <will.newton@linaro.org>
23417         Merge gettext 0.19.3 into intl/.
23419         This involves a number of cosmetic changes to comments
23420         and ANSI function definitions and prototypes throughout
23421         all the files. The gettext copyright header is used but
23422         with the date ranges taken from the glibc copy.
23424         * NEWS: Add gettext merge to 2.21.
23425         * intl/bindtextdom.c: Switch to gettext copyright.
23426         Use ANSI definitions and prototypes.
23427         Use gl_* locking primitives rather than __libc_* ones.
23428         Use __builtin_expect rather than __glibc_likely/unlikely.
23429         * intl/dcgettext.c: Switch to gettext copyright.
23430         Use ANSI definitions and prototypes.
23431         * intl/dcigettext.c: Switch to gettext copyright.
23432         Use ANSI definitions and prototypes.
23433         (INTDIV0_RAISES_SIGFPE): New define.
23434         Use gl_* locking primitives rather than __libc_* ones.
23435         Include eval-plural.h instead of plural-eval.c.
23436         Use __builtin_expect rather than __glibc_likely/unlikely.
23437         * intl/dcngettext.c: Switch to gettext copyright.
23438         Use ANSI definitions and prototypes.
23439         * intl/dgettext.c: Likewise.
23440         * intl/dngettext.c: Likewise.
23441         * intl/plural-eval.c: Renamed to...
23442         * intl/eval-plural.h: ...this.
23443         * intl/explodename.c: Switch to gettext copyright.
23444         Use ANSI definitions and prototypes.
23445         (_nl_explode_name): Use strchr instead of __rawmemchr.
23446         * intl/finddomain.c: Switch to gettext copyright.
23447         Use ANSI definitions and prototypes.
23448         Use gl_* locking primitives rather than __libc_* ones.
23449         (_nl_find_domain): Use malloc rather than alloca for
23450         allocation of temporary locale name.
23451         * intl/gettext.c: Switch to gettext copyright.
23452         Use ANSI definitions and prototypes.
23453         * intl/gettextP.h: Switch to gettext copyright.
23454         Use ANSI definitions and prototypes.
23455         Use gl_* locking primitives rather than __libc_* ones.
23456         * intl/gmo.h: Switch to gettext copyright.
23457         (struct sysdep_string): Move struct segment_pair outside of
23458         struct definition.
23459         * intl/hash-string.c: Use ANSI definitions and prototypes.
23460         * intl/hash-string.h: Switch to gettext copyright.
23461         Use ANSI definitions and prototypes.
23462         * intl/l10nflist.c: Switch to gettext copyright.
23463         Use ANSI definitions and prototypes.
23464         (_nl_normalize_codeset): Avoid integer overflow.
23465         * intl/loadinfo.h: Switch to gettext copyright.
23466         Use ANSI definitions and prototypes.
23467         (LIBINTL_DLL_EXPORTED): New define.
23468         (PATH_SEPARATOR): New define.
23469         * intl/loadmsgcat.c: Switch to gettext copyright.
23470         * intl/localealias.c: Switch to gettext copyright.
23471         Use ANSI definitions and prototypes.
23472         (_nl_expand_alias): Use PATH_SEPARATOR.
23473         * intl/ngettext.c: Switch to gettext copyright.
23474         Use ANSI definitions and prototypes.
23475         * intl/plural-exp.c: Likewise.
23476         * intl/plural-exp.h: Switch to gettext copyright.
23477         Use ANSI definitions and prototypes.
23478         (struct expression): Move definition of enum operator outside
23479         of struct definition.
23480         * intl/plural.c: Regenerate.
23481         * intl/plural.y: Switch to gettext copyright.
23482         Use ANSI definitions and prototypes.
23483         Port to bison 3.0.
23484         * intl/textdomain.c: Switch to gettext copyright.
23485         Use ANSI definitions and prototypes.
23486         Use gl_* locking primitives rather than __libc_* ones.
23488 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
23490         * debug/warning-nop.c: Add used atrribute.
23492 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23494         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
23496         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
23497         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
23498         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
23500 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23501             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23503         [BZ #17634]
23504         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
23505         Undefine after defining function.  Define as weak alias of
23506         __wcschr.  Use libc_hidden_weak.
23507         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
23508         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
23509         (libc_hidden_def): Also define __GI___wcschr alias.
23510         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
23511         __wcschr and define as weak alias of __wcschr.
23512         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
23513         __wcschr.
23514         [!WCSCHR] (DEFAULT_WCSCHR): Define.
23515         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
23516         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
23517         libc_hidden_weak.  Do not use libc_hidden_def.
23518         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
23519         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
23520         __GI___wcschr alias.
23521         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
23522         [IS_IN (libc)] (wcschr): Define as macro expanding to
23523         __redirect_wcschr.
23524         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
23525         [IS_IN (libc)] (__wcschr_power6): Likewise.
23526         [IS_IN (libc)] (__wcschr_power7): Likewise.
23527         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
23528         instead of wcschr.
23529         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
23530         __libc_wcschr.
23531         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
23532         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
23533         __wcschr and define as weak alias of __wcschr.  Use
23534         libc_hidden_builtin_def.
23535         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
23536         as weak alias of __wcschr.  Use libc_hidden_weak.
23537         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
23538         wcschr.
23539         * time/era.c (_nl_init_era_entries): Likewise.
23540         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
23541         variable.
23542         (test-xfail-XPG3/time.h/linknamespace): Likewise.
23543         (test-xfail-XPG4/time.h/linknamespace): Likewise.
23545 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23547         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
23548         format for long int variable.
23550 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
23552         [BZ #10672]
23553         * manual/search.texi: (Array Sort Function): Remove claim how to make
23554         qsort stable.
23556 2014-12-10  Andreas Schwab  <schwab@suse.de>
23558         [BZ #12847]
23559         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
23560         user-controlled locks.
23562 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
23564         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
23565         register.
23567 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23569         * configure.ac (--disable-werror): New configure option.
23570         (enable_werror): New AC_SUBST.
23571         * configure: Regenerated.
23572         * config.make.in (enable-werror): New variable.
23573         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
23574         -Wno-error=undef.
23575         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
23576         * manual/install.texi (Configuring and compiling): Document
23577         --disable-werror.
23578         * INSTALL: Regenerated.
23579         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
23580         (CFLAGS-tst-chk2.c): Likewise.
23581         (CFLAGS-tst-chk3.c): Likewise.
23582         (CFLAGS-tst-chk4.cc): Likewise.
23583         (CFLAGS-tst-chk5.cc): Likewise.
23584         (CFLAGS-tst-chk6.cc): Likewise.
23585         (CFLAGS-tst-lfschk1.c): Likewise.
23586         (CFLAGS-tst-lfschk2.c): Likewise.
23587         (CFLAGS-tst-lfschk3.c): Likewise.
23588         (CFLAGS-tst-lfschk4.cc): Likewise.
23589         (CFLAGS-tst-lfschk5.cc): Likewise.
23590         (CFLAGS-tst-lfschk6.cc): Likewise.
23592         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
23593         (main): Disable -Wdeprecated-declarations around calls to
23594         register_printf_function.
23596         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
23597         (do_test): Disable -Wdiv-by-zero around some calls to
23598         fwrite_unlocked and fread_unlocked.
23600         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
23601         (DIAG_POP_NEEDS_COMMENT): Likewise.
23602         (_DIAG_STR1): Likewise.
23603         (_DIAG_STR): Likewise.
23604         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
23605         * stdio-common/bug21.c: Include <libc-internal.h>.
23606         (do_test): Disable -Wformat around call to sscanf.
23607         * stdio-common/scanf14.c: Include <libc-internal.h>.
23608         (main): Disable -Wformat around some calls to scanf functions.
23610 2014-12-09  Torvald Riegel  <triegel@redhat.com>
23612         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
23614 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23616         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
23617         stack variable alignment.
23619 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
23621         [BZ #17682]
23622         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
23623         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
23624         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
23625         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
23626         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
23627         __getrlimit instead of getrlimit.
23628         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
23629         __gettimeofday instead of gettimeofday.
23630         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23631         Likewise.
23632         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23633         Likewise.
23634         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23635         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
23636         Remove variable.
23637         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
23638         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
23640 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23642         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
23643         for wide-character tests.
23645 2014-12-04  Roland McGrath  <roland@hack.frob.com>
23647         * io/openat64.c: #include <libc-internal.h>
23648         (__openat64): Prototypify.  Use ignore_value on MODE.
23649         * io/openat.c: Likewise.
23650         * misc/reboot.c: #include <libc-internal.h>
23651         (reboot): Prototypify.  Use ignore_value on HOWTO.
23652         * misc/ptrace.c: #include <libc-internal.h>
23653         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
23655 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
23657         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
23658         XPG4, UNIX98 and XOPEN2K.
23659         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
23660         Remove variable.
23661         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
23663 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23665         * libio/fileops.c: Use ISO C style for function definitions.
23666         * libio/iofopen.c: Likewise.
23667         * libio/wfileops.c: Likewise.
23669         [BZ #17653]
23670         * libio/fileops.c (_IO_new_file_underflow): Unset cached
23671         offset on EOF.
23672         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
23673         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
23674         (fgets_func): Function pointer to fgets and fgetws.
23675         (do_ftell_test): Add test to verify ftell value after read
23676         EOF.
23677         (do_test): Set fgets_func.
23679         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
23680         O_TRUNC flag for w and w+ modes.
23681         (do_rewind_test): Likewise.
23682         (do_ftell_test): Likewise.
23683         (do_write_test): Likewise.
23685         [BZ #17647]
23686         * libio/fileops.c (do_ftell): Seek only when there are
23687         unflushed writes.
23688         * libio/wfileops.c (do_ftell_wide): Likewise.
23689         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
23690         test case.
23691         (do_one_test): Call it.
23693 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
23695         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
23696         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
23697         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
23698         Remove variable.
23699         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
23700         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
23701         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
23703 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
23705         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
23706         Remove variable.
23707         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
23709         [BZ #17668]
23710         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
23711         as weak alias of __getifaddrs.  Use libc_hidden_weak.
23712         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23713         __freeifaddrs.  Use libc_hidden_weak.
23714         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
23715         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
23716         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23717         __freeifaddrs.  Use libc_hidden_weak.
23718         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
23719         __getifaddrs and define as weak alias of __getifaddrs.  Use
23720         libc_hidden_weak.
23721         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23722         __freeifaddrs.  Use libc_hidden_weak.
23723         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
23724         Remove variable.
23725         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
23726         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
23728 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
23730         [BZ #17601]
23731         * sysdeps/mips/start.S (__start): Use indirect jump to call
23732         __libc_start_main.
23734 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
23736         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
23738         * nptl/tst-mutex1.c: Include <stdbool.h>.
23739         [!ATTR] (ATTR_NULL): New macro.
23740         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
23741         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
23742         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
23744         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
23745         to char *.
23747         [BZ #17665]
23748         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
23749         Change conditional to [__USE_MISC].
23751         [BZ #17664]
23752         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
23753         fgets_unlocked.
23754         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
23755         __fgets_unlocked.
23756         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
23757         fgets_unlocked.
23758         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
23759         Remove variable.
23760         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
23761         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
23762         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
23763         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
23764         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
23765         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
23766         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
23767         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
23768         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
23770         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
23772 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23774         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23775         Remove strpbrk objects.
23776         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23777         (__libc_ifunc_impl_list): Remove strpbrk implementation.
23778         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
23779         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
23780         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
23781         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
23783         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23784         Remove strcspn objects.
23785         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23786         (__libc_ifunc_impl_list): Remove strcspn implementation.
23787         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
23788         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
23789         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
23790         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
23792         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23793         Remove strspn objetcs.
23794         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23795         (__libc_ifunc_impl_list): Remove strspn implementation.
23796         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
23797         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
23798         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
23799         * sysdeps/powerpc/powerpc64/strspn.S: New file.
23801 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
23803         [BZ #17581]
23804         * malloc/hooks.c
23805         (mem2mem_check): Add a terminator to the chain of checking blocks.
23806         (malloc_check_get_size): Use it here.
23807         (mem2chunk_check): Ditto.
23809 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23811         * sysdeps/powerpc/powerpc64/strtok.S: New file.
23812         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
23814 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
23816         * bits/ioctl-types.h: Indent preprocessor directives correctly.
23818         * nptl/nptl-init.c: Include libc-internal.h.
23819         (__pthread_initialize_minimal_internal): Use ROUND_UP.
23821         * elf/ldconfig.c (search_dir): Expand comment.
23823 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
23825         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
23826         variable.
23827         (linknamespace-symlist-stdlibs-tests): Likewise.
23828         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
23829         instead of $(objpfx)symlist-stdlibs.
23830         (linknamespace-libs-isoc): New variable.
23831         (linknamespace-libs): Use $(linknamespace-libs-isoc).
23832         (linknamespace-libs-ISO): New variable.
23833         (linknamespace-libs-ISO99): Likewise.
23834         (linknamespace-libs-ISO11): Likewise.
23835         (linknamespace-libs-XPG3): Likewise.
23836         (linknamespace-libs-XPG4): Likewise.
23837         (linknamespace-libs-POSIX): Likewise.
23838         (linknamespace-libs-UNIX98): Likewise.
23839         (linknamespace-libs-XOPEN2K): Likewise.
23840         (linknamespace-libs-POSIX2008): Likewise.
23841         (linknamespace-libs-XOPEN2K8): Likewise.
23842         ($(objpfx)symlist-stdlibs): Replace by
23843         $(linknamespace-symlist-stdlibs-tests).  Use
23844         $(linknamespace-libs-$*) as set of libraries.
23845         ($(linknamespace-header-tests)): Update dependencies.  Use
23846         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
23847         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
23848         * conform/linknamespace.pl: Remove comment about considering
23849         definitions of symbols from irrelevant libraries.
23851 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
23853         [BZ #13862]
23854         * elf/dl-tls.c: Include <atomic.h>.
23855         (oom): Remove #ifdef SHARED/#endif.
23856         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
23857         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
23858         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
23859         big enough.
23860         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
23861         * nptl/Makefile (tests): Add tst-stack4.
23862         (modules-names): Add tst-stack4mod.
23863         ($(objpfx)tst-stack4): New.
23864         (tst-stack4mod.sos): Likewise.
23865         ($(objpfx)tst-stack4.out): Likewise.
23866         ($(tst-stack4mod.sos)): Likewise.
23867         (clean): Likewise.
23868         * nptl/tst-stack4.c: New file.
23869         * nptl/tst-stack4mod.c: Likewise.
23871 2014-11-27  J. Brown  <jb999@gmx.de>
23873         * sysdeps/x86/bits/string.h: Add recent CPUs.
23875 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
23877         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
23878         sigblock.
23880         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
23881         feof.
23883         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
23884         variable.
23886 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
23888         * nscd/connections.c: Include libc-internal.h because of macro
23889         usage ignore_value.
23891 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23893         * string/bits/string3.h (__warn_memset_zero_len): Don't
23894         declare for gcc newer than 5.0.
23895         (memset): Don't test for zero-length __LEN for gcc newer than
23896         5.0.
23898 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
23900         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
23901         size_t for %zu format.
23903         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
23904         difference, not %ju.
23906 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
23908         * include/libc-internal.h (ignore_value): New macro.
23909         * nscd/connections.c (restart): Wrap calls to setuid and setgid
23910         with ignore_value.
23912         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
23913         definition.
23915         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
23916         pthread_cleanup_push to void *.
23918         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
23919         Undefine.
23921         [BZ #16619]
23922         [BZ #16740]
23923         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
23924         instead of 1L << 52.
23926         * libio/bug-rewind.c (do_test): Check fwscanf return values.
23927         * libio/bug-rewind2.c (do_test): Likewise.
23929         * debug/test-stpcpy_chk-ifunc.c: Remove file.
23930         * debug/test-strcpy_chk-ifunc.c: Likewise.
23931         * wcsmbs/test-wcschr-ifunc.c: Likewise.
23932         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23933         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23934         * wcsmbs/test-wcslen-ifunc.c: Likewise.
23935         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23936         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23937         * Rules [$(multi-arch) = no] (tests): Do not filter out
23938         $(tests-ifunc).
23939         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
23940         * debug/Makefile (tests-ifunc): Remove variable.
23941         (tests): Do not add $(tests-ifunc).
23942         * wcsmbs/Makefile (tests-ifunc): Remove variable.
23943         (tests): Do not add $(tests-ifunc).
23944         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
23945         [TEST_IFUNC]: Remove conditionals.
23946         * string/test-string.h (TEST_IFUNC): Remove macro.
23947         [TEST_IFUNC]: Remove conditionals.
23949         * string/test-strchr.c [!WIDE] (L): New macro.
23950         [WIDE] (L): Likewise.
23951         (check1): Use CHAR instead of char.  Use L on string and character
23952         constants.
23954 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
23956         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
23957         tests.
23958         * sysdeps/powerpc/bits/atomic.h
23959         (__arch_atomic_exchange_and_add_32_acq): Add definition.
23960         (__arch_atomic_exchange_and_add_32_rel): Likewise.
23961         (atomic_exchange_and_add_acq): Likewise.
23962         (atomic_exchange_and_add_rel): Likewise.
23963         * sysdeps/powerpc/powerpc32/bits/atomic.h
23964         (__arch_atomic_exchange_and_add_64_acq): Add definition.
23965         (__arch_atomic_exchange_and_add_64_rel): Likewise.
23966         * sysdeps/powerpc/powerpc64/bits/atomic.h
23967         (__arch_atomic_exchange_and_add_64_acq): Add definition.
23968         (__arch_atomic_exchange_and_add_64_rel): Likewise.
23970 2014-11-26  Torvald Riegel  <triegel@redhat.com>
23972         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
23973         Change synchronization of __sched_fifo_min_prio and
23974         __sched_fifo_max_prio.
23975         * nptl/pthread_mutexattr_getprioceiling.c
23976         (pthread_mutexattr_getprioceiling): Likewise.
23977         * nptl/pthread_mutexattr_setprioceiling.c
23978         (pthread_mutexattr_setprioceiling): Likewise.
23979         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23980         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
23981         Likewise.
23983 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
23985         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
23986         void.
23988 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
23990         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
23991         third argument const.
23993 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
23995         fnmatch: work around GCC compiler warning bug with uninit var
23996         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
23997         This works around a bug with x86-64 GCC 4.9.2 and earlier
23998         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
23999         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
24000         used uninitialized in this function [-Wmaybe-uninitialized]".
24002 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
24004         * posix/bug-regex31.c (main): Return RES not 0.
24006 2014-11-25  Anton Blanchard <anton@samba.org>
24008         * sysdeps/powerpc/bits/atomic.h
24009         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
24011 2014-11-24  Sterling Augustine  <saugustine@google.com>
24013         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
24015 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
24017         [BZ #17608]
24018         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
24020 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
24022         [BZ #17633]
24023         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
24024         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
24025         variable.
24026         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24027         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24029 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
24031         * string/strncpy.c (strncpy): Improve performance by using memset.
24033 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
24035         * string/strcpy.c (strcpy):
24036         Improve performance by using strlen and memcpy.
24038 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
24040         * string/strcoll_l.c (get_next_seq): __always_inline.
24041         * string/strcoll_l.c (do_compare): __always_inline.
24043 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24045         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
24046         defined.
24047         * include/mqueue.h: Likewise.
24048         * include/stdlib.h: Likewise.
24050         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
24051         (get_null_defines): Adjust.
24052         * sunrpc/Makefile: Adjust comment.
24053         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
24054         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
24055         (CFLAGS-interp.c): Likewise.
24056         (CFLAGS-ldconfig.c): Likewise.
24057         (CPPFLAGS-.os): Likewise.
24058         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24059         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24060         * extra-modules.mk (extra-modules.mk): Likewise.
24061         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
24062         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
24063         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
24064         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
24065         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
24066         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
24067         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
24068         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
24069         * iconvdata/Makefile (CPPFLAGS): Likewise.
24070         (cpp-srcs-left): Add libof for all iconvdata routines.
24071         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
24072         * include/assert.h: Likewise.
24073         * include/ctype.h: Likewise.
24074         * include/errno.h: Likewise.
24075         * include/libc-symbols.h: Likewise.
24076         * include/math.h: Likewise.
24077         * include/netdb.h: Likewise.
24078         * include/resolv.h: Likewise.
24079         * include/stdio.h: Likewise.
24080         * include/stdlib.h: Likewise.
24081         * include/string.h: Likewise.
24082         * include/sys/stat.h: Likewise.
24083         * include/wctype.h: Likewise.
24084         * intl/l10nflist.c: Likewise.
24085         * libidn/idn-stub.c: Likewise.
24086         * libio/libioP.h: Likewise.
24087         * nptl/libc_multiple_threads.c: Likewise.
24088         * nptl/pthreadP.h: Likewise.
24089         * posix/regex_internal.h: Likewise.
24090         * resolv/res_hconf.c: Likewise.
24091         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
24092         * sysdeps/arm/memmove.S: Likewise.
24093         * sysdeps/arm/sysdep.h: Likewise.
24094         * sysdeps/generic/_itoa.h: Likewise.
24095         * sysdeps/generic/symbol-hacks.h: Likewise.
24096         * sysdeps/gnu/errlist.awk: Likewise.
24097         * sysdeps/gnu/errlist.c: Likewise.
24098         * sysdeps/i386/i586/memcpy.S: Likewise.
24099         * sysdeps/i386/i586/memset.S: Likewise.
24100         * sysdeps/i386/i686/memcpy.S: Likewise.
24101         * sysdeps/i386/i686/memmove.S: Likewise.
24102         * sysdeps/i386/i686/mempcpy.S: Likewise.
24103         * sysdeps/i386/i686/memset.S: Likewise.
24104         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24105         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24106         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
24107         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
24108         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24109         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24110         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
24111         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24112         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24113         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24114         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24115         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24116         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24117         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24118         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24119         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24120         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
24121         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
24122         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
24123         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24124         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24125         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24126         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24127         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24128         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24129         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24130         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
24131         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24132         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
24133         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24134         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24135         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24136         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24137         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24138         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24139         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24140         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24141         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24142         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24143         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24144         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24145         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24146         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24147         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24148         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24149         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24150         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
24151         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
24152         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24153         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24154         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24155         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
24156         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
24157         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24158         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24159         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
24160         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24161         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
24162         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
24163         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24164         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24165         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24166         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
24167         * sysdeps/nptl/bits/libc-lock.h: Likewise.
24168         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24169         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
24170         * sysdeps/posix/closedir.c: Likewise.
24171         * sysdeps/posix/opendir.c: Likewise.
24172         * sysdeps/posix/readdir.c: Likewise.
24173         * sysdeps/posix/rewinddir.c: Likewise.
24174         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
24175         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
24176         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24177         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24178         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24179         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
24180         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
24181         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
24182         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
24183         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
24184         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
24185         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
24186         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
24187         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
24188         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
24189         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
24190         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
24191         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
24192         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
24193         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
24194         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
24195         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
24196         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
24197         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
24198         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
24199         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
24200         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
24201         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
24202         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
24203         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
24204         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
24205         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
24206         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
24207         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
24208         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
24209         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
24210         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24211         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24212         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
24213         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
24214         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
24215         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
24216         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
24217         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24218         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24219         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
24220         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
24221         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
24222         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
24223         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
24224         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
24225         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
24226         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
24227         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
24228         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
24229         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
24230         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
24231         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
24232         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
24233         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
24234         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24235         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
24236         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
24237         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
24238         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
24239         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24240         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
24241         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
24242         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
24243         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
24244         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24245         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
24246         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
24247         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
24248         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
24249         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
24250         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
24251         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
24252         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24253         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
24254         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
24255         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24256         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
24257         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
24258         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24259         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
24260         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
24261         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24262         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24263         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24264         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
24265         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
24266         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
24267         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24268         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24269         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
24270         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24271         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24272         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
24273         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
24274         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24275         * sysdeps/unix/alpha/sysdep.S: Likewise.
24276         * sysdeps/unix/alpha/sysdep.h: Likewise.
24277         * sysdeps/unix/make-syscalls.sh: Likewise.
24278         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24279         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24280         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24281         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
24282         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24283         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
24284         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
24285         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24286         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24287         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
24288         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24289         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24290         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24291         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24292         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24293         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24294         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24295         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24296         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24297         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24298         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
24299         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24300         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24301         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24302         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24303         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24304         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24307         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
24308         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24309         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24310         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24311         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24312         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24313         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24314         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24315         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24316         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24317         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24318         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24319         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24320         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24321         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24322         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24323         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24324         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24325         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24326         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24327         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24328         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24329         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24330         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24331         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24332         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
24333         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24334         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24335         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24336         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
24337         * sysdeps/x86_64/memcpy.S: Likewise.
24338         * sysdeps/x86_64/memmove.c: Likewise.
24339         * sysdeps/x86_64/memset.S: Likewise.
24340         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
24341         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24342         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24343         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
24344         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
24345         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24346         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24347         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24348         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24349         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24350         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24351         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24352         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
24353         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24354         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24355         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
24356         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24357         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24358         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24359         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24360         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
24361         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24362         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24363         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24364         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24365         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24366         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24367         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
24368         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24369         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24370         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
24371         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24372         * sysdeps/x86_64/strcmp.S: Likewise.
24374         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
24376         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
24377         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
24378         * elf/rtld-Rules: Likewise.
24379         * elf/setup-vdso.h: Likewise.
24380         * include/assert.h: Likewise.
24381         * include/bits/stdlib-float.h: Likewise.
24382         * include/errno.h: Likewise.
24383         * include/sys/stat.h: Likewise.
24384         * include/unistd.h: Likewise.
24385         * sysdeps/aarch64/setjmp.S: Likewise.
24386         * sysdeps/alpha/setjmp.S: Likewise.
24387         * sysdeps/arm/__longjmp.S: Likewise.
24388         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
24389         * sysdeps/arm/setjmp.S: Likewise.
24390         * sysdeps/arm/sysdep.h: Likewise.
24391         * sysdeps/generic/_itoa.h: Likewise.
24392         * sysdeps/generic/dl-sysdep.h: Likewise.
24393         * sysdeps/generic/ldsodefs.h: Likewise.
24394         * sysdeps/i386/dl-tls.h: Likewise.
24395         * sysdeps/i386/setjmp.S: Likewise.
24396         * sysdeps/m68k/setjmp.c: Likewise.
24397         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
24398         * sysdeps/mach/hurd/opendir.c: Likewise.
24399         * sysdeps/posix/getcwd.c: Likewise.
24400         * sysdeps/posix/opendir.c: Likewise.
24401         * sysdeps/posix/profil.c: Likewise.
24402         * sysdeps/powerpc/dl-procinfo.h: Likewise.
24403         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24404         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24405         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24406         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24407         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
24408         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
24409         * sysdeps/s390/dl-tls.h: Likewise.
24410         * sysdeps/s390/s390-32/setjmp.S: Likewise.
24411         * sysdeps/s390/s390-64/setjmp.S: Likewise.
24412         * sysdeps/sh/sh3/setjmp.S: Likewise.
24413         * sysdeps/sh/sh4/setjmp.S: Likewise.
24414         * sysdeps/unix/alpha/sysdep.h: Likewise.
24415         * sysdeps/unix/arm/sysdep.S: Likewise.
24416         * sysdeps/unix/i386/sysdep.S: Likewise.
24417         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24418         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
24419         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24420         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24421         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24422         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24423         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
24424         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24425         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24426         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24427         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
24428         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24429         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24432         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24433         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24434         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24435         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24436         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24437         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24438         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24439         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24440         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24441         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24442         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24443         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24444         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24445         * sysdeps/x86_64/setjmp.S: Likewise.
24447         * include/math.h: Use IS_IN instead of IS_IN_libm.
24448         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
24449         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24450         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24451         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
24452         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24453         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24454         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24455         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24456         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24457         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24458         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
24459         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
24460         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
24461         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
24462         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
24463         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
24464         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24465         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
24466         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24467         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
24468         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
24469         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
24470         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
24471         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
24472         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
24473         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
24474         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
24475         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
24476         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
24477         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
24478         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
24479         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24480         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
24482         Likewise.
24483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
24484         Likewise.
24485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
24486         Likewise.
24487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
24488         Likewise.
24489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
24490         Likewise.
24491         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24492         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
24493         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24494         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24495         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24496         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
24498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
24499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
24500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
24501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
24502         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
24503         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
24504         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24505         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24506         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24507         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24508         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24509         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24510         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24511         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
24512         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
24513         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
24514         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
24515         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
24516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24517         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
24519         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
24520         * nptl/pthreadP.h: Likewise.
24521         * nptl_db/structs.def: Likewise.
24522         * sysdeps/arm/sysdep.h: Likewise.
24523         * sysdeps/nptl/bits/libc-lock.h: Likewise.
24524         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24525         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
24526         * sysdeps/unix/alpha/sysdep.h: Likewise.
24527         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24528         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24529         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24530         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24531         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24532         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24533         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24534         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24535         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24536         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24537         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24538         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24539         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24540         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24543         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24544         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24545         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24546         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24547         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24548         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24549         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24550         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24551         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
24552         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24554         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
24555         * nptl/pthreadP.h: Likewise.
24556         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24557         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24558         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24559         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24560         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24561         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24562         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24563         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24564         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24565         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24566         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24567         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
24569         Likewise.
24570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
24571         Likewise.
24572         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24573         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24574         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24575         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24576         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24577         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24578         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24579         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24581         * dlfcn/dladdr.c: Use IS_IN.
24582         * dlfcn/dladdr1.c: Likewise.
24583         * dlfcn/dlclose.c: Likewise.
24584         * dlfcn/dlerror.c: Likewise.
24585         * dlfcn/dlinfo.c: Likewise.
24586         * dlfcn/dlmopen.c: Likewise.
24587         * dlfcn/dlopen.c: Likewise.
24588         * dlfcn/dlsym.c: Likewise.
24589         * dlfcn/dlvsym.c: Likewise.
24591         * include/ifaddrs.h: Use IS_IN.
24592         * inet/check_pf.c: Likewise.
24593         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24594         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
24596         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
24597         IS_IN_ldconfig.
24598         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
24599         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
24601         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
24602         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
24603         IS_IN (libc).
24605         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
24607         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
24608         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24609         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24610         * include/libc-symbols.h (IS_IN_LIB): New macro.
24611         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
24612         * include/netdb.h: Likewise.
24613         * include/stap-probe.h: Remove all uses of IN_LIB.
24615         * Makeconfig (module-cppflags-real): Define MODULE_NAME
24616         instead of IN_MODULE.
24617         * include/libc-symbols.h (IN_MODULE): Define using
24618         MODULE_NAME.
24619         (PASTE_NAME, PASTE_NAME1): New macros.
24620         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
24621         of IN_LIB.
24622         (STAP_PROBE_ASM): Likewise.
24624 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24626         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
24627         __mach_init in dlopened libc.
24629 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
24631         * sysdeps/arm/preconfigure.ac: Delete EABI check.
24632         * sysdeps/arm/preconfigure: Regenerate.
24634 2014-11-21  Roland McGrath  <roland@hack.frob.com>
24636         * nptl/pthread_create.c (__pthread_create_2_1): Set
24637         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
24638         when copying values from IATTR into PD.
24640 2014-11-21  Will Newton  <will.newton@linaro.org>
24641             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
24643         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
24644         Refactor inline-asm.  Also add comment.
24646         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
24647         ElfW macro instead of hardcoded Elf64 types.
24648         (la_aarch64_gnu_pltenter): Likewise.
24649         * sysdeps/aarch64/dl-machine.h
24650         (elf_machine_runtime_setup): Use ElfW(Addr).
24652         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
24653         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
24654         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
24655         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
24656         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
24657         (R_AARCH64_TLS_DTPMOD64): Rename to ..
24658         (R_AARCH64_TLS_DTPMOD): This.
24659         (R_AARCH64_TLS_DTPREL64): Rename to ...
24660         (R_AARCH64_TLS_DTPREL): This.
24661         (R_AARCH64_TLS_TPREL64): Rename to ...
24662         (R_AARCH64_TLS_TPREL): This.
24663         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
24664         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
24665         R_AARCH64_TLS_TPREL64.
24666         (elf_machine_rela): Likewise.
24668 2014-11-21  Torvald Riegel  <triegel@redhat.com>
24670         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
24671         by setting it to 0.  64b atomics are not supported currently.
24673 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24675         [BZ #16469]
24676         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
24677         search domain names.
24679 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24681         [BZ #16469]
24682         * NEWS: Update.
24683         * resolv/res_query.c (__libc_res_nquerydomain): Retain
24684         trailing dot.
24685         * posix/tst-getaddrinfo5.c: New.
24686         * posix/Makefile (tests): Add it.
24688 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24690         [BZ #14498]
24691         * NEWS: Fixed.
24692         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
24693         after parsing line but before break_if_match.
24694         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
24695         if there is a protocol mismatch.
24697 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
24699         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
24700         because the potential race is on the user-supplied stream.
24702 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24704         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
24705         string literal if not passed a buffer.
24706         * manual/job.texi (ctermid): Update reasoning, note deviation
24707         from posix, suggest mtasurace when not passed a buffer, for
24708         future non-preliminary safety notes.
24710 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24712         * manual/users.texi (cuserid): Fix MT-Safety note for the case
24713         of not passing it a buffer.
24714         Reported by Peng Haitao.
24716 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24718         * manual/Makefile ($(objpfx)stamp-summary): Require
24719         check-safety.sh to pass.
24720         * manual/check-safety.sh: Wish for verification that every
24721         @deftypefn and @deftypefun is followed by a @safety remark.
24723 2014-11-20  Roland McGrath  <roland@hack.frob.com>
24725         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
24727         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
24728         PTHREAD_CANCEL_ASYNCHRONOUS.
24729         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
24730         send SIGCANCEL.
24732         * nptl/default-sched.h: New file.
24733         * sysdeps/unix/sysv/linux/default-sched.h: New file.
24734         * nptl/pthread_create.c: Include it.
24735         (__pthread_create_2_1): Use collect_default_sched instead of making
24736         Linux syscalls here directly.
24738 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24740         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
24741         __pthread_once): Use C11 atomics.
24743 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24745         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
24747 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24749         * include/atomic.h (__atomic_link_error, __atomic_check_size,
24750         atomic_thread_fence_acquire, atomic_thread_fence_release,
24751         atomic_thread_fence_seq_cst, atomic_load_relaxed,
24752         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
24753         atomic_compare_exchange_weak_relaxed,
24754         atomic_compare_exchange_weak_acquire,
24755         atomic_compare_exchange_weak_release,
24756         atomic_exchange_acquire, atomic_exchange_release,
24757         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
24758         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
24759         atomic_fetch_and_acquire,
24760         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
24762 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24764         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
24765         USE_ATOMIC_COMPILER_BUILTINS): Define.
24766         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
24767         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24768         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
24769         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24770         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
24771         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24772         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
24773         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24774         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
24775         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24776         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
24777         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24778         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
24779         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24780         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
24781         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24782         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24783         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24784         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24785         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24786         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
24787         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24788         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24789         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24790         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
24791         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24792         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24793         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24794         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
24795         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24796         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
24797         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24798         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
24799         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24800         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24801         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24802         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
24803         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24804         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
24805         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24807 2014-11-19  Roland McGrath  <roland@hack.frob.com>
24809         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
24810         the sched_priority value here.  It was already checked when the user
24811         called pthread_attr_setschedparam.
24813         * nptl/tst-bad-schedattr.c: New file.
24814         * nptl/Makefile (tests): Add it.
24816 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
24817             Florian Weimer  <fweimer@redhat.com>
24818             Joseph Myers  <joseph@codesourcery.com>
24819             Adam Conrad  <adconrad@0c3.net>
24820             Andreas Schwab  <schwab@suse.de>
24821             Brooks  <bmoses@google.com>
24823         [BZ #17625]
24824         * wordexp-test.c (__dso_handle): Add prototype.
24825         (__register_atfork): Likewise.
24826         (__app_register_atfork): New function.
24827         (registered_forks): New global.
24828         (register_fork): New function.
24829         (test_case): Add 3 new tests for WRDE_CMDSUB.
24830         (main): Call __app_register_atfork.
24831         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
24832         fork count is non-zero fail the test.
24833         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
24834         is set.
24835         (parse_dollars): Remove check for WRDE_NOCMD.
24836         (parse_dquote): Likewise.
24838 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24840         * Makeconfig (built-modules): List non-library modules to be
24841         built.
24842         (module-cppflags): Include libc-modules.h for
24843         everything except shlib-versions.v.i.
24844         (CPPFLAGS): Use it.
24845         (before-compile): Add libc-modules.h.
24846         ($(common-objpfx)libc-modules.h,
24847         $(common-objpfx)libc-modules.stmp): New targets.
24848         (common-generated): Add libc-modules.h and libc-modules.stmp.
24849         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
24850         * include/libc-symbols.h: Don't include libc-modules.h.
24851         * include/libc-modules.h: Remove file.
24852         * scripts/gen-libc-modules.awk: New script to generate
24853         libc-modules.h.
24854         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
24855         Depend on libc-modules.stmp.
24857         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
24859         * Makeconfig (in-module): Get value of libof set for the
24860         translation unit.
24861         (CPPFLAGS): Use $(in-module).
24862         * Makerules: Don't suffix routine names for nonlib.
24863         * include/libc-modules.h: New file.
24864         * include/libc-symbols.h: Include libc-modules.h
24865         (IS_IN): New macro to replace IS_IN_* macros.
24866         * elf/Makefile: Set libof-* for each routine.
24867         * elf/rtld-Rules: Likewise.
24868         * extra-modules.mk: Likewise.
24869         * iconv/Makefile: Likewise.
24870         * iconvdata/Makefile: Likewise.
24871         * locale/Makefile: Likewise.
24872         * malloc/Makefile: Likewise.
24873         * nss/Makefile: Likewise.
24874         * sysdeps/gnu/Makefile: Likewise.
24875         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
24876         * sysdeps/unix/sysv/linux/Makefile: Likewise.
24877         * sysdeps/s390/s390-64/Makefile: Likewise.
24878         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
24879         CPPFLAGS for nscd instead of nonlib.
24881 2014-11-18  Roland McGrath  <roland@hack.frob.com>
24883         * nptl/createthread.c: New file.
24885         * nptl/createthread.c: Moved ...
24886         * sysdeps/unix/sysv/linux/createthread.c: ... here.
24888         * nptl/createthread.c: Add proper top-line comment.
24889         (do_clone): Folded into ...
24890         (create_thread): ... here.  Take new arguments STOPPED_START and
24891         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
24892         increment __nptl_threads, do event-reporting logic, do
24893         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
24894         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
24895         resource cleanup if sched_setaffinity or sched_setscheduler fails,
24896         just send SIGCANCEL.
24897         * nptl/pthread_create.c: Forward-declare create_thread before
24898         including createthread.c.
24899         (start_thread): Use new macro START_THREAD_DEFN to replace defining
24900         declaration, and new macro START_THREAD_SELF to replace argument.
24901         Remove return statement.
24902         (report_thread_creation): New function.
24903         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
24904         synchronization logic, and __nptl_nthreads increment here, around
24905         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
24906         PD->parent_cancelhandling here, before create_thread.  When
24907         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
24908         __deallocate_stack, and ENOMEM translation here.
24910 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
24912         [BZ #17616]
24913         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
24914         (mptwo): Rename to __mptwo.
24915         (__inv): Use __mptwo instead of mptwo.
24916         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
24917         (mptwo): Rename to __mptwo.
24918         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
24919         of mpone and __mptwo instead of mptwo.
24920         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
24921         instead of mpone.
24922         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24923         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
24924         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
24925         of mpone and __mptwo instead of mptwo.
24926         (__mpranred): Use __mpone instead of mpone.
24927         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
24928         variable.
24929         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
24930         (test-xfail-ISO99/math.h/linknamespace): Likewise.
24931         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
24932         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
24933         (test-xfail-ISO11/math.h/linknamespace): Likewise.
24934         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
24935         (test-xfail-XPG3/math.h/linknamespace): Likewise.
24936         (test-xfail-XPG4/math.h/linknamespace): Likewise.
24937         (test-xfail-POSIX/math.h/linknamespace): Likewise.
24938         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
24939         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
24940         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
24941         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
24942         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
24943         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
24944         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
24945         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
24946         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
24947         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
24949 2014-11-18  Tom de Vries  <tom@codesoucery.com>
24951         * manual/signal.texi (Primitives Interrupted by Signals): In section,
24952         replace BSD Handler xref with BSD Signal Handling.
24954 2014-11-17  Richard Henderson  <rth@redhat.com>
24956         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
24957         (_FP_PACK_RAW_2): Remove.
24958         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
24959         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
24960         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
24961         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
24962         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
24963         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
24964         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
24965         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
24966         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
24967         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
24968         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
24969         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
24970         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
24971         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
24972         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
24973         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
24975 2014-11-14  Roland McGrath  <roland@hack.frob.com>
24977         * signal/signal.h [__USE_MISC]
24978         (struct sigvec): Remove type.
24979         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
24980         (sigvec): Remove declaration.
24981         * sysdeps/posix/sigvec.c: Moved ...
24982         * signal/sigvec.c: ... here, replacing old file.
24983         (struct sigvec): New type, copied from old signal.h definition.
24984         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
24985         (__sigvec): Convert definition to prototype.
24986         (sigvec): Replace weak_alias with compat_symbol.
24987         * signal/Versions (libc: GLIBC_2.21): New version set.
24988         * include/signal.h: Remove __sigvec declaration.
24989         * sysdeps/unix/bsd/sigvec.c: Remove file.
24990         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
24991         * manual/signal.texi (BSD Handler): Remove subsection.
24992         Move siginterrupt up to ...
24993         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
24994         (Blocking in BSD): Fold subsection into its parent.
24995         * NEWS: Mention sigvec removal.
24997 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
24999         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
25000         (DLA_FMS): Make definition conditional only on [__FMA4__].
25001         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
25002         definition.
25004         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
25005         Make definition conditional only on [PROF].
25006         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
25007         definition.
25008         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
25009         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
25011         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
25012         !__GNUC__].
25013         * include/signal.h (__sigpause): Move declaration above call to
25014         libc_hidden_proto.
25015         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
25016         variable.
25017         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25018         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25020 2014-11-14  David S. Miller  <davem@davemloft.net>
25022         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
25023         Define before including <string/memcpy.c> and <string/mempcpy.c>.
25025 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
25027         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
25028         * configure: Regenerated.
25029         * manual/install.texi (Tools for Compilation): Document a
25030         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
25031         compiler verified to work.
25032         * INSTALL: Regenerated.
25034         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
25035         redeclare with asm name.
25036         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
25037         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
25038         including <string.h>.
25039         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25040         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
25041         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25042         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
25043         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25044         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25045         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25047 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
25049         * stdlib/strtol.c (__strtol): Use prototype definition.
25051         [BZ #17594]
25052         * stdlib/strtol.c (SYM__): New macro.
25053         (SYM__1): Likewise.
25054         (__strtol): Likewise.
25055         (strtol): Rename to __strtol and define as weak alias of
25056         __strtol.  Use libc_hidden_weak.
25058 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25060         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
25061         Use numbered labels in inline assembly.
25063 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25065         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
25066         Add setjmp LIBC_PROBE.
25067         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
25068         Likewise.
25069         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
25070         Add longjmp, longjmp_target LIBC_PROBE.
25071         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
25072         Likewise.
25074 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25076         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25077         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
25078         to get rid of unused variable warning.
25080 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25082         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
25083         Check for unwind_backtrace ==  NULL only in SHARED case.
25084         (__backchain_backtrace): Compile only in SHARED case.
25085         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
25086         Likewise.
25087         (__backchain_backtrace): Declare as static.
25089 2014-11-12  Roland McGrath  <roland@hack.frob.com>
25091         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
25092         (__libc_multiple_threads_ptr): Variable moved ...
25093         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
25095 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
25097         * conform/GlibcConform.pm: New file.
25098         * conform/conformtest.pl: Use GlibcConform module.
25099         * conform/linknamespace.pl: New file.
25100         * conform/list-header-symbols.pl: Likewise.
25101         * conform/Makefile (linknamespace-symlists-base): New variable.
25102         (linknamespace-symlists-tests): Likewise.
25103         (linknamespace-header-base): Likewise.
25104         (linknamespace-header-tests): Likewise.
25105         (tests-special): Add new tests.
25106         ($(linknamespace-symlists-tests)): New rule.
25107         (linknamespace-libs): New variable.
25108         ($(objpfx)symlist-stdlibs): New rule.
25109         ($(linknamespace-header-tests)): Likewise.
25110         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
25111         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
25112         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
25113         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
25114         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
25115         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
25116         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
25117         (test-xfail-ISO/math.h/linknamespace): Likewise.
25118         (test-xfail-ISO/signal.h/linknamespace): Likewise.
25119         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
25120         (test-xfail-ISO/time.h/linknamespace): Likewise.
25121         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25122         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
25123         (test-xfail-ISO99/math.h/linknamespace): Likewise.
25124         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25125         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
25126         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25127         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25128         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25129         (test-xfail-ISO11/math.h/linknamespace): Likewise.
25130         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25131         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
25132         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25133         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25134         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
25135         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
25136         (test-xfail-XPG3/math.h/linknamespace): Likewise.
25137         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
25138         (test-xfail-XPG3/search.h/linknamespace): Likewise.
25139         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
25140         (test-xfail-XPG3/time.h/linknamespace): Likewise.
25141         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
25142         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25143         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25144         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
25145         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25146         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25147         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
25148         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
25149         (test-xfail-XPG4/math.h/linknamespace): Likewise.
25150         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
25151         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25152         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25153         (test-xfail-XPG4/search.h/linknamespace): Likewise.
25154         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25155         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
25156         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
25157         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
25158         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
25159         (test-xfail-XPG4/time.h/linknamespace): Likewise.
25160         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
25161         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25162         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
25163         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
25164         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
25165         (test-xfail-POSIX/math.h/linknamespace): Likewise.
25166         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
25167         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
25168         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25169         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25170         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
25171         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
25172         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25173         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
25174         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
25175         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25176         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25177         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25178         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
25179         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
25180         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25181         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25182         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25183         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
25184         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25185         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25186         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25187         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
25188         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25189         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
25190         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
25191         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25192         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25193         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25194         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25195         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25196         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25197         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
25198         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
25199         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25200         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
25201         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25202         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
25203         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25204         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25205         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25206         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
25207         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25208         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25209         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25210         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
25211         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
25212         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
25213         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25214         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
25215         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
25216         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25217         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
25218         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
25219         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25220         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25221         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25222         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25223         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25224         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25225         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25226         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25227         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25228         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25229         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
25230         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25231         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25232         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
25233         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25234         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25235         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25236         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25237         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25238         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25239         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25240         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
25241         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25242         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
25243         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25244         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25245         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25246         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25247         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
25248         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25249         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25250         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
25251         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25252         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25253         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
25254         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25255         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25256         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25257         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25258         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25259         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25260         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25261         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
25262         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
25263         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25264         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
25265         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25266         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25267         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
25268         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25269         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25270         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
25272         [BZ #17589]
25273         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
25274         of fgets_unlocked.
25276         [BZ #17585]
25277         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
25278         (memmem): Rename to __memmem and define as weak alias of
25279         __memmem.  Use libc_hidden_weak.
25280         (__memmem): Use libc_hidden_def.
25281         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
25282         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
25283         memmem.
25285         [BZ #17582]
25286         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
25287         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
25288         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
25289         and define as weak alias of __fgets_unlocked.  Use
25290         libc_hidden_weak.
25291         (__fgets_unlocked): Use libc_hidden_def.
25292         * include/stdio.h (__fgets_unlocked): Declare.  Use
25293         libc_hidden_proto.
25294         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
25295         __fgets_unlocked instead of fgets_unlocked.
25296         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
25297         (GET_NPROCS_CONF_PARSER): Likewise.
25298         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
25299         (GET_NPROCS_CONF_PARSER): Likewise.
25301         [BZ #17574]
25302         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
25303         weak alias of __wmemset.  Use libc_hidden_weak.
25304         (__wmemset): Use libc_hidden_def.
25305         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
25306         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
25307         of wmemset.
25309         [BZ #17573]
25310         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
25311         with asm name __mempcpy.
25312         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
25314         [BZ #17572]
25315         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
25316         and define as weak alias of __rawmemchr.
25317         (__rawmemchr): Do not define as strong alias of rawmemchr.
25319         [BZ #17571]
25320         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
25321         alias of __qsort_r.
25322         (qsort): Call __qsort_r instead of qsort_r.
25323         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
25324         (__qsort_r): Declare.  Call libc_hidden_proto.
25325         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
25326         instead of qsort_r.
25327         * nscd/gai.c (__qsort_r): Define to qsort_r.
25328         * posix/tst-rfc3484.c (__qsort_r): Likewise.
25329         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
25330         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
25332         [BZ #17570]
25333         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
25334         define as weak alias of __malloc_info.
25336         [BZ #17584]
25337         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
25338         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25339         (__rewinddir): Use libc_hidden_def.
25340         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
25341         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25342         (__rewinddir): Use libc_hidden_def.
25343         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
25344         weak alias of __rewinddir.  Don't use libc_hidden_def.
25345         (__rewinddir): Use libc_hidden_def.
25346         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
25347         (__rewinddir): Use libc_hidden_proto.
25348         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
25349         rewinddir.
25350         (__getcwd): Use __rewinddir instead of rewinddir.
25352         [BZ #17583]
25353         * libio/fileno.c (fileno): Rename to __fileno and define as weak
25354         alias of __fileno.  Use libc_hidden_weak.
25355         (__fileno): Use libc_hidden_def.
25356         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
25357         * libio/ftello.c (ftello): Rename to __ftello and define as weak
25358         alias of __ftello.
25359         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
25360         __ftello.
25361         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
25362         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
25363         libc_hidden_def.
25364         (fread_unlocked): Don't use libc_hidden_ver.
25365         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
25366         and define as weak alias of __fread_unlocked.  Don't use
25367         libc_hidden_def.
25368         (__fread_unlocked): Use libc_hidden_def.
25369         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
25370         (ftello): Don't use libc_hidden_proto.
25371         (__ftello): Declare.  Use libc_hidden_proto.
25372         (fread_unlocked): Don't use libc_hidden_proto.
25373         (__fread_unlocked): Declare.  Use libc_hidden_proto.
25374         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
25375         and __ftello instead of fileno, fread_unlocked and ftello.
25377 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25379         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
25380         GOT12.
25381         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25382         Likewise.
25383         (_dl_start_user): Likewise.
25384         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
25386 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
25387             Siddhesh Poyarekar  <siddhesh@redhat.com>
25389         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
25390         Move argv and envp down instead of moving argc up.
25391         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
25393 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
25395         [BZ #17506]
25396         * test-skeleton.c (main): Return successful if one of
25397         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
25398         * string/tst-strcoll-overflow.c: Define expected status.
25400 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
25402         [BZ #17475]
25403         * locale/iso-639.def: Define Bhili and Tulu language codes.
25405 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
25407         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
25409 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
25411         [BZ #17555]
25412         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
25414 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25416         * configure.ac: Updated check of minimal required version to
25417         2.22.
25418         * manual/install.texi (Tools for Compilation): Updated version
25419         number.
25420         * configure: Regenerated.
25421         * INSTALL: Likewise.
25423 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
25425         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
25426         __tls_get_addr.
25428 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
25430         * include/sys/wait.h (__libc_waitpid): Remove declaration.
25431         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
25432         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25433         libc_hidden_weak.
25434         (waitpid): Define as alias of __waitpid.
25435         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
25436         __waitpid.
25437         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25438         libc_hidden_weak.
25439         (waitpid): Define as alias of __waitpid.
25440         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
25441         __libc_waitpid alias.
25442         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
25443         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
25444         Likewise.
25445         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
25446         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
25447         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
25448         alias.
25449         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
25450         __waitpid.
25451         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25452         libc_hidden_weak.
25453         (waitpid): Define as alias of __waitpid.
25455 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
25457         * manual/llio.texi: Add comment that write safety has been
25458         fixed in Linux.
25460         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
25461         (localplt-build-dso): Add elf/ld.so.
25462         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
25463         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
25464         and free for ld.so.
25465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
25466         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
25467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
25468         Likewise.
25469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
25470         Likewise.
25471         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
25472         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
25473         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
25474         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
25475         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
25476         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
25477         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
25478         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
25479         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
25480         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
25481         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
25483 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
25485         [BZ #14132]
25486         * include/libc-symbols.h (INTUSE): Remove macro.
25487         (INTDEF): Likewise.
25488         (INTVARDEF): Likewise.
25489         (_INTVARDEF): Likewise.
25490         (INTDEF2): Likewise.
25491         (INTVARDEF2): Likewise.
25492         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
25493         rtld_hidden_def instead of INTVARDEF.
25494         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
25495         (_dl_starting_up_internal): Remove declaration.
25496         (_dl_starting_up): Use rtld_hidden_proto.
25497         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
25498         declaration.
25499         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
25500         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
25501         _dl_starting_up.
25502         * elf/dl-writev.h (_dl_writev): Likewise.
25503         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
25504         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
25505         _dl_starting_up_internal.
25507 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25509         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
25510         test-skeleton.c.
25512 2014-11-05  Will Newton  <will.newton@linaro.org>
25514         * benchtests/Makefile: (bench-malloc): Add malloc thread
25515         scalability benchmark.
25516         * benchtests/bench-malloc-threads.c: New file.
25518 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
25520         * sysdeps/aarch64/strchrnul.S: New file.
25522 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25524         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
25525         definition.
25526         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
25527         Likwise.
25528         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
25529         Likewise.
25530         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
25531         Likewise.
25532         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
25533         Likewise.
25534         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
25535         Likewise.
25537 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
25539         * catgets/test-gencat.c: Use test-skeleton.c.
25540         * catgets/tst-catgets.c: Likewise.
25541         * csu/tst-empty.c: Likewise.
25542         * elf/tst-audit2.c: Likewise.
25543         * elf/tst-global1.c: Likewise.
25544         * elf/tst-pathopt.c: Likewise.
25545         * elf/tst-piemod1.c: Likewise.
25546         * elf/tst-tls10.c: Likewise.
25547         * elf/tst-tls11.c: Likewise.
25548         * elf/tst-tls12.c: Likewise.
25549         * gnulib/tst-gcc.c: Likewise.
25550         * iconvdata/tst-e2big.c: Likewise.
25551         * iconvdata/tst-loading.c: Likewise.
25552         * iconv/tst-iconv1.c: Likewise.
25553         * iconv/tst-iconv2.c: Likewise.
25554         * inet/test-inet6_opt.c: Likewise.
25555         * inet/tst-gethnm.c: Likewise.
25556         * inet/tst-network.c: Likewise.
25557         * inet/tst-ntoa.c: Likewise.
25558         * intl/tst-codeset.c: Likewise.
25559         * intl/tst-gettext2.c: Likewise.
25560         * intl/tst-gettext3.c: Likewise.
25561         * intl/tst-ngettext.c: Likewise.
25562         * intl/tst-translit.c: Likewise.
25563         * io/test-stat.c: Likewise.
25564         * libio/test-fmemopen.c: Likewise.
25565         * libio/tst-freopen.c: Likewise.
25566         * libio/tst-sscanf.c: Likewise.
25567         * libio/tst-ungetwc1.c: Likewise.
25568         * libio/tst-ungetwc2.c: Likewise.
25569         * libio/tst-widetext.c: Likewise.
25570         * localedata/tst-ctype.c: Likewise.
25571         * localedata/tst-digits.c: Likewise.
25572         * localedata/tst-leaks.c: Likewise.
25573         * localedata/tst-mbswcs1.c: Likewise.
25574         * localedata/tst-mbswcs2.c: Likewise.
25575         * localedata/tst-mbswcs3.c: Likewise.
25576         * localedata/tst-mbswcs4.c: Likewise.
25577         * localedata/tst-mbswcs5.c: Likewise.
25578         * localedata/tst-setlocale.c: Likewise.
25579         * localedata/tst-trans.c: Likewise.
25580         * localedata/tst-wctype.c: Likewise.
25581         * localedata/tst-xlocale1.c: Likewise.
25582         * login/tst-grantpt.c: Likewise.
25583         * malloc/tst-calloc.c: Likewise.
25584         * malloc/tst-malloc.c: Likewise.
25585         * malloc/tst-mallocstate.c: Likewise.
25586         * malloc/tst-mcheck.c: Likewise.
25587         * malloc/tst-mtrace.c: Likewise.
25588         * malloc/tst-obstack.c: Likewise.
25589         * math/atest-exp2.c: Likewise.
25590         * math/atest-exp.c: Likewise.
25591         * math/atest-sincos.c: Likewise.
25592         * math/test-matherr.c: Likewise.
25593         * math/test-misc.c: Likewise.
25594         * math/test-powl.c: Likewise.
25595         * math/tst-definitions.c: Likewise.
25596         * misc/tst-dirname.c: Likewise.
25597         * misc/tst-efgcvt.c: Likewise.
25598         * misc/tst-fdset.c: Likewise.
25599         * misc/tst-hsearch.c: Likewise.
25600         * misc/tst-mntent2.c: Likewise.
25601         * nptl/tst-sem7.c: Likewise.
25602         * nptl/tst-sem8.c: Likewise.
25603         * nptl/tst-sem9.c: Likewise.
25604         * nss/test-netdb.c: Likewise.
25605         * posix/tst-fnmatch.c: Likewise.
25606         * posix/tst-getlogin.c: Likewise.
25607         * posix/tst-gnuglob.c: Likewise.
25608         * posix/tst-mmap.c: Likewise.
25609         * pwd/tst-getpw.c: Likewise.
25610         * resolv/tst-inet_ntop.c: Likewise.
25611         * rt/tst-timer.c: Likewise.
25612         * stdio-common/test-fseek.c: Likewise.
25613         * stdio-common/test-popen.c: Likewise.
25614         * stdio-common/test-vfprintf.c: Likewise.
25615         * stdio-common/tst-cookie.c: Likewise.
25616         * stdio-common/tst-fileno.c: Likewise.
25617         * stdio-common/tst-gets.c: Likewise.
25618         * stdio-common/tst-obprintf.c: Likewise.
25619         * stdio-common/tst-perror.c: Likewise.
25620         * stdio-common/tst-sprintf2.c: Likewise.
25621         * stdio-common/tst-sprintf3.c: Likewise.
25622         * stdio-common/tst-sprintf.c: Likewise.
25623         * stdio-common/tst-swprintf.c: Likewise.
25624         * stdio-common/tst-tmpnam.c: Likewise.
25625         * stdio-common/tst-unbputc.c: Likewise.
25626         * stdio-common/tst-wc-printf.c: Likewise.
25627         * stdlib/tst-environ.c: Likewise.
25628         * stdlib/tst-fmtmsg.c: Likewise.
25629         * stdlib/tst-limits.c: Likewise.
25630         * stdlib/tst-rand48-2.c: Likewise.
25631         * stdlib/tst-rand48.c: Likewise.
25632         * stdlib/tst-random2.c: Likewise.
25633         * stdlib/tst-random.c: Likewise.
25634         * stdlib/tst-strtol.c: Likewise.
25635         * stdlib/tst-strtoll.c: Likewise.
25636         * stdlib/tst-tls-atexit.c: Likewise.
25637         * stdlib/tst-xpg-basename.c: Likewise.
25638         * string/test-ffs.c: Likewise.
25639         * string/tst-bswap.c: Likewise.
25640         * string/tst-inlcall.c: Likewise.
25641         * string/tst-strtok.c: Likewise.
25642         * string/tst-strxfrm.c: Likewise.
25643         * sysdeps/x86_64/tst-audit10.c: Likewise.
25644         * sysdeps/x86_64/tst-audit3.c: Likewise.
25645         * sysdeps/x86_64/tst-audit4.c: Likewise.
25646         * sysdeps/x86_64/tst-audit5.c: Likewise.
25647         * time/tst-ftime_l.c: Likewise.
25648         * time/tst-getdate.c: Likewise.
25649         * time/tst-mktime3.c: Likewise.
25650         * time/tst-mktime.c: Likewise.
25651         * time/tst-posixtz.c: Likewise.
25652         * time/tst-strptime2.c: Likewise.
25653         * time/tst-strptime3.c: Likewise.
25654         * wcsmbs/tst-btowc.c: Likewise.
25655         * wcsmbs/tst-mbrtowc.c: Likewise.
25656         * wcsmbs/tst-mbsrtowcs.c: Likewise.
25657         * wcsmbs/tst-wchar-h.c: Likewise.
25658         * wcsmbs/tst-wcpncpy.c: Likewise.
25659         * wcsmbs/tst-wcrtomb.c: Likewise.
25660         * wcsmbs/tst-wcsnlen.c: Likewise.
25661         * wcsmbs/tst-wcstof.c: Likewise.
25663 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
25665         [BZ #14132]
25666         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
25667         INTDEF.
25668         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
25669         declaration.
25670         (_dl_mcount): Use rtld_hidden_proto.
25671         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
25672         _dl_mcount.
25673         * elf/rtld.c (_rtld_global_ro): Likewise.
25675         [BZ #14132]
25676         * elf/dl-init.c (_dl_init): Don't use INTDEF.
25677         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
25678         of _dl_init_internal.
25679         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
25680         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
25681         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
25682         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
25683         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
25684         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
25685         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
25686         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
25687         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
25688         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
25689         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
25690         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
25691         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25692         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25693         * sysdeps/tile/dl-start.S (_start): Likewise.
25694         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
25695         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
25697         [BZ #14132]
25698         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
25699         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
25700         (rtld_progname): Make macro definition unconditional.
25701         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
25702         INTDEF.
25703         (dlmopen_doit): Do not use INTUSE with _dl_argv.
25704         (dl_main): Likewise.
25705         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25706         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
25707         instead of _dl_argv_internal.
25708         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25709         __GI__dl_argv instead of INTUSE(_dl_argv).
25710         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
25711         __GI__dl_argv instead of _dl_argv_internal.
25713         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
25714         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
25715         macro.
25716         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
25717         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
25718         New macro.
25719         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
25720         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
25721         macro.
25722         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
25723         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
25725 2014-11-04  Andreas Schwab  <schwab@suse.de>
25727         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
25729 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25731         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
25732         mtvsrd instruction in binary form.
25734 2014-11-03  Andreas Schwab  <schwab@suse.de>
25736         [BZ #17522]
25737         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
25738         for less than MB_LEN_MAX use a local buffer of that size.
25739         * libio/tst-fputws.c: New file.
25740         * libio/Makefile (tests): Add tst-fputws.
25742 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
25744         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
25745         the size of the fpu_fr.fpu_dregs[] array.
25747 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
25749         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
25750         (__nanosleep): Do not define as alias.
25751         (nanosleep): Define as alias of __nanosleep.
25752         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
25753         __libc_nanosleep name.
25755 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
25757         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
25758         install.texi in comment.
25760 2014-10-31  Torvald Riegel  <triegel@redhat.com>
25762         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
25763         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
25764         ... add here and use lwsync or sync ...
25765         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
25766         ... and add here using lwsync.
25768 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25770         * elf/dl-machine-reject-phdr.h: New file.
25771         * elf/dl-load.c: #include that.
25772         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
25773         if that returned true.
25775 2014-10-31  Roland McGrath  <roland@hack.frob.com>
25777         [BZ #17496]
25778         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
25779         gen-as-const-headers chunk.  Add a big scare comment after the last
25780         safe place to touch before-compile.
25782 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
25784         * manual/install.texi (Tools for Compilation): Update autoconf
25785         version requirements.
25786         * INSTALL: Regenerated.
25788         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
25789         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
25790         (__libc_pselect): Likewise.
25792         [BZ #14138]
25793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
25794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25798 2014-10-31  Torvald Riegel  <triegel@redhat.com>
25800         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
25801         correct barrier instruction.
25802         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
25803         Likewise.
25804         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
25805         Likewise.
25807 2014-10-30  Roland McGrath  <roland@hack.frob.com>
25809         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
25810         after defining inlines.  Instead, just use parens to defeat macro
25811         expansion of __isctype in its declaration.
25813 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
25815         * include/sys/uio.h (__libc_readv): Remove declaration.
25816         (__libc_writev): Likewise.
25817         * misc/readv.c (__libc_readv): Rename to __readv.
25818         (__readv): Do not define as alias.
25819         (readv): Define as alias of __readv.
25820         * misc/writev.c (__libc_writev): Rename to __writev.
25821         (__writev): Do not define as alias.
25822         (writev): Define as alias of __writev.
25823         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
25824         (__readv): Do not define as alias.
25825         (readv): Define unconditionally as alias of __readv.
25826         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
25827         (__writev): Do not define as alias.
25828         (writev): Define unconditionally as alias of __writev.
25829         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
25830         name.
25831         (writev): Do not define __libc_writev name.
25833 2014-10-30  Roland McGrath  <roland@hack.frob.com>
25835         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
25836         (convert_charseq): New function, broken out of ...
25837         (use_from_charmap): ... here.  Call it.
25838         (use_to_charmap): Use convert_charseq and free instead of duplicating
25839         its code with a variable-length stack struct.
25841 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
25843         * include/fcntl.h (__libc_creat): Remove declaration.
25844         * io/creat.c (__libc_creat): Rename to creat.
25845         (creat): Do not define as alias.
25846         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
25847         of creat instead of __libc_creat.
25848         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
25849         to creat.
25850         (creat): Do not define as alias.
25851         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
25852         __libc_creat.
25853         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
25854         __libc_creat name.
25855         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
25856         Likewise.
25858 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
25860         * manual/llio.texi: Add comments discussing why write() may be
25861         considered MT-unsafe on Linux.
25863 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
25865         * dl-load.c (local_strdup): Remove.
25866         (expand_dynamic_string_token): Use __strdup.
25867         (decompose_rpath): Likewise.
25868         (_dl_map_object): Likewise.
25870 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
25872         [BZ #14132]
25873         * sysdeps/generic/unwind-dw2-fde.c
25874         (__register_frame_info_bases_internal): Do not declare.
25875         (__register_frame_info_table_bases_internal): Likewise.
25876         (__deregister_frame_info_bases_internal): Likewise.
25877         (__register_frame_info_bases): Declare and use hidden_proto before
25878         definition.  Use hidden_def instead of INTDEF.
25879         (__register_frame_info_table_bases): Likewise.
25880         (__deregister_frame_info_bases): Likewise.
25881         (__register_frame_info): Do not use INTUSE.
25882         (__register_frame): Likewise.
25883         (__register_frame_info_table): Likewise.
25884         (__register_frame_table): Likewise.
25885         (__deregister_frame_info): Likewise.
25886         (__deregister_frame): Likewise.
25888 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
25890         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25891         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
25892         not undefine.
25893         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
25894         Likewise.
25895         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
25896         Likewise.
25898 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
25900         [BZ #14138]
25901         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
25902         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
25903         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
25904         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
25905         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
25906         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
25907         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
25908         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
25909         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
25910         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
25911         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
25912         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
25913         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
25914         syscall.
25915         (setfsuid): Likewise.
25916         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
25917         (setfsuid): Likewise.
25918         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
25919         (setfsuid): Likewise.
25920         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
25921         Likewise.
25922         (setfsuid): Likewise.
25923         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
25924         (setfsuid): Likewise.
25925         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
25926         Likewise.
25927         (setfsuid): Likewise.
25929 2014-10-27  Andreas Schwab  <schwab@suse.de>
25931         [BZ #17501]
25932         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
25933         check for Slow_SSE4_2 feature bit.
25934         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
25935         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25936         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
25937         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
25939 2014-10-24  Roland McGrath  <roland@hack.frob.com>
25941         * configure.ac: Validate compiler version with a empirical test of
25942         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
25943         $CC -v output.
25944         * configure: Regenerated.
25946         * inet/htons.c (htons): Prototypify.
25947         * inet/htonl.c (htonl): Likewise.
25949 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25951         * string/strncat.c (strncat): Improve performance by using strlen.
25953 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25955         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
25957 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25959         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
25960         Call libc_fetestexcept_aarch64.
25962 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25964         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
25965         Call libc_feholdexcept_aarch64.
25967 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25969         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
25970         Call get_rounding_mode.
25972 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25974         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25975         Simplify logic.
25977 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25979         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
25980         Simplify logic.
25982 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
25984         [BZ #14138]
25985         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
25986         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
25987         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
25988         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
25989         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
25990         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
25991         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
25992         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
25993         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
25994         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
25995         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25996         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
25997         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
25998         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
25999         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
26000         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
26001         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
26002         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
26003         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
26004         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
26005         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
26006         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
26007         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
26008         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
26009         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
26010         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
26011         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
26012         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
26013         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
26014         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
26015         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
26016         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
26017         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
26018         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
26019         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
26020         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
26021         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
26022         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
26023         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
26024         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
26025         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
26026         syscall.
26027         (geteuid): Likewise.
26028         (getgid): Likewise.
26029         (getuid): Likewise.
26030         (getresgid): Likewise.
26031         (getresuid): Likewise.
26032         (getgroups): Likewise.
26033         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
26034         (geteuid): Likewise.
26035         (getgid): Likewise.
26036         (getuid): Likewise.
26037         (getresgid): Likewise.
26038         (getresuid): Likewise.
26039         (getgroups): Likewise.
26040         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
26041         (geteuid): Likewise.
26042         (getgid): Likewise.
26043         (getuid): Likewise.
26044         (getresgid): Likewise.
26045         (getresuid): Likewise.
26046         (getgroups): Likewise.
26047         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
26048         Likewise.
26049         (geteuid): Likewise.
26050         (getgid): Likewise.
26051         (getuid): Likewise.
26052         (getresgid): Likewise.
26053         (getresuid): Likewise.
26054         (getgroups): Likewise.
26055         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
26056         (geteuid): Likewise.
26057         (getgid): Likewise.
26058         (getuid): Likewise.
26059         (getresgid): Likewise.
26060         (getresuid): Likewise.
26061         (getgroups): Likewise.
26062         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
26063         Likewise.
26064         (geteuid): Likewise.
26065         (getgid): Likewise.
26066         (getuid): Likewise.
26067         (getgroups): Likewise.
26069         [BZ #14138]
26070         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
26071         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
26072         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
26073         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26074         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
26075         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
26076         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
26077         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
26078         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
26079         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
26080         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
26081         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
26082         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
26083         __chown.
26084         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
26085         (lchown): Likewise.
26086         (fchown): Likewise.
26087         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
26088         Likewise.
26089         (lchown): Likewise.
26090         (fchown): Likewise.
26091         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
26092         (lchown): Likewise.
26093         (fchown): Likewise.
26094         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
26095         Likewise.
26096         (lchown): Likewise.
26097         (fchown): Likewise.
26099 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26101         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
26102         Simplify logic.
26104 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26106         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26107         Cleanup logic.
26109 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26111         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26112         Remove unused include.
26114 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26116         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
26117         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
26118         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
26119         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
26121 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
26122             Helge Deller <deller@gmx.de>
26124         [BZ #17508]
26125         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
26126         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
26127         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
26129 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
26131         [BZ #14132]
26132         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
26133         Remove macro definition.
26134         (__ashrdi3_v_glibc20): Likewise.
26135         (__lshrdi3_v_glibc20): Likewise.
26136         (__cmpdi2_v_glibc20): Likewise.
26137         (__ucmpdi2_v_glibc20): Likewise.
26138         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
26139         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26140         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26141         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26142         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26143         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
26145 2014-10-22  Roland McGrath  <roland@hack.frob.com>
26147         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
26148         old GNU extension [0] syntax.
26149         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
26150         alloca rather than an array member with variable length.
26151         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
26152         * nscd/nscd.c (invalidate_db): New function, broken out of ...
26153         (parse_opt): ... here.  Likewise use alloca there.
26154         Validate the -i argument before checking for rootness.
26155         (send_shutdown): New function, broken out of ...
26156         (parse_opt): ... here.
26158 2014-10-22  Roland McGrath  <roland@hack.frob.com>
26160         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
26161         macro to get at the _rt_local_ro field.
26162         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
26163         ([PIC] case) or _dl_hwcap ([!PIC] case).
26164         * sysdeps/arm/setjmp.S: Likewise.
26166         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
26167         * sysdeps/arm/configure.ac: New check to define it.
26168         * sysdeps/arm/configure: Regenerated.
26169         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
26170         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
26171         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
26172         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
26173         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
26174         Use move/movt pair instead of a load.
26175         (LDST_GLOBAL): Macro removed.
26176         (LDR_GLOBAL): New macro replaces it.
26177         (LDR_HIDDEN): New macro.
26178         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
26179         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
26181         * setjmp/tst-setjmp-static.c: New file.
26182         * setjmp/Makefile (tests): Add it.
26183         (tests-static): New variable.
26185 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
26187         [BZ #17485]
26188         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
26190 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
26192         [BZ #14132]
26193         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
26195 2014-10-21  Roland McGrath  <roland@hack.frob.com>
26197         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
26199 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26201         * io/fts.c (dirent_not_directory): New function.
26202         (fts_build): Call it.
26204 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26206         * nptl/version.c (__nptl_main): Use normal __write rather than
26207         INTERNAL_SYSCALL.
26208         (banner): Update copyright years.
26210         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
26211         gettimeofday.
26212         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26213         * nptl/pthread_cond_timedwait.c: Likewise.
26214         * nptl/pthread_mutex_timedlock.c: Likewise.
26215         * nptl/sem_timedwait.c: Likewise.
26217         * sysdeps/nptl/bits/libc-lock.h
26218         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
26219         (__libc_lock_init_recursive): Return void, not 0.
26220         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
26221         (__libc_rwlock_init): Likewise.
26222         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
26224 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26226         [BZ #15215]
26227         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
26228         (__pthread_once_slow): ... here.
26229         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
26230         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
26232 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26234         [BZ #15215]
26235         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
26236         __PTHREAD_ONCE_FORK_GEN_INCR): New.
26237         * sysdeps/nptl/fork.c (__libc_fork): Use them.
26238         * nptl/pthread_once.c (__pthread_once): Likewise.
26239         Update comments.
26241 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
26243         [BZ #14138]
26244         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
26245         name.
26246         (writev): Use __libc_writev as strong name.
26247         * sysdeps/unix/sysv/linux/readv.c: Remove file.
26248         * sysdeps/unix/sysv/linux/writev.c: Likewise.
26250 2014-10-17  Roland McGrath  <roland@hack.frob.com>
26252         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
26254         * sysdeps/i386/nptl/tls.h
26255         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
26256         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
26257         New macros.
26258         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
26259         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
26260         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
26261         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
26262         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
26263         Call CHECK_THREAD_SYSINFO instead of doing an assert.
26265         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26266         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
26267         on [__NR_futex].
26268         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
26269         broken out of ...
26270         (__pthread_mutex_init): ... here.  Call it.
26271         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
26272         Conditionalize PI cases on [__NR_futex].
26273         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
26274         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
26275         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
26277         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
26278         conditional on [SIGSETXID].
26279         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
26280         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
26281         is defined.  Likewise for SIGSETXID.
26282         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
26283         Conditionalize definitions on [SIGSETXID].
26284         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
26285         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
26286         unblocking on [SIGCANCEL].
26288         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
26289         [__NR_set_robust_list].
26291 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26293         * string/strcoll_l.c (get_next_seq): Fix up formatting.
26294         (do_compare): Likewise.
26296 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
26298         [BZ #15884]
26299         * string/strcoll_l.c: Don't include stdio.h.
26300         (coll_seq): Remove members idxarr and rulearr.
26301         (get_next_seq_cached): Remove function.
26302         (get_next_seq): Likewise.
26303         (get_next_seq_nocache): Rename to get_next_seq.
26304         (do_compare): Remove function.
26305         (do_compare_nocache): Rename to do_compare.
26306         (STRCOLL): Remove weight and rules cache.
26308 2014-10-16  Roland McGrath  <roland@hack.frob.com>
26310         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
26311         * sysdeps/arm/sfp-machine.h: ... to here.
26312         * sysdeps/arm/Implies: Remove arm/soft-fp.
26314 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
26316         * conform/data/sys/utsname.h-data (*_t): Allow.
26317         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
26318         [POSIX] (WEXITED): Do not expect constant.
26319         [POSIX] (WSTOPPED): Likewise.
26320         [POSIX] (WNOHANG): Likewise.
26321         [POSIX] (WNOWAIT): Likewise.
26322         [POSIX] (siginfo_t): Do not expect type or elements.
26323         [POSIX] (pid_t): Do not expect type.
26324         [POSIX] (signal.h): Do not allow header.
26325         [POSIX] (sys/resource.h): Likewise.
26326         [POSIX] (si_*): Do not allow pattern.
26327         [POSIX] (W*): Likewise.
26328         [POSIX] (P_*): Likewise.
26329         [POSIX] (BUS_*): Likewise.
26330         [POSIX] (CLD_*): Likewise.
26331         [POSIX] (FPE_*): Likewise.
26332         [POSIX] (ILL_*): Likewise.
26333         [POSIX] (POLL_*): Likewise.
26334         [POSIX] (SEGV_*): Likewise.
26335         [POSIX] (SI_*): Likewise.
26336         [POSIX] (TRAP_*): Likewise.
26337         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
26338         variable.
26340 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
26342         [BZ #12926]
26343         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
26344         infinite loop when __recvmsg returns 0.
26346 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
26348         * CANCEL-FCT-WAIVE: Remove file.
26349         * CANCEL-FILE-WAIVE: Likewise.
26351         [BZ #14132]
26352         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
26353         instead of INTVARDEF.
26354         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26355         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
26356         rtld_hidden_data_def instead of INTVARDEF.
26357         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26358         * elf/dl-deps.c (expand_dst): Likewise.
26359         * elf/dl-load.c (_dl_dst_count): Likewise.
26360         (_dl_dst_substitute): Likewise.
26361         (decompose_rpath): Likewise.
26362         (_dl_init_paths): Likewise.
26363         (open_path): Likewise.
26364         (_dl_map_object): Likewise.
26365         * elf/rtld.c (dl_main): Likewise.
26366         (process_dl_audit): Likewise.
26367         (process_envvars): Likewise.
26368         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
26369         Remove declaration.
26370         (__libc_enable_secure): Use rtld_hidden_proto.
26372 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26374         * elf/dl-load.c
26375         (add_path): New function broken out of _dl_rtld_di_serinfo.
26376         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
26378 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
26380         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
26381         parentheses around macro arguments.
26382         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
26383         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
26384         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
26385         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
26386         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
26387         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26388         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26389         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
26390         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
26391         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
26392         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
26393         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
26394         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
26395         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
26396         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
26397         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
26398         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
26399         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
26400         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
26401         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
26402         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
26403         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
26404         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
26405         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26406         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26407         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
26408         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
26409         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
26410         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
26411         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
26412         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
26413         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
26414         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
26415         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
26416         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
26417         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
26418         Likewise.
26419         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
26420         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26421         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26422         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
26423         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
26424         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
26425         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
26426         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
26427         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
26428         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
26429         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
26430         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
26431         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
26432         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
26433         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
26434         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26435         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26436         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
26437         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
26438         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
26439         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
26440         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
26441         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
26442         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
26443         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
26444         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
26445         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
26446         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
26447         (_FP_FRAC_SRS_1): Likewise.
26448         (_FP_FRAC_CLZ_1): Likewise.
26449         (_FP_MUL_MEAT_1_imm): Likewise.
26450         (_FP_MUL_MEAT_1_wide): Likewise.
26451         (_FP_MUL_MEAT_1_hard): Likewise.
26452         (_FP_SQRT_MEAT_1): Likewise.
26453         (_FP_FRAC_ASSEMBLE_1): Likewise.
26454         (_FP_FRAC_DISASSEMBLE_1): Likewise.
26455         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
26456         (__FP_CLZ_2): Likewise.
26457         (_FP_MUL_MEAT_2_wide): Likewise.
26458         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
26459         (_FP_MUL_MEAT_2_gmp): Likewise.
26460         (_FP_MUL_MEAT_2_120_240_double): Likewise.
26461         (_FP_SQRT_MEAT_2): Likewise.
26462         (_FP_FRAC_ASSEMBLE_2): Likewise.
26463         (_FP_FRAC_DISASSEMBLE_2): Likewise.
26464         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
26465         (_FP_FRAC_CLZ_4): Likewise.
26466         (_FP_MUL_MEAT_4_wide): Likewise.
26467         (_FP_MUL_MEAT_4_gmp): Likewise.
26468         (_FP_SQRT_MEAT_4): Likewise.
26469         (_FP_FRAC_ASSEMBLE_4): Likewise.
26470         (_FP_FRAC_DISASSEMBLE_4): Likewise.
26471         * soft-fp/op-common.h (_FP_CMP): Likewise.
26472         (_FP_CMP_EQ): Likewise.
26473         (_FP_CMP_UNORD): Likewise.
26474         (_FP_TO_INT): Likewise.
26475         (_FP_FROM_INT): Likewise.
26476         [!__FP_CLZ] (__FP_CLZ): Likewise.
26477         (_FP_DIV_HELP_imm): Likewise.
26478         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
26479         Likewise.
26480         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
26481         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
26482         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
26483         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
26484         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
26485         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26486         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26487         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
26488         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
26489         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
26490         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
26491         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
26492         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
26493         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
26494         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
26495         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
26496         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
26497         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
26498         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
26499         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
26500         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
26501         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
26502         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
26503         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26504         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26505         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
26506         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
26507         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
26508         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
26509         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
26510         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
26511         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
26512         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
26513         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
26514         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
26515         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
26516         (FP_UNPACK_RAW_SP): Likewise.
26517         (FP_PACK_RAW_S): Likewise.
26518         (FP_PACK_RAW_SP): Likewise.
26519         (FP_UNPACK_S): Likewise.
26520         (FP_UNPACK_SP): Likewise.
26521         (FP_UNPACK_SEMIRAW_S): Likewise.
26522         (FP_UNPACK_SEMIRAW_SP): Likewise.
26523         (FP_PACK_S): Likewise.
26524         (FP_PACK_SP): Likewise.
26525         (FP_PACK_SEMIRAW_S): Likewise.
26526         (FP_PACK_SEMIRAW_SP): Likewise.
26527         (_FP_SQRT_MEAT_S): Likewise.
26528         (FP_CMP_S): Likewise.
26529         (FP_CMP_EQ_S): Likewise.
26530         (FP_CMP_UNORD_S): Likewise.
26531         (FP_TO_INT_S): Likewise.
26532         (FP_FROM_INT_S): Likewise.
26534         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
26536         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
26537         (FP_EX_INVALID_IMZ): Likewise.
26538         (FP_EX_INVALID_IMZ_FMA): Likewise.
26539         (FP_EX_INVALID_ISI): Likewise.
26540         (FP_EX_INVALID_ZDZ): Likewise.
26541         (FP_EX_INVALID_IDI): Likewise.
26542         (FP_EX_INVALID_SQRT): Likewise.
26543         (FP_EX_INVALID_CVI): Likewise.
26544         (FP_EX_INVALID_VC): Likewise.
26545         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
26546         "invalid" exceptions.
26547         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
26548         (_FP_ADD_INTERNAL): Likewise.
26549         (_FP_MUL): Likewise.
26550         (_FP_FMA): Likewise.
26551         (_FP_DIV): Likewise.
26552         (_FP_CMP_CHECK_NAN): Likewise.
26553         (_FP_SQRT): Likewise.
26554         (_FP_TO_INT): Likewise.
26555         (FP_EXTEND): Likewise.
26557 2014-10-09  Allan McRae  <allan@archlinux.org>
26559         * po/fr.po: Update French translation from translation project.
26561 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
26563         [BZ #14132]
26564         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
26565         of INTDEF.
26566         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
26567         (__cxa_atexit): Use libc_hidden_proto.
26568         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
26570         [BZ #14132]
26571         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
26572         declaration.
26573         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
26574         [!_ISOMAC] (__iswspace_l_internal): Likewise.
26575         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
26576         [!_ISOMAC] (__iswctype_internal): Likewise.
26577         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
26578         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
26579         alias.
26580         (fcntl): Remove __fcntl_internal alias.
26581         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
26582         __connect_internal alias.
26583         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
26584         Likewise.
26586         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
26587         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
26588         FP_DENORM_ZERO.
26589         (_FP_CHECK_FLUSH_ZERO): New macro.
26590         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
26591         (_FP_CMP): Likewise.
26592         (_FP_CMP_EQ): Likewise.
26593         (_FP_TO_INT): Do not set inexact for subnormal arguments if
26594         FP_DENORM_ZERO.
26595         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
26596         (FP_TRUNC): Likewise.
26598         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
26599         treated as invalid conversion, not as normal exponent.
26601         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
26602         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
26603         (_FP_CMP_EQ): Likewise.
26604         (_FP_CMP_UNORD): Likewise.
26605         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
26606         (FP_CMP_EQ_D): Likewise.
26607         (FP_CMP_UNORD_D): Likewise.
26608         * soft-fp/extended.h (FP_CMP_E): Likewise.
26609         (FP_CMP_EQ_E): Likewise.
26610         (FP_CMP_UNORD_E): Likewise.
26611         * soft-fp/quad.h (FP_CMP_Q): Likewise.
26612         (FP_CMP_EQ_Q): Likewise.
26613         (FP_CMP_UNORD_Q): Likewise.
26614         * soft-fp/single.h (FP_CMP_S): Likewise.
26615         (FP_CMP_EQ_S): Likewise.
26616         (FP_CMP_UNORD_S): Likewise.
26617         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
26618         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
26619         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
26620         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
26621         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
26622         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
26623         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
26624         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
26625         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
26626         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
26627         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
26628         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
26629         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
26630         to FP_CMP_Q.
26631         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
26632         FP_CMP_Q.
26633         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
26634         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
26635         FP_CMP_EQ_Q.
26636         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
26637         FP_CMP_Q.
26638         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
26639         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
26640         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
26641         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
26642         FP_CMP_EQ_Q.
26643         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
26644         FP_CMP_Q.
26645         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
26646         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
26647         FP_CMP_EQ_Q.
26648         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
26649         FP_CMP_Q.
26650         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
26651         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
26652         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
26653         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
26654         FP_CMP_EQ_Q.
26656         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
26657         a subnormal result, set the underflow exception if trapping on
26658         underflow is enabled.
26659         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
26660         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
26661         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
26662         redefine to 0.
26663         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
26664         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26665         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26666         * soft-fp/extendxftf2.c (__extendxftf2): Use
26667         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
26669         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
26670         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
26671         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26672         FP_HANDLE_EXCEPTIONS.
26673         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
26674         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26675         FP_HANDLE_EXCEPTIONS.
26676         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
26677         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26678         FP_HANDLE_EXCEPTIONS.
26679         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
26680         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26681         FP_HANDLE_EXCEPTIONS.
26683 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
26685         [BZ #14132]
26686         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
26687         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
26688         use INTUSE.
26689         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
26690         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
26691         Remove alias.
26692         (__adjtimex): Define using libc_hidden_ver.
26693         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
26694         Remove declaration.
26695         (ntp_gettime): Call __adjtimex directly.
26696         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
26697         Remove declaration.
26698         (ntp_gettimex): Call __adjtimex directly.
26699         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
26700         __adjtimex_internal alias.
26702 2014-10-08  Roland McGrath  <roland@hack.frob.com>
26704         [BZ #17460]
26705         * nscd/nscd.c (more_help): Rewrite list of tables collection
26706         using xstrdup and asprintf.
26708         * nscd/nscd_conf.c: Remove local xstrdup declaration.
26710 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26711             Roland McGrath  <roland@hack.frob.com>
26713         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
26714         (do_lookup_unique): ... local function 'enter' here; update callers.
26716 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
26718         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
26719         compat_symbol calls on [SHARED].
26720         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
26721         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
26722         Remove.
26723         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26724         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
26725         (oldsetrlimit): Remove.
26726         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
26728         (lchown): New syscall entry.
26729         (oldsetrlimit): Remove.
26730         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26731         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
26732         (oldsetrlimit): Remove.
26733         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26735         [BZ #14138]
26736         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
26737         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
26738         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
26739         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
26740         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
26741         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
26742         (fchown): Likewise.
26743         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
26744         (fchown): Likewise.
26745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
26746         Likewise.
26748 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26750         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
26751         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
26752         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
26753         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
26754         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
26755         Likewise.
26756         (__old_sem_post): Likewise.
26758 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
26760         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
26761         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
26762         HAVE_CLOCK_GETTIME_VSYSCALL macros.
26763         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
26764         Use INLINE_VSYSCALL macro.
26765         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
26766         __vdso_clock_gettime.
26767         * sysdeps/unix/sysv/linux/tile/init-first.c
26768         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
26769         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
26770         __vdso_clock_gettime.
26772         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
26773         to set up frame more cleanly.
26775         * sysdeps/tile/memcmp.c: New file.
26777         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
26779         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
26780         * sysdeps/tile/tilegx/strcasestr.c: New file.
26781         * sysdeps/tile/tilegx/strnlen.c: New file.
26782         * sysdeps/tile/tilegx/strstr.c: New file.
26784         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
26786 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
26788         * nptl/tst-setuid3.c: Write errors to stdout.
26790 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26792         * elf/dl-deps.c
26793         (preload): New functions broken out of _dl_map_object_deps.
26794         (_dl_map_object_deps):  Remove a nested function. Update call sites.
26796 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
26798         [BZ #14138]
26799         * sysdeps/unix/sysv/linux/execve.c: Remove file.
26800         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
26802 2014-10-01  Steve Ellcey  <sellcey@mips.com>
26804         * sysdeps/mips/strcmp.S: New.
26806 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
26808         [BZ #14138]
26809         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
26810         (linkat): Likewise.
26811         (mkdirat): Likewise.
26812         (readlinkat): Likewise.
26813         (renameat): Likewise.
26814         (symlinkat): Likewise.
26815         (unlinkat): Likewise.
26816         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
26817         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
26818         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
26819         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
26820         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
26821         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
26822         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
26824 2014-09-30  Will Newton  <will.newton@linaro.org>
26826         * math/math.h: Define long double math functions if
26827         _LIBC_TEST is defined.
26828         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
26830         * localedata/Makefile: Move assignment to tests-special
26831         into an ifdef testing run-built-tests.
26832         * timezone/Makefile: Likewise.
26834 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
26836         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
26837         with $(BASH) not $(SHELL).
26839 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
26840             Matthew LeGendre  <legendre1@llnl.gov>
26842         [BZ #17411]
26843         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
26844         l_reloc_result.
26846 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26848         * stdio-common/printf_fp.c
26849         (hack_digit): New function, broken out of ...
26850         (__printf_fp): ... local function here.  Update call sites.
26851         hack_digit now takes an additional parameter that is a pointer
26852         to a struct of the referenced locals.  Those locals moved inside
26853         the struct and references updated.
26855 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
26857         * aclocal.m4: Require autoconf 2.69.
26858         * configure: Regenerated.
26859         * sysdeps/aarch64/configure: Likewise.
26860         * sysdeps/alpha/configure: Likewise.
26861         * sysdeps/arm/armv7/configure: Likewise.
26862         * sysdeps/arm/configure: Likewise.
26863         * sysdeps/ia64/configure: Likewise.
26864         * sysdeps/mach/configure: Likewise.
26865         * sysdeps/mips/configure: Likewise.
26866         * sysdeps/s390/configure: Likewise.
26867         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
26868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
26870         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
26871         file.
26872         * sysdeps/ia64/configure.ac: Likewise.
26874 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
26876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
26877         specify symbol version for ld.so.  Do not include entry for
26878         libpthread.
26879         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26880         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
26881         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26883         [BZ #14171]
26884         * Makeconfig [$(build-shared) = yes]
26885         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
26886         makefiles.
26887         [$(build-shared) = yes && $(soversions.mk-done) = t]
26888         ($(common-objpfx)gnu/lib-names.h): Remove rule.
26889         [$(build-shared) = yes && $(soversions.mk-done) = t]
26890         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
26891         to Makerules.
26892         [$(build-shared) = yes && $(soversions.mk-done) = t]
26893         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
26894         here.
26895         [$(build-shared) = yes && $(soversions.mk-done) = t]
26896         (common-generated): Don't append gnu/lib-names.h and
26897         gnu/lib-names.stmp here.
26898         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
26899         (lib-names-h-abi): New variable.
26900         [$(build-shared) = yes && $(soversions.mk-done) = t]
26901         (lib-names-stmp-abi): Likewise.
26902         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26903         abi-variants] (before-compile): Append
26904         $(common-objpfx)$(lib-names-h-abi).
26905         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26906         abi-variants] (common-generated): Append gnu/lib-names.h.
26907         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26908         abi-variants] (install-others-nosubdir): Depend on
26909         $(inst_includedir)/$(lib-names-h-abi).
26910         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26911         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
26912         [$(build-shared) = yes && $(soversions.mk-done) = t]
26913         ($(common-objpfx)$(lib-names-h-abi)): New rule.
26914         [$(build-shared) = yes && $(soversions.mk-done) = t]
26915         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
26916         [$(build-shared) = yes && $(soversions.mk-done) = t]
26917         (common-generated): Append $(lib-names-h-abi) and
26918         $(lib-names-stmp-abi).
26919         * scripts/lib-names.awk: Do not handle multi being set.
26920         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
26921         Remove variable.
26922         (abi-lp64_be-ld-soname): Likewise.
26923         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
26924         Likewise.
26925         (abi-hard-ld-soname): Likewise.
26926         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
26927         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
26928         Remove variable.
26929         (abi-o32_hard-ld-soname): Likewise.
26930         (abi-o32_soft_2008-ld-soname): Likewise.
26931         (abi-o32_hard_2008-ld-soname): Likewise.
26932         (abi-n32_soft-ld-soname): Likewise.
26933         (abi-n32_hard-ld-soname): Likewise.
26934         (abi-n32_soft_2008-ld-soname): Likewise.
26935         (abi-n32_hard_2008-ld-soname): Likewise.
26936         (abi-n64_soft-ld-soname): Likewise.
26937         (abi-n64_hard-ld-soname): Likewise.
26938         (abi-n64_soft_2008-ld-soname): Likewise.
26939         (abi-n64_hard_2008-ld-soname): Likewise.
26940         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
26941         Likewise.
26942         (abi-64-v2-ld-soname): Likewise.
26943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
26944         ld.so entries.
26945         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
26946         variable.
26947         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
26948         entry.
26949         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
26950         variable.
26951         (abi-64-ld-soname): Likewise.
26952         (abi-x32-ld-soname): Likewise.
26953         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
26954         entry.
26955         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26957 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
26959         [BZ #14138]
26960         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
26961         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
26962         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
26963         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
26964         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
26965         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
26966         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
26967         syscall entry for GLIBC_2.2 symbol version.
26968         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
26969         Likewise.
26970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
26971         (setrlimit): Likewise.
26972         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
26973         Likewise.
26975 2014-09-23  Will Newton  <will.newton@linaro.org>
26977         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
26978         _LINUX_ARM_SYSDEP_H include guard too.
26979         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
26980         define.
26982 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
26984         * sysdeps/unix/sysv/linux/eventfd.c:
26985         Make first argument unsigned.
26986         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
26987         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
26989 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
26991         [BZ #16852]
26992         * socket/recvmmsg.c (recvmmsg): Drop const argument.
26993         * socket/sys/socket.h: Likewise.
26994         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
26996 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26998         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
27000 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
27002         * time/tst-ftime.c: New test.
27003         * time/Makefile (tests): Add tst-ftime.
27005 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
27007         * soft-fp/extended.h: Fix comment formatting.
27008         * soft-fp/op-1.h: Likewise.
27009         * soft-fp/op-2.h: Likewise.
27010         * soft-fp/op-4.h: Likewise.
27011         * soft-fp/op-8.h: Likewise.
27012         * soft-fp/op-common.h: Likewise.
27013         * soft-fp/soft-fp.h: Likewise.
27015         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
27017 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
27019         [BZ #6652]
27020         * Makeconfig (soversions-default-setname): Remove variable.
27021         ($(common-objpfx)soversions.i): Don't pass default_setname to
27022         soversions.awk.
27023         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
27024         oldest_abi to abi-versions.awk.
27025         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
27026         * config.make.in (oldest-abi): Remove variable.
27027         * configure.ac (--enable-oldest-abi): Remove configure option.
27028         * configure: Regenerated.
27029         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
27030         text.
27031         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
27032         * scripts/soversions.awk: Do not handle default_setname variable.
27033         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
27034         variable.
27035         * sysdeps/mach/hurd/configure: Regenerated.
27036         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
27037         variable.
27038         * sysdeps/unix/sysv/linux/configure: Regenerated.
27040 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27042         * elf/Makefile (CFLAGS-interp.c): Remove.
27043         ($(elf-objpfx)runtime-linker.h): Generate header with linker
27044         path string.
27045         * elf/interp.c: Include generated runtime-linker.h
27047         * Makerules (lib%.so): Don't include $(+interp) in
27048         prerequisites.
27049         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
27050         * dlfcn/eval.c: Remove file.
27052         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
27053         macros.
27055         [BZ #17266]
27056         * misc/sys/cdefs.h: Define __extern_always_inline for clang
27057         4.2 and newer.
27059         [BZ #17370]
27060         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
27062 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27063             Jakub Jelinek  <jakub@redhat.com>
27065         [BZ #17266]
27066         * libio/stdio.h: Check definition of __fortify_function
27067         instead of __extern_always_inline to include bits/stdio2.h.
27068         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
27069         check if __extern_always_inline is defined.
27070         [__USE_MISC || __USE_XOPEN]: Likewise.
27071         [__USE_ISOC99] Likewise.
27072         * misc/sys/cdefs.h (__fortify_function): Define only if
27073         __extern_always_inline is defined.
27074         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
27075         __extern_always_inline and __extern_inline only for g++-4.3
27076         and newer or a compatible gcc.
27078 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
27080         [BZ #17371]
27081         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27082         last change to handle zero prefix length.
27084 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27086         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
27087         _SC_REGEX_VERSION.
27089         * posix/getconf.c (vars): Add _POSIX_IPV6 and
27090         _POSIX_RAW_SOCKETS.
27092 2014-09-13  Allan McRae  <allan@archlinux.org>
27094         * po/ru.po: Update Russian translation from translation project.
27096 2014-09-12  Roland McGrath  <roland@hack.frob.com>
27098         * locale/programs/locale.c (show_locale_vars): Inline local function
27099         into its sole call site.  Clean up some style nits.
27100         (print_item): New function, broken out of ...
27101         (show_info): ... local function here.  Clean up style nits.
27103         * locale/programs/ld-ctype.c (set_one_default): New function, broken
27104         out of ...
27105         (set_class_defaults): ... local function set_default here.
27106         Define set_default as a macro locally to pass constant parameters.
27107         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
27108         rather than a shared local.
27110         * stdlib/rpmatch.c (try): New function, broken out of ...
27111         (rpmatch): ... local function here.  Also, prototypify definition.
27113 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
27115         * scripts/soversions.awk: Do not handle configuration names.
27116         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
27117         vendor and os variables to soversions.awk.
27118         * configure.ac: Do not modify gnu-* host_os.
27119         * configure: Regenerated
27120         * shlib-versions: Remove first column with configuration names.
27121         * nptl/shlib-versions: Likewise.
27122         * nptl_db/shlib-versions: Likewise.
27123         * sysdeps/hppa/shlib-versions: Likewise.
27124         * sysdeps/m68k/shlib-versions: Likewise.
27125         * sysdeps/mach/hurd/shlib-versions: Likewise.
27126         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
27127         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
27128         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
27129         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
27130         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
27131         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
27132         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
27133         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
27134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27135         Likewise.
27136         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27137         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27138         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27139         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27140         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27141         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
27142         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27143         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27146         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
27147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
27148         Regenerated.
27149         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
27150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27151         Condition symbol version definitions on [HAVE_ELFV2_ABI].
27153         * shlib-versions: Remove OS-specific entries.  Moved to files in
27154         sysdeps.
27155         * sysdeps/mach/hurd/shlib-versions: New file.
27156         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27158         * nptl/shlib-versions: Remove architecture-specific entries.
27159         Moved to files in sysdeps.
27160         * shlib-versions: Likewise.
27161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
27162         file.
27163         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27164         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27165         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27166         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27168         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
27169         (UDP_NO_CHECK6_RX): Likewise.
27171 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27173         * sysdeps/posix/sysconf.c (__sysconf): Spell
27174         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
27176 2014-08-12  Florian Weimer  <fweimer@redhat.com>
27178         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
27179         loading.
27180         * iconv/Versions (__gconv_transliterate): Export for use from
27181         gconv modules.
27182         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
27183         (struct __gconv_trans_data, __gconv_trans_fct,
27184         __gconv_trans_context_fct, __gconv_trans_query_fct,
27185         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
27186         definitions.
27187         (struct __gconv_step_data): Remove __trans member.
27188         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
27189         longer hidden.  Remove unused trans_data argument.
27190         * iconv/gconv_int.h (struct trans_struct): Remove definition.
27191         (__gconv_translit_find): Remove declaration.
27192         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
27193         prototype.
27194         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
27195         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
27196         trans_data argument.  Add hidden definition.
27197         (__gconv_translit_find): Remove.
27198         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
27199         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
27200         * iconv/skeleton.c: Remove transliteration initialization.
27201         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
27202         __gconv_step_data initialization.
27203         * libio/iofwide.c (__libio_translit_): Remove.
27204         (_IO_fwide): Adjust struct __gconv_step_data initialization.
27205         * wcsmbs/btowc.c (__btowc): Likewise.
27206         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27207         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27208         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27209         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27210         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
27211         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27212         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27213         * wcsmbs/wctob.c (wctob): Likewise.
27215 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27217         [BZ #16194]
27218         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
27219         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
27220         register usage.
27221         * sysdeps/x86/Makefile: Adjust.
27223 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27224             Roland McGrath  <roland@hack.frob.com>
27226         * locale/weight.h: Add include guard.
27227         (findidx): Make static rather than auto; take new parameters
27228         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
27229         * locale/weightwc.h: Likewise.
27230         * posix/fnmatch_loop.c
27231         (FCT): Change type of EXTRA from int32_t to wint_t.
27232         Don't include either header inside the function.
27233         Call FINDIDX rather than findidx, and pass new arguments.
27234         #undef FINDIDX at the end of the file.
27235         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
27236         FINDIDX before including fnmatch_loop.c for the non-wide version.
27237         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
27238         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
27239         for the wide version.
27240         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
27241         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
27242         Pass new arguments to findidx.
27243         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
27244         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
27245         Don't #include it inside the function.  Pass new arguments to findidx.
27246         * posix/regex_internal.h
27247         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
27248         (re_string_elem_size_at): Don't #include it inside the function.
27249         Pass new arguments to findidx.
27250         * string/strcoll_l.c: #include WEIGHT_H at top level.
27251         (get_next_seq): Don't #include it inside the function.
27252         Pass new arguments to findidx.
27253         (get_next_seq_nocache): Likewise.
27254         * string/strxfrm_l.c: #include WEIGHT_H at top level.
27255         (STRXFRM): Don't #include it inside the function.
27256         Pass new arguments to findidx.
27258 2014-09-11  Florian Weimer  <fweimer@redhat.com>
27260         [BZ #17344]
27261         * malloc/malloc.c (unlink): Turn asserts into a call to
27262         malloc_printerr.
27264 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
27266         [BZ #17370]
27267         * libio/wfileops (do_ftell_wide): Free OUT.
27269 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
27271         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
27273 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27275         [BZ #17363]
27276         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
27277         group if the current group is empty.
27279 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27281         * benchtests/bench-memset.c (test_main): Add more test from size
27282         from 32 to 512 bytes.
27283         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27284         Add POWER8 memset object.
27285         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27286         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
27287         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
27288         implementation.
27289         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
27290         Likewise.
27291         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
27292         multiarch POWER8 memset optimization.
27293         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
27294         POWER8 memset optimization.
27296         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27297         Remove bzero multiarch objects.
27298         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
27299         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
27300         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
27301         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
27302         Remove define.
27303         [__bzero]: Redefine to specific name.
27304         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27305         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27306         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
27307         define.
27308         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27309         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27311 2014-09-10  Florian Weimer  <fweimer@redhat.com>
27313         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
27314         warnings into errors.
27316         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
27317         __cxa_thread_atexit_impl prototype.
27319 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27321         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
27322         Fix capitalization of error message.
27324 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27326         * sysdeps/mips/preconfigure: Modify ABI tests.
27328 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
27330         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
27332 2014-09-07  Roland McGrath  <roland@hack.frob.com>
27333             Carlos O'Donell  <carlos@systemhalted.org>
27335         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
27336         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
27337         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
27338         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
27339         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
27340         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
27341         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
27342         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
27343         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
27344         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
27345         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
27346         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
27347         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
27348         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
27349         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
27350         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
27351         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
27352         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
27353         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
27354         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
27355         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
27356         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
27357         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
27358         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
27359         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
27360         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
27361         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
27362         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
27363         Deconditionalize the code that was previously under [RESET_PID].
27364         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
27365         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
27366         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
27367         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
27368         include sysdep.h.
27370 2014-09-08  Allan McRae  <allan@archlinux.org>
27372         * version.h (RELEASE): Set to "development".
27373         (VERSION): Set to "2.20.90"
27375 2014-09-07  Allan McRae  <allan@archlinux.org
27377         * version.h (RELEASE): Set to "stable".
27378         (VERSION): Set to "2.20"
27379         * include/features.h (__GLIBC_MINOR__): Set to 20.
27381         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
27382         Liebler.
27384         * po/ko.po: Update Korean translation from translation project.
27386 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
27388         [BZ #17354]
27389         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
27390         macro for handling signed relocations.
27392 2014-09-03  Florian Weimer  <fweimer@redhat.com>
27394         [BZ #17325]
27395         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
27396         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
27397         assert.
27398         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
27399         * iconvdata/ibm935.c (BODY): Likewise.
27400         * iconvdata/ibm937.c (BODY): Likewise.
27401         * iconvdata/ibm939.c (BODY): Likewise.
27402         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
27403         assert.
27404         * iconvdata/Makefile (iconv-test.out): Pass module list to test
27405         script.
27406         * iconvdata/run-iconv-test.sh: New test loop for checking for
27407         decoder crashers.
27409 2014-09-02  Khem Raj  <raj.khem@gmail.com>
27411         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
27412         libm_hidden_ver.
27414 2014-09-01  Allan McRae  <allan@archlinux.org>
27416         * po/eo.po: Update Esperanto translation from translation project.
27418         * po/ca.po: Update Catalan translation from translation project.
27420 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27422         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
27423         __proc_dostop call.
27425 2014-08-27  Mark Wielaard  <mjw@redhat.com>
27427         [BZ #17319]
27428         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
27429         to call set_thread_area instead of hand written asm.
27430         (__NR_set_thread_area): Removed define.
27431         (TLS_FLAG_WRITABLE): Likewise.
27432         (__ASSUME_SET_THREAD_AREA): Remove check.
27433         (TLS_EBX_ARG): Remove define.
27434         (TLS_LOAD_EBX): Likewise.
27436 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27438         Simplify atomicity of socket creation in bind.
27440         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
27441         looking up the name after linking the file.
27443 2014-08-27  Allan McRae  <allan@archlinux.org>
27445         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27447 2014-08-26  Florian Weimer  <fweimer@redhat.com>
27449         [BZ #17187]
27450         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
27451         trans_compare, open_translit, __gconv_translit_find):
27452         Remove module loading code.
27454 2014-08-26  Allan McRae  <allan@archlinux.org>
27456         * po/vi.po: Update Vietnamese translation from translation project.
27458         * po/uk.po: Update Ukrainian translation from translation project.
27460         * po/fr.po: Update French translation from translation project.
27462         * po/ru.po: Update Russian translation from translation project.
27464         * po/pl.po: Update Polish translation from translation project.
27466         * po/cs.po: Update Czech translation from translation project.
27468         * po/de.po: Update German translation from translation project.
27470         * po/bg.po: Update Bulgarian translation from translation project.
27472         * po/sv.po: Update Sweedish translation from translation project.
27474         * po/nl.po: Update Dutch translation from translation project.
27476         * po/es.po: Update Spanish translation from translation project.
27478 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27480         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
27482         * catgets/Makefile (CPPFLAGS-gencat): Remove.
27483         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
27484         (CPPFLAGS-iconvconfig): Likewise.
27485         * timezone/Makefile (CPPFLAGS-zic): Likewise.
27487         * include/libc-symbols.h: Remove unnecessary check for
27488         NOT_IN_libc.
27489         * nptl/pthreadP.h: Likewise.
27490         * sysdeps/aarch64/setjmp.S: Likewise.
27491         * sysdeps/alpha/setjmp.S: Likewise.
27492         * sysdeps/arm/sysdep.h: Likewise.
27493         * sysdeps/i386/setjmp.S: Likewise.
27494         * sysdeps/m68k/setjmp.c: Likewise.
27495         * sysdeps/posix/getcwd.c: Likewise.
27496         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27497         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27498         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27499         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27500         * sysdeps/sh/sh3/setjmp.S: Likewise.
27501         * sysdeps/sh/sh4/setjmp.S: Likewise.
27502         * sysdeps/unix/alpha/sysdep.h: Likewise.
27503         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27504         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27505         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27506         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27509         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27510         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27511         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27512         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27513         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27514         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27515         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27516         * sysdeps/x86_64/setjmp.S: Likewise.
27518 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
27520         [BZ #17263]
27521         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
27522         <stdint.h>.
27523         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
27524         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
27526 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27528         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
27530         [BZ #17262]
27531         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
27532         and __x86_64__ when disabling x87 inline functions.
27534 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
27536         [BZ #17259]
27537         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
27538         asm statement with __cpuid_count.
27540 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
27542         * configure.ac: Change __ehdr_start code to dereference the struct.
27543         Run readelf on the output to look for relocations.
27544         * configure: Regenerated.
27546 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
27548         [BZ #17261]
27549         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
27550         value to 0.
27551         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
27553 2014-08-12  Roland McGrath  <roland@hack.frob.com>
27555         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
27557 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
27559         [BZ #16892]
27560         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
27561         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
27563 2014-08-12  Sean Anderson  <seanga2@gmail.com>
27565         * malloc/malloc.c: Fix typo in comment.
27567 2014-08-09  Allan McRae  <allan@archlinux.org>
27569         * Regenerate libc.po.
27571 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
27573         * intl/tst-gettext2.sh: Check every lang file for creation.
27575 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
27577         * sysdeps/aarch64/fpu/math_private.h
27578         (libc_feholdsetround_noex_aarch64_ctx): New function.
27580 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
27582         * sysdeps/arm/armv6/strcpy.S (strcpy):
27583         Fix performance issue in misaligned cases.
27585 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27587         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
27588         Move definition from termios.h.
27589         (struct termio): Likewise.
27590         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27591         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27592         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27593         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27594         Likewise.
27595         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
27596         Move definition to ioctl-types.h
27597         (struct termio): Likewise.
27598         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27599         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27600         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27601         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27602         Likewise.
27604 2014-08-05  Richard Henderson  <rth@redhat.com>
27606         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
27607         exceptions.
27608         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
27609         Add fraiseexcpt.
27610         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
27611         Use __feraiseexcept.
27612         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
27613         Protect libm symbols with IS_IN_libm.
27615         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
27617 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
27619         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
27621 2014-08-04  Will Newton  <will.newton@linaro.org>
27623         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
27624         file.
27626 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
27628         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
27629         variants for each function.
27631 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27633         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
27634         appended ...
27635         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
27636         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
27637         appended ...
27638         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
27639         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
27640         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
27641         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
27642         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
27643         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
27644         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
27645         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
27646         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
27647         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
27648         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
27649         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
27650         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
27651         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
27652         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
27653         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
27654         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
27655         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
27656         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
27657         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
27658         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
27659         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
27660         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
27661         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
27662         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
27663         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
27664         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
27665         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
27666         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
27667         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
27668         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
27669         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
27670         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
27671         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
27672         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
27673         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
27674         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
27675         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
27676         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
27677         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
27678         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
27679         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
27680         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
27681         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
27682         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
27683         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
27684         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
27685         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
27686         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
27687         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
27688         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
27689         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
27690         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
27691         Update #include.
27692         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
27693         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
27695 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27697         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
27698         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
27699         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
27700         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
27701         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
27702         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
27704 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27706         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
27707         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
27708         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27709         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
27711 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27713         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
27714         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
27715         (__libc_vfork): Define function under this name.
27716         (__vfork): Define as an alias.
27717         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
27718         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
27720 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27722         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
27723         that was previously under [RESET_PID].
27724         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
27726 2014-08-04  Andreas Schwab  <schwab@suse.de>
27728         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
27730 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
27732         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
27733         (main): Likewise.
27735 2014-08-01  Roland McGrath  <roland@hack.frob.com>
27737         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
27739 2014-08-01  Richard Henderon  <rth@redhat.com>
27741         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
27742         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
27743         typo in exact zero test.
27744         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27745         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27746         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27748 2014-08-01  Roland McGrath  <roland@hack.frob.com>
27750         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
27751         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
27752         * sysdeps/arm/sysdep.h: ... here.
27753         [!__ASSEMBLER__]: Include <stdint.h>.
27755 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27757         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
27758         (HAVE_WCTYPE_H): Likewise.
27759         (HAVE_ISWCTYPE): Likewise.
27760         (ENABLE_NLS): Likewise.
27761         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
27762         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
27764         * posix/regex_internal.c: Check if DEBUG is defined and is
27765         set.
27767         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
27768         (HAVE_MBSRTOWCS): Likewise.
27769         * posix/fnmatch.c: Include string.h unconditionally.
27771 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
27773         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
27774         reversal.
27776 2014-07-31  Roland McGrath  <roland@hack.frob.com>
27778         * sysdeps/generic/safe-fatal.h: New file.
27779         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
27780         * nptl/forward.c: Include it.
27781         (__pthread_unwind): Use __safe_fatal as default action, rather
27782         than a bogus use of INTERNAL_SYSCALL that could never work.
27784         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
27785         * configure.ac (libc_cv_builtin_trap): New test.
27786         * configure: Regenerated.
27787         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
27788         (ABORT_INSTRUCTION): Define using __builtin_trap.
27790         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
27791         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
27792         * sysdeps/nptl/nptl-signals.h: New file.
27793         * nptl/pthreadP.h: Include <nptl-signals.h>.
27795 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
27797         * sysdeps/s390/s390-64/utf16-utf32-z9.c
27798         (ONE_DIRECTION): Define.
27799         * sysdeps/s390/s390-64/utf8-utf16-z9.c
27800         (ONE_DIRECTION): Define.
27801         * sysdeps/s390/s390-64/utf8-utf32-z9.c
27802         (ONE_DIRECTION): Define.
27804 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
27806         * sysdeps/s390/Makefile: Delete file.
27807         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
27808         * sysdeps/s390/__longjmp.c: Delete file.
27809         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
27810         Remove fields __flags and __reserved.
27811         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
27812         and add versioning.
27813         * sysdeps/s390/rtld-__longjmp.c: Delete file.
27814         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
27815         * sysdeps/s390/rtld-setjmp.S: Likewise.
27816         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
27817         * sysdeps/s390/s390-32/__longjmp.c: ... here.
27818         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
27819         * sysdeps/s390/s390-32/setjmp.S: ... here.
27820         Add versioning.
27821         (__sigsetjmp): Remove setting __flags field.
27822         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
27823         * sysdeps/s390/s390-64/__longjmp.c: ... here.
27824         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
27825         * sysdeps/s390/s390-64/setjmp.S: ... here.
27826         Add versioning.
27827         (__sigsetjmp): Remove setting __flags field.
27828         * sysdeps/s390/setjmp.S: Delete file.
27829         * sysdeps/s390/sigjmp.c: Likewise.
27830         * sysdeps/s390/v1-longjmp.c: Likewise.
27831         * sysdeps/s390/v1-setjmp.h: Likewise.
27832         * sysdeps/s390/v1-sigjmp.c: Likewise.
27833         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
27834         Remove v1-longjmp_chk.
27835         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
27836         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
27837         Include debug/longjmp_chk.c and add versioning.
27838         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
27839         Include nptl/pt-longjmp.c and add versioning.
27840         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
27841         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
27842         Include __longjmp.c.
27843         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27844         Move to ...
27845         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
27846         (__getcontext): Remove setting __flags field.
27847         Add versioning.
27848         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27849         Don't restore upper high grps.
27850         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
27851         Likewise.
27852         (__swapcontext): Remove setting uc_flags field.
27853         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
27854         Delete file.
27855         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27856         Include __longjmp.c.
27857         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27858         Move to ...
27859         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
27860         (__getcontext): Remove setting __flags field.
27861         Add versioning.
27862         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
27863         (__swapcontext): Remove setting uc_flags field.
27864         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
27865         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
27866         Remove fields uc_high_gprs and __reserved.
27867         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
27868         New file with reverted content.
27869         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
27870         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
27871         Regenerated.
27872         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
27873         Regenerated.
27875 2014-07-31  Andreas Schwab  <schwab@suse.de>
27877         * config.h.in (HAVE_IFUNC): Define to 0.
27878         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
27879         definedness.
27881 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
27883         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27884         memmove-avx-unaligned, memcpy-avx-unaligned and
27885         mempcpy-avx-unaligned.
27886         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27887         Add tests for AVX memcpy functions.
27888         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
27889         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
27890         memcpy_chk.
27891         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
27892         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
27893         memmove_chk.
27894         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
27895         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
27896         mempcpy_chk.
27897         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
27898         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
27899         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
27901 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27903         [BZ #17213]
27904         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
27905         powerpc64le.
27907 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
27909         [BZ #16839]
27910         * manual/llio.texi: Add section about open file description locks.
27911         * manual/examples/ofdlocks.c: Example of open file description
27912         lock usage.
27913         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
27914         F_OFD_SETLK, and F_OFD_SETLKW.
27916 2014-07-23  Allan McRae  <allan@archlinux.org>
27918         * po/es.po: Update Spanish translation from translation project.
27920 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
27922         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
27924 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
27926         [BZ #17078]
27927         * sysdeps/arm/dl-machine.h (elf_machine_rela)
27928         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
27929         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
27931 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
27933         [BZ #17088]
27934         * math/fesetenv.c (__fesetenv)
27935         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
27936         * math/feupdateenv.c (__feupdateenv)
27937         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
27939         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
27940         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
27941         (__ASSUME_SOCKETCALL): Do not define.
27943         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
27944         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
27945         (__ASSUME_SOCKETCALL): Do not define.
27946         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
27947         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
27948         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27949         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
27950         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27951         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
27952         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27953         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27955         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
27956         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
27957         (__ASSUME_SOCKETCALL): Do not define.
27958         (__ASSUME_IPC64): Define unconditionally.
27959         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
27960         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27961         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
27962         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27963         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
27964         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27965         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
27966         Likewise.
27968         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
27969         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
27970         (__ASSUME_SOCKETCALL): Do not define.
27971         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
27972         (__ASSUME_FUTEX_LOCK_PI): Likewise.
27973         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27974         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
27975         (__ASSUME_REQUEUE_PI): Define unconditionally.
27976         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
27977         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
27978         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27979         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
27980         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27981         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27983         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
27984         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
27985         (__ASSUME_SOCKETCALL): Do not define.
27986         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
27987         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27988         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27989         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
27990         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27991         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27993         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
27994         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
27995         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27996         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
27997         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27998         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
27999         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28000         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
28001         (__ASSUME_GETCPU_SYSCALL): Likewise.
28003         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
28004         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
28005         cases for individual architectures.
28006         * sysdeps/gnu/configure: Regenerated.
28007         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
28008         LIBC_SLIBDIR_RTLDDIR.
28009         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
28010         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
28011         LIBC_SLIBDIR_RTLDDIR.
28012         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
28013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
28014         LIBC_SLIBDIR_RTLDDIR.
28015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28016         Regenerated.
28017         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
28018         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
28019         file.
28020         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
28021         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
28022         file.
28023         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
28024         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
28025         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
28026         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
28028         * sysdeps/aarch64/shlib-versions: Move to ...
28029         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
28030         * sysdeps/alpha/shlib-versions: Move to ...
28031         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
28032         * sysdeps/arm/shlib-versions: Move to ...
28033         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
28034         * sysdeps/hppa/shlib-versions: Move all contents except for
28035         libgcc_s entry to ...
28036         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
28037         entry from ...
28038         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
28039         * sysdeps/ia64/shlib-versions: Move to ...
28040         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
28041         entry from ...
28042         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
28043         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
28044         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
28045         * sysdeps/microblaze/shlib-versions: Move to ...
28046         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
28047         * sysdeps/mips/shlib-versions: Move to ...
28048         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
28049         entry from ...
28050         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
28051         * sysdeps/tile/shlib-versions: Move to ...
28052         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
28053         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
28054         from ...
28055         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
28056         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
28057         entry from ...
28058         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
28060 2014-07-17  Will Newton  <will.newton@linaro.org>
28062         * sysdeps/arm/bits/atomic.h
28063         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
28064         (__arch_compare_and_exchange_bool_16_int): Likewise.
28065         (__arch_compare_and_exchange_bool_64_int): Likewise.
28067         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
28068         into an #else block.
28070 2014-07-16  Roland McGrath  <roland@hack.frob.com>
28072         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
28073         just Linux configurations.  Test empirically that the compiler sets
28074         __ARM_EABI__, rather than using the tuple to decide.
28075         * sysdeps/arm/preconfigure: Regenerated.
28076         * sysdeps/unix/sysv/linux/arm/configure: File removed.
28077         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
28078         contents appended ...
28079         * sysdeps/arm/configure.ac: ... here.
28080         * sysdeps/arm/configure: Regenerated.
28082 2014-07-15  Roland McGrath  <roland@hack.frob.com>
28084         * nptl/pthread_kill.c: New file.
28085         * nptl/pthread_sigmask.c: New file.
28086         * nptl/pthread_sigqueue.c: New file.
28088         * sysdeps/nptl/lowlevellock.h: New file.
28089         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
28090         * sysdeps/nptl/lowlevellock-futex.h: New file.
28092         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
28093         Remove dead declarations.
28095 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
28097         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
28098         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
28099         config-cflags-avx2.
28100         * sysdeps/x86_64/configure.ac: Likewise.
28101         * sysdeps/i386/configure: Regenerated.
28102         * sysdeps/x86_64/configure: Likewise.
28103         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28104         memset-avx2 only if config-cflags-avx2 is yes.
28105         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28106         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
28107         defined.
28108         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
28109         only if HAVE_AVX2_SUPPORT is defined.
28110         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28112 2014-07-14  Alan Modra  <amodra@gmail.com>
28114         [BZ #17153]
28115         * elf/elf.h (DT_PPC64_NUM): Correct value.
28116         * NEWS: Add to fixed bug list.
28118 2014-07-13  Jim Meyering  <meyering@fb.com>
28120         [BZ 17150]
28121         regex: don't deref NULL upon heap allocation failure
28122         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
28123         failure in one more place.
28124         To trigger the segfault, configure grep -with-included-regex,
28125         build it, and run these commands:
28126         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
28128 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
28130         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28132 2014-07-11  Richard Henderson  <rth@redhat.com>
28134         * sysdeps/aarch64/libm-test-ulps: Update.
28136 2014-07-10  Florian Weimer  <fweimer@redhat.com>
28138         [BZ #17135]
28139         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
28140         * nptl/allocatestack.c (__nptl_setxid_error): New function.
28141         (__nptl_setxid): Initialize error member.  Call
28142         __nptl_setxid_error.
28143         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
28144         * nptl/descr.h (struct xid_command): Add error member.
28145         * nptl/tst-setuid3.c: New file.
28146         * nptl/Makefile (tests): Add it.
28148 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28150         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
28151         New define.
28152         (__lll_trylock): Use __lll_base_trylock.
28153         (__lll_cond_trylock): Likewise.
28155 2014-07-10  Roland McGrath  <roland@hack.frob.com>
28157         * nptl/pthread_create.c (start_thread): Use atomic_or and
28158         lll_futex_wake directly rather than lll_robust_dead.
28159         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28160         (lll_robust_dead): Macro removed.
28161         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
28162         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28163         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28164         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28165         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28166         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28167         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28168         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28169         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28170         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28171         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28172         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28173         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28174         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28175         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28177         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
28178         Use atomic_compare_and_exchange_val_acq directly rather than
28179         lll_robust_trylock.
28180         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28181         (__lll_robust_trylock, lll_robust_trylock): Removed.
28182         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28183         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28184         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28185         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28186         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28187         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28188         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28189         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28190         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28191         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28192         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28193         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28194         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28195         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28197 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28199         * manual/locale.texi (Locale Names): New section documenting
28200         locale name syntax.  Adjust menu and node chaining accordingly.
28201         (Choosing Locale): Reference Locale Names, Locale Categories.
28202         Mention setting LC_ALL=C.  Reflect that name syntax is now
28203         documented.
28204         (Locale Categories): New section title.  Reference Locale Names.
28205         LC_ALL is an environment variable, but not a category.
28206         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
28207         description, now in Locale Name.  Reference that section.  Locale
28208         name syntax is now documented.
28210 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28212         [BZ #17137]
28213         * locale/findlocale.c (name_present, valid_locale_name): New
28214         functions.
28215         (_nl_find_locale): Use the loc_name variable to store name
28216         candidates.  Call name_present and valid_locale_name to check and
28217         validate locale names.  Return an error if the locale is invalid.
28219 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28221         * locale/setlocale.c (setlocale): Use strdup for allocating
28222         composite name copy.
28224 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28226         Sync up with gnulib.
28227         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
28228         [!_LIBC && ENABLE_NLS]: Include gettext.h.
28229         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
28230         and _GL_ARG_NONNULL.
28231         [USE_UNLOCKED_IO]: Include unlocked-io.h.
28232         [!_LIBC]: Include code for Windows and Cygwin.
28233         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
28234         Include prototype for int strerror_r.
28235         [!_LIBC] (is_open): New function.
28236         (flush_stdout): New function.
28237         (print_errno_message): Use it.
28238         (error): Likewise.
28239         (error_at_line): Likewise.
28240         (error_tail) Add function attribute macros.  Use
28241         __builtin_expect.
28243         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
28245         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
28247         * io/ftw.c: Include sys/param.h unconditionally.
28249         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
28251         [BZ #17125]
28252         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
28253         libc_freeres_ptr.
28254         (freecache): New function to free CACHE on exit.
28256         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
28257         initialization.
28259 2014-07-09  David S. Miller  <davem@davemloft.net>
28261         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28263         * sysdeps/sparc/nptl/internaltypes.h: Delete.
28264         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
28265         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
28266         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
28267         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
28268         * sysdeps/sparc/nptl/sem_init.c: Likewise.
28269         * sysdeps/sparc/nptl/sem_post.c: Likewise.
28270         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
28271         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
28272         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
28273         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
28274         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
28275         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
28277 2014-07-09  Andreas Schwab  <schwab@suse.de>
28279         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
28280         output.
28281         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
28282         (do_test): Likewise.
28284         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28286 2014-07-09  Will Newton  <will.newton@linaro.org>
28288         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
28289         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
28290         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28291         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28292         * sysdeps/hppa/start.S (_start): Likewise.
28294 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
28296         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
28298         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
28299         defined.
28301 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28303         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
28304         after checking that it is non-NULL.
28306         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
28308 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28310         * sysdeps/powerpc/memmove.c: Remove file.
28311         * sysdeps/powerpc/powerpc32/power4/memcopy.h
28312         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
28313         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
28314         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
28315         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
28316         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
28317         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
28318         string memmove instead of removed powerpc one.
28320         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28321         [weak_alias]: Fix compiler warning due trailing data.
28322         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
28323         [weak_alias]: Likewise.
28324         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
28325         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
28327         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28328         (__libc_ifunc_impl_list): Add memmove functions.
28330 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28332         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
28333         Remove code.
28334         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
28335         Likewise.
28336         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
28337         Likewise.
28338         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
28339         Likewise.
28340         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
28341         Likewise.
28342         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
28343         Likewise.
28344         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
28345         Likewise.
28346         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
28347         Likewise.
28348         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
28349         Likewise.
28350         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
28351         Likewise.
28352         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
28353         Likewise.
28354         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
28355         Likewise.
28356         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
28357         Likewise.
28358         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
28359         Likewise.
28360         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
28361         Likewise.
28362         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
28363         Likewise.
28364         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
28365         Likewise.
28367 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28369         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
28370         to avoid alignment traps in non-cacheable memory.
28371         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28373         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
28374         multiarch objects.
28375         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
28376         file: multiarch power7 memmove.
28377         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
28378         multiarch default memmove.
28379         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
28380         multiarch memove for powerpc32/power4.
28382         * string/bcopy.c: Use full path to include memmove.c.
28383         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
28384         multiarch objects.
28385         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
28386         bcopy for powerpc64.
28387         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
28388         bcopy for powerpc64.
28389         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
28390         and memmove implementations.
28391         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
28392         optimized multiarch memmove for POWER7/powerpc64.
28393         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
28394         default multiarch memmove for powerpc64.
28395         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
28396         multiarch for powerpc64.
28397         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
28398         for POWER7/powerpc64.
28399         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
28400         memmove for POWER7/powerpc64.
28402         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
28403         glibc default one.
28405         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
28406         __ELF_NATIVE_CLASS equal to 64.
28408 2014-07-07  Roland McGrath  <roland@hack.frob.com>
28410         * sysdeps/nptl/lowlevellock.h: File removed.
28412         * NEWS: NPTL is no longer an add-on!
28413         * nptl/internaltypes.h: Moved ...
28414         * sysdeps/nptl/internaltypes.h: ... here.
28415         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
28416         * sysdeps/nptl/fork.c: Likewise.
28417         * sysdeps/nptl/gai_misc.h: Likewise.
28418         * sysdeps/nptl/librt-cancellation.c: Likewise.
28419         * sysdeps/nptl/jmp-unwind.c: Likewise.
28420         * sysdeps/nptl/setxid.h: Likewise.
28421         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
28422         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
28423         * sysdeps/unix/sysv/linux/arm/Implies: New file.
28424         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
28425         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
28426         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
28427         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
28428         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
28429         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
28430         * sysdeps/unix/sysv/linux/mips/Implies: New file.
28431         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
28432         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
28433         * sysdeps/unix/sysv/linux/sh/Implies: New file.
28434         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
28435         * sysdeps/unix/sysv/linux/tile/Implies: New file.
28436         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
28437         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
28438         * nptl/Makeconfig: Moved ...
28439         * sysdeps/nptl/Makeconfig: ... here.
28440         * nptl/configure: File removed.
28441         * nptl/ANNOUNCE: File removed.
28442         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
28443         * sysdeps/unix/sysv/linux/configure: Regenerated.
28445         * nptl/Makefile (routines): Add libc_pthread_init,
28446         libc_multiple_threads, register-atfork and unregister-atfork.
28447         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
28448         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
28449         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
28450         pthread-pi-defines.sym, structsem.sym.
28451         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
28452         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
28453         [$(subdir) = nptl] (tests): Add tst-setgetname.
28454         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
28455         * sysdeps/unix/sysv/linux/sigaction.c: Just include
28456         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
28457         [!LIBC_SIGACTION]: Remove aliases.
28458         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
28459         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
28460         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28461         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
28462         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28463         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
28464         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28465         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28466         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28467         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
28468         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
28469         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
28470         __libc_allocate_rtsig_private.
28471         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
28472         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
28473         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
28474         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
28475         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
28476         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
28477         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
28478         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
28479         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
28480         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
28481         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
28482         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
28483         * nptl/internaltypes.h: ... here.
28484         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
28485         * sysdeps/nptl/jmp-unwind.c: ... here.
28486         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
28487         * nptl/libc-lowlevellock.c: ... here.
28488         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
28489         * nptl/libc_multiple_threads.c: ... here.
28490         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
28491         * nptl/libc_pthread_init.c: ... here.
28492         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
28493         * nptl/lowlevelbarrier.sym: ... here.
28494         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
28495         * nptl/lowlevelcond.sym: ... here.
28496         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
28497         * nptl/lowlevellock.c: ... here.
28498         * nptl/lowlevellock.h: Moved ...
28499         * sysdeps/nptl/lowlevellock.h: ... here.
28500         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
28501         * nptl/lowlevelrobustlock.c: ... here.
28502         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
28503         * nptl/lowlevelrobustlock.sym: ... here.
28504         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
28505         * nptl/lowlevelrwlock.sym: ... here.
28506         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
28507         * nptl/pt-fork.c: ... here.
28508         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
28509         * nptl/pthread-pi-defines.sym: ... here.
28510         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
28511         * nptl/pthread_attr_getaffinity.c: ... here.
28512         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
28513         * nptl/pthread_attr_setaffinity.c: ... here.
28514         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
28515         * nptl/pthread_mutex_cond_lock.c: ... here.
28516         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
28517         Update #include.
28518         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
28519         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
28520         * nptl/pthread_once.c: ... here, replacing old file.
28521         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
28522         * nptl/pthread_yield.c: ... here.
28523         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
28524         * nptl/register-atfork.c: ... here.
28525         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
28526         * nptl/sem_post.c: ... here.
28527         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
28528         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
28529         * nptl/sem_timedwait.c: ... here.
28530         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
28531         * nptl/sem_trywait.c: ... here.
28532         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
28533         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
28534         * nptl/sem_wait.c: ... here.
28535         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
28536         * nptl/structsem.sym: ... here.
28537         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
28538         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
28539         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
28540         * nptl/unregister-atfork.c: ... here.
28541         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
28542         * nptl/unwindbuf.sym: ... here.
28543         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
28544         * sysdeps/nptl/fork.c: ... here.
28545         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
28546         * sysdeps/nptl/fork.h: ... here.
28547         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
28548         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
28549         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
28550         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
28551         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
28552         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
28553         * sysdeps/unix/sysv/linux/getpid.c: ... here.
28554         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
28555         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
28556         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
28557         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
28558         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
28559         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
28560         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
28561         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
28562         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
28563         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
28564         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
28565         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
28566         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
28567         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
28568         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
28569         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
28570         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
28571         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
28572         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
28573         * sysdeps/unix/sysv/linux/raise.c: ... here.
28574         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
28575         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
28576         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
28577         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
28578         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
28579         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
28580         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
28581         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
28582         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
28583         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
28584         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
28585         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
28586         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
28587         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
28588         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
28590 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28592         * sysdeps/generic/memcopy.h: Add comment for
28593         MEMCPY_OK_FOR_FWD_MEMMOVE.
28595 2014-07-04  Will Newton  <will.newton@linaro.org>
28597         * string/memchr.c: Merge from gnulib.
28598         [_LIBC]: Remove conditionals.
28599         (__ptr_t): Remove define.
28600         (LONG_MAX_32_BITS): Likewise.
28601         (LONG_MAX): Likewise.
28602         (MEMCHR): Use ANSI prototype and optimize algorithm.
28604         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
28606 2014-07-03  Roland McGrath  <roland@hack.frob.com>
28608         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
28609         (lll_futex_timed_wait_bitset): Fix syscall argument count.
28611         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
28612         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
28613         in a bare environment with no <stdlib.h> installed.
28614         * sysdeps/nptl/configure: Regenerated.
28616         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
28618         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
28619         AC_EGREP_CPP for kernel header checks, so they only succeed if
28620         including <linux/version.h> actually works right.
28621         * sysdeps/unix/sysv/linux/configure: Regenerated.
28623         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
28624         value so it's not diagnosed as unused.
28626         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
28627         thing) with "ifeq ($(subdir),rt)".
28629 2014-07-03  Richard Henderson  <rth@redhat.com>
28631         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
28632         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
28633         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
28635         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
28636         (math_force_eval): New.
28638         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
28639         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
28641         * sysdeps/alpha/fpu/s_round.c: Remove file.
28642         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
28644         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
28645         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
28646         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
28647         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
28648         (_dl_start, print_statistics): Likewise.
28649         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
28650         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
28652         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28653         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28654         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28655         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28656         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28657         (HP_SMALL_TIMING_AVAIL): Define.
28658         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28659         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28660         (HP_SMALL_TIMING_AVAIL): Define.
28661         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28662         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28664         * sysdeps/aarch64/hp-timing.h: New file.
28666         * sysdeps/generic/hp-timing.h: Remove dead comment.
28667         * sysdeps/generic/hp-timing-common.h: New file.
28668         * sysdeps/alpha/hp-timing.h: Include it.
28669         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
28670         * sysdeps/i386/i686/hp-timing.h: Likewise.
28671         * sysdeps/ia64/hp-timing.h: Likewise.
28672         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28673         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28674         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28675         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28676         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
28677         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
28678         (hp_timing_t): New.
28680         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
28681         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
28682         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
28683         * elf/rtld.c (_dl_start_final): Likewise.
28684         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
28685         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28686         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28687         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28688         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28689         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28690         (HP_TIMING_DIFF_INIT): Remove.
28691         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28692         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28693         (HP_TIMING_DIFF_INIT): Remove.
28694         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28695         * sysdeps/i386/i686/hp-timing.c: Remove file.
28696         * sysdeps/x86_64/hp-timing.c: Remove file.
28697         * sysdeps/ia64/hp-timing.c: Remove file.
28698         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
28699         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
28700         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
28701         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
28703         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
28704         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
28705         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
28706         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28707         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28708         (HP_TIMING_ACCUM): Remove.
28709         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28710         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
28711         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28713         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
28714         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
28715         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
28716         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
28717         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
28718         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
28719         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
28720         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
28722         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
28724 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
28726         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
28728 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28730         Sync up with gettext.
28731         * intl/loadmsgcat.c: Define O_BINARY if not defined.
28732         [_MSC_VER]: Include malloc.h
28733         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
28734         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
28735         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
28736         TEMP_FAILURE_RETRY.  Cast return of alloca.
28737         [!_LIBC] Call gl_rwlock_init.
28738         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
28740 2014-07-02  Roland McGrath  <roland@hack.frob.com>
28742         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
28743         before checking its value.
28745 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28747         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
28749         * debug/memcpy_chk.c: Don't include pagecopy.h.
28750         * debug/mempcpy_chk.c: Likewise.
28751         * string/memcpy.c: Likewise.
28752         * string/memmove.c: Likewise.
28753         * sysdeps/powerpc/memmove.c: Likewise.
28754         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
28755         definition of PAGE_COPY_FWD_MAYBE here...
28756         * sysdeps/generic/pagecopy.h: ... from here.
28757         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
28759 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28760             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28762         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
28763         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
28764         optimizations.
28765         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28766         (__libc_ifunc_impl_list): Likewise.
28767         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
28768         multiarch strcat for PPC64.
28769         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
28770         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
28772 2014-07-02  Roland McGrath  <roland@hack.frob.com>
28774         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
28776 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28778         * intl/loadmsgcat.c: Remove declaration of
28779         get_sysdep_segment_value.
28780         (get_sysdep_segment_value): Use ISO C style.
28781         (_nl_load_domain): Use ISO C style.  Get rid of redundant
28782         semicolon.  Fix typo and formatting in comment.
28783         (_nl_unload_domain): Use ISO C style.
28785         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
28787 2014-07-02  Will Newton  <will.newton@linaro.org>
28789         * malloc/obstack.c: Merge from gnulib master.
28790         [HAVE_CONFIG_H]: Remove conditional code.
28791         [!_LIBC]: Include config.h.
28792         [!ELIDE_CODE]: Don't include inttypes.h, include
28793         stdint.h unconditionally.
28794         (print_and_abort): Mark as _Noreturn.
28795         (_obstack_allocated_p): Mark as __attribute_pure__.
28796         (obstack_free): Rename to __obstack_free.
28797         [!__attribute__]: Remove conditional code.
28798         * malloc/obstack.h: Merge from gnulib master.
28799         [__cplusplus]: Move conditional down.
28800         [!__attribute_pure__]: Define __attribute_pure__ here
28801         if it is not already defined.
28802         (_obstack_memory_used): Mark as __attribute_pure__.
28803         [!__obstack_free]: Define as obstack_free.
28804         [__GNUC__]: Remove check for ancient NeXT gcc.
28806 2014-07-02  Will Newton  <will.newton@linaro.org>
28807             Paul Eggert  <eggert@cs.ucla.edu>
28809         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
28811 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28813         * resolv/gethnamaddr.c: Add comment warning that the file is
28814         not maintained.
28816 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
28818         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
28819         entries.
28821         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
28822         entry for aio_cancel and aio_cancel64.
28823         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
28824         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
28825         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
28826         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
28827         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
28828         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
28829         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
28830         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
28831         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
28832         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
28833         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
28834         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
28835         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
28837 2014-07-01  Roland McGrath  <roland@hack.frob.com>
28839         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
28840         * nptl/pthread_mutex_lock.c: Likewise.
28841         * nptl/pthread_mutex_timedlock.c: Likewise.
28842         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
28844 2014-07-01  Richard henderson  <rth@redhat.com>
28846         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
28847         (__isnan, __isnanl): Remove.
28848         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
28850         * sysdeps/alpha/fpu/libm-test-ulps: Update.
28852 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
28854         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28856 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28858         * resolv/nss_dns/dns-host.c (getanswer_r)
28859         [MULTI_PTRS_ARE_ALIASES]: Remove code.
28861 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
28863         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28864         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
28865         undefine.
28866         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
28867         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
28869 2014-07-01  Roland McGrath <roland@hack.frob.com>
28871         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
28872         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
28874         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
28875         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
28877         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
28878         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
28879         ... here.
28880         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
28881         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
28883         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
28884         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
28885         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
28886         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
28888         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
28889         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
28890         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
28891         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
28892         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
28893         Moved ...
28894         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
28895         ... here.
28896         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
28897         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
28898         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
28899         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
28900         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
28901         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
28902         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
28903         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
28904         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
28905         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
28906         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
28907         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
28908         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
28909         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
28910         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
28911         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
28912         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
28913         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
28914         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
28915         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
28916         ... here.
28917         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
28918         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
28919         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
28920         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
28921         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
28922         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
28923         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
28924         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
28926 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
28928         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
28929         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
28930         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
28931         Add sysdep.
28933 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28935         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28937 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
28939         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
28940         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28942         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28944         * sysdeps/arm/libm-test-ulps: Regenerated.
28946 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
28947             Roland McGrath <roland@hack.frob.com>
28949         * test-skeleton.c (signal_handler): Kill the whole process group
28950         before killing the child individually.
28951         (main): Report any failure on `setpgid'.
28953 2014-06-30  Roland McGrath  <roland@hack.frob.com>
28955         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
28956         from _TLS_H to _ARM_NPTL_TLS_H.
28957         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
28958         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
28960 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
28962         [BZ #16539]
28963         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
28964         (__expm1l): Return argument unchanged when small but not
28965         subnormal.
28967         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
28968         include macro name.
28969         (_FP_UNPACK_RAW_1_P): Likewise.
28970         (_FP_PACK_RAW_1): Likewise.
28971         (_FP_PACK_RAW_1_P): Likewise.
28972         (_FP_MUL_MEAT_1_wide): Likewise.
28973         (_FP_MUL_MEAT_DW_1_hard): Likewise.
28974         (_FP_MUL_MEAT_1_hard): Likewise.
28975         (_FP_DIV_MEAT_1_imm): Likewise.
28976         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
28977         (_FP_DIV_MEAT_1_udiv): Likewise.
28978         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
28979         (_FP_UNPACK_RAW_2): Likewise.
28980         (_FP_UNPACK_RAW_2_P): Likewise.
28981         (_FP_PACK_RAW_2): Likewise.
28982         (_FP_PACK_RAW_2_P): Likewise.
28983         (_FP_MUL_MEAT_DW_2_wide): Likewise.
28984         (_FP_MUL_MEAT_2_wide): Likewise.
28985         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
28986         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
28987         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
28988         (_FP_MUL_MEAT_2_gmp): Likewise.
28989         (_FP_DIV_MEAT_2_udiv): Likewise.
28990         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
28991         (_FP_FRAC_SRL_4): Likewise.
28992         (_FP_FRAC_SRST_4): Likewise.
28993         (_FP_FRAC_SRS_4): Likewise.
28994         (_FP_UNPACK_RAW_4): Likewise.
28995         (_FP_UNPACK_RAW_4_P): Likewise.
28996         (_FP_PACK_RAW_4): Likewise.
28997         (_FP_PACK_RAW_4_P): Likewise.
28998         (_FP_MUL_MEAT_DW_4_wide): Likewise.
28999         (_FP_MUL_MEAT_4_wide): Likewise.
29000         (_FP_MUL_MEAT_4_gmp): Likewise.
29001         (umul_ppppmnnn): Likewise.
29002         (_FP_DIV_MEAT_4_udiv): Likewise.
29003         (__FP_FRAC_ADD_4): Likewise.
29004         (__FP_FRAC_SUB_3): Likewise.
29005         (__FP_FRAC_SUB_4): Likewise.
29006         (__FP_FRAC_DEC_3): Likewise.
29007         (__FP_FRAC_DEC_4): Likewise.
29008         (__FP_FRAC_ADDI_4): Likewise.
29009         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
29010         (_FP_FRAC_SRL_8): Likewise.
29011         (_FP_FRAC_SRS_8): Likewise.
29013         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
29014         include macro name.
29015         (FP_UNPACK_RAW_EP): Likewise.
29016         (FP_PACK_RAW_E): Likewise.
29017         (FP_PACK_RAW_EP): Likewise.
29018         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
29019         (_FP_ISSIGNAN): Likewise.
29020         (_FP_ADD_INTERNAL): Likewise.
29021         (_FP_FMA): Likewise.
29022         (_FP_CMP): Likewise.
29023         (_FP_SQRT): Likewise.
29024         (_FP_TO_INT): Likewise.
29025         (_FP_FROM_INT): Likewise.
29026         (FP_EXTEND): Likewise.
29027         (_FP_DIV_MEAT_N_loop): Likewise.
29029 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
29031         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
29032         throughout.
29034 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
29036         [BZ #17097]
29037         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
29038         result with correct sign in case of exponents that produce
29039         overflow except for X very close to 1.
29041 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
29043         mktime: merge #if/#ifdef usage from glibc
29044         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
29045         as that works with both Glibc's and Gnulib's style.
29046         See thread starting at Siddhesh Poyarekar's bug report at:
29047         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
29049 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29051         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
29052         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
29053         * sysdeps/tile/tilegx/memmove.c: Remove file.
29055 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
29057         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
29058         abi-name definition.
29059         * scripts/soversions.awk: Do not handle or generate ABI lines.
29060         * shlib-versions: Remove ABI entries.
29061         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
29062         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
29064 2014-06-27  Roland McGrath  <roland@hack.frob.com>
29066         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
29067         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
29068         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
29069         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
29070         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
29071         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
29072         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
29073         Moved ...
29074         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
29075         ... here.
29076         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
29077         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
29078         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
29079         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
29080         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
29081         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
29082         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
29083         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
29084         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
29085         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
29086         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
29087         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
29088         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
29089         Moved ...
29090         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
29091         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
29092         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
29093         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
29094         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
29095         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
29096         Moved ...
29097         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
29098         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
29099         Moved ...
29100         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
29101         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
29102         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
29103         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
29104         Moved ...
29105         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
29106         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
29107         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
29108         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
29109         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
29110         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
29111         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
29112         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
29113         Moved ...
29114         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
29115         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
29116         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
29117         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
29118         Moved ...
29119         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
29120         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
29121         Moved ...
29122         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
29123         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
29124         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
29125         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
29126         Moved ...
29127         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
29128         ... here.
29129         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
29130         Identical file removed.
29131         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
29132         Moved ...
29133         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
29134         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
29135         Identical file removed.
29136         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
29137         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
29138         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
29139         Moved ...
29140         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
29141         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
29142         Identical file removed.
29143         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
29144         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
29145         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
29146         Identical file removed.
29147         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
29148         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
29149         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
29150         Identical file removed.
29151         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
29152         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
29153         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
29154         Identical file removed.
29155         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
29156         Moved ...
29157         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
29158         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
29159         Identical file removed.
29160         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
29161         Moved ...
29162         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
29163         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
29164         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
29165         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
29166         Identical file removed.
29167         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
29168         Moved ...
29169         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
29170         ... here.
29171         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
29172         Identical file removed.
29173         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
29174         Moved ...
29175         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
29176         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
29177         Identical file removed.
29178         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
29179         Moved ...
29180         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
29181         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
29182         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
29183         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
29184         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
29185         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
29186         Moved ...
29187         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
29188         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
29189         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
29191         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
29192         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
29193         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
29194         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
29195         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
29197 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
29199         [BZ #17092]
29200         * nscd/nscd.c (monitor_child): Return exit status of child
29201         instead of return value from wait syscall.
29203 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
29205         * configure.ac (libc_commonpagesize): Remove variable.
29206         (libc_relro_required): Likewise.
29207         (libc_cv_z_relro): Remove configure test.
29208         * configure: Regenerated.
29209         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
29210         variable.
29211         (libc_relro_required): Likewise.
29212         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
29213         (libc_relro_required): Likewise.
29214         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
29215         (libc_relro_required): Likewise.
29216         * sysdeps/arm/preconfigure: Regenerated.
29217         * sysdeps/ia64/preconfigure: Remove file.
29218         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
29219         variable.
29220         (libc_relro_required): Likewise.
29222         [BZ #16561]
29223         [BZ #16562]
29224         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
29225         (__ieee754_yn): Set FE_TONEAREST mode internally and then
29226         recompute overflowing results in original rounding mode.
29227         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
29228         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
29229         recompute overflowing results in original rounding mode.
29230         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
29231         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29232         recompute overflowing results in original rounding mode.
29233         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
29234         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29235         recompute overflowing results in original rounding mode.
29236         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
29237         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29238         recompute overflowing results in original rounding mode.
29239         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
29240         (libc_feholdsetround_ctx): New macro.
29241         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
29242         * sysdeps/i386/fpu/libm-test-ulps: Update.
29243         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
29245 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29247         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
29248         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
29249         corresponding .cpsetup call.
29251 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29253         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
29254         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
29255         * sysdeps/arm/Makefile [$(subdir) = csu]
29256         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
29257         (static-only-routines): Add aeabi_read_tp here.
29258         (shared-only-routines): Add libc-aeabi_read_tp here.
29259         (CFLAGS-libc-start.c): Add -fexceptions here.
29260         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
29261         (sysdep_routines, static-only-routines, shared-only-routines):
29262         Don't add to these here.
29263         (CFLAGS-libc-start.c): Likewise.
29265         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
29266         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29267         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
29268         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29269         * sysdeps/arm/Makefile [$(subdir) = rt]
29270         (librt-sysdep_routines, librt-shared-only-routines):
29271         Append rt-aeabi_unwind_cpp_pr1 here.
29272         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
29273         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
29274         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
29275         (libpthread-sysdep_routines, libpthread-shared-only-routines):
29276         Append nptl-aeabi_unwind_cpp_pr1 here.
29277         (tests): Filter out tst-cleanupx4 here.
29278         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
29279         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
29280         Don't do those here.
29282 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29284         * scripts/list-sources.sh: Do not handle ports specially.
29286 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29288         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
29289         * sysdeps/arm/feupdateenv.c: Likewise.
29291         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
29293 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29295         * manual/texinfo.tex: Update to version 2014-05-05.10 with
29296         trailing whitespace removed.
29297         * scripts/config.guess: Update to version 2014-03-23.
29298         * scripts/config.sub: Update to version 2014-05-01
29299         * scripts/install-sh: Update to version 2013-12-25.23.
29300         * scripts/move-if-change: Update from gnulib.
29302 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29304         * debug/memmove_chk.c: Remove pagecopy.h include.
29306 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
29308         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
29309         identical to gnulib mktime.
29311 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29313         * configure.ac: Do not test for machine being rs6000.  Do not test
29314         for powerpc*-*soft.
29315         * configure: Regenerated.
29317         [BZ #11505]
29318         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
29319         test.
29320         * configure: Regenerated.
29321         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
29322         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
29323         Remove configure test.
29324         * sysdeps/arm/configure: Regenerated.
29325         * sysdeps/nptl/configure.ac: Do not check
29326         libc_cv_asm_cfi_directives.
29327         * sysdeps/nptl/configure: Regenerated.
29328         * sysdeps/x86_64/nptl/configure.ac: Remove file.
29329         * sysdeps/x86_64/nptl/configure: Remove generated file.
29330         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
29331         unconditional.
29332         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
29334 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29336         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
29337         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
29338         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
29339         it is defined.
29341         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
29342         instead of whether it is defined.
29343         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
29344         * sysdeps/hppa/dl-machine.h: Likewise.
29345         * sysdeps/ia64/dl-machine.h: Likewise.
29346         * sysdeps/m68k/dl-machine.h: Likewise.
29347         * sysdeps/microblaze/dl-machine.h: Likewise.
29348         * sysdeps/mips/dl-machine.: Likewise.
29349         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29350         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29351         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29352         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29353         * sysdeps/sh/dl-machine.h: Likewise.
29354         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29355         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29356         * sysdeps/tile/dl-machine.h: Likewise.
29357         * sysdeps/x86_64/dl-machine.h: Likewise.
29359         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
29360         code.
29361         (verify_persistent_db): Likewise.
29363 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29365         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
29366         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
29367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
29368         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
29369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29370         Moved ...
29371         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
29372         ... here.
29373         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
29374         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
29375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
29376         Identical file removed.
29377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
29378         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
29379         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
29380         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
29381         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
29382         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
29383         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
29384         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
29385         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
29386         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
29387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29388         Moved ...
29389         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
29390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
29391         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
29392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
29393         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
29394         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29395         Moved ...
29396         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
29397         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
29398         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
29399         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
29400         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
29401         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29402         Identical file removed.
29403         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
29404         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
29405         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
29406         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
29407         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29408         Moved ...
29409         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
29410         ... here.
29411         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
29412         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
29413         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
29414         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
29415         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
29416         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
29417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
29418         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
29419         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
29420         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
29421         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29422         Moved ...
29423         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
29424         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
29425         Moved ...
29426         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
29427         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
29428         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
29429         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29430         Moved ...
29431         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
29432         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
29433         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
29435         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
29436         folded into ...
29437         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
29438         * sysdeps/unix/sysv/linux/s390/Versions
29439         (libpthread: GLIBC_2.19): New version set.
29440         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
29441         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
29442         (librt: GLIBC_2.3.3): New version set.
29443         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
29444         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
29445         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
29446         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
29447         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
29448         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
29449         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
29450         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
29451         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
29452         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
29453         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
29454         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
29455         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
29456         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
29457         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
29458         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
29459         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
29460         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
29461         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
29462         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
29463         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
29464         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
29465         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
29466         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
29467         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
29468         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
29469         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
29470         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
29471         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
29472         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
29473         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
29474         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
29475         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
29476         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
29477         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
29478         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
29479         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
29480         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
29481         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
29482         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
29483         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
29484         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
29485         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
29486         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
29487         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
29489         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
29490         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
29491         (__libc_vfork): Define the function under this name.
29492         [!NOT_IN_libc] (__vfork): Make this an alias.
29493         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29494         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
29495         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
29496         (__libc_vfork): Define the function under this name.
29497         [!NOT_IN_libc] (__vfork): Make this an alias.
29498         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29499         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
29500         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
29501         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
29502         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
29503         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29505         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
29506         code that was previously under [RESET_PID].
29507         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
29508         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
29509         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
29511         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
29512         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
29513         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
29514         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
29515         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
29516         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
29517         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
29518         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
29519         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
29520         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
29521         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
29522         Moved ...
29523         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
29524         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
29525         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
29526         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
29527         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
29528         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
29529         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
29530         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
29531         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
29532         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
29533         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
29534         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
29535         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
29536         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
29537         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
29538         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
29539         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
29540         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
29541         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
29542         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
29543         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
29544         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
29545         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
29546         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
29547         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
29548         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
29549         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
29550         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
29551         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
29553 2014-06-25  Roland McGrath  <roland@hack.frob.com>
29555         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
29556         that was previously under [RESET_PID].
29557         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
29559 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29561         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
29562         not undefine and redefine.
29563         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
29564         [O_CLOEXEC]: Make code unconditional.
29565         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
29566         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
29567         <kernel-features.h>.
29568         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
29569         conditional variable definition.
29570         (shm_open) [O_CLOEXEC]: Make code unconditional.
29571         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
29572         code.
29574         * configure.ac (USE_REGPARMS): Don't define here.
29575         * configure: Regenerated.
29576         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
29577         * sysdeps/i386/configure: Regenerated.
29579         * nptl/createthread.c: Don't include kernel-features.h.
29580         * nptl/pthread_cancel.c: Likewise.
29581         * nptl/pthread_condattr_setclock.c: Likewise.
29582         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
29583         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
29584         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
29585         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
29586         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
29587         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
29588         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
29589         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
29590         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
29591         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
29592         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
29593         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
29594         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
29595         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
29596         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
29597         * nscd/gai.c: Likewise.
29598         * nss/nss_db/db-open.c: Likewise.
29599         * sysdeps/generic/ldsodefs.h: Likewise.
29600         * sysdeps/sh/nptl/tls.h: Likewise.
29601         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
29602         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
29603         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
29604         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
29605         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
29606         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
29607         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
29608         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29609         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29610         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
29611         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
29612         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29613         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
29614         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
29615         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
29616         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
29617         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
29618         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
29619         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
29620         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
29621         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
29622         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
29623         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
29624         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
29625         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
29626         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
29627         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
29628         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
29629         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
29630         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
29631         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
29632         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
29633         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
29634         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29635         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29636         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
29637         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29638         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
29639         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
29640         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
29641         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29642         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
29643         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
29644         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29645         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
29646         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
29647         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
29648         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
29649         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
29650         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
29651         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
29652         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
29653         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
29654         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
29655         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
29656         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29657         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29658         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
29659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
29661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
29662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
29663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
29664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
29665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
29666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
29667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
29670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
29671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
29672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
29673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
29679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
29680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
29681         * sysdeps/unix/sysv/linux/pread.c: Likewise.
29682         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
29683         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
29684         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
29685         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
29686         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
29687         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
29688         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
29689         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
29690         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
29691         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
29692         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
29693         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
29694         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
29695         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
29696         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
29697         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29698         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
29699         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
29700         * sysdeps/unix/sysv/linux/system.c: Likewise.
29701         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
29702         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
29703         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29704         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29705         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29706         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
29707         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29709         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
29710         * configure: Regenerated.
29711         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
29713         * configure.ac (base_machine): Do not set specially for particular
29714         machines here.
29715         * configure: Regenerated.
29716         * sysdeps/powerpc/preconfigure: Move machine and base_machine
29717         settings from configure.ac.
29718         * sysdeps/i386/preconfigure: New file.
29719         * sysdeps/s390/preconfigure: Likewise.
29720         * sysdeps/sh/preconfigure: Likewise.
29721         * sysdeps/sparc/preconfigure: Likewise.
29723 2014-06-25  Roland McGrath  <roland@hack.frob.com>
29725         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
29726         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
29727         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
29728         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
29729         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
29730         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
29731         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
29732         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
29733         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
29734         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
29735         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
29736         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
29737         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
29738         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
29739         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
29740         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
29741         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
29742         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
29743         * sysdeps/sparc/sparc64/Makefile: ... appended here.
29745         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
29746         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
29747         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
29748         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
29749         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
29750         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
29751         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
29752         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
29753         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
29754         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
29755         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
29756         * sysdeps/sparc/sparc32/sem_post.c: ... here.
29757         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
29758         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
29759         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
29760         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
29761         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
29762         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
29763         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
29764         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
29765         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
29766         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
29767         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
29768         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
29769         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
29770         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
29771         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
29772         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
29773         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
29774         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
29775         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
29776         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
29777         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
29778         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
29779         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
29780         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
29781         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
29782         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
29784         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
29785         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
29786         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
29787         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
29788         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
29789         Moved ...
29790         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
29791         ... here.
29792         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
29793         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
29794         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
29795         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
29796         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
29797         Moved ...
29798         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
29799         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
29800         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
29801         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
29802         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
29803         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
29804         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
29805         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29806         Moved ...
29807         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
29808         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
29809         Moved ...
29810         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
29811         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
29812         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
29813         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
29814         Moved ...
29815         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
29816         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
29817         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
29818         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
29819         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
29820         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
29821         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
29822         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
29823         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
29824         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
29825         Moved ...
29826         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
29827         ... here.
29828         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
29829         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
29830         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
29831         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
29832         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
29833         Moved ...
29834         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
29835         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
29836         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
29837         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
29838         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
29839         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
29840         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
29841         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29842         Moved ...
29843         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
29844         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
29845         Moved ...
29846         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
29847         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
29848         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
29849         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
29850         Moved ...
29851         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
29852         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
29853         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
29854         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
29855         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
29857 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29859         * timezone/checktab.awk: Update from tzcode 2014e.
29860         * timezone/private.h: Likewise.
29861         * timezone/tzfile.h: Likewise.
29862         * timezone/zdump.c: Likewise.
29863         * timezone/zic.c: Likewise.
29865         * sysdeps/unix/sysv/linux/kernel-features.h
29866         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
29867         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
29868         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
29869         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29870         Remove conditional code.
29872 2014-06-25  Will Newton  <will.newton@linaro.org>
29874         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
29875         (_dl_arm_cap_flags): Add HWCAP2 values.
29876         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
29877         (_DL_HWCAP_COUNT): Increase to 37.
29878         (_DL_HWCAP_LAST): New define.
29879         (_DL_HWCAP2_LAST): New define.
29880         (_dl_procinfo): Add support for printing
29881         AT_HWCAP2 entries.
29882         (_dl_string_hwcap): Use _dl_hwcap_string.
29884 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29888 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29890         * README: Do not mention ports directory.
29892         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
29893         Remove macro.
29894         * sysdeps/unix/sysv/linux/futimes.c: Do not include
29895         <kernel-features.h>.
29896         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
29897         conditional variable definition.
29898         (__futimes): Update comment.
29899         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
29900         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
29902         [BZ #16560]
29903         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
29904         arguments close to 0.
29905         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
29906         Likewise.
29907         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
29908         Likewise.
29909         * math/auto-libm-test-in: Add more tests of exp10.
29910         * math/auto-libm-test-out: Regenerated.
29911         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29913         * sysdeps/unix/sysv/linux/kernel-features.h
29914         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
29915         * sysdeps/unix/sysv/linux/readv.c: Do not include
29916         <kernel-features.h>.
29917         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
29918         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
29919         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
29920         unconditional.
29921         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
29922         conditional code.
29923         * sysdeps/unix/sysv/linux/writev.c: Do not include
29924         <kernel-features.h>.
29925         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
29926         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
29927         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
29928         unconditional.
29929         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
29930         conditional code.
29932 2014-06-25  Will Newton  <will.newton@linaro.org>
29934         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
29935         comment changes throughout the file.  Remove checks
29936         for HAVE_*_H definitions that are not required.
29937         (__gen_tempname): Call abort if an unknown kind value is
29938         passed.
29940 2014-06-25  Andreas Schwab  <schwab@suse.de>
29942         [BZ #17086]
29943         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
29944         scalbln, scalblnf, scalblnl in libc.
29946 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29948         [BZ #17086]
29949         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
29950         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
29951         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
29953 2014-06-24  Roland McGrath  <roland@hack.frob.com>
29955         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
29956         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
29957         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
29958         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
29959         Update #include.
29960         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
29961         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
29962         Update #include.
29963         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
29964         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
29965         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
29966         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
29967         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
29968         * sysdeps/x86/bits/pthreadtypes.h: ... here.
29969         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
29970         * sysdeps/x86/bits/semaphore.h: ... here.
29971         * sysdeps/x86/nptl/elide.h: Moved ...
29972         * sysdeps/x86/elide.h: ... here.
29973         * sysdeps/x86_64/nptl/Implies: File removed.
29974         * sysdeps/i386/nptl/Implies: File removed.
29976 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
29978         [BZ #16539]
29979         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
29980         return the argument for normal arguments with exponent below -64.
29981         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29982         Likewise.
29983         * math/auto-libm-test-in: Add another test of expm1.
29984         * math/auto-libm-test-out: Regenerated.
29986         [BZ #16287]
29987         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
29988         calling __erfcl for arguments at least 16.
29989         * math/auto-libm-test-in: Add more tests of erf.
29990         * math/auto-libm-test-out: Regenerated.
29992         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
29993         individual architectures.
29994         * sysdeps/unix/sysv/linux/configure: Regenerated.
29995         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
29996         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
29997         * sysdeps/unix/sysv/linux/powerpc/configure.ac
29998         (ldd_rewrite_script): Define variable.
29999         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
30001         file.
30002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
30003         generated file.
30004         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
30005         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
30006         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
30007         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
30008         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
30009         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
30010         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
30011         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
30013 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30015         [BZ #17084]
30016         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
30017         Rename member __data.d to __data.__elision_data.
30019 2014-06-24  Wilco  <wdijkstr@arm.com>
30021         * NEWS: Add 16918 to fixed bug list.
30023 2014-06-24  Wilco  <wdijkstr@arm.com>
30025         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
30027 2014-06-24  Wilco  <wdijkstr@arm.com>
30029         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
30030         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
30031         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
30032         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
30033         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
30034         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
30035         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
30036         Use _FPU_MASK_RM.
30038 2014-06-24  Wilco  <wdijkstr@arm.com>
30040         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
30042 2014-06-24  Wilco  <wdijkstr@arm.com>
30044         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
30045         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
30046         * sysdeps/arm/fesetround.c (fesetround): Remove space.
30047         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
30049 2014-06-24  Wilco  <wdijkstr@arm.com>
30051         [BZ #16918]
30052         * sysdeps/arm/feupdateenv.c (feupdateenv):
30053         Rewrite to reduce FPSCR accesses and fix return value.
30055 2014-06-24  Wilco  <wdijkstr@arm.com>
30057         * sysdeps/arm/fclrexcpt.c (feclearexcept):
30058         Optimize to avoid unnecessary FPSCR writes.
30059         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
30060         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
30061         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
30062         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
30064 2014-06-24  Wilco  <wdijkstr@arm.com>
30066         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
30067         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
30068         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
30069         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
30070         Call libc_fetestexcept_vfp.
30071         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
30072         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
30073         __SOFTFP__ ifdef so that they can be built for softfp.
30075 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30077         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
30078         argument type signed char.
30080         * Makerules (check-abi): Dump diff of symlist if the test
30081         fails.
30083 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30085         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
30086         using abort.
30088         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30089         Remove unused variable ST.
30091 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
30093         [BZ #16354]
30094         [BZ #17061]
30095         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
30096         small arguments before calling __expm1.
30097         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
30098         small arguments before calling __expm1f.
30099         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
30100         small arguments before calling __expm1l.
30101         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
30102         Likewise.
30103         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
30104         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
30105         spurious underflow for some cosh tests.
30106         * math/auto-libm-test-out: Regenerated.
30107         * sysdeps/i386/fpu/libm-test-ulps: Update.
30109         [BZ #17050]
30110         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
30111         (__ieee754_y1): Set errno if return value overflows.
30112         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
30113         (__ieee754_y1f): Set errno if return value overflows.
30114         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
30115         (__ieee754_y1l): Set errno if return value overflows.
30116         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
30117         (__ieee754_y1l): Set errno if return value overflows.
30118         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
30119         * math/auto-libm-test-out: Regenerated.
30121         * math/gen-auto-libm-tests.c: Document use of
30122         ignore-zero-inf-sign.
30123         (input_flag_type): Add value flag_ignore_zero_inf_sign.
30124         (input_flags): Add ignore-zero-inf-sign.
30125         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
30126         * math/gen-libm-test.pl (generate_testfile): Handle
30127         ignore-zero-inf-sign.
30128         * math/auto-libm-test-in: Mark some cpow tests with
30129         ignore-zero-inf-sign and some with xfail-rounding.
30130         * math/auto-libm-test-out: Regenerated.
30131         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
30132         * sysdeps/i386/fpu/libm-test-ulps: Update.
30133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30135         [BZ #16315]
30136         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
30137         overflowing or underflowing operations take place with sign of
30138         result.
30139         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30140         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30141         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
30142         (__ieee754_pow): Recompute overflowing and underflowing results in
30143         original rounding mode.
30144         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
30145         (__powl_helper): Allow negative argument X and scale negated value
30146         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
30147         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
30148         overflowing or underflowing operations take place with sign of
30149         result.
30150         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
30151         Include <math.h>.
30152         * math/auto-libm-test-in: Add more tests of pow.
30153         * math/auto-libm-test-out: Regenerated.
30154         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
30155         (pow_tonearest_test_data): Remove.
30156         (pow_test_tonearest): Likewise.
30157         (pow_towardzero_test_data): Likewise.
30158         (pow_test_towardzero): Likewise.
30159         (pow_downward_test_data): Likewise.
30160         (pow_test_downward): Likewise.
30161         (pow_upward_test_data): Likewise.
30162         (pow_test_upward): Likewise.
30163         (main): Don't call removed functions.
30164         * sysdeps/i386/fpu/libm-test-ulps: Update.
30165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30167 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
30170         Moved ...
30171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
30172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30173         Moved ...
30174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
30175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30176         Moved ...
30177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
30178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30179         Moved ...
30180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
30181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30182         File removed.
30183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30184         File removed.
30185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
30186         File removed.
30187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
30188         File removed.
30189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
30190         File removed.
30191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
30192         File removed.
30193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
30194         File removed.
30195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30196         File removed.
30197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
30198         File removed.
30199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30200         File removed.
30201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
30202         File removed.
30203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
30204         File removed.
30205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
30206         Moved ...
30207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
30208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
30209         Moved ...
30210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
30211         ... here.
30212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
30213         Moved ...
30214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
30215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
30216         Moved ...
30217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
30218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
30219         Moved ...
30220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
30221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
30222         Moved ...
30223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
30224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
30225         Moved ...
30226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
30227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
30228         Moved ...
30229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
30230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
30231         Moved ...
30232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
30233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
30234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
30235         ... here.
30236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
30237         Moved ...
30238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
30239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30240         Moved ...
30241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
30242         ... here.
30243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
30244         Moved ...
30245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30246         ... here.
30247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30248         Moved ...
30249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
30250         ... here.
30251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30252         Moved ...
30253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
30254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30255         Moved ...
30256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
30257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
30258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
30259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30260         Moved ...
30261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
30262         ... here.
30263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30264         Moved ...
30265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
30266         ... here.
30267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
30268         Moved ...
30269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
30270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30271         Moved ...
30272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
30273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
30274         Moved ...
30275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
30276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30277         Moved ...
30278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
30279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
30280         Moved ...
30281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
30282         ... here.
30283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30284         Moved ...
30285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
30286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
30287         Moved ...
30288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
30289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30290         Moved ...
30291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
30292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
30293         Moved ...
30294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
30295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
30296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
30297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
30298         Moved ...
30299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
30300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30301         Moved ...
30302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
30303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
30304         Moved ...
30305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
30306         ... here.
30307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30308         Moved ...
30309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
30310         ... here.
30311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
30312         Moved ...
30313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
30314         ... here.
30315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30316         Moved ...
30317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
30318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
30319         Moved ...
30320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
30321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30322         Moved ...
30323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
30324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
30325         Moved ...
30326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
30327         ... here.
30328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30329         Moved ...
30330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
30331         ... here.
30332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
30333         Moved ...
30334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
30335         ... here.
30336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30337         Moved ...
30338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
30339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30340         Moved ...
30341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
30343 2014-06-23  Will Newton  <will.newton@linaro.org>
30344             Wilco  <wdijkstr@arm.com>
30346         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
30347         implementation.  Include get-rounding-mode.h.
30348         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
30349         [!libc_feholdsetround_noex_ctx]: Define
30350         libc_feholdsetround_noex_ctx.
30351         [!libc_feholdsetround_noexf_ctx]: Define
30352         libc_feholdsetround_noexf_ctx.
30353         [!libc_feholdsetround_noexl_ctx]: Define
30354         libc_feholdsetround_noexl_ctx.
30355         (libc_feholdsetround_ctx): New function.
30356         (libc_feresetround_ctx): New function.
30357         (libc_feholdsetround_noex_ctx): New function.
30358         (libc_feresetround_noex_ctx): New function.
30360 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30362         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
30363         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
30364         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
30365         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
30366         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
30367         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
30369         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
30370         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
30371         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
30372         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
30373         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
30374         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
30375         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
30376         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
30377         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
30378         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
30379         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
30380         Moved ...
30381         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
30382         ... here.
30383         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
30384         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
30385         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
30386         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
30387         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
30388         Moved ...
30389         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
30390         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
30391         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
30392         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
30393         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
30394         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
30395         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
30396         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
30397         Moved ...
30398         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
30399         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
30400         Moved ...
30401         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
30402         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
30403         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
30404         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
30405         Moved ...
30406         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
30407         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
30408         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
30409         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
30410         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
30411         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
30412         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
30413         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
30414         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
30415         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
30416         Moved ...
30417         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
30418         ... here.
30419         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
30420         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
30421         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
30422         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
30423         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
30424         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
30425         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
30426         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
30427         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
30428         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
30429         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
30430         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
30431         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
30432         Moved ...
30433         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
30434         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
30435         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
30436         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
30437         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
30438         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
30439         Moved ...
30440         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
30441         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
30442         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
30443         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
30444         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
30446         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
30447         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
30448         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
30449         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
30450         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
30451         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
30452         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
30453         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
30454         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
30455         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
30456         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
30457         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
30458         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
30459         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
30460         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
30461         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
30462         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
30463         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
30464         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
30465         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
30466         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
30467         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
30468         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
30469         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
30470         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
30471         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
30472         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
30473         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
30475 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
30477         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30478         (FALLOC_FL_COLLAPSE_RANGE): New macro.
30479         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
30480         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
30481         (IPV6_PMTUDISC_INTERFACE): Likewise.
30482         (IPV6_PMTUDISC_OMIT): Likewise.
30484 2014-06-23  Andreas Schwab  <schwab@suse.de>
30486         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
30487         Remove unused errout label.
30489 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30491         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
30492         macro: hardware supports Vector Crypto instructions.
30494 2014-06-23  Will Newton  <will.newton@linaro.org>
30496         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
30497         rather than __builtin_expect.
30499         * elf/dl-lookup.c (undefined_msg): Remove variable.
30500         (_dl_lookup_symbol_x): Replace undefined_msg with string
30501         literal.
30503         * elf/dl-lookup.c (do_lookup_unique): New function.
30504         (do_lookup_x): Move STB_GNU_UNIQUE handling code
30505         to a separate function.
30507 2014-06-23  Andreas Schwab  <schwab@suse.de>
30509         [BZ #17079]
30510         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
30511         before reading the next line.
30513 2014-06-23  Will Newton  <will.newton@linaro.org>
30515         * test-skeleton.c (signal_handler): Use printf and %m
30516         rather than perror.  Use printf rather than fprintf to
30517         stderr.  Use puts rather than fputs to stderr.
30518         (main): Likewise.
30520 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
30522         * nscd/nscd.c (thread_info_t): Remove typedef.
30523         (thread_info): Remove variable.
30525 2014-06-21  Allan McRae  <allan@archlinux.org>
30527         * NEWS: Mention CVE-2014-4043.
30529 2014-06-20  Roland McGrath  <roland@hack.frob.com>
30531         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
30532         * nptl/smp.h: ... here.
30534         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
30536         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
30537         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
30538         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
30539         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
30541         * nptl/allocatestack.c: Include <stack-aliasing.h>.
30542         * nptl/stack-aliasing.h: New file.
30543         * sysdeps/i386/i686/stack-aliasing.h: New file.
30544         * sysdeps/i386/i686/nptl/Makefile: File removed.
30545         * sysdeps/x86_64/stack-aliasing.h: New file.
30546         * sysdeps/x86_64/nptl/Makefile
30547         (CFLAGS-pthread_create.c): Variable removed.
30549         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
30550         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
30551         old file.
30552         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
30553         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
30554         old file.
30556 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
30558         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30559         (__ASSUME_SIGFRAME_V2): Remove macro.
30560         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
30561         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
30562         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
30563         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
30564         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
30565         Declare as function.  Remove conditional macro definitions.
30566         (__default_rt_sa_restorer): Likewise.
30567         (__default_sa_restorer_v1): Remove declaration.
30568         (__default_sa_restorer_v2): Likewise.
30569         (__default_rt_sa_restorer_v1): Likewise.
30570         (__default_rt_sa_restorer_v2): Likewise.
30571         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
30572         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
30573         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
30575 2014-06-20  Roland McGrath  <roland@hack.frob.com>
30577         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
30578         (libpthread-routines): Add sysdep.
30579         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
30580         * sysdeps/unix/sysv/linux/sparc/Versions
30581         (libpthread: GLIBC_2.3.3): New version set.
30582         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
30583         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
30584         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
30585         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
30586         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
30587         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
30588         Moved ...
30589         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
30590         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
30591         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
30592         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
30593         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
30594         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
30595         * sysdeps/sparc/nptl/sem_init.c: ... here.
30596         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
30597         * sysdeps/sparc/nptl/sem_post.c: ... here.
30598         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
30599         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
30600         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
30601         * sysdeps/sparc/nptl/sem_wait.c: ... here.
30602         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
30603         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
30604         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
30605         (libpthread-routines): Add cpu_relax.
30606         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
30607         File removed.
30608         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
30609         (librt: GLIBC_2.3.3): New version set.
30610         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
30611         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
30612         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
30613         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
30614         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
30615         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
30616         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
30617         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
30618         Moved ...
30619         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
30620         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
30621         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
30622         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
30623         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
30624         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
30625         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
30626         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
30627         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
30628         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
30629         Moved ...
30630         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
30631         Update #include.
30632         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
30633         Moved ...
30634         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
30635         Update #include.
30636         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
30637         Moved ...
30638         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
30639         Update #include.
30640         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
30641         Moved ...
30642         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
30643         Update #include.
30644         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
30645         Moved ...
30646         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
30647         Update #include.
30648         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
30649         Moved ...
30650         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
30651         Update #include.
30652         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
30653         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
30654         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
30655         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
30656         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
30657         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
30658         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
30659         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
30660         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
30661         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
30662         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
30663         Moved ...
30664         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
30665         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
30666         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
30667         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
30668         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
30670 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30672         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
30673         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
30674         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
30675         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
30676         * nscd/nscd.c: Likewise.
30677         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
30678         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
30679         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
30680         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
30682         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
30683         <kernel-features.h>.
30684         (init_mq_netlink): Remove conditional have_sock_cloexec
30685         definitions.  Remove code conditional on have_sock_cloexec < 0.
30686         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
30687         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
30688         * sysdeps/unix/sysv/linux/opensock.c: Do not include
30689         <kernel-features.h>.
30690         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
30691         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
30693 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
30695         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30696         Add tests for memset_chk and memset.
30698         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
30699         with AVX2_Usable.
30701 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
30703         [BZ #16046]
30704         * elf/tst-dl-iter-static.c: New file.
30705         * elf/Makefile (tests-static): Add tst-dl-iter-static.
30707         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
30708         error.
30710 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30712         * sysdeps/unix/sysv/linux/kernel-features.h
30713         (__ASSUME_F_GETOWN_EX): Remove macro.
30714         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
30715         <kernel-features.h>.
30716         (miss_F_GETOWN_EX): Remove variable or macro.
30717         (do_fcntl): Do not check miss_F_GETOWN_EX.
30718         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
30720         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
30721         Remove macro.
30722         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
30723         [!__ASSUME_AT_RANDOM]: Remove conditional code.
30724         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
30726         * sysdeps/unix/sysv/linux/kernel-features.h
30727         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
30728         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
30729         [ADJ_OFFSET_SS_READ]: Make code unconditional.
30730         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
30732 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
30734         [BZ #17075]
30735         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
30736         Fix calculation of the symbol's value.
30737         * sysdeps/arm/tst-armtlsdescloc.c: New file.
30738         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
30739         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
30740         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
30741         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
30742         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
30743         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
30744         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
30745         (modules-names): Add `tst-armtlsdescmod',
30746         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
30747         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
30748         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
30749         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
30750         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
30751         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
30752         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
30753         ($(objpfx)tst-armtlsdescloc): New dependency.
30754         ($(objpfx)tst-armtlsdescextnow): Likewise.
30755         ($(objpfx)tst-armtlsdescextlazy): Likewise.
30756         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
30757         TLS scheme support.
30758         * sysdeps/arm/configure: Regenerate.
30760 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30762         * include/fcntl.h (__atfct_seterrno): Remove prototype.
30763         (__atfct_seterrno_2): Likewise.
30764         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
30765         <kernel-features.h>.
30766         (__ASSUME_ATFCTS): Do not undefine and redefine.
30767         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
30768         (__have_atfcts): Remove conditional definition.
30769         (__fxstatat([__NR_fstatat64]: Make code unconditional.
30770         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
30771         unreachable if [__ASSUME_ATFCTS].
30772         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
30773         not undefine and redefine.
30774         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
30775         <kernel-features.h>.
30776         (faccessat) [__NR_faccessat]: Make code unconditional.
30777         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
30778         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
30779         <kernel-features.h>.
30780         (fchmodat) [__NR_fchmodat]: Make code unconditional.
30781         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30782         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
30783         <kernel-features.h>.
30784         (fchownat) [__NR_fchownat]: Make code unconditional.
30785         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
30786         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
30787         <kernel-features.h>.
30788         (futimesat) [__NR_futimesat]: Make code unconditional.
30789         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
30790         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30791         <kernel-features.h>.
30792         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30793         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30794         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30795         <kernel-features.h>.
30796         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
30797         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30798         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
30799         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30800         <kernel-features.h>.
30801         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
30802         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30803         * sysdeps/unix/sysv/linux/linkat.c: Do not include
30804         <kernel-features.h>.
30805         (linkat) [__NR_linkat]: Make code unconditional.
30806         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30807         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
30808         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
30809         <kernel-features.h>.
30810         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
30811         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30812         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
30813         <kernel-features.h>.
30814         (mkdirat) [__NR_mkdirat]: Make code unconditional.
30815         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
30816         * sysdeps/unix/sysv/linux/openat.c: Do not include
30817         <kernel-features.h>.
30818         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
30819         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
30820         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
30821         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
30822         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
30823         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
30824         <kernel-features.h>.
30825         (readlinkat) [__NR_readlinkat]: Make code unconditional.
30826         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
30827         result of INLINE_SYSCALL directly, not via int variable.
30828         * sysdeps/unix/sysv/linux/renameat.c: Do not include
30829         <kernel-features.h>.
30830         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
30831         (renameat) [__NR_renameat]: Make code unconditional.
30832         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
30833         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
30834         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
30835         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
30836         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
30837         (__ASSUME_ATFCTS): Do not undefine and redefine.
30838         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
30839         <kernel-features.h>.
30840         (symlinkat) [__NR_symlinkat]: Make code unconditional.
30841         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30842         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
30843         <kernel-features.h>.
30844         (unlinkat) [__NR_unlinkat]: Make code unconditional.
30845         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30846         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
30847         (__ASSUME_ATFCTS): Do not undefine and redefine.
30848         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30849         <kernel-features.h>.
30850         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30851         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30852         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30853         <kernel-features.h>.
30854         (__xmknodat) [__NR_mknodat]: Make code unconditional.
30855         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30857 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
30859         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
30861 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
30863         [BZ #17069]
30864         * posix/regcomp.c (parse_reg_exp): Deallocate partially
30865         constructed tree before returning error.
30866         * posix/bug-regexp36.c: Expand test case.
30868 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
30870         [BZ #6803]
30871         * math/libm-test.inc (scalbln_test_date):
30872         Add errno expectations.
30873         * math/w_scalblnf.c: New File.
30874         Add wrapper which checks for setting errno to ERANGE.
30875         Add weak_alias for corresponding scalbln function.
30876         * math/w_scalbln.c: Likewise.
30877         * math/w_scalblnl.c: Likewise.
30878         * math/Makefile (libm-calls): Add w_scalbln.
30879         * sysdeps/ieee754/flt-32/s_scalblnf.c:
30880         Remove weak_alias for corresponding scalbln function.
30881         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30882         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30883         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30884         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30885         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
30886         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30887         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
30888         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30889         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
30890         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
30891         Remove long_double_symbol for scalblnl function in libm, libc.
30892         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
30893         Add wrapper which checks for setting errno to ERANGE.
30894         Add long_double_symbol for scalblnl function in libm, libc.
30895         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
30896         Remove long_double_symbol for scalblnl in libm.
30897         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
30898         Add wrapper which checks for setting errno to ERANGE.
30899         Add long_double_symbol for scalblnl function in libm.
30900         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
30901         Do not use wrapper because of own implementation.
30903 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
30905         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
30906         3 bytes for __pad1 for x32.
30907         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
30909 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
30910             H.J. Lu  <hongjiu.lu@intel.com>
30912         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
30913         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
30914         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30915         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30916         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
30918 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
30920         [BZ #17069]
30921         * posix/regcomp.c (parse_expression): Deallocate partially
30922         constructed tree before returning error.
30923         * posix/Makefile.c (tests): Add bug-regex36.
30924         (generated): Add bug-regex36.mtrace.
30925         (tests-special): Add $(objpfx)bug-regex36-mem.out
30926         (bug-regex36-ENV): New variable.
30927         ($(objpfx)bug-regex36-mem.out): New rule.
30928         * posix/bug-regex36.c: New file.
30930 2014-06-19  Will Newton  <will.newton@linaro.org>
30932         * malloc/malloc.c (systrim): If extra is zero then return
30933         early.
30935 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30937         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
30939 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
30941         * sysdeps/aarch64/strchr.S: New file.
30943 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
30945         [BZ #17022]
30946         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
30947         from arguments -2 or below.
30948         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
30949         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
30951 2014-06-18  Andreas Schwab  <schwab@suse.de>
30953         [BZ #17062]
30954         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
30955         of a bracket expr not to run off the end of the string.
30956         * posix/Makefile (tests): Add tst-fnmatch3.
30957         * posix/tst-fnmatch3.c: New file.
30959 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
30961         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
30962         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30963         [$(cross-compiling) = no]: Likewise.
30964         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30965         [$(cross-compiling) = no]: Likewise.
30967 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30969         [BZ #17031]
30970         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
30971         double, adjusted for any remainder from the high double.
30972         * math/libm-test.inc (nearbyint): Add tests.
30973         (rint): Likewise.
30975 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30977         * nptl/sysdeps/powerpc/Makefile: Moved ...
30978         * sysdeps/powerpc/nptl/Makefile: ... here.
30979         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
30980         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
30981         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
30982         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
30983         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
30984         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
30985         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
30986         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
30987         * nptl/sysdeps/powerpc/tls.h: Moved ...
30988         * sysdeps/powerpc/nptl/tls.h: ... here.
30990 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
30992         [BZ #16681]
30993         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
30994         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
30995         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
30996         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
30997         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
30998         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
30999         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
31000         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
31001         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
31003 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
31005         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31007 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
31009         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
31010         defined operator.
31012         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
31013         $TIMEOUTFACTOR.
31015 2014-06-16  Florian Weimer  <fweimer@redhat.com>
31017         [BZ #17058]
31018         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
31019         non-executed part of the test.
31021 2014-06-16  Andreas Schwab  <schwab@suse.de>
31023         * string/bits/string2.h (strdup, strndup): Update feature guard.
31025 2014-06-14  David S. Miller  <davem@davemloft.net>
31027         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31029 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
31031         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
31032         that was previously under [RESET_PID].
31033         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
31035         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
31036         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
31037         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
31038         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31039         (__libc_vfork): New strong alias.
31040         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
31042 2014-06-14 Andi Kleen  <ak@linux.intel.com>
31044         * sysdeps/generic/elide.h: New file.
31046 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31048         * Makefile (installed-headers): Adjust path of pthread.h header.
31050 2014-06-13  Roland McGrath  <roland@hack.frob.com>
31052         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
31053         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
31054         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
31055         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
31057         * nptl/sysdeps/s390/Makefile: Moved ...
31058         * sysdeps/s390/nptl/Makefile: ... here.
31059         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
31060         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
31061         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
31062         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
31063         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
31064         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
31065         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
31066         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
31067         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
31068         * sysdeps/s390/nptl/pthreaddef.h: ... here.
31069         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
31070         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
31071         * nptl/sysdeps/s390/tls.h: Moved ...
31072         * sysdeps/s390/nptl/tls.h: ... here.
31074         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
31075         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
31077 2014-06-13  David S. Miller  <davem@davemloft.net>
31079         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
31080         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
31081         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
31082         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
31083         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
31084         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
31085         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
31086         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
31087         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
31088         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
31089         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
31090         Remove RESET_PID cpp guards.
31091         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
31092         Remove RESET_PID cpp guards.
31093         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
31095 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
31097         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
31098         __sp to uintptr_t.
31100 2014-06-13  Andi Kleen  <ak@linux.intel.com>
31102         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
31103         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
31104         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
31105         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
31106         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
31107         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
31108         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
31109         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
31110         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
31111         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
31112         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
31113         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
31114         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
31115         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
31116         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
31117         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
31118         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
31119         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
31120         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
31121         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
31123         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
31124         (pthread_rwlock_rdlock): Add elision.
31125         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
31126         (pthread_rwlock_wrlock): Add elision.
31127         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
31128         (pthread_rwlock_trywrlock): Add elision.
31129         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
31130         (pthread_rwlock_tryrdlock): Add elision.
31131         * nptl/pthread_rwlock_unlock.c: Include elide.h.
31132         (pthread_rwlock_tryrdlock): Add elision unlock.
31133         * nptl/sysdeps/pthread/pthread.h:
31134         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
31135         (PTHREAD_RWLOCK_INITIALIZER,
31136         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
31137         Handle new elision field.
31138         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
31139         * sysdeps/arm/nptl/bits/pthreadtypes.h
31140         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31141         * sysdeps/sh/nptl/bits/pthreadtypes.h
31142         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31143         * sysdeps/tile/nptl/bits/pthreadtypes.h
31144         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31145         * sysdeps/a/nptl/bits/pthreadtypes.h
31146         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31147         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
31148         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31149         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
31150         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31151         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
31152         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31153         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
31154         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31155         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
31156         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31157         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
31158         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31159         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
31160         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31161         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
31162         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31163         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
31164         (elision_init): Set try_xbegin to zero when no RTM.
31165         * sysdeps/x86/nptl/bits/pthreadtypes.h
31166         (pthread_rwlock_t): Change __pad1 to __rwelision.
31167         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31169 2014-06-13  Andi Kleen  <ak@linux.intel.com>
31171         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
31172         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
31173         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
31174         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
31176 2014-06-13  Meador Inge  <meadori@codesourcery.com>
31178         [BZ #16996]
31179         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
31180         that the cached result has been set before returning it.
31182 2014-06-12  Roland McGrath  <roland@hack.frob.com>
31184         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
31185         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
31186         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
31187         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
31188         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
31189         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
31191         * nptl/sysdeps/sparc/Makefile: Moved ...
31192         * sysdeps/sparc/nptl/Makefile: ... here.
31193         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
31194         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
31195         * nptl/sysdeps/sparc/tls.h: Moved ...
31196         * sysdeps/sparc/nptl/tls.h: ... here.
31197         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
31198         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
31199         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
31200         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
31201         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
31202         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
31203         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
31204         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
31205         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
31206         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
31207         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
31208         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
31209         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
31210         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
31211         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
31212         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
31213         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
31214         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
31215         Update #include.
31216         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
31217         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
31218         Update #include.
31219         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
31220         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
31221         Update #include.
31222         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
31223         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
31224         Update #include.
31226         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31228         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
31229         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
31231         * sysdeps/pthread/posix-timer.h: Include <list.h>.
31232         (struct list_links): Type removed.
31233         (struct thread_node, struct timer_node): Replace struct list_links
31234         with struct list_head.
31235         (list_unlink_ip): Likewise.
31236         * sysdeps/pthread/timer_routines.c
31237         (timer_free_list, thread_free_list, thread_active_list): Likewise.
31238         (list_append, list_insbefore): Likewise.
31239         (list_init): Function removed.
31240         (thread_init, init_module): Use INIT_LIST_HEAD instead.
31241         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
31242         * sysdeps/pthread/Makefile: ... here, new file.
31244         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
31245         * sysdeps/nptl/Implies: ... here.
31246         * sysdeps/unix/sysv/linux/Implies: Add nptl.
31247         * nptl/sysdeps/pthread/list.h: Moved ...
31248         * include/list.h: ... here.
31249         * nptl/sysdeps/pthread/createthread.c: Moved ...
31250         * nptl/createthread.c: ... here.
31251         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
31252         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
31253         * nptl/pt-longjmp.c: ... here.
31254         * nptl/sysdeps/pthread/Makefile: Moved ...
31255         * sysdeps/nptl/Makefile: ... here.
31256         * nptl/sysdeps/pthread/Subdirs: Moved ...
31257         * sysdeps/nptl/Subdirs: ... here.
31258         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
31259         * sysdeps/nptl/aio_misc.h: ... here.
31260         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
31261         * sysdeps/nptl/bits/libc-lock.h: ... here.
31262         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
31263         * sysdeps/nptl/bits/libc-lockP.h: ... here.
31264         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
31265         * sysdeps/nptl/bits/stdio-lock.h: ... here.
31266         * nptl/sysdeps/pthread/configure: Moved ...
31267         * sysdeps/nptl/configure: ... here.
31268         * nptl/sysdeps/pthread/configure.ac: Moved ...
31269         * sysdeps/nptl/configure.ac: ... here.
31270         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
31271         * sysdeps/nptl/gai_misc.h: ... here.
31272         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
31273         * sysdeps/nptl/librt-cancellation.c: ... here.
31274         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
31275         * sysdeps/nptl/malloc-machine.h: ... here.
31276         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
31277         * sysdeps/nptl/pthread-functions.h: ... here.
31278         * nptl/sysdeps/pthread/pthread.h: Moved ...
31279         * sysdeps/nptl/pthread.h: ... here.
31280         * nptl/sysdeps/pthread/setxid.h: Moved ...
31281         * sysdeps/nptl/setxid.h: ... here.
31282         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
31283         * sysdeps/nptl/sigfillset.c: ... here.
31284         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
31285         * sysdeps/nptl/tcb-offsets.h: ... here.
31286         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
31287         * sysdeps/nptl/tst-mqueue8x.c: ... here.
31288         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
31289         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
31290         * nptl/sysdeps/pthread/allocalim.h: Moved ...
31291         * sysdeps/pthread/allocalim.h: ... here.
31292         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
31293         * sysdeps/pthread/bits/sigthread.h: ... here.
31294         * nptl/sysdeps/pthread/flockfile.c: Moved ...
31295         * sysdeps/pthread/flockfile.c: ... here.
31296         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
31297         * sysdeps/pthread/ftrylockfile.c: ... here.
31298         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
31299         * sysdeps/pthread/funlockfile.c: ... here.
31300         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
31301         * sysdeps/pthread/posix-timer.h: ... here.
31302         * nptl/sysdeps/pthread/timer_create.c: Moved ...
31303         * sysdeps/pthread/timer_create.c: ... here.
31304         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
31305         * sysdeps/pthread/timer_delete.c: ... here.
31306         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
31307         * sysdeps/pthread/timer_getoverr.c: ... here.
31308         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
31309         * sysdeps/pthread/timer_gettime.c: ... here.
31310         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
31311         * sysdeps/pthread/timer_routines.c: ... here.
31312         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
31313         * sysdeps/pthread/timer_settime.c: ... here.
31314         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
31315         * sysdeps/pthread/tst-timer.c: ... here.
31316         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
31317         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
31319         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
31320         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
31322         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
31323         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
31324         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
31325         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
31326         Update #include target.
31327         * nptl/sysdeps/i386/i686/Makefile: Moved ...
31328         * sysdeps/i386/i686/nptl/Makefile: ... here.
31329         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
31330         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
31331         Update #include target.
31332         * nptl/sysdeps/i386/i686/tls.h: Moved ...
31333         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
31334         * nptl/sysdeps/i386/Makefile: Moved ...
31335         * sysdeps/i386/nptl/Makefile: ... here.
31336         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
31337         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
31338         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
31339         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
31340         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
31341         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
31342         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
31343         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
31344         * sysdeps/i386/nptl/pthreaddef.h: ... here.
31345         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
31346         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
31347         * nptl/sysdeps/i386/tls.h: Moved ...
31348         * sysdeps/i386/nptl/tls.h: ... here.
31350         * sysdeps/sh/Makefile [$(subdir) = csu]
31351         (gen-as-const-headers): Add tcb-offsets.sym.
31352         * nptl/sysdeps/sh/Makefile: File removed.
31353         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
31354         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
31355         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
31356         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
31357         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
31358         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
31359         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
31360         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
31361         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
31362         * sysdeps/sh/nptl/pthreaddef.h: ... here.
31363         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
31364         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
31365         * nptl/sysdeps/sh/tls.h: Moved ...
31366         * sysdeps/sh/nptl/tls.h: ... here.
31367         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
31368         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
31369         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
31370         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
31371         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
31372         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
31373         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
31374         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
31375         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
31376         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
31377         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
31378         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
31379         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
31380         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
31381         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
31382         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
31383         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
31384         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
31385         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
31386         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
31387         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
31388         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
31389         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
31390         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
31391         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
31392         Moved ...
31393         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
31394         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
31395         Moved ...
31396         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
31397         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
31398         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
31399         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
31400         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
31401         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
31402         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
31403         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
31404         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
31405         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
31406         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
31407         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
31408         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
31409         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
31410         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
31411         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
31412         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
31413         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
31414         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
31416 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31418         * posix/spawn_faction_addopen.c: Include string.h.
31420 2014-06-11  Roland McGrath  <roland@hack.frob.com>
31422         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
31423         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
31424         * nptl/sysdeps/x86_64/Makefile: Moved ...
31425         * sysdeps/x86_64/nptl/Makefile: ... here.
31426         * nptl/sysdeps/x86_64/configure: Moved ...
31427         * sysdeps/x86_64/nptl/configure: ... here.
31428         * nptl/sysdeps/x86_64/configure.ac: Moved ...
31429         * sysdeps/x86_64/nptl/configure.ac: ... here.
31430         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
31431         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
31432         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
31433         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
31434         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
31435         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
31436         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
31437         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
31438         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
31439         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
31440         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
31441         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
31442         * nptl/sysdeps/x86_64/tls.h: Moved ...
31443         * sysdeps/x86_64/nptl/tls.h: ... here.
31444         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
31445         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
31446         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
31447         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
31449         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
31451 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31455 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
31457         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
31458         type.
31459         [POSIX] (off_t): Likewise.
31460         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
31461         [POSIX] (S_ISBLK): Require macro.
31462         [POSIX] (S_ISCHR): Likewise.
31463         [POSIX] (S_ISDIR): Likewise.
31464         [POSIX] (S_ISFIFO): Likewise.
31465         [POSIX] (S_ISREG): Likewise.
31466         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
31467         optional-macro.
31468         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
31469         type.
31470         [POSIX] (time_t): Likewise.
31471         [POSIX] (timer_t): Likewise.
31473 2014-06-11  Florian Weimer  <fweimer@redhat.com>
31475         [BZ #17048]
31476         * posix/spawn_int.h (struct __spawn_action): Make the path string
31477         non-const to support deallocation.
31478         * posix/spawn_faction_addopen.c
31479         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
31480         * posix/spawn_faction_destroy.c
31481         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
31482         path in all spawn_do_open actions.
31483         * posix/tst-spawn.c (do_test): Exercise the copy operation in
31484         posix_spawn_file_actions_addopen.
31486 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
31488         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
31489         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
31490         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
31491         conditional code always true.
31492         (__libc_vfork): New alias.
31494 2014-06-11  Roland McGrath  <roland@hack.frob.com>
31496         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31497         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
31499         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
31501         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31502         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
31504         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31505         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
31507         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31508         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
31510 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31512         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
31513         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
31514         multiarch strcmp for PPC64.
31515         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
31516         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
31517         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
31518         multiarch optimizations.
31519         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31520         (__libc_ifunc_impl_list): Likewise.
31522 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31524         * benchtests/scripts/validate_benchout.py: New script.
31525         * benchtests/Makefile (bench-func): Call it.
31526         * benchtests/scripts/benchout.schema.json: New file.
31528 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
31530         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
31531         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
31532         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
31533         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
31534         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
31535         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
31536         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
31537         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
31538         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
31539         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
31540         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
31541         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
31542         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
31543         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
31544         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
31545         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
31546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
31547         Moved ...
31548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
31549         ... here.
31550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
31551         Moved ...
31552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
31553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
31554         Moved ...
31555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
31556         ... here.
31557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
31558         Moved ...
31559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
31560         ... here.
31561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
31562         Moved ...
31563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
31564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
31565         Moved ...
31566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
31567         ... here.
31568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
31569         Moved ...
31570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
31571         ... here.
31572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
31573         Moved ...
31574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
31575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
31576         Moved ...
31577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
31578         ... here.
31579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
31580         Moved ...
31581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
31582         ... here.
31583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
31584         Moved ...
31585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
31586         ... here.
31587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
31588         Moved ...
31589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
31590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
31591         Moved ...
31592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
31593         ... here.
31594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
31595         Moved ...
31596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
31597         ... here.
31598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
31599         Moved ...
31600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
31601         ... here.
31602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
31603         Moved ...
31604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
31605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
31606         Moved ...
31607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
31608         ... here.
31609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
31610         Moved ...
31611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
31612         ... here.
31613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
31614         Moved ...
31615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
31616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
31617         Moved ...
31618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
31619         ... here.
31620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
31621         Moved ...
31622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
31623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
31624         Moved ...
31625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
31626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
31627         Moved ...
31628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
31629         ... here.
31630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
31631         Moved ...
31632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
31633         ... here.
31634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
31635         Moved ...
31636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
31637         ... here.
31638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
31639         Moved ...
31640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
31641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
31642         Moved ...
31643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
31644         ... here.
31645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
31646         Moved ...
31647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
31648         ... here.
31649         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
31650         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
31651         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
31652         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
31653         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
31654         Moved ...
31655         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
31656         ... here.
31657         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
31658         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
31659         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
31660         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
31661         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
31662         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
31663         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
31664         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
31665         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
31666         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
31667         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
31668         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
31669         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
31670         Moved ...
31671         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
31672         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
31673         Moved ...
31674         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
31675         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
31676         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
31677         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
31678         Moved ...
31679         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
31680         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
31681         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
31682         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
31683         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
31684         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
31685         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
31687 2014-06-10  Wilco  <wdijkstr@arm.com>
31689         * math/test-fenv-return.c: New file.
31690         * math/Makefile: Add new test test-fenv-return.
31692 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
31694         [BZ #17042]
31695         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
31696         when x - 1 is zero.
31697         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
31698         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
31699         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
31700         0.0L for an argument of 1.0L.
31701         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
31702         Likewise.
31703         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
31704         value when x - 1 is zero.
31705         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
31706         * sysdeps/i386/fpu/libm-test-ulps: Update.
31707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31709 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
31711         [BZ #15119]
31712         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
31714 2014-06-09  Roland McGrath  <roland@hack.frob.com>
31716         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
31717         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
31719 2014-06-09  Roland McGrath  <roland@hack.frob.com>
31721         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31722         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
31724         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31725         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
31727         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31728         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
31730         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31731         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
31733         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
31734         if not already defined.
31735         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
31736         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
31737         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
31738         (TLS_INIT_TP): Use it.
31739         (TLS_DEFINE_INIT_TP): New macro.
31740         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
31742 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
31744         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
31745         constant.
31746         [POSIX] (IXANY): Likewise.
31747         [POSIX] (OLCUC): Likewise.
31748         [POSIX || POSIX2008] (CBAUD): Do not allow.
31749         [POSIX || POSIX2008] (DEFECHO): Likewise.
31750         [POSIX || POSIX2008] (ECHOCTL): Likewise.
31751         [POSIX || POSIX2008] (ECHOKE): Likewise.
31752         [POSIX || POSIX2008] (ECHOPRT): Likewise.
31753         [POSIX || POSIX2008] (EXTA): Likewise.
31754         [POSIX || POSIX2008] (EXTB): Likewise.
31755         [POSIX || POSIX2008] (FLUSHO): Likewise.
31756         [POSIX || POSIX2008] (LOBLK): Likewise.
31757         [POSIX || POSIX2008] (PENDIN): Likewise.
31758         [POSIX || POSIX2008] (SWTCH): Likewise.
31759         [POSIX || POSIX2008] (VDISCARD): Likewise.
31760         [POSIX || POSIX2008] (VDSUSP): Likewise.
31761         [POSIX || POSIX2008] (VLNEXT): Likewise.
31762         [POSIX || POSIX2008] (VREPRINT): Likewise.
31763         [POSIX || POSIX2008] (VSTATUS): Likewise.
31764         [POSIX || POSIX2008] (VWERASE): Likewise.
31765         (B*): Change to B[0123456789]*.
31766         * conform/data/time.h-data [POSIX || UNIX98]
31767         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
31768         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31769         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
31770         [POSIX] (tm_*): Do not allow.
31772 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
31774         * Makefile (install): Don't set LANGUAGE.
31775         * Makefile.in (install): Likewise.
31776         * assert/Makefile (test-assert-ENV): Remove variable.
31777         (test-assert-perr-ENV): Likewise.
31778         * elf/Makefile (neededtest4-ENV): Likewise.
31779         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31780         [$(cross-compiling) = no]: Don't set LANGUAGE.
31781         * io/ftwtest-sh (LANG): Remove variable.
31782         * libio/Makefile (tst-widetext-ENV): Likewise.
31783         * manual/install.texi (Running make install): Don't refer to
31784         environment settings for make install.
31785         * INSTALL: Regenerated.
31786         * nptl/tst-tls6.sh: Don't set LANG.
31787         * posix/globtest.sh (LANG): Remove variable.
31788         * string/Makefile (tester-ENV): Likewise.
31789         (inl-tester-ENV): Likewise.
31790         (noinl-tester-ENV): Likewise.
31791         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31792         [$(cross-compiling) = no]: Don't set LANGUAGE.
31793         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
31794         without explicit environment settings.
31796 2014-06-06  Roland McGrath  <roland@hack.frob.com>
31798         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
31799         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
31800         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
31801         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
31803 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
31805         * crypt/crypt-private.h [DOS]: Add some includes taken from the
31806         other files in the crypt directory.
31807         * crypt/crypt.c: Remove duplicate includes.
31808         * crypt/crypt-entry.c: Likewise.
31809         * crypt/crypt_util.c: Likewise.
31811 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
31813         * Makeconfig (run-program-env): New variable.
31814         (run-program-prefix-before-env): Likewise.
31815         (run-program-prefix-after-env): Likewise.
31816         (run-program-prefix): Define in terms of new variables.
31817         (built-program-cmd-before-env): New variable.
31818         (built-program-cmd-after-env): Likewise.
31819         (built-program-cmd): Define in terms of new variables.
31820         (test-program-prefix-before-env): New variable.
31821         (test-program-prefix-after-env): Likewise.
31822         (test-program-prefix): Define in terms of new variables.
31823         (test-program-cmd-before-env): New variable.
31824         (test-program-cmd-after-env): Likewise.
31825         (test-program-cmd): Define in terms of new variables.
31826         * Rules (make-test-out): Use $(run-program-env).
31827         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
31828         (help): Do not mention environment variables.  Mention
31829         --timeoutfactor option.
31830         (timeoutfactor): New variable.
31831         (blacklist_exports): Remove function.
31832         (exports): Remove variable.
31833         (command): Do not include ${exports}.
31834         * manual/install.texi (Configuring and compiling): Do not mention
31835         test wrappers preserving environment variables.  Mention that last
31836         assignment to a variable must take precedence.
31837         * INSTALL: Regenerated.
31838         * benchtests/Makefile (run-bench): Use $(run-program-env).
31839         * catgets/Makefile ($(objpfx)test1.cat): Use
31840         $(built-program-cmd-before-env), $(run-program-env) and
31841         $(built-program-cmd-after-env).
31842         ($(objpfx)test2.cat): Do not specify environment variables
31843         explicitly.
31844         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
31845         $(run-program-env) and $(built-program-cmd-after-env).
31846         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
31847         $(run-program-env) and $(test-program-cmd-after-env).
31848         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
31849         explicitly.
31850         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
31851         run_program_env and test_program_cmd_after_env arguments.
31852         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
31853         * elf/tst-pathopt.sh: Use run_program_env argument.
31854         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
31855         $(test-wrapper-env) and $(run-program-env).
31856         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
31857         run_program_env arguments.
31858         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
31859         * intl/Makefile ($(objpfx)tst-gettext.out): Use
31860         $(test-program-prefix-before-env), $(run-program-env) and
31861         $(test-program-prefix-after-env).
31862         ($(objpfx)tst-gettext2.out): Likewise.
31863         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
31864         run_program_env and test_program_prefix_after_env arguments.
31865         * intl/tst-gettext2.sh: Likewise.
31866         * intl/tst-gettext4.sh: Do not set environment variables
31867         explicitly.
31868         * intl/tst-gettext6.sh: Likewise.
31869         * intl/tst-translit.sh: Likewise.
31870         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
31871         $(test-program-prefix-before-env), $(run-program-env) and
31872         $(test-program-prefix-after-env).
31873         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
31874         run_program_env and test_program_prefix_after_env arguments.
31875         * math/Makefile (run-regen-ulps): Use $(run-program-env).
31876         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
31877         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
31878         explicitly with each use of ${test_wrapper_env}.
31879         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
31880         $(test-program-prefix-before-env), $(run-program-env) and
31881         $(test-program-prefix-after-env).
31882         * posix/tst-getconf.sh: Do not set environment variables
31883         explicitly.
31884         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
31885         run_program_env and test_program_prefix_after_env arguments.
31886         * stdio-common/tst-printf.sh: Do not set environment variables
31887         explicitly.
31888         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
31889         $(test-program-prefix-before-env), $(run-program-env) and
31890         $(test-program-prefix-after-env).
31891         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
31892         run_program_env and test_program_prefix_after_env arguments.
31893         Split $test calls into $test_pre and $test.
31894         * timezone/Makefile (build-testdata): Use
31895         $(built-program-cmd-before-env), $(run-program-env) and
31896         $(built-program-cmd-after-env).
31898 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31900         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
31901         strlen for non SHARED builds.
31903 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31905         * nptl/allocatestack.c (check_list): Inlined function...
31906         (__reclaim_stacks): ... here.
31908 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
31910         [BZ #15698]
31911         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
31912         memory overrun.
31914 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
31916         * Rules (make-test-out): Include
31917         LOCPATH=$(common-objpfx)localedata in default environment.
31918         * debug/Makefile (tst-chk1-ENV): Remove variable.
31919         (tst-chk2-ENV): Likewise.
31920         (tst-chk3-ENV): Likewise.
31921         (tst-chk4-ENV): Likewise.
31922         (tst-chk5-ENV): Likewise.
31923         (tst-chk6-ENV): Likewise.
31924         (tst-lfschk1-ENV): Likewise.
31925         (tst-lfschk2-ENV): Likewise.
31926         (tst-lfschk3-ENV): Likewise.
31927         (tst-lfschk4-ENV): Likewise.
31928         (tst-lfschk5-ENV): Likewise.
31929         (tst-lfschk6-ENV): Likewise.
31930         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
31931         (tst-iconv7-ENV): Likewise.
31932         * intl/Makefile (LOCPATH-ENV): Likewise.
31933         (tst-codeset-ENV): Likewise.
31934         (tst-gettext3-ENV): Likewise.
31935         (tst-gettext5-ENV): Likewise.
31936         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
31937         (tst-fopenloc-ENV): Likewise.
31938         (tst-fgetws-ENV): Remove variable.
31939         (tst-ungetwc1-ENV): Likewise.
31940         (tst-ungetwc2-ENV): Likewise.
31941         (bug-ungetwc2-ENV): Likewise.
31942         (tst-swscanf-ENV): Likewise.
31943         (bug-ftell-ENV): Likewise.
31944         (tst-fgetwc-ENV): Likewise.
31945         (tst-fseek-ENV): Likewise.
31946         (tst-ftell-partial-wide-ENV): Likewise.
31947         (tst-ftell-active-handler-ENV): Likewise.
31948         (tst-ftell-append-ENV): Likewise.
31949         * posix/Makefile (tst-fnmatch-ENV): Likewise.
31950         (tst-regexloc-ENV): Likewise.
31951         (bug-regex1-ENV): Likewise.
31952         (tst-regex-ENV): Likewise.
31953         (tst-regex2-ENV): Likewise.
31954         (bug-regex5-ENV): Likewise.
31955         (bug-regex6-ENV): Likewise.
31956         (bug-regex17-ENV): Likewise.
31957         (bug-regex18-ENV): Likewise.
31958         (bug-regex19-ENV): Likewise.
31959         (bug-regex20-ENV): Likewise.
31960         (bug-regex22-ENV): Likewise.
31961         (bug-regex23-ENV): Likewise.
31962         (bug-regex25-ENV): Likewise.
31963         (bug-regex26-ENV): Likewise.
31964         (bug-regex30-ENV): Likewise.
31965         (bug-regex32-ENV): Likewise.
31966         (bug-regex33-ENV): Likewise.
31967         (bug-regex34-ENV): Likewise.
31968         (bug-regex35-ENV): Likewise.
31969         (tst-rxspencer-ENV): Likewise.
31970         (tst-rxspencer-no-utf8-ENV): Likewise.
31971         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
31972         (tst-sscanf-ENV): Likewise.
31973         (tst-swprintf-ENV): Likewise.
31974         (tst-swscanf-ENV): Likewise.
31975         (test-vfprintf-ENV): Likewise.
31976         (scanf13-ENV): Likewise.
31977         (bug14-ENV): Likewise.
31978         (tst-grouping-ENV): Likewise.
31979         * stdlib/Makefile (tst-strtod-ENV): Likewise.
31980         (tst-strtod3-ENV): Likewise.
31981         (tst-strtod4-ENV): Likewise.
31982         (tst-strtod5-ENV): Likewise.
31983         (testmb2-ENV): Likewise./
31984         * string/Makefile (tst-strxfrm-ENV): Likewise.
31985         (tst-strxfrm2-ENV): Likewise.
31986         (bug-strcoll1-ENV): Likewise.
31987         (test-strcasecmp-ENV): Likewise.
31988         (test-strncasecmp-ENV): Likewise.
31989         * time/Makefile (tst-strptime-ENV): Likewise.
31990         (tst-ftime_l-ENV): Likewise.
31991         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
31992         (tst-mbrtowc-ENV): Likewise.
31993         (tst-wcrtomb-ENV): Likewise.
31994         (tst-mbrtowc2-ENV): Likewise.
31995         (tst-c16c32-1-ENV): Likewise.
31996         (tst-mbsnrtowcs-ENV): Likewise.
31998 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
32000         * manual/resource.texi (How to get information about the memory
32001         subsystem?): Fix typo.
32002         Reported by Peon de la Parra Ivan <peon@keba.com>
32004 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
32006         [BZ #16882]
32007         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
32008         (pthread_spin_lock): Branch out of spin loop to proper location.
32009         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
32010         (pthread_spin_lock): Likewise.
32012         * nptl/tst-spin4.c: New test.
32013         * nptl/Makefile (tests): Add tst-spin4.
32015 2014-06-03  Andreas Schwab  <schwab@suse.de>
32017         [BZ #15946]
32018         * resolv/res_send.c (send_dg): Reload file descriptor after
32019         calling reopen.
32021 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
32023         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32025 2014-06-03  Richard Henderson  <rth@redhat.com>
32027         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
32028         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
32029         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
32030         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
32031         in the SAVE_PID block.
32032         (__libc_vfork): New alias.
32033         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
32035         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
32036         child in registers, not on the stack.  Remove RESET_PID conditionals.
32037         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
32039 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32041         * sysdeps/aarch64/libm-test-ulps: Regenerate.
32043 2014-06-03  Wilco  <wdijkstr@arm.com>
32045         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
32046         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
32047         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32048         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
32049         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
32050         Likewise.
32052 2014-06-03  Wilco  <wdijkstr@arm.com>
32054         * sysdeps/aarch64/fpu/math_private.h
32055         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
32056         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
32057         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
32058         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32059         Fix declarations.
32061 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32063         * crypt/crypt-private.h: Include ufc-crypt.h.
32064         (__b64_from_24bit): Declare extern.
32065         * crypt/crypt_util.c(__b64_from_24bit): New function.
32066         (b64t): New static const variable.
32067         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
32068         (b64t): Remove variable.
32069         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
32070         * crypt/sha256-crypt.c: Include crypt-private.h.
32071         (b64t): Remove variable.
32072         (__sha256_crypt_r): Remove b64_from_24bit and replace
32073         with __b64_from_24bit.
32074         * crypt/sha512-crypt.c: Likewise.
32076 2014-06-02  Roland McGrath  <roland@hack.frob.com>
32078         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
32079         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
32080         Label the code __libc_vfork rather than __vfork.
32081         [!NOT_IN_libc] (vfork): Define as weak alias.
32082         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
32083         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
32084         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
32086 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32088         * malloc/malloc.c (malloc_info): Fix format specifier for
32089         n_mmaps.
32091 2014-06-02  Wilco  <wdijkstr@arm.com>
32093         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
32094         FPCR write.
32096 2014-06-02  Wilco  <wdijkstr@arm.com>
32098         [BZ #17009]
32099         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
32100         Rewrite to reduce FPCR/FPSR accesses.
32102 2014-06-01  David S. Miller  <davem@davemloft.net>
32104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32106 2014-05-31  David S. Miller  <davem@davemloft.net>
32108         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
32109         to occur in round to nearest mode when |x| >= 2.0
32111 2014-05-30  Richard Henderson  <rth@twiddle.net>
32113         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
32114         (PSEUDO_RET_NOERRNO): Remove.
32115         (ret): Don't redefine.
32116         (ret_NOERRNO): Define in terms of ret.
32117         (ret_ERRVAL): Likewise.
32119         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
32120         use of PSEUDO_RET; perform the error check directly.
32122 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
32124         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
32125         with __int128_t.
32127 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32129         * malloc/malloc (malloc_info): Fix formatting.
32131 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32132             Roland McGrath  <roland@hack.frob.com>
32134         * malloc/malloc (malloc_info): Also print mmapped statistics.
32136 2014-05-30  Roland McGrath  <roland@hack.frob.com>
32138         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
32139         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
32141 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
32143         * malloc/malloc.c (malloc_info): Inline mi_arena.
32145 2014-05-29  Richard Henderson  <rth@twiddle.net>
32147         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
32148         Remove comma before expanding ASM_ARGS_##nr.
32149         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
32150         Make _x0 a strict output; make _x8 a strict input; adjust expansion
32151         of ASM_ARGS_##nr.
32152         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
32153         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
32154         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
32155         (ASM_ARGS_1): Add leading comma.
32157         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
32158         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
32159         to __errno_location.
32160         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
32161         Remove the expected plt for __errno_location.
32163         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32164         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
32165         call to __read_tp.
32167         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32168         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
32169         it and break it down.
32170         (DOCARGS_0, DOCARGS_1): Do nothing.
32171         (DOCARGS_2): Update to store into the new stack frame.
32172         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
32173         (UNDOCARGS_1): Update to restore from the new stack frame.
32174         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
32175         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
32177         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32178         (SINGLE_THREAD_P): New parameter for result regno.
32179         (PSEUDO): Update to match; use cbz instead of beq.
32181         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32182         Use ENTRY to define the _nocancel entry point.  Share the syscall
32183         and syscall error check paths with the cancel path.
32184         (PSEUDO_END): New.
32186         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
32187         whitespace; tabs before and after asm mnemonics.
32189 2014-05-29  Eric Wong  <normalperson@yhbt.net>
32191         [BZ #15132]
32192         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32193         Call fstat64 or stat64 internally, depending on arguments passed.
32194         Replace stat buffer argument with file descriptor argument.
32195         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
32196         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32197         Pass fd to __internal_statvfs instead of calling fstat64.
32198         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
32199         Pass fd to __internal_statvfs64 instead of calling fstat64.
32200         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
32201         Pass -1 to __internal_statvfs instead of calling stat64.
32202         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
32203         Pass -1 to __internal_statvfs64 instead of calling stat64.
32205 2014-05-28  Roland McGrath  <roland@hack.frob.com>
32207         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
32208         that was previously under [RESET_PID].
32209         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
32211         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
32212         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
32214 2014-05-27  Roland McGrath  <roland@hack.frob.com>
32216         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
32218         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
32219         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
32221 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
32223         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
32225 2014-05-27  Andreas Schwab  <schwab@suse.de>
32227         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
32228         TLS_INIT_TP macro.
32229         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
32230         * elf/rtld.c (init_tls, dl_main): Likewise.
32231         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
32232         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
32233         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
32234         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
32235         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
32236         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
32237         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
32238         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
32239         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
32240         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
32241         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
32242         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
32243         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
32244         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
32245         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
32246         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
32247         * sysdeps/generic/tls.h: Update description.
32249 2014-05-27  Will Newton  <will.newton@linaro.org>
32251         [BZ #16990]
32252         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
32253         and restore r2 rather than just restoring.
32255 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32257         [BZ #16724]
32258         * libio/tst-ftell-append.c: New test case.
32259         * libio/Makefile (tests): Add test case.
32260         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
32261         append mode.
32262         * libio/wfileops.c (do_ftell_wide): Likewise.
32264 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32268         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
32269         ...
32270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
32271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32272         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
32273         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
32274         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
32275         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
32276         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
32277         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
32278         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32279         Moved ...
32280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
32281         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32282         Moved ...
32283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
32284         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
32285         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
32286         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
32287         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
32288         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
32289         ...
32290         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
32291         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
32292         Moved ...
32293         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
32294         here.
32295         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
32296         ...
32297         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
32298         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
32299         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
32301         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
32302         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
32303         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
32304         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
32306         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
32307         merge into ...
32308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
32309         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
32310         ...
32311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
32312         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
32313         ...
32314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
32315         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32316         Moved ...
32317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
32318         here.
32319         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32320         Moved ...
32321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
32322         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32323         Moved ...
32324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
32326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
32327         conditional [RESET_PID].
32328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
32329         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
32330         removed.
32331         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
32332         removed.
32334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
32335         <tcb-offsets.h>.
32336         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32337         (__libc_vfork): New strong alias.
32338         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
32339         removed.
32340         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
32341         Removed.
32343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
32344         <tcb-offsets.h>.
32345         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
32346         (__libc_vfork): New strong alias.
32347         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
32348         removed.
32349         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
32350         removed.
32352 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
32354         * malloc/malloc.c (mi_arena): New function.
32355         (malloc_info): Remove nested function mi_arena. Call non-nosted
32356         function mi_arena.
32358 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32360         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
32361         by insrwi.
32362         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32363         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32364         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
32365         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
32366         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
32367         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
32368         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
32370 2014-05-26  Andreas Schwab  <schwab@suse.de>
32372         [BZ #16984]
32373         * locale/programs/repertoire.c (repertoire_read): Add slash
32374         between I18NPATH element and file name.
32375         * locale/programs/locfile.c (locfile_read): Likewise.
32377 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32379         * nptl/pthread_mutexattr_settype.c
32380         (__pthread_mutexattr_settype):
32381         Disable lock elision for PTHREAD_MUTEX_NORMAL.
32383 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32385         * nptl/tst-mutex5 (do_test):
32386         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
32388 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32390         * benchtests/README: Document 'init' directive.
32391         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
32392         BENCH_INIT.
32393         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
32394         (parse_file): Recognize 'init' directive.
32396 2014-05-26  Kyle McMartin  <kyle@redhat.com>
32398         [BZ #16796]
32399         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
32400         alignment of struct pthread.
32402 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32404         [BZ #16878]
32405         * nscd/netgroupcache.c (addgetnetgrentX): Look for
32406         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32407         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
32408         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32410 2014-05-25  Richard Henderson  <rth@twiddle.net>
32412         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32413         (SINGLE_THREAD_P_PIC): Remove.
32414         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
32415         (SINGLE_THREAD_P_PIC): Remove.
32417         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
32418         branch to syscall error ...
32419         (PSEUDO): ... here.
32420         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
32421         from __local_syscall_error to .Lsyscall_error.
32422         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
32423         (SYSCALL_ERROR): Update label name.
32425         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32426         Do not use DOARGS/UNDOARGS.
32427         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
32428         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
32429         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
32430         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
32431         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
32433         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
32434         block comment.
32436         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
32437         define if !NOT_IN_libc.
32438         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
32439         define with non-default symbol versions.
32441 2014-05-23  Richard Henderson  <rth@twiddle.net>
32443         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
32444         (vfork, __vfork): Define via compat_symbol.
32446         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
32447         [!HAVE_IFUNC] (vfork_compat): Remove.
32448         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
32450 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
32452         [BZ #16978]
32453         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
32454         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
32455         variable.
32457 2014-05-23  Richard Henderson  <rth@twiddle.net>
32459         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
32460         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
32461         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
32462         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
32464         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
32465         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
32466         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
32467         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
32468         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
32469         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
32470         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
32471         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
32472         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
32473         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
32474         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
32475         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
32476         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
32477         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
32478         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
32479         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
32480         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
32481         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
32482         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
32483         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
32484         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
32485         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
32486         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
32487         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
32488         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
32489         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
32490         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
32491         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
32492         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
32493         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
32494         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
32495         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
32496         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
32497         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
32498         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
32499         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
32500         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
32501         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
32502         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
32503         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
32504         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
32505         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
32506         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
32507         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
32508         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
32509         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
32510         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
32511         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
32512         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
32513         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
32514         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
32515         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
32516         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
32517         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
32518         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
32519         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
32521         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
32522         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
32523         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
32524         before exiting on error.
32525         (__libc_vfork): New strong alias.
32526         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
32527         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
32529         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
32530         that was previously under [RESET_PID].
32531         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
32533         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
32535 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
32537         [BZ #16977]
32538         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
32539         value when x - 1 is zero.
32540         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
32541         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
32542         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
32543         0.0L for an argument of 1.0L.
32544         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
32545         Likewise.
32546         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
32547         value when x - 1 is zero.
32548         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
32549         * sysdeps/i386/fpu/libm-test-ulps: Update.
32550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32552 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
32554         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
32555         alphasort and versionsort.
32557 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32559         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
32560         macro.
32561         [copysignf]: Likewise.
32563 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32565         * crypt/md5-crypt.c: Fix formatting.
32567 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32569         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
32570         (b64_from_24bit): New function.
32572 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32574         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
32575         libc_hidden_builtin_def to ifunc.
32576         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
32577         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
32579 2014-05-21  Roland McGrath  <roland@hack.frob.com>
32581         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
32582         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
32584 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
32586         * nscd/Depend (linuxthreads): Remove.
32587         (nptl): Add.
32588         * resolv/Depend (linuxthreads): Remove.
32589         * rt/Depend (linuxthreads): Remove.
32591         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
32592         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
32593         $(common-objpfx)elf/.
32594         (link-libc-before-gnulib): Likewise.
32595         (elfobjdir): Remove variable.
32596         * Makefile (install): Use $(elf-objpfx) instead of
32597         $(common-objpfx)elf/.
32598         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
32599         $(elfobjdir)/.
32600         (link-libc-deps): Likewise.
32601         ($(common-objpfx)libc.so): Likewise.
32602         ($(common-objpfx)linkobj/libc.so): Likewise.
32603         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
32604         instead of $(common-objpfx)elf/.
32605         (symbolic-link-list): Likewise.
32606         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32607         [$(cross-compiling) = no]: Likewise.
32608         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
32609         $(elfobjdir)/.
32610         (static-gnulib-arch): Likewise.
32611         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32612         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
32613         $(common-objpfx)elf/.
32615 2014-05-21  Richard Henderson  <rth@redhat.com>
32617         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32618         (SINGLE_THREAD_P): Use the correct width load.  Fold
32619         into the ldr offset.
32621         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
32622         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
32624 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
32626         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
32627         (libgcc_s_resume): Use __attribute_used__.
32628         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
32629         Likewise.
32631 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32633         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
32634         optimization when used with float constants.
32636         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32638 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
32640         [BZ #16915]
32641         * locale/nl_langinfo_l.c: Make direct reference to every
32642         _nl_current_CATEGORY symbol.
32643         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
32644         (tests-static): Add tst-langinfo-static.
32645         (tests-special): Add tst-langinfo-static.out.
32646         ($(objpfx)tst-langinfo.out): Redirect output.
32647         ($(objpfx)tst-langinfo-static.out): New.
32648         * localedata/tst-langinfo.sh: Send output to stdout.
32649         * localedata/tst-langinfo-static.c: New file.
32651         [BZ #16965]
32652         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
32653         when the shift amount is modulo the limb size.
32655 2014-05-20  Richard Henderson  <rth@redhat.com>
32657         [BZ #16967]
32658         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
32659         Change type of sa_flags from unsigned int to int.
32661         [BZ #16966]
32662         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
32664         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
32666 2014-05-20  Will Newton  <will.newton@linaro.org>
32668         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32669         Test the return value of the system call in the nocancel case.
32671 2014-05-20  Will Newton  <will.newton@linaro.org>
32672             Yvan Roux  <yvan.roux@linaro.org>
32674         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
32675         #include of asm/ptrace.h.
32676         (PTRACE_GET_THREAD_AREA): Remove #undef.
32677         (PTRACE_GETHBPREGS): Likewise.
32678         (PTRACE_SETHBPREGS): Likewise.
32679         (struct user_regs_struct): New structure.
32680         (struct user_fpsimd_struct): New structure.
32681         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
32682         #include of asm/ptrace.h and second #include of sys/user.h.
32683         (PTRACE_GET_THREAD_AREA): Remove #undef.
32684         (PTRACE_GETHBPREGS): Likewise.
32685         (PTRACE_SETHBPREGS): Likewise.
32686         (ELF_NGREG): Use new struct user_regs_struct.
32687         (elf_fpregset_t): Use new struct user_fpsimd_struct.
32689 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32691         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
32692         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
32694 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
32696         [BZ #16958]
32697         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
32698         membar to avoid block loads/stores to overlap previous stores.
32700 2014-05-17  Richard Henderson  <rth@redhat.com>
32702         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
32703         Create the __##syscall_name##_nocancel entry point.
32704         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
32705         Remove; let the sysdep-cancel.h code create it.
32707 2014-05-17  David S. Miller  <davem@davemloft.net>
32709         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
32710         Protect with __USE_GNU.
32711         (TIOCSET_TEMPT): Likewise.
32712         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32713         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
32714         these are already provided in bits/ioctl-types.h
32716 2014-05-16  Roland McGrath  <roland@hack.frob.com>
32718         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
32719         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
32721         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
32722         Use wait4 regardless of [__NR_waitpid].
32724 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
32726         PR libgcc/60166
32727         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
32728         (_FP_NANSIGN_Q): Set the quiet bit.
32730 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
32732         * benchtests/Makefile
32733         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
32734         not $(common-objpfx)math/libm.so.
32735         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
32736         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
32737         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
32738         $(common-objpfx)dlfcn/libdl.so.
32739         ($(objpfx)tst-audit8): Depend on $(libm), not
32740         $(common-objpfx)math/libm.so.
32741         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
32742         not $(common-objpfx)dlfcn/libdl.so.
32743         * math/Makefile
32744         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32745         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
32746         [$(build-shared) = yes].
32747         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
32748         $(common-objpfx)nptl/libpthread.so.
32749         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
32750         $(common-objpfx)math/libm.so$(libm.so-version) or
32751         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
32752         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
32753         $(common-objpfx)dlfcn/libdl.so.
32754         * setjmp/Makefile (link-libm): Remove variable.
32755         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
32756         * stdio-common/Makefile (link-libm): Remove variable.
32757         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
32758         * stdlib/Makefile (link-libm): Remove variable.
32759         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
32760         ($(objpfx)tst-strtod-round): Likewise.
32761         ($(objpfx)tst-tininess): Likewise.
32762         ($(objpfx)tst-strtod-underflow): Likewise.
32763         ($(objpfx)tst-strtod6): Likewise.
32764         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
32765         $(libdl), not $(common-objpfx)nptl/libpthread.so and
32766         $(common-objpfx)dlfcn/libdl.so.
32768 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32770         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
32771         BSD terminal modes definitions.
32773 2014-05-16  Roland McGrath  <roland@hack.frob.com>
32775         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
32776         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
32778         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
32779         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
32780         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
32781         Don't do #include_next.
32782         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
32783         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
32784         Don't do #include_next.
32785         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
32786         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
32787         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
32788         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
32790 2014-05-16  Allan McRae  <allan@archlinux.org>
32792         * po/sv.po: Update Swedish translation from translation project.
32794         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
32795         in sed expression.
32797 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
32799         [BZ #16917]
32800         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
32801         errno if the TIOCGPTN ioctl fails with an error different than
32802         EINVAL.
32803         * login/tst-ptsname.c: New file.
32804         * login/Makefile (tests): Add tst-ptsname.
32806         [BZ #16943]
32807         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
32808         and prlimit64.
32810 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32812         [BZ #16849]
32813         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
32814         herrno to return EAI_AGAIN.
32816 2014-05-14  Roland McGrath  <roland@hack.frob.com>
32818         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
32819         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
32820         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
32821         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
32822         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
32823         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
32824         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
32825         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
32826         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
32827         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
32828         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
32829         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
32830         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
32831         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
32832         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
32833         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
32834         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
32835         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
32836         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
32837         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
32838         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
32839         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
32840         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
32841         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
32842         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
32843         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
32844         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
32845         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
32846         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
32847         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
32848         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
32849         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
32850         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
32851         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
32852         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32853         Moved ...
32854         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
32855         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
32856         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
32857         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
32858         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
32859         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
32860         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
32861         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
32862         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
32863         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
32864         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
32865         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
32866         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
32867         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
32868         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
32869         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
32870         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
32871         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
32872         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
32873         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
32874         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
32875         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
32876         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
32877         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
32878         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
32879         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
32880         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
32881         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32882         Moved ...
32883         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
32884         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
32885         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
32886         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
32887         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
32888         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
32889         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
32890         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
32891         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
32892         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
32893         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
32894         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
32895         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
32896         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
32897         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
32898         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
32899         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
32900         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
32901         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
32902         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32903         Moved ...
32904         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
32905         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
32906         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
32908         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
32909         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
32910         (libpthread-sysdep_routines): Add elision-related stuff here instead.
32911         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
32912         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
32913         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
32914         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
32915         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
32916         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
32917         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
32918         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
32919         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
32920         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
32921         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
32922         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
32923         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
32924         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
32925         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
32926         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
32927         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
32928         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
32929         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
32930         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
32931         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
32932         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
32933         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
32934         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
32935         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
32936         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
32937         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
32938         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
32940         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
32941         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
32943         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
32944         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
32945         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
32946         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
32947         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
32948         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
32949         Moved ...
32950         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
32951         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
32952         Moved ...
32953         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
32954         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
32955         Moved ...
32956         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
32957         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
32958         Moved ...
32959         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
32960         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
32961         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
32962         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
32963         Moved ...
32964         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
32965         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
32966         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
32967         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
32968         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
32969         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
32970         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
32971         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
32972         Moved ...
32973         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
32974         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
32975         Moved ...
32976         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
32977         ... here.
32978         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
32979         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
32980         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
32981         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
32982         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
32983         Moved ...
32984         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
32985         ... here.
32986         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
32987         Moved ...
32988         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
32989         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
32990         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
32991         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
32992         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
32993         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
32994         Moved ...
32995         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
32996         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
32997         Moved ...
32998         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
32999         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
33000         Moved ...
33001         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
33002         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
33003         Moved ...
33004         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
33005         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
33006         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
33007         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
33008         Moved ...
33009         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
33010         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
33011         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
33012         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
33013         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
33014         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
33015         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
33016         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
33017         Moved ...
33018         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
33019         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33020         Moved ...
33021         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33022         ... here.
33023         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
33024         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
33025         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
33026         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
33027         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33028         Moved ...
33029         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33030         ... here.
33031         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
33032         Moved ...
33033         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
33034         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
33035         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
33036         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
33037         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
33038         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
33039         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
33040         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
33041         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
33042         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
33043         Moved ...
33044         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
33045         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
33046         Moved ...
33047         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
33048         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
33049         Moved ...
33050         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
33051         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
33052         Moved ...
33053         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
33054         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
33055         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
33056         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
33057         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
33058         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
33059         Moved ...
33060         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
33061         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
33062         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
33063         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
33064         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
33065         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
33066         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
33067         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
33068         Moved ...
33069         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
33070         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33071         Moved ...
33072         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33073         ... here.
33074         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
33075         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
33076         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
33077         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
33078         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33079         Moved ...
33080         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33081         ... here.
33082         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
33083         Moved ...
33084         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
33085         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
33086         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
33087         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
33088         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
33089         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
33090         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
33091         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
33092         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
33093         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
33094         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
33096         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
33097         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
33099         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
33100         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
33102         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
33103         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
33104         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
33105         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
33106         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
33107         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
33108         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
33109         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
33110         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
33111         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
33112         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
33113         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
33114         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
33115         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
33116         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
33117         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
33118         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
33119         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
33120         Moved ...
33121         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
33122         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
33123         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
33124         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
33125         Moved ...
33126         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
33127         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
33128         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
33129         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
33130         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
33131         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
33132         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
33133         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
33134         Moved ...
33135         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
33136         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
33137         Moved ...
33138         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
33139         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
33140         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
33141         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
33142         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
33143         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
33144         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
33145         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
33146         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
33147         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
33148         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
33149         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
33150         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
33151         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
33152         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
33153         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
33154         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
33156         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
33157         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
33158         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
33159         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
33160         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
33162         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
33163         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
33164         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
33165         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
33166         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
33167         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
33168         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
33169         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
33170         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
33171         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
33173         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
33174         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
33176         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
33177         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
33178         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
33179         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
33180         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
33181         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
33182         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
33183         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
33184         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
33185         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
33186         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
33187         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
33188         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
33189         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
33190         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
33191         Update #include.
33192         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
33193         Likewise.
33194         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33195         Likewise.
33196         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33197         Likewise.
33198         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33199         Likewise.
33200         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
33201         Likewise.
33202         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
33203         Likewise.
33204         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33205         Likewise.
33206         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
33207         Likewise.
33208         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
33209         Likewise.
33210         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
33211         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
33212         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
33213         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
33214         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
33215         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
33216         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
33217         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
33218         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
33219         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
33220         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
33221         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
33222         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
33223         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
33224         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
33226         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
33227         that was previously under [RESET_PID].
33228         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33229         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
33230         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
33232         * sysdeps/i386/nptl/Implies: New file.
33233         * sysdeps/x86_64/nptl/Implies: New file.
33234         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
33235         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
33236         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
33237         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
33239         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
33240         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33241         (__libc_vfork): New strong alias.
33242         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
33243         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
33245         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
33246         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33247         (__libc_vfork): New strong alias.
33248         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
33249         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
33251         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
33252         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33253         (__libc_vfork): New strong alias.
33254         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
33255         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
33256         * nptl/pt-vfork.c: New file.
33257         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
33258         (libpthread: GLIBC_2.20): New version set (empty).
33260 2014-05-14  Will Newton  <will.newton@linaro.org>
33262         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
33263         rather than #if.
33265 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33267         [BZ #16564]
33268         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
33269         arguments with exponent 65 or above.
33270         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
33271         arguments 0x1p113L or above.
33272         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
33273         to arguments 0x1p107L or above.
33274         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
33275         positive arguments with exponent 65 or above.
33276         * math/auto-libm-test-in: Add more tests of log1p.
33277         * math/auto-libm-test-out: Regenerated.
33279         [BZ #16928]
33280         * math/s_cacos.c (__cacos): Ensure zero real part of result from
33281         non-finite arguments is +0.
33282         * math/s_cacosf.c (__cacosf): Likewise.
33283         * math/s_cacosl.c (__cacosl): Likewise.
33284         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
33285         * sysdeps/i386/fpu/libm-test-ulps: Update.
33286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33288         [BZ #16927]
33289         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
33290         value.
33291         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
33292         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
33293         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
33294         for explicit high bit of mantissa when testing for argument equal
33295         to 1.
33296         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
33297         * sysdeps/i386/fpu/libm-test-ulps: Update.
33298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33300         [BZ #16516]
33301         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
33302         (__erf): Scale by 16 instead of 8 in potentially underflowing
33303         case.  Ensure exception if result actually underflows.
33304         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
33305         (__erff): Scale by 16 instead of 8 in potentially underflowing
33306         case.  Ensure exception if result actually underflows.
33307         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
33308         (efx8): Remove variable.
33309         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33310         case.  Ensure exception if result actually underflows.
33311         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
33312         (efx8): Remove variable.
33313         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33314         case.  Ensure exception if result actually underflows.
33315         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
33316         (efx8): Remove variable.
33317         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33318         case.  Ensure exception if result actually underflows.
33319         * math/auto-libm-test-in: Add more tests of erf.
33320         * math/auto-libm-test-out: Regenerated.
33322 2014-05-14  Andreas Schwab  <schwab@suse.de>
33324         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
33325         Remove code conditionalized on USE___THREAD.
33327         * config.h.in (HAVE_PT_CHOWN): Define as 0.
33328         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
33329         not definedness.
33331 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33333         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
33334         Define unconditionally.
33335         (__ASSUME_O_CLOEXEC): Likewise.
33336         (__ASSUME_SOCK_CLOEXEC): Likewise.
33337         (__ASSUME_IN_NONBLOCK): Likewise.
33338         (__ASSUME_PIPE2): Likewise.
33339         (__ASSUME_EVENTFD2): Likewise.
33340         (__ASSUME_SIGNALFD4): Likewise.
33341         (__ASSUME_DUP3): Likewise.
33342         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33343         (__ASSUME_DUP3): Do not define.
33344         (__ASSUME_EVENTFD2): Likewise.
33345         (__ASSUME_IN_NONBLOCK): Likewise.
33346         (__ASSUME_O_CLOEXEC): Likewise.
33347         (__ASSUME_PIPE2): Likewise.
33348         (__ASSUME_SIGNALFD4): Likewise.
33349         (__ASSUME_SOCK_CLOEXEC): Likewise.
33350         (__ASSUME_UTIMES): Undefine.
33351         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33352         (__ASSUME_UTIMES): Do not define.
33353         (__ASSUME_O_CLOEXEC): Likewise.
33354         (__ASSUME_SOCK_CLOEXEC): Likewise.
33355         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
33356         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
33357         0x020621].
33358         (__ASSUME_PIPE2): Likewise.
33359         (__ASSUME_EVENTFD2): Likewise.
33360         (__ASSUME_SIGNALFD4): Likewise.
33361         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
33362         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
33363         Do not define.
33364         (__ASSUME_EVENTFD2): Likewise.
33365         (__ASSUME_SIGNALFD4): Likewise.
33366         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33367         (__ASSUME_32BITUIDS): Likewise.
33368         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33369         (__ASSUME_IPC64): Likewise.
33370         (__ASSUME_ST_INO_64_BIT): Likewise.
33371         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
33372         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
33373         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33374         (__ASSUME_UTIMES): Do not define.
33375         (__ASSUME_PSELECT): Likewise.
33376         (__ASSUME_PPOLL): Likewise.
33377         (__ASSUME_O_CLOEXEC): Likewise.
33378         (__ASSUME_SOCK_CLOEXEC): Likewise.
33379         (__ASSUME_IN_NONBLOCK): Likewise.
33380         (__ASSUME_PIPE2): Likewise.
33381         (__ASSUME_EVENTFD2): Likewise.
33382         (__ASSUME_SIGNALFD4): Likewise.
33383         (__ASSUME_DUP3): Likewise.
33384         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33385         (__ASSUME_UTIMES): Likewise.
33386         (__ASSUME_O_CLOEXEC): Likewise.
33387         (__ASSUME_SOCK_CLOEXEC): Likewise.
33388         (__ASSUME_IN_NONBLOCK): Likewise.
33389         (__ASSUME_PIPE2): Likewise.
33390         (__ASSUME_EVENTFD2): Likewise.
33391         (__ASSUME_SIGNALFD4): Likewise.
33392         (__ASSUME_DUP3): Likewise.
33393         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33394         (__ASSUME_UTIMES): Likewise.
33395         (__ASSUME_O_CLOEXEC): Likewise.
33396         (__ASSUME_SOCK_CLOEXEC): Likewise.
33397         (__ASSUME_IN_NONBLOCK): Likewise.
33398         (__ASSUME_PIPE2): Likewise.
33399         (__ASSUME_EVENTFD2): Likewise.
33400         (__ASSUME_SIGNALFD4): Likewise.
33401         (__ASSUME_DUP3): Likewise.
33402         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
33403         Likewise.
33404         (__ASSUME_UTIMES): Likewise.
33405         (__ASSUME_EVENTFD2): Likewise.
33406         (__ASSUME_SIGNALFD4): Likewise.
33407         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33408         (__ASSUME_O_CLOEXEC): Likewise.
33409         (__ASSUME_SOCK_CLOEXEC): Likewise.
33410         (__ASSUME_IN_NONBLOCK): Likewise.
33411         (__ASSUME_PIPE2): Likewise.
33412         (__ASSUME_EVENTFD2): Likewise.
33413         (__ASSUME_SIGNALFD4): Likewise.
33414         (__ASSUME_DUP3): Likewise.
33415         (__ASSUME_UTIMES): Undefine.
33417         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
33418         feclearexcept.  Remove symbol versioning code.
33419         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
33420         symbol versioning code.
33421         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
33422         symbol versioning code.
33423         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
33424         feupdateenv.  Remove symbol versioning code.
33425         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
33426         fegetexceptflag.  Remove symbol versioning code.
33427         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
33428         fesetexceptflag.  Remove symbol versioning code.
33429         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
33430         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
33431         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
33432         (__posix_fadvise64_l32): Remove prototype.
33433         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
33434         code.
33436 2014-05-13  Roland McGrath  <roland@hack.frob.com>
33438         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
33439         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
33440         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
33441         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
33443 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
33445         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
33446         current working directory
33448 2014-05-13  Roland McGrath  <roland@hack.frob.com>
33450         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
33451         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
33452         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
33453         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
33454         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
33455         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
33456         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
33457         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
33458         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
33459         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
33460         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
33461         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
33462         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
33463         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
33464         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
33465         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
33466         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
33467         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
33468         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
33469         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
33470         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
33471         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
33472         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
33473         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
33474         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
33475         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
33476         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
33477         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
33478         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
33479         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
33480         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
33481         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
33482         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
33483         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
33484         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
33485         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
33486         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
33487         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
33488         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
33489         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
33490         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
33491         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
33493         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
33494         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
33496         * sysdeps/unix/sysv/linux/arm/Makefile
33497         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
33498         Add rt-aeabi_unwind_cpp_pr1.
33499         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
33500         Add nptl-aeabi_unwind_cpp_pr1.
33501         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
33502         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
33503         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
33504         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
33505         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
33506         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
33508         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
33509         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
33510         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
33511         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
33513         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
33514         Deconditionalize the code that was previously under [RESET_PID].
33515         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
33517         * sysdeps/generic/exit-thread.h: New file.
33518         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
33519         * include/unistd.h (__exit_thread): Remove declaration.
33520         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
33521         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
33522         * csu/libc-start.c: Include <exit-thread.h>.
33523         (LIBC_START_MAIN): Pass no argument to __exit_thread.
33524         * nptl/pthread_create.c: Include <exit-thread.h>.
33525         (start_thread): Call __exit_thread in place of __exit_thread_inline.
33526         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
33527         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
33528         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
33529         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
33530         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
33531         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
33532         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
33533         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
33534         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
33535         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
33536         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
33537         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
33538         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
33539         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
33540         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
33541         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
33543 2014-05-13  Andreas Schwab  <schwab@suse.de>
33545         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
33547 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
33549         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
33550         (__ASSUME_UTIMES): Do not condition on kernel version.
33551         (__ASSUME_PSELECT): Define unconditionally.
33552         (__ASSUME_PPOLL): Likewise.
33553         (__ASSUME_ATFCTS): Likewise.
33554         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
33555         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
33556         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
33557         (__ASSUME_UTIMENSAT): Define unconditionally.
33558         (__ASSUME_PRIVATE_FUTEX): Likewise.
33559         (__ASSUME_FALLOCATE): Likewise.
33560         (__ASSUME_O_CLOEXEC): Likewise.
33561         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
33562         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
33563         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
33564         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
33565         (__ASSUME_IN_NONBLOCK): Likewise.
33566         (__ASSUME_PIPE2): Likewise.
33567         (__ASSUME_EVENTFD2): Likewise.
33568         (__ASSUME_SIGNALFD4): Likewise.
33569         (__ASSUME_DUP3): Likewise.
33570         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33571         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
33572         (__ASSUME_AT_RANDOM): Likewise.
33573         (__ASSUME_PREADV): Likewise.
33574         (__ASSUME_PWRITEV): Likewise.
33575         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
33576         (__ASSUME_F_GETOWN_EX): Define unconditionally.
33577         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
33578         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33579         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
33580         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33581         (__ASSUME_O_CLOEXEC): Define unconditionally.
33582         (__ASSUME_PSELECT): Do not undefine conditionally.
33583         (__ASSUME_PPOLL): Likewise.
33584         (__ASSUME_ATFCTS): Likewise.
33585         (__ASSUME_SET_ROBUST_LIST): Likewise.
33586         (__ASSUME_UTIMENSAT): Likewise.
33587         (__ASSUME_FDATASYNC): Define unconditionally.
33588         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33589         (__ASSUME_SIGFRAME_V2): Likewise.
33590         )__ASSUME_EVENTFD2): Likewise.
33591         (__ASSUME_SIGNALFD4): Likewise.
33592         (__ASSUME_PSELECT): Do not undefine conditionally.
33593         (__ASSUME_PPOLL): Likewise.
33594         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33595         (__ASSUME_PSELECT): Define unconditionally.
33596         (__ASSUME_PPOLL): Likewise.
33597         (__ASSUME_O_CLOEXEC): Likewise.
33598         (__ASSUME_SOCK_CLOEXEC): Likewise.
33599         (__ASSUME_IN_NONBLOCK): Likewise.
33600         (__ASSUME_PIPE2): Likewise.
33601         (__ASSUME_EVENTFD2): Likewise.
33602         (__ASSUME_SIGNALFD4): Likewise.
33603         (__ASSUME_DUP3): Likewise.
33604         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33605         (__ASSUME_O_CLOEXEC): Likewise.
33606         (__ASSUME_SOCK_CLOEXEC): Likewise.
33607         (__ASSUME_IN_NONBLOCK): Likewise.
33608         (__ASSUME_PIPE2): Likewise.
33609         (__ASSUME_EVENTFD2): Likewise.
33610         (__ASSUME_SIGNALFD4): Likewise.
33611         (__ASSUME_DUP3): Likewise.
33612         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33613         (__ASSUME_EVENTFD2): Likewise.
33614         (__ASSUME_SIGNALFD4): Likewise.
33615         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33617 2014-05-12  Andreas Schwab  <schwab@suse.de>
33619         [BZ #16932]
33620         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
33621         (_nss_nis_gethostbyname4_r): Return error if item length is larger
33622         than maximum RPC packet size.
33623         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
33624         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
33625         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
33626         (_nss_nis_getservbyport_r): Likewise.
33628 2014-05-12  Will Newton  <will.newton@linaro.org>
33630         * malloc/Makefile (tests): Add tst-mallopt.
33631         * malloc/tst-mallopt.c: New file.
33633 2014-05-09  Roland McGrath  <roland@hack.frob.com>
33635         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
33636         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
33638 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33640         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
33641         (tst-tlsmod6.so): Likewise.
33643 2014-05-09  Roland McGrath  <roland@hack.frob.com>
33645         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
33647 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
33649         [BZ #16064]
33650         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
33651         and <dl-procinfo.h>.
33652         (__fegetenv): Save SSE state in envp->__eip if supported.
33653         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
33654         envp->__eip if supported.
33655         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
33656         and <dl-procinfo.h>.
33657         (__fesetenv): Always set __eip, __cs_selector, __opcode,
33658         __data_offset and __data_selector in environment to 0.  Set SSE
33659         state if supported.
33660         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
33661         test-fenv-sse.
33662         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
33663         -mfpmath=sse.
33664         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
33666 2014-05-09  Will Newton  <will.newton@linaro.org>
33668         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
33669         and libc_relro_required for ARM.
33670         * sysdeps/arm/preconfigure: Regenerate.
33672 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
33673             Stefan Liebler  <stli@linux.vnet.ibm.com>
33675         * config.make.in (enable-lock-elision): New Makefile variable.
33676         * configure.ac: Likewise.
33677         * configure: Regenerate.
33678         * sysdeps/s390/configure.ac:
33679         Add check for gcc transactions support.
33680         * sysdeps/s390/configure: Regenerate.
33681         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
33682         Build elision files if enabled.
33683         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
33684         Add lock elision support for s390.
33685         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
33686         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
33687         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
33688         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
33689         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
33690         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
33691         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
33692         Likewise.
33693         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
33694         Likewise.
33695         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
33696         Likewise.
33697         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
33698         Likewise.
33699         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
33700         (__lll_timedlock_elision, __lll_lock_elision)
33701         (__lll_unlock_elision, __lll_trylock_elision)
33702         (lll_timedlock_elision, lll_lock_elision)
33703         (lll_unlock_elision, lll_trylock_elision): Add.
33704         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33705         (pthread_mutex_t): Add lock elision support for s390.
33707 2014-05-14  Wilco  <wdijkstr@arm.com>
33709         * sysdeps/arm/fclrexcpt.c: Cleanup.
33710         * sysdeps/arm/fedisblxcpt.c: Cleanup.
33711         * sysdeps/arm/feenablxcpt.c: Cleanup.
33712         * sysdeps/arm/fegetenv.c: Cleanup.
33713         * sysdeps/arm/fegetexcept.c: Cleanup.
33714         * sysdeps/arm/fegetround.c: Cleanup.
33715         * sysdeps/arm/feholdexcpt.c: Cleanup.
33716         * sysdeps/arm/fesetenv.c: Cleanup.
33717         * sysdeps/arm/fesetround.c: Cleanup.
33718         * sysdeps/arm/feupdateenv.c: Cleanup.
33719         * sysdeps/arm/fgetexcptflg.c: Cleanup.
33720         * sysdeps/arm/fraiseexcpt.c: Cleanup.
33721         * sysdeps/arm/fsetexcptflg.c: Cleanup.
33722         * sysdeps/arm/ftestexcept.c: Cleanup.
33723         * sysdeps/arm/get-rounding-mode.h: Cleanup.
33724         * sysdeps/arm/setfpucw.c: Cleanup.
33726 2014-05-09  Will Newton  <will.newton@linaro.org>
33728         * sysdeps/arm/armv7/strcmp.S: New file.
33729         * NEWS: Mention addition of ARMv7 optimized strcmp.
33731 2014-05-08  Roland McGrath  <roland@hack.frob.com>
33733         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
33734         look for %.ac rather than %.in.
33736         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
33737         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
33738         * sysdeps/mach/hurd/configure: Regenerated.
33739         * sysdeps/unix/sysv/linux/configure: Regenerated.
33741         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
33743 2014-05-07  Steve Ellcey  <sellcey@mips.com>
33745         [BZ# 16922]
33746         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
33747         (LONG_SUB): Ditto.
33748         (PTR_SUB): Ditto.
33750 2014-05-07  Andreas Schwab  <schwab@suse.de>
33752         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
33753         when skipping over non-matching result from nscd.
33755 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
33757         [BZ #16876]
33758         * nptl/sockperf.c (client): Check socket return value.
33760         [BZ #16877]
33761         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
33762         nscd security class.
33764 2014-05-06  Roland McGrath  <roland@hack.frob.com>
33766         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
33767         * sysdeps/arm/unwind.h: ... here.
33769 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
33771         [BZ# 16916]
33772         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
33773         Define.
33775 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33777         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
33778         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
33779         multiarch strncpy for PPC64.
33780         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
33781         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
33782         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
33783         multiarch optimizations.
33784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33785         (__libc_ifunc_impl_list): Likewise.
33786         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
33787         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
33788         multiarch stpncpy for PPC64.
33789         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
33790         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
33792 2014-05-06  Andreas Schwab  <schwab@suse.de>
33794         [BZ #16912]
33795         * gmon/mcount.c (_MCOUNT_DECL): Use
33796         atomic_compare_and_exchange_bool_acq instead of
33797         catomic_compare_and_exchange_bool_acq.
33799 2014-05-05  Roland McGrath  <roland@hack.frob.com>
33801         * elf/Makefile (others, install-bin): Remove pldd.
33802         (pldd-modules): Variable removed.
33803         ($(objpfx)pldd): Target removed.
33804         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
33805         (others, install-bin): Append pldd here.
33806         ($(objpfx)pldd): New target.
33808         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
33809         to 0, so the first #if test emitted later doesn't see it undefined.
33810         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
33811         * sysdeps/gnu/errlist.c: Regenerated.
33813 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33815         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33816         [libc_hidden_builtin_def]: Define to empty value.
33817         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
33818         [libc_hidden_builtin_def]: Likewise.
33819         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
33820         [libc_hidden_builtin_def]: Likewise.
33821         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
33822         [libc_hidden_builtin_def]: Likewise.
33823         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
33824         __redirect_memcpy and define ifunc as default hidden symbol.
33825         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
33826         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
33828 2014-05-04  Adam Conrad  <adconrad@0c3.net>
33830         * locale/iso-4217.def: Reintroduce XDR currency.
33832 2014-05-04  Allan McRae  <allan@archlinux.org>
33834         * po/eo.po: Update Esperanto translation from translation project.
33836 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
33838         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
33839         and FEATURE_INDEX_MAX to 1.
33840         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
33842 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33844         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
33845         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
33846         * iconvdata/big5.c (ONE_DIRECTION): Define.
33847         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
33848         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
33849         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
33850         * iconvdata/cp932.c (ONE_DIRECTION): Define.
33851         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
33852         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
33853         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
33854         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
33855         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
33856         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
33857         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
33858         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
33859         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
33860         * iconvdata/gbk.c (ONE_DIRECTION): Define.
33861         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
33862         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
33863         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
33864         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
33865         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
33866         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
33867         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
33868         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
33869         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
33870         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
33871         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
33872         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
33873         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
33874         * iconvdata/iso646.c (ONE_DIRECTION): Define.
33875         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
33876         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
33877         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
33878         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
33879         * iconvdata/johab.c (ONE_DIRECTION): Define.
33880         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
33881         * iconvdata/sjis.c (ONE_DIRECTION): Define.
33882         * iconvdata/t.61.c (ONE_DIRECTION): Define.
33883         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
33884         * iconvdata/tscii.c (ONE_DIRECTION): Define.
33885         * iconvdata/uhc.c (ONE_DIRECTION): Define.
33886         * iconvdata/unicode.c (ONE_DIRECTION): Define.
33887         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
33888         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
33889         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
33891 2014-05-01  Roland McGrath  <roland@hack.frob.com>
33893         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
33894         (_IO_JUMPS_OFFSET): Define to 0.
33896         * nptl/sysdeps/pthread/bits/libc-lock.h
33897         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
33898         (__libc_lock_define_initialized_recursive): Always define using
33899         initializer.  Modern compilers treat uninitialized (implicit zero) and
33900         explicit zero initializers the same (i.e. put the datum in bss).
33902 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33904         * nscd/nscd-client.h: Include <string.h>.
33906 2014-05-01  David S. Miller  <davem@davemloft.net>
33908         [BZ #16885]
33909         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
33910         multiple zero bytes exist at the end of a string.
33911         Reported by Aurelien Jarno <aurelien@aurel32.net>
33913         * string/test-strcmp.c (check): Add explicit test for situations where
33914         there are multiple zero bytes after the first.
33916 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33918         [BZ #16890]
33919         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
33920         when compiling wprintf.
33921         * stdio-common/tstdiomisc.c (t3): New function.
33922         (main): Call it.
33924 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33926         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
33927         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
33928         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
33929         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
33931 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33933         * stdlib/longlong.h: Updated from GCC.
33935 2014-05-01  Will Newton  <will.newton@linaro.org>
33936             Bernard Ogden  <bernie.ogden@linaro.org>
33938         * NEWS: Update fixed bug list.
33940         [BZ #15119]
33941         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
33943 2014-04-30  David S. Miller  <davem@davemloft.net>
33945         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
33946         (libc_feholdexcept_setround_sparc_ctx): New function.
33947         (libc_fesetenv_sparc_ctx): Likewise.
33948         (libc_feupdateenv_sparc_ctx): Likewise.
33949         (libc_feholdsetround_sparc_ctx): Likewise.
33950         (libc_feholdexcept_setround_ctx): Define.
33951         (libc_feholdexcept_setroundf_ctx): Likewise.
33952         (libc_feholdexcept_setroundl_ctx): Likewise.
33953         (libc_fesetenv_ctx): Likewise.
33954         (libc_fesetenvf_ctx): Likewise.
33955         (libc_fesetenvl_ctx): Likewise.
33956         (libc_feupdateenv_ctx): Likewise.
33957         (libc_feupdateenvf_ctx): Likewise.
33958         (libc_feupdateenvl_ctx): Likewise.
33959         (libc_feresetround_ctx): Likewise.
33960         (libc_feresetroundf_ctx): Likewise.
33961         (libc_feresetroundl_ctx): Likewise.
33962         (libc_feholdsetround_ctx): Likewise.
33963         (libc_feholdsetroundf_ctx): Likewise.
33964         (libc_feholdsetroundl_ctx): Likewise.
33966         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
33967         with __USE_GNU instead of XOPEN cpp guards.
33969         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
33970         0.
33972         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
33973         with XOPEN cpp guards.
33975 2014-04-30  Julian Brown  <julian@codesourcery.com>
33977         [BZ #16888]
33978         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
33979         handling.
33981 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
33983         [BZ #9894]
33984         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
33985         Change to 2.6.32.
33986         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
33987         * sysdeps/unix/sysv/linux/configure: Regenerated.
33988         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
33989         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
33990         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
33991         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
33992         * README: Update reference to required Linux kernel version.
33993         * manual/install.texi (Linux): Update reference to required Linux
33994         kernel headers version.
33995         * INSTALL: Regenerated.
33997         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
33998         header inclusion.
33999         [POSIX] (limits.h): Likewise.
34000         [POSIX] (math.h): Likewise.
34001         [POSIX] (sys/wait.h): Likewise.
34002         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
34003         function.
34004         [POSIX] (stddef.h): Do not allow header inclusion.
34006 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34008         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
34010 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
34012         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
34013         Return immediately after lll_futex_wake.
34015 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34017         [BZ #16791]
34018         * nscd/nscd-client.h (datahead_init_common): Initialize entire
34019         structure.
34020         (datahead_init_pos): Call datahead_init_common early.
34021         (datahead_init_neg): Likewise.
34023         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
34024         datahead_init_neg): New functions.
34025         * nscd/aicache.c (addhstaiX): Use them.
34026         * nscd/grpcache.c (cache_addgr): Likewise.
34027         * nscd/hstcache.c (cache_addhst): Likewise.
34028         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34029         * nscd/netgroupcache.c (do_notfound): Likewise.
34030         (addgetnetgrentX): Likewise.
34031         (addinnetgrX): Likewise.
34032         * nscd/pwdcache.c (cache_addpw): Likewise.
34033         * nscd/servicescache.c (cache_addserv): Likewise.
34035 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34036             Atsushi Onoe  <atsushi@onoe.org>
34038         [BZ #14308]
34039         [BZ #12994]
34040         [BZ #13651]
34041         * resolv/res_query.c (__libc_res_nsearch): Return if at least
34042         one response is valid.
34043         * resolv/res_send.c (send_dg): Check for validity of other
34044         response if the current response is a referral.
34046 2014-04-29  Steve Ellcey  <sellcey@mips.com>
34048         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
34050 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
34052         [BZ #16823]
34053         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
34054         Always divide by positive zero when computing -Inf result.
34055         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34056         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
34058 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34060         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
34061         FPSCR if value do not change.
34062         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34063         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
34064         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34065         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
34066         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
34067         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
34068         function.
34070 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
34072         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
34073         * sysdeps/unix/sysv/linux/hppa: Move directory from
34074         ports/systeps/unix/sysv/linux/hppa.
34075         * README: Update listing for hppa-*-linux-gnu.
34077 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
34079         [BZ #16754]
34080         * manual/stdio.texi (Hook functions): Fix types of stream hook
34081         functions.
34082         [BZ #16854]
34083         * socket/sys/socket.h: Fix typo in comment.
34085 2014-04-28  Wilco  <wdijkstr@arm.com>
34087         * sysdeps/arm/fenv_private.h: New file.
34088         * sysdeps/arm/math_private.h: New file.
34089         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
34091 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
34093         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
34094         with __int128_t.
34095         (La_x86_64_retval): Likewise.
34097 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
34099         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
34100         fpsr if value didn't change.
34101         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
34102         to fpcr if value didn't change.
34103         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
34104         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
34105         fpsr or fpcr if value didn't change.
34106         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
34107         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
34108         fpcr if value didn't change.
34109         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
34110         to fpsr if value didn't change.
34112 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34114         * nptl/tst-sem3.c: Use test-skeleton.c
34115         (main): Rename to do_test.  Use return instead of
34116         exit.
34117         * nptl/tst-sem4.c: Use test-skeleton.c
34118         (main): Rename to do_test.
34120 2014-04-22  David S. Miller  <davem@davemloft.net>
34122         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34123         (struct sigaction): New struct member __glibc_reserved0, change
34124         type of sa_flags to int.
34126 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
34128         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
34129         (COUNT_LEADING_ZEROS_0): Define for AArch64.
34131 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34133         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
34134         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
34136 2014-04-22  Will Newton  <will.newton@linaro.org>
34137             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
34139         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
34140         (__longjmp): Add longjmp and longjmp_target SystemTap
34141         probes.
34142         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
34143         (__sigsetjmp): Add setjmp SystemTap probe.
34145 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
34147         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
34148         match manual order.
34150 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34152         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
34154         * sysdeps/powerpc/fpu/fenv_private.h
34155         (libc_feholdexcept_setroundl_ctx): Define to
34156         libc_feholdexcept_setround_ppc_ctx.
34157         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
34158         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
34159         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
34160         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
34162 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
34164         * sysdeps/aarch64/math-tests.h: New file.
34166 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
34168         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
34169         New.
34170         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34171         Check and set bit_AVX2_Usable.
34172         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
34173         macro.
34174         (bit_AVX2): Likewise.
34175         (index_AVX2_Usable): Likewise.
34176         (CPUID_AVX2): Likewise.
34177         (HAS_AVX2): Likewise.
34179 2014-04-17  Will Newton  <will.newton@linaro.org>
34181         * manual/setjmp.texi (System V contexts): Add note that
34182         calling setcontext on a context created by a call to a
34183         signal handler is undefined.  Update text to note that
34184         setcontext from a signal handler is possible but not
34185         recommended.
34187         [BZ #16629]
34188         * stdlib/tst-setcontext.c: Include signal.h.
34189         (main): Check that the signal stack before and
34190         after swapcontext is the same.
34192         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
34193         Re-implement to restore registers in user code and avoid
34194         rt_sigreturn system call.
34196 2014-04-17  Wilco  <wdijkstr@arm.com>
34198         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
34199         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
34200         * math/test-fenv.c: Skip exception trap tests on targets which only
34201         support non-stop mode.
34203 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
34204             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34206         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
34207         (libc_feholdsetround_aarch64_ctx)
34208         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
34209         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
34210         (libc_feresetround_ctx, libc_feresetroundf_ctx)
34211         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
34212         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
34213         (libc_feresetround_noexl_ctx): Define.
34215 2014-04-16  Richard Henderson  <rth@redhat.com>
34217         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
34219         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
34220         unwind tables.
34222         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
34223         const from the non-libc, non-ldso copy.
34225         * sysdeps/alpha/libm-test-ulps: Regenerate.
34227 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
34228             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34230         * sysdeps/aarch64/fpu/math_private.h: New file.
34232 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34234         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34236 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
34238         [BZ #16275]
34239         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
34240         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
34241         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
34242         Intel MPX bound registers before _dl_profile_fixup.
34243         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
34244         registers after _dl_profile_fixup.  Save and restore bound
34245         registers bnd0/bnd1 when calling _dl_call_pltexit.
34246         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
34247         (LR_BND_OFFSET): Likewise.
34248         (LRV_BND0_OFFSET): Likewise.
34249         (LRV_BND1_OFFSET): Likewise.
34251 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34253         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
34254         to...
34255         * sysdeps/mach/hurd/i386/tls.h: ... here.
34256         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
34257         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
34258         fields.
34260 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34262         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
34264 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34266         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34268 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34270         [BZ #14770]
34271         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
34272         * sysdeps/s390/configure: Regenerate.
34274         [BZ #16824]
34275         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
34276         Set round-to-nearest internally to reduce error accumulation.
34278 2014-04-16  Alan Modra  <amodra@gmail.com>
34280         [BZ #16740]
34281         [BZ #16619]
34282         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
34283         * math/libm-test.inc (frexp_test_data): Add tests.
34284         * NEWS: Update fixed bug list.
34286 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34288         * benchtests/Makefile: Depend on libraries in build directory.
34289         (bench-math): Separate out math tests.
34290         (bench-pthread): Separate out pthread tests.
34291         (bench): Include math and pthread tests.
34293 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
34295         [BZ #16831]
34296         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
34297         _dl_debug_initialize.
34299         * configure.ac: Remove SELinux header check.
34300         * configure: Regenerate.
34301         * nscd/selinux.c (perms): Array of const char* to permission names.
34302         (nscd_request_avc_has_perm): Call security_deny_unknown to find
34303         default policy. Call string_to_security_class and string_to_av_perm to
34304         translate strings. Enforce default policy and call avs_has_perm with
34305         results of translated strings.
34307 2014-04-13  David S. Miller  <davem@davemloft.net>
34309         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34311 2014-04-12  Allan McRae  <allan@archlinux.org>
34313         [BZ #16838]
34314         * manual/string.texi (Collation Functions): Fix qsort argument
34315         order in example.
34316         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34318 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
34320         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
34321         Make the test a no-op if there are no exceptions defined.
34323 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
34325         * elf/Makefile (tests): make tst-dlopen-aout conditional on
34326         enable-hardcoded-path-in-tests
34328 2014-04-11  Will Newton  <will.newton@linaro.org>
34330         * benchtests/Makefile (extra-objs): Add json-lib.o.
34331         (bench-func): Tidy up JSON output.
34332         * benchtests/bench-skeleton.c: Include json-lib.h.
34333         (main): Use JSON library functions to do output of
34334         benchmark results.
34335         * benchtests/bench-timing-type.c (main): Output the
34336         timing type simply, leaving formatting to the user.
34337         * benchtests/json-lib.c: New file.
34338         * benchtests/json-lib.h: Likewise.
34340 2014-04-11  Torvald Riegel  <triegel@redhat.com>
34342         [BZ #15215]
34343         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
34344         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
34345         memory barriers.  Add comments.
34346         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
34347         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
34348         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
34349         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
34350         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
34351         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
34353 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34355         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
34356         * sysdeps/s390/s390-64/configure.ac: ... this ...
34357         * sysdeps/s390/configure.ac: ... to here.
34358         * sysdeps/s390/s390-32/configure: Delete file.
34359         * sysdeps/s390/s390-64/configure: Delete file.
34360         * sysdeps/s390/configure: Regenerate.
34362 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
34364         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
34366 2014-04-11  Will Newton  <will.newton@linaro.org>
34368         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
34369         to zero if it is not defined elsewhere.  (mtrim): Test
34370         the value of MALLOC_DEBUG with #if rather than #ifdef.
34372 2014-04-10 Torvald Riegel  <triegel@redhat.com>
34374         * benchtests/pthread_once-inputs: New file.
34375         * benchtests/pthread_once-source.c: New file.
34376         * benchtests/README: Update documentation.
34378 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
34379             H.J. Lu  <hongjiu.lu@intel.com>
34381         [BZ #16275]
34382         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
34383         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
34384         * sysdeps/x86_64/configure: Regenerated.
34385         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
34386         macro.
34387         (REGISTER_SAVE_RAX): Likewise.
34388         (REGISTER_SAVE_RCX): Likewise.
34389         (REGISTER_SAVE_RDX): Likewise.
34390         (REGISTER_SAVE_RSI): Likewise.
34391         (REGISTER_SAVE_RDI): Likewise.
34392         (REGISTER_SAVE_R8): Likewise.
34393         (REGISTER_SAVE_R9): Likewise.
34394         (REGISTER_SAVE_BND0): Likewise.
34395         (REGISTER_SAVE_BND1): Likewise.
34396         (REGISTER_SAVE_BND2): Likewise.
34397         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
34398         bound registers when calling _dl_fixup.
34400 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34402         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
34403         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
34404         of its definition.
34405         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
34406         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
34407         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
34408         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
34409         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
34410         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
34411         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
34413 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
34415         [BZ #15514]
34416         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
34417         pathconf(_PC_NAME_MAX).
34419 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34421         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
34422         Remove macro usage.
34423         (__PTHREAD_SPINS): Move definition to ...
34424         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34425         (__PTHREAD_SPINS): ... here.
34426         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34427         (__PTHREAD_SPIN): Likewise.
34428         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
34429         (__PTHREAD_SPIN): Likewise.
34430         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
34431         (__PTHREAD_SPIN): Likewise.
34432         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
34433         (__PTHREAD_SPIN): Likewise.
34434         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34435         (__PTHREAD_SPIN): Likewise.
34436         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34437         (__PTHREAD_SPIN): Likewise.
34438         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
34439         (__PTHREAD_SPIN): Likewise.
34440         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34441         (__PTHREAD_SPIN): Likewise.
34442         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34443         (__PTHREAD_SPIN): Likewise.
34444         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34445         (__PTHREAD_SPIN): Likewise.
34446         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34447         (__PTHREAD_SPIN): Likewise.
34448         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
34449         (__PTHREAD_SPIN): Likewise.
34451         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
34452         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
34453         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
34454         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
34455         imply folder.
34456         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
34457         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
34458         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
34459         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
34460         correct imply path.
34461         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
34462         strlen symbol for non multi-arch builds.
34463         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
34464         missing hidden_def and weak_alias.
34466 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
34468         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
34470 2014-04-07  Will Newton  <will.newton@linaro.org>
34472         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
34473         and contents.  [!_LIBC] Remove #ifndef and contents.
34474         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
34475         * string/memccpy.c (__memccpy): Use ANSI prototype.
34476         * string/memfrob.c (memfrob): Likewise.
34477         * string/strcoll.c (STRCOLL): Likewise.
34478         * string/strlen.c (strlen): Likewise.
34479         * string/strtok.c (STRTOK): Likewise.
34480         * string/strcat.c: Remove unused #include of memcopy.h.
34481         (strcat): Use ANSI prototype.
34482         * string/strchr.c: Remove unused #include of memcopy.h.
34483         (strchr): Use ANSI prototype.
34484         * string/strcmp.c: Remove unused #include of memcopy.h.
34485         (strcmp): Use ANSI prototype.
34486         * string/strcpy.c: Remove unused #include of memcopy.h.
34487         (strcpy): Use ANSI prototype.
34489 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34491         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
34492         * config.make.in (config-extra-cppflags): Set it from
34493         libc_extra_cppflags.
34494         * configure.ac (libc_extra_cflags): Make it accumulate over
34495         configure fragments.
34496         (libc_extra_cppflags): New flag.
34497         * configure. Regenerate.
34498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
34499         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
34500         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
34501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
34503         [BZ #16815]
34504         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
34505         result for FE_DOWNWARD rounding mode.
34506         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
34507         Likewise.
34508         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34510 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
34512         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
34513         in function argument name.
34515 2014-04-03  David Svoboda  <svoboda@cert.org>
34517         [BZ #5666]
34518         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
34519         explicitly.
34521 2014-04-03  Roland McGrath  <roland@hack.frob.com>
34523         * elf/dl-unmap-segments.h: New file.
34524         * sysdeps/generic/ldsodefs.h
34525         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
34526         * elf/dl-close.c: Include <dl-unmap-segments.h>.
34527         * elf/dl-fptr.c: Likewise.
34528         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
34529         * sysdeps/aarch64/tlsdesc.c: Likewise.
34530         * sysdeps/arm/tlsdesc.c: Likewise.
34531         * sysdeps/i386/tlsdesc.c: Likewise.
34532         * sysdeps/tile/dl-runtime.c: Likewise.
34533         * sysdeps/x86_64/tlsdesc.c: Likewise.
34534         * elf/dl-load.h: New file.
34535         * elf/dl-load.c: Include it.
34536         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
34537         Macros moved to dl-load.h.
34538         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
34539         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
34540         Use _dl_unmap_segments in place of __munmap.
34541         Break out segment-mapping loop into ...
34542         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
34544 2014-04-03  Will Newton  <will.newton@linaro.org>
34546         * elf/dl-lookup.c (do_lookup_x): Remove comment
34547         referring to nested function and move variable
34548         declarations down to before first use.
34550 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
34552         [BZ #16799]
34553         [BZ #16800]
34554         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
34555         with 0 numerator.
34556         * math/s_catanf.c (__catanf): Likewise.
34557         * math/s_catanh.c (__catanh): Likewise.
34558         * math/s_catanhf.c (__catanhf): Likewise.
34559         * math/s_catanhl.c (__catanhl): Likewise.
34560         * math/s_catanl.c (__catanl): Likewise.
34561         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
34562         by positive zero when computing -Inf result.
34563         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
34564         (catanh_test): Likewise.
34565         * sysdeps/i386/fpu/libm-test-ulps: Update.
34566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34568         [BZ #16789]
34569         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
34570         instead of using underflowing value in computing result.
34571         * math/s_clog10.c (__clog10): Likewise.
34572         * math/s_clog10f.c (__clog10f): Likewise.
34573         * math/s_clog10l.c (__clog10l): Likewise.
34574         * math/s_clogf.c (__clogf): Likewise.
34575         * math/s_clogl.c (__clogl): Likewise.
34576         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
34577         (clog10_test): Likewise.
34578         * sysdeps/i386/fpu/libm-test-ulps: Update.
34579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34581 2014-04-02  Alan Modra  <amodra@gmail.com>
34583         [BZ #16739]
34584         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
34585         output when value is near a power of two.  Use int64_t for lx and
34586         remove casts.  Use decimal rather than hex exponent constants.
34587         Don't use long double multiplication when double will suffice.
34588         * math/libm-test.inc (nextafter_test_data): Add tests.
34589         * NEWS: Add 16739 and 16786 to bug list.
34591         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
34593         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
34595 2014-04-01  Will Newton  <will.newton@linaro.org>
34597         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
34598         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
34600 2014-04-01  Florian Weimer  <fweimer@redhat.com>
34602         [BZ #13347]
34603         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
34604         * nptl/tst-setuid2.c: New file.
34605         * nptl/Makefile (xtests): Add tst-setuid2.
34607 2014-04-01  Alan Modra  <amodra@gmail.com>
34609         [BZ #16786]
34610         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
34612 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
34614         [BZ #6803]
34615         [BZ #6804]
34616         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
34617         set errno as appropriate.
34618         * math/w_scalbf.c (__scalbf): Likewise.
34619         * math/w_scalbl.c (__scalbl): Likewise.
34620         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
34621         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
34622         * math/libm-test.inc (scalb_test_data): Add errno expectations.
34623         Add more NaN tests.
34625         [BZ #16349]
34626         * math/w_atan2.c: Include <errno.h>.
34627         (__atan2): Set errno for result underflowing to zero.
34628         * math/w_atan2f.c: Include <errno.h>.
34629         (__atan2f): Set errno for result underflowing to zero.
34630         * math/w_atan2l.c: Include <errno.h>.
34631         (__atan2l): Set errno for result underflowing to zero.
34632         * math/auto-libm-test-in: Don't allow missing errno for some atan2
34633         tests.
34634         * math/auto-libm-test-out: Regenerated.
34636 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34638         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
34639         Encode instruction correctly in little endian.
34640         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
34641         Likewise.
34642         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
34643         Likewise.
34644         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
34645         Likewise.
34646         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
34647         Likewise.
34649 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
34651         [BZ #9894]
34652         * sysdeps/unix/sysv/linux/kernel-features.h
34653         [__sparc__ && !__arch64__ && !__sparc_v9__]
34654         (__ASSUME_SET_ROBUST_LIST): Do not define.
34655         [__sparc__ && !__arch64__ && !__sparc_v9__]
34656         (__ASSUME_FUTEX_LOCK_PI): Likewise.
34657         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
34658         Likewise.
34659         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34660         (__ASSUME_FUTEX_LOCK_PI): Undefine.
34661         (__ASSUME_REQUEUE_PI): Likewise.
34662         (__ASSUME_SET_ROBUST_LIST): Likewise.
34663         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34664         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
34665         Undefine.
34666         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34667         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
34668         Likewise.
34669         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
34670         Likewise.
34671         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
34672         Likewise.
34673         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34674         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
34675         Undefine.
34676         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
34677         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
34678         Likewise.
34680         [BZ #16648]
34681         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34682         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
34683         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
34685 2014-03-31  Will Newton  <will.newton@linaro.org>
34687         * benchtests/Makefile (bench): Add ffs and ffsll to list
34688         of tests.
34689         * benchtests/ffs-inputs: New file.
34690         * benchtests/ffsll-inputs: Likewise.
34692 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
34694         [BZ #16770]
34695         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
34696         too large before casting to int.
34697         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
34698         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
34699         * math/libm-test.inc (scalb_test_data): Add more tests.
34701 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34703         * benchtests/Makefile (DETAILED_OPT): New make option.
34704         (bench-func): Run benchmark program with -d if DETAILED_OPT is
34705         set.
34706         * benchtests/bench-skeleton.c: Include stdbool.h.
34707         (main): Store and print timings per input.
34708         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
34709         member to each argument value.
34710         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
34711         (_print_arg_data): Initialize per-input timing to 0.
34713         * benchtests/Makefile (timing-type): New binary.
34714         (bench-clean): Also remove bench-timing-type.
34715         (bench): New target for timing-type.
34716         (bench-func): Print output in JSON format.
34717         * benchtests/bench-skeleton.c (main): Print output in JSON
34718         format.
34719         * benchtests/bench-timing-type.c: New file.
34720         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
34721         (TIMING_PRINT_STATS): Remove.
34722         * benchtests/scripts/bench.py (_print_arg_data): Store variant
34723         name separately.
34725         * benchtests/bench-modf.c: Remove.
34726         * benchtests/modf-inputs: New inputs file.
34728 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
34730         [BZ #16362]
34731         * math/s_clog10.c (M_PI_LOG10E): New macro.
34732         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
34733         imaginary parts are 0.
34734         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
34735         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
34736         imaginary parts are 0.
34737         * math/s_clog10l.c (M_PI_LOG10El): New macro.
34738         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
34739         imaginary parts are 0.
34740         * math/libm-test.inc (clog10_test_data): Update expected results
34741         for when real and imaginary parts are 0.
34743 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
34745         * elf/dl-load.c: Finish conversion of __builtin_expect into
34746         __glibc_{un}likely.
34748 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
34750         [BZ #16348]
34751         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
34752         1+x for argument with exponent below -67.
34753         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
34754         Likewise.
34755         * math/auto-libm-test-in: Add more tests of exp.
34756         * math/auto-libm-test-out: Regenerated.
34758 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34760         [BZ #16759]
34761         * inet/getnetgrent_r.c (get_nonempty_val): New function.
34762         (nscd_getnetgrent): Use it.
34764         [BZ #16760]
34765         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
34766         of stpcpy.
34768 2014-03-27  Andi Kleen  <ak@linux.intel.com>
34770         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
34771         (lll_robust_lock, lll_cond_lock, lll_timedlock)
34772         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34773         (lll_robust_unlock): Remove out of line section. Use cfi
34774         intrinsics.
34775         (LLL_STUB_UNWIND_INFO*): Remove.
34776         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
34777         (lll_robust_lock, lll_cond_lock, lll_timedlock)
34778         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34779         (lll_robust_unlock): Remove out of line section. Use cfi
34780         intrinsics.
34781         (LLL_STUB_UNWIND_INFO*): Remove.
34783 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34785         [BZ #16758]
34786         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
34787         blank values.
34789 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
34791         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
34793 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
34795         [BZ #16198]
34796         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
34797         fnstenv.
34798         * math/test-fenv-preserve.c: New file.
34799         * math/Makefile (tests): Add test-fenv-preserve.
34801 2014-03-26  Will Newton <will.newton@linaro.org>
34803         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
34805 2014-03-25  Roland McGrath  <roland@hack.frob.com>
34807         * scripts/versionlist.awk: Partition the version sets and emit all
34808         GLIBC_* (sorted) before all others (sorted).
34810 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
34812         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
34813         GLIBC_2.2.5 version.
34815 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34817         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
34818         calls.
34820         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
34821         previous change.
34823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34825 2014-03-25  Andreas Schwab  <schwab@suse.de>
34827         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
34828         label to be used after in6ailist is initialized.
34830 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34832         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34833         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34835 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
34837         [BZ #16357]
34838         [BZ #16599]
34839         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
34840         min_plus_half.
34841         (fp_formats): Update initializers.
34842         (init_fp_formats): Initialize new field.
34843         (output_for_one_input_case): Allow underflow for results up to
34844         min_plus_half.
34845         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
34846         * math/auto-libm-test-in: Don't mark some underflows from asin and
34847         atanh as spurious.
34848         * math/auto-libm-test-out: Regenerated.
34849         * sysdeps/i386/fpu/libm-test-ulps: Update.
34850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34852 2014-03-25  Andreas Schwab  <schwab@suse.de>
34854         * libio/Makefile (tst-ftell-partial-wide-ENV)
34855         (tst-ftell-active-handler-ENV): Define.
34857 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
34859         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
34861 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34863         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
34865 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
34867         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
34868         * sysdeps/x86_64/fpu/multiarch/e_exp.c
34869         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
34871 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34873         [BZ #16634]
34874         * elf/dl-load.c (open_verify): Add mode parameter.
34875         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
34876         (open_path): Change from boolean 'secure' to complete flag 'mode'
34877         (_dl_map_object): Adjust.
34878         * elf/Makefile (tests): Add tst-dlopen-aout.
34879         * elf/tst-dlopen-aout.c: New test.
34881 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
34883         [BZ #16714]
34884         * sysdeps/unix/sysv/linux/s390/bits/stat.h
34885         (struct stat): Rename member pad0 to __glibc_reserved0.
34887         [BZ #16712]
34888         * sysdeps/s390/s390-32/bits/wordsize.h
34889         (__WORDSIZE32_SIZE_ULONG): New define.
34890         * sysdeps/s390/s390-64/bits/wordsize.h
34891         (__WORDSIZE32_SIZE_ULONG): Likewise.
34892         * sysdeps/generic/stdint.h (SIZE_MAX):
34893         Define as UL if __WORDSIZE32_SIZE_ULONG.
34895         [BZ #16713]
34896         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34897         (__glibc_reserved0): New variable.
34898         (sa_flags): Change type to int.
34900         * posix/Makefile (before-compile): Use += before-compile instead
34901         of a :=.
34903         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34904         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34906 2014-03-20  Andreas Schwab  <schwab@suse.de>
34908         [BZ #16743]
34909         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
34910         non-matching result from nscd.
34912 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34914         * scripts/bench.py: Moved to ...
34915         * benchtests/scripts/bench.py: ... here.
34916         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
34918 2014-03-24  Andreas Schwab  <schwab@suse.de>
34920         [BZ #16002]
34921         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
34922         alloca_account and account alloca use for struct in6ailist.
34924 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
34926         [BZ #16284]
34927         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
34928         rounding mode to recompute results that overflow to infinity or
34929         underflow to zero.
34930         * math/auto-libm-test-in: Don't mark tests as expected to fail for
34931         bug 16284.
34932         * math/auto-libm-test-out: Regenerated.
34933         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
34934         (ccosh_test): Likewise.
34935         (csin_test_data): Use plus_oflow.
34936         (csin_test): Use ALL_RM_TEST.
34937         (csinh_test_data): Use plus_oflow.
34938         (csinh_test): Use ALL_RM_TEST.
34939         * sysdeps/i386/fpu/libm-test-ulps: Update.
34940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34942 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
34944         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
34945         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
34946         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
34948         [BZ #16731]
34949         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
34950         when x - 1 is zero.
34951         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
34952         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
34953         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
34954         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
34955         argument is 1.
34956         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
34957         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
34958         zero.
34959         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
34960         * sysdeps/i386/fpu/libm-test-ulps: Update.
34961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34963 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34965         * scripts/bench.pl: Remove file.
34966         * scripts/bench.py: New benchmark script.
34967         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
34968         * benchtests/README: Mention python dependency.
34969         * scripts/pylintrc: New file.
34970         * scripts/pylint: New file.
34972         * bits/mathdef.h: Use #ifdef instead of #if.
34973         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
34974         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34975         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
34976         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34977         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
34978         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34980 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34981             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34983         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
34984         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
34985         and strpbrk-ppc64 objects.
34986         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34987         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
34988         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
34989         multiarch strpbrk for POWER7.
34990         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
34991         multiarch strpbrk for PPC64.
34992         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
34993         ifunc selector.
34994         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
34995         strpbrk for POWER7.
34997 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
34999         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
35000         (atan_test): Likewise.
35001         (atanh_test_data): Use NO_TEST_INLINE for two tests.
35002         (atanh_test): Use ALL_RM_TEST.
35003         (atan2_test_data): Likewise.
35004         (cabs_test): Likewise.
35005         (cacosh_test): Likewise.
35006         (carg_test): Likewise.
35007         (casin_test): Likewise.
35008         (casinh_test): Likewise.
35009         (cbrt_test): Likewise.
35010         (csqrt_test): Likewise.
35011         (erf_test): Likewise.
35012         (erfc_test): Likewise.
35013         (pow10_test): Likewise.
35014         (exp2_test): Likewise.
35015         (hypot_test): Likewise.
35016         (j0_test): Likewise.
35017         (j1_test): Likewise.
35018         (lgamma_test): Likewise.
35019         (gamma_test): Likewise.
35020         (sincos_test): Likewise.
35021         (tanh_test): Likewise.
35022         (y0_test): Likewise.
35023         (y1_test): Likewise.
35024         * sysdeps/i386/fpu/libm-test-ulps: Update.
35025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35027 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35029         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
35030         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
35031         and strcspn-ppc64 objects.
35032         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35033         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
35034         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
35035         multiarch strcspn for POWER7.
35036         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
35037         multiarch strcspn for PPC64.
35038         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
35039         ifunc selector.
35040         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
35041         strcspn for POWER7.
35043 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
35045         * math/gen-libm-test.pl (generate_testfile): Expect only function
35046         name as argument to AUTO_TESTS_* and pass results for all rounding
35047         modes to parse_args.
35048         (parse_auto_input): Separate inputs of automatic tests from
35049         outputs before storing in %auto_tests.
35050         * math/libm-test.inc (acos_test_data): Update call to
35051         AUTO_TESTS_f_f.
35052         (acos_test): Use ALL_RM_TEST.
35053         (acos_tonearest_test_data): Remove.
35054         (acos_test_tonearest): Likewise.
35055         (acos_towardzero_test_data): Likewise.
35056         (acos_test_towardzero): Likewise.
35057         (acos_downward_test_data): Likewise.
35058         (acos_test_downward): Likewise.
35059         (acos_upward_test_data): Likewise.
35060         (acos_test_upward): Likewise.
35061         (acosh_test_data): Update call to AUTO_TESTS_f_f.
35062         (asin_test_data): Likewise.
35063         (asin_test): Use ALL_RM_TEST.
35064         (asin_tonearest_test_data): Remove.
35065         (asin_test_tonearest): Likewise.
35066         (asin_towardzero_test_data): Likewise.
35067         (asin_test_towardzero): Likewise.
35068         (asin_downward_test_data): Likewise.
35069         (asin_test_downward): Likewise.
35070         (asin_upward_test_data): Likewise.
35071         (asin_test_upward): Likewise.
35072         (asinh_test_data): Update call to AUTO_TESTS_f_f.
35073         (atan_test_data): Likewise.
35074         (atanh_test_data): Likewise.
35075         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
35076         (cabs_test_data): Update call to AUTO_TESTS_c_f.
35077         (carg_test_data): Likewise.
35078         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
35079         (ccos_test_data): Update call to AUTO_TESTS_c_c.
35080         (ccosh_test_data): Likewise.
35081         (cexp_test_data): Likewise.
35082         (clog_test_data): Likewise.
35083         (clog10_test_data): Likewise.
35084         (cos_test_data): Update call to AUTO_TESTS_f_f.
35085         (cos_test): Use ALL_RM_TEST.
35086         (cos_tonearest_test_data): Remove.
35087         (cos_test_tonearest): Likewise.
35088         (cos_towardzero_test_data): Likewise.
35089         (cos_test_towardzero): Likewise.
35090         (cos_downward_test_data): Likewise.
35091         (cos_test_downward): Likewise.
35092         (cos_upward_test_data): Likewise.
35093         (cos_test_upward): Likewise.
35094         (cosh_test_data): Update call to AUTO_TESTS_f_f.
35095         (cosh_test): Use ALL_RM_TEST.
35096         (cosh_tonearest_test_data): Remove.
35097         (cosh_test_tonearest): Likewise.
35098         (cosh_towardzero_test_data): Likewise.
35099         (cosh_test_towardzero): Likewise.
35100         (cosh_downward_test_data): Likewise.
35101         (cosh_test_downward): Likewise.
35102         (cosh_upward_test_data): Likewise.
35103         (cosh_test_upward): Likewise.
35104         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
35105         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
35106         (ctan_test_data): Likewise.
35107         (ctan_test): Use ALL_RM_TEST.
35108         (ctan_tonearest_test_data): Remove.
35109         (ctan_test_tonearest): Likewise.
35110         (ctan_towardzero_test_data): Likewise.
35111         (ctan_test_towardzero): Likewise.
35112         (ctan_downward_test_data): Likewise.
35113         (ctan_test_downward): Likewise.
35114         (ctan_upward_test_data): Likewise.
35115         (ctan_test_upward): Likewise.
35116         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
35117         (ctanh_test): Use ALL_RM_TEST.
35118         (ctanh_tonearest_test_data): Remove.
35119         (ctanh_test_tonearest): Likewise.
35120         (ctanh_towardzero_test_data): Likewise.
35121         (ctanh_test_towardzero): Likewise.
35122         (ctanh_downward_test_data): Likewise.
35123         (ctanh_test_downward): Likewise.
35124         (ctanh_upward_test_data): Likewise.
35125         (ctanh_test_upward): Likewise.
35126         (erf_test_data): Update call to AUTO_TESTS_f_f.
35127         (erfc_test_data): Likewise.
35128         (exp_test_data): Likewise.
35129         (exp_test): Use ALL_RM_TEST.
35130         (exp_tonearest_test_data): Remove.
35131         (exp_test_tonearest): Likewise.
35132         (exp_towardzero_test_data): Likewise.
35133         (exp_test_towardzero): Likewise.
35134         (exp_downward_test_data): Likewise.
35135         (exp_test_downward): Likewise.
35136         (exp_upward_test_data): Likewise.
35137         (exp_test_upward): Likewise.
35138         (exp10_test_data): Update call to AUTO_TESTS_f_f.
35139         (exp10_test): Use ALL_RM_TEST.
35140         (exp10_tonearest_test_data): Remove.
35141         (exp10_test_tonearest): Likewise.
35142         (exp10_towardzero_test_data): Likewise.
35143         (exp10_test_towardzero): Likewise.
35144         (exp10_downward_test_data): Likewise.
35145         (exp10_test_downward): Likewise.
35146         (exp10_upward_test_data): Likewise.
35147         (exp10_test_upward): Likewise.
35148         (exp2_test_data): Update call to AUTO_TESTS_f_f.
35149         (expm1_test_data): Likewise.
35150         (expm1_test): Use ALL_RM_TEST.
35151         (expm1_tonearest_test_data): Remove.
35152         (expm1_test_tonearest): Likewise.
35153         (expm1_towardzero_test_data): Likewise.
35154         (expm1_test_towardzero): Likewise.
35155         (expm1_downward_test_data): Likewise.
35156         (expm1_test_downward): Likewise.
35157         (expm1_upward_test_data): Likewise.
35158         (expm1_test_upward): Likewise.
35159         (fma_test_data): Update call to AUTO_TESTS_fff_f.
35160         (fma_test): Use ALL_RM_TEST.
35161         (fma_towardzero_test_data): Remove.
35162         (fma_test_towardzero): Likewise.
35163         (fma_downward_test_data): Likewise.
35164         (fma_test_downward): Likewise.
35165         (fma_upward_test_data): Likewise.
35166         (fma_test_upward): Likewise.
35167         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
35168         (j0_test_data): Update call to AUTO_TESTS_f_f.
35169         (j1_test_data): Likewise.
35170         (jn_test_data): Update call to AUTO_TESTS_if_f.
35171         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
35172         (log_test_data): Update call to AUTO_TESTS_f_f.
35173         (log10_test_data): Likewise.
35174         (log1p_test_data): Likewise.
35175         (log2_test_data): Likewise.
35176         (pow_test_data): Update call to AUTO_TESTS_ff_f.
35177         (pow_tonearest_test_data): Likewise.
35178         (sin_test_data): Update call to AUTO_TESTS_f_f.
35179         (sin_test): Use ALL_RM_TEST.
35180         (sin_tonearest_test_data): Remove.
35181         (sin_test_tonearest): Likewise.
35182         (sin_towardzero_test_data): Likewise.
35183         (sin_test_towardzero): Likewise.
35184         (sin_downward_test_data): Likewise.
35185         (sin_test_downward): Likewise.
35186         (sin_upward_test_data): Likewise.
35187         (sin_test_upward): Likewise.
35188         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
35189         (sinh_test_data): Update call to AUTO_TESTS_f_f.
35190         (sinh_test): Use ALL_RM_TEST.
35191         (sinh_tonearest_test_data): Remove.
35192         (sinh_test_tonearest): Likewise.
35193         (sinh_towardzero_test_data): Likewise.
35194         (sinh_test_towardzero): Likewise.
35195         (sinh_downward_test_data): Likewise.
35196         (sinh_test_downward): Likewise.
35197         (sinh_upward_test_data): Likewise.
35198         (sinh_test_upward): Likewise.
35199         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
35200         (sqrt_test): Use ALL_RM_TEST.
35201         (sqrt_tonearest_test_data): Remove.
35202         (sqrt_test_tonearest): Likewise.
35203         (sqrt_towardzero_test_data): Likewise.
35204         (sqrt_test_towardzero): Likewise.
35205         (sqrt_downward_test_data): Likewise.
35206         (sqrt_test_downward): Likewise.
35207         (sqrt_upward_test_data): Likewise.
35208         (sqrt_test_upward): Likewise.
35209         (tan_test_data): Update call to AUTO_TESTS_f_f.
35210         (tan_test): Use ALL_RM_TEST.
35211         (tan_tonearest_test_data): Remove.
35212         (tan_test_tonearest): Likewise.
35213         (tan_towardzero_test_data): Likewise.
35214         (tan_test_towardzero): Likewise.
35215         (tan_downward_test_data): Likewise.
35216         (tan_test_downward): Likewise.
35217         (tan_upward_test_data): Likewise.
35218         (tan_test_upward): Likewise.
35219         (tanh_test_data): Update call to AUTO_TESTS_f_f.
35220         (tgamma_test_data): Likewise.
35221         (y0_test_data): Likewise.
35222         (y1_test_data): Likewise.
35223         (yn_test_data): Update call to AUTO_TESTS_if_f.
35224         (main): Do not call removed functions.
35226 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35228         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
35229         (ldexp_test_data): Remove.
35230         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
35231         scalbn_test_data.
35232         (scalb_test): Use ALL_RM_TEST.
35234 2014-03-19  Andreas Schwab  <schwab@suse.de>
35236         * nscd/nscd.service: Also invalidate netgroup cache on reload.
35238 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35240         [BZ #16649]
35241         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35242         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
35243         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
35244         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35245         (__ASSUME_PREADV): Undefine.
35246         (__ASSUME_PWRITEV): Likewise.
35248 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35250         * bits/mman-linux.h: Add comment about non-Linux use.
35251         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
35252         bits/mman-linux.h resting place.
35254         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
35255         * bits/mman-linux.h: ... here.
35257 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35259         * conform/conformtest.pl: Add standard definition when calling C
35260         preprocessor on data files.
35261         (checknamespace): Remove unused variable.
35263 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35265         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
35266         minus_oflow, plus_uflow and minus_uflow in expected results.
35267         * math/libm-test.inc (scalbn_test_data): Add more tests of
35268         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
35269         minus_uflow.
35270         (scalbn_test): Use ALL_RM_TEST.
35271         (scalbln_test_data): Add more tests of negative arguments.  Use
35272         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
35273         (scalbln_test): Use ALL_RM_TEST.
35275 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35277         * scripts/abilist.awk: Ignore symbols marked with .hidden.
35279 2014-03-18  Will Newton  <will.newton@linaro.org>
35281         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
35282         inaccurate comment.
35284 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35286         * Makerules [!subdir] (check-abi): Exit with error status if a
35287         test failed.
35289 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
35291         * math/libm-test.inc (nearbyint_test_data): Include all tests used
35292         for rint.  Include results for all rounding modes.
35293         (nearbyint_test): Use ALL_RM_TEST.
35294         (rint_test_data): Include all tests used for nearbyint.
35296 2014-03-17  Will Newton  <will.newton@linaro.org>
35298         * nptl/sysdeps/pthread/pthread.h: Revert previous
35299         change.
35301         * sysdeps/generic/ldsodefs.h: Revert previous
35302         change.
35304         * libio/genops.c: Revert previous change.
35305         * libio/libioP.h: Likewise.
35306         * stdio-common/vfprintf.c: Likewise.
35308         * sysdeps/generic/math_private.h: Revert previous
35309         change.
35311         * sysdeps/generic/math_private.h: Check whether
35312         HAVE_RM_CTX is defined with #ifdef rather
35313         than #if.
35315         * argp/argp-fmtstream.h: Check whether
35316         __STRICT_ANSI__ is defined with #ifdef rather
35317         than #if.
35318         * argp/argp.h: Likewise.
35320         * libio/genops.c: Check whether
35321         _IO_JUMPS_OFFSET is defined with #ifdef rather
35322         than #if.
35323         * libio/libioP.h: Likewise.
35324         * stdio-common/vfprintf.c: Likewise.
35326         * sysdeps/generic/ldsodefs.h: Check whether
35327         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
35328         than #if.
35330         * nptl/sysdeps/pthread/pthread.h: Check
35331         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
35332         its value.
35334 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35336         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
35337         setting O_APPEND.
35338         * libio/tst-ftell-active-handler.c (do_append_test): Add a
35339         test case.
35341         [BZ #16680]
35342         * libio/fileops.c (_IO_file_open): Seek to end of file but
35343         don't cache the offset.
35344         (get_file_offset): Remove function.
35345         (do_ftell): Use cached offset when available.
35346         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
35347         don't cache the offset.
35348         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
35349         case.
35350         (do_one_test): Call it.
35351         (do_ftell_test): Fix up expected old offset for a+ mode.
35352         * libio/wfileops.c (do_ftell_wide): Used cached offset when
35353         available.
35355         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
35356         up test status with function return status.
35357         (do_write_test): Likewise.
35358         (do_append_test): Likewise.
35360         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
35361         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
35362         Remove.
35364 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
35366         * math/gen-libm-test.pl (parse_args): Handle results specified for
35367         each rounding mode separately.
35368         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
35369         tests and results from lrint_tonearest_test_data,
35370         lrint_towardzero_test_data, lrint_downward_test_data and
35371         lrint_upward_test_data.
35372         (lrint_test): Use ALL_RM_TEST.
35373         (lrint_tonearest_test_data): Remove.
35374         (lrint_test_tonearest): Likewise.
35375         (lrint_towardzero_test_data): Likewise.
35376         (lrint_test_towardzero): Likewise.
35377         (lrint_downward_test_data): Likewise.
35378         (lrint_test_downward): Likewise.
35379         (lrint_upward_test_data): Likewise.
35380         (lrint_test_upward): Likewise.
35381         (llrint_test_data): Merge in per-rounding-mode tests and results
35382         from llrint_tonearest_test_data, llrint_towardzero_test_data,
35383         llrint_downward_test_data and llrint_upward_test_data.
35384         (llrint_test): Use ALL_RM_TEST.
35385         (llrint_tonearest_test_data): Remove.
35386         (llrint_test_tonearest): Likewise.
35387         (llrint_towardzero_test_data): Likewise.
35388         (llrint_test_towardzero): Likewise.
35389         (llrint_downward_test_data): Likewise.
35390         (llrint_test_downward): Likewise.
35391         (llrint_upward_test_data): Likewise.
35392         (llrint_test_upward): Likewise.
35393         (rint_test_data): Merge in per-rounding-mode tests and results
35394         from rint_tonearest_test_data, rint_towardzero_test_data,
35395         rint_downward_test_data and rint_upward_test_data.  Add
35396         per-rounding-mode results for tests not in those arrays.
35397         (rint_test): Use ALL_RM_TEST.
35398         (rint_tonearest_test_data): Remove.
35399         (rint_test_tonearest): Likewise.
35400         (rint_towardzero_test_data): Likewise.
35401         (rint_test_towardzero): Likewise.
35402         (rint_downward_test_data): Likewise.
35403         (rint_test_downward): Likewise.
35404         (rint_upward_test_data): Likewise.
35405         (rint_test_upward): Likewise.
35406         (main): Don't call removed functions.
35408 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35410         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
35411         "Compiled on ..." crapola.  It is anti-useful.
35413 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
35415         * scripts/evaluate-test.sh: Handle fourth argument to determine
35416         whether test run should stop on failure.
35417         * Makeconfig (stop-on-test-failure): New variable.
35418         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
35419         $(stop-on-test-failure).
35420         * Makefile (tests): Give a summary of results from testing and
35421         exit with failure status if they include an ERROR or FAIL.
35422         (xtests): Likewise.
35423         * manual/install.texi (Configuring and compiling): Mention
35424         stop-on-test-failure=y.
35425         * INSTALL: Regenerated.
35427 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35429         * scripts/versionlist.awk: New file.
35430         * Makerules [$(build-shared) = yes]
35431         (postclean-generated): Add Versions.def, not Versions.def.v and
35432         Versions.def.v.i.
35433         ($(common-objpfx)Versions.def.v.i): Target removed.
35434         ($(common-objpfx)Versions.def): New target.
35435         ($(common-objpfx)Versions.all): Depend on that rather that
35436         $(common-objpfx)Versions.def.v.
35437         * Versions.def: File removed.
35439         * Makeconfig (+gccwarn): Add -Wundef.
35440         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
35441         a dl-sysdep.h breaking its contract.
35442         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
35443         * include/stackinfo.h: New file.
35444         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
35445         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
35446         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
35447         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
35448         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
35449         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
35450         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35451         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35452         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35453         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35454         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35455         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
35456         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35457         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35458         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35460 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35462         [BZ #16707]
35463         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
35464         implementation.
35465         * math/libm-test.inc (round_test_data): Add more tests.
35467         [BZ #16706]
35468         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
35469         implementation.
35470         * math/libm-test.inc (nearbyint_test_data): Add more tests.
35472         [BZ #16701]
35473         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
35474         implementation.
35475         * math/libm-test.inc (ceil_test_data): Add more tests.
35477         * math/libm-test.inc (trunc_test_data): Add more tests related to
35478         BZ#16414.
35480 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35482         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
35483         with #if rather than #ifdef.
35484         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
35486 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
35488         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
35489         first.  Disable AVX-512 GCC support if assembler doesn't support
35490         it.
35491         * sysdeps/x86_64/configure: Regenerated.
35493 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
35495         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
35496         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
35497         (__old_pthread_attr_setstack): Likewise.
35498         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
35499         [!_STACK_GROWS_DOWN]: Likewise.
35501 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
35503         * config.make.in (have-bash2): Delete.
35504         * configure.ac (libc_cv_have_bash2): Delete.
35505         * configure: Regenerate.
35506         * elf/Makefile (common-ldd-rewrite): Rename to ...
35507         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
35508         (sh-ldd-rewrite): Delete.
35509         (bash-ldd-rewrite): Delete.
35510         (have-bash2): Delete checks.
35511         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
35512         ldd-rewrite.
35514         * config.make.in (have-ksh): Delete.
35515         (KSH): Delete.
35516         * configure.ac (libc_cv_have_ksh): Delete.
35517         * configure: Regenerate.
35519         * elf/Makefile: Delete $(have-ksh) check.
35520         ($(objpfx)sotruss): Change KSH to BASH.
35521         * elf/sotruss.ksh: Rename to ...
35522         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
35523         function style to match POSIX.  Drop ksh vim mode setting.
35525         * manual/time.texi (Specifying the Time Zone with TZ): Change
35526         Tuesday to Thursday.
35528         * debug/tst-longjmp_chk2.c: Update header comment.
35529         (stackoverflow_handler): Add comment.  Call assert on pass value.
35531 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
35533         [BZ #16194]
35534         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
35535         (HAVE_AVX512_ASM_SUPPORT): Likewise.
35536         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
35537         (La_x86_64_vector): Add zmm.
35538         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
35539         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
35540         ($(objpfx)tst-audit10): New target.
35541         ($(objpfx)tst-audit10.out): Likewise.
35542         (tst-audit10-ENV): New.
35543         (AVX512-CFLAGS): Likewise.
35544         (CFLAGS-tst-audit10.c): Likewise.
35545         (CFLAGS-tst-auditmod10a.c): Likewise.
35546         (CFLAGS-tst-auditmod10b.c): Likewise.
35547         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
35548         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
35549         * sysdeps/x86_64/configure: Regenerated.
35550         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
35551         AVX-512 zmm register support.
35552         (_dl_x86_64_save_sse): Likewise.
35553         (_dl_x86_64_restore_sse): Likewise.
35554         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
35555         size vector registers.
35556         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
35557         (ZMM_SIZE): Likewise.
35558         * sysdeps/x86_64/tst-audit10.c: New file.
35559         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
35560         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
35562 2014-03-13  Roland McGrath  <roland@hack.frob.com>
35564         * configure.ac (HAVE_EHDR_START): New check.
35565         * configure: Regenerated.
35566         * config.h.in (HAVE_EHDR_START): New #undef.
35567         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
35568         assuming the lowest-addressed segment maps the start of the file.
35570 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
35572         * INSTALL: Regenerated.
35574 2014-03-13  Will Newton  <will.newton@linaro.org>
35576         * manual/setjmp.texi (System V contexts): Improve
35577         clarity and grammar of documentation.
35579 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
35581         [BZ #16381]
35582         * elf/Makefile (tests): Add tst-pie2.
35583         (tests-pie): Add tst-pie2.
35584         * elf/tst-pie2.c: New file.
35585         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
35586         for ET_EXEC.
35587         * elf/rtld.c (map_doit): Load executable as lt_executable.
35588         (dl_main): Likewise.
35590 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
35592         [BZ #16642]
35593         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35594         (__ASSUME_PSELECT): Undefine.
35596 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35598         [BZ #16689]
35599         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
35600         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
35601         static build.
35602         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
35603         selector for static builds.
35605 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35607         [BZ #16695]
35608         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
35609         key in the buffer.
35611 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35613         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
35614         IFUNC selector for static builds.
35616 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
35618         * sysdeps/mips/math_private.h [__mips_hard_float]
35619         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
35620         libc_feresetround_mips_ctx.
35621         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
35622         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
35623         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
35625         [BZ #16677]
35626         * math/s_nextafter.c (__nextafter): Do not return value from
35627         overflowing computation.
35628         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35629         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
35630         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35631         Likewise.
35632         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
35633         Likewise.
35634         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35635         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
35637 2014-03-11  Roland McGrath  <roland@hack.frob.com>
35639         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
35640         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
35641         Move sfi_sp use from the load-multiple (that no longer sets sp) to
35642         the new mov targetting sp.
35644 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35646         [BZ #16683]
35647         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
35648         Define it for static builds as well.
35649         (NO_BZERO_IMPL): Likewise.
35651 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35653         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
35654         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
35655         multiarch strspn for PPC64.
35656         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
35657         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
35658         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35659         (__libc_ifunc_impl_list): Likewise.
35660         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
35661         multiarch optimizations
35662         * string/strspn.c (strspn): Using macro to redefine symbol name.
35664 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35665             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35667         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
35668         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
35669         multiarch strncat for PPC64.
35670         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
35671         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
35672         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35673         (__libc_ifunc_impl_list): Likewise.
35674         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
35675         multiarch optimizations
35677 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35679         [BZ #16639]
35680         * nscd/nscd.service: Make service type forking.
35682 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35684         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
35685         sign in non default rounding modes.
35686         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
35688 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
35690         * math/libm-test.inc (ALL_RM_TEST): New macro.
35691         (ceil_test): Use ALL_RM_TEST.
35692         (cimag_test): Likewise.
35693         (conj_test): Likewise.
35694         (copysign_test): Likewise.
35695         (cproj_test): Likewise.
35696         (creal_test): Likewise.
35697         (fabs_test): Likewise.
35698         (floor_test): Likewise.
35699         (fmax_test): Likewise.
35700         (fmin_test): Likewise.
35701         (fmod_test): Likewise.
35702         (fpclassify_test): Likewise.
35703         (frexp_test): Likewise.
35704         (ilogb_test): Likewise.
35705         (isfinite_test): Likewise.
35706         (finite_test): Likewise.
35707         (isgreater_test): Likewise.
35708         (isgreaterequal_test): Likewise.
35709         (isinf_test): Likewise.
35710         (isless_test): Likewise.
35711         (islessequal_test): Likewise.
35712         (islessgreater_test): Likewise.
35713         (isnan_test): Likewise.
35714         (isnormal_test): Likewise.
35715         (issignaling_test): Likewise.
35716         (isunordered_test): Likewise.
35717         (logb_test): Likewise.
35718         (logb_downward_test_data): Remove.
35719         (logb_test_downward): Likewise.
35720         (lround_test): Use ALL_RM_TEST.
35721         (llround_test): Likewise.
35722         (modf_test): Likewise.
35723         (nexttoward_test): Likewise.
35724         (remainder_test): Likewise.
35725         (drem_test): Likewise.
35726         (remainder_tonearest_test_data): Likewise.
35727         (remainder_test_tonearest): Likewise.
35728         (drem_test_tonearest): Likewise.
35729         (remainder_towardzero_test_data): Likewise.
35730         (remainder_test_towardzero): Likewise.
35731         (drem_test_towardzero): Likewise.
35732         (remainder_downward_test_data): Likewise.
35733         (remainder_test_downward): Likewise.
35734         (drem_test_downward): Likewise.
35735         (remainder_upward_test_data): Likewise.
35736         (remainder_test_upward): Likewise.
35737         (drem_test_upward): Likewise.
35738         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
35739         (round_test): Use ALL_RM_TEST.
35740         (signbit_test): Likewise.
35741         (trunc_test): Likewise.
35742         (significand_test): Likewise.
35743         (main): Don't call removed functions.
35745 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
35747         [BZ #16674]
35748         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
35749         || __USE_XOPEN2K8].
35750         (ILL_ILLOPN): Likewise.
35751         (ILL_ILLADR): Likewise.
35752         (ILL_ILLTRP): Likewise.
35753         (ILL_PRVOPC): Likewise.
35754         (ILL_PRVREG): Likewise.
35755         (ILL_COPROC): Likewise.
35756         (ILL_BADSTK): Likewise.
35757         (FPE_INTDIV): Likewise.
35758         (FPE_INTOVF): Likewise.
35759         (FPE_FLTDIV): Likewise.
35760         (FPE_FLTOVF): Likewise.
35761         (FPE_FLTUND): Likewise.
35762         (FPE_FLTRES): Likewise.
35763         (FPE_FLTINV): Likewise.
35764         (FPE_FLTSUB): Likewise.
35765         (SEGV_MAPERR): Likewise.
35766         (SEGV_ACCERR): Likewise.
35767         (BUS_ADRALN): Likewise.
35768         (BUS_ADRERR): Likewise.
35769         (BUS_OBJERR): Likewise.
35770         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35771         (TRAP_TRACE): Likewise.
35772         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35773         __USE_XOPEN2K8].
35774         (CLD_KILLED): Likewise.
35775         (CLD_DUMPED): Likewise.
35776         (CLD_TRAPPED): Likewise.
35777         (CLD_STOPPED): Likewise.
35778         (CLD_CONTINUED): Likewise.
35779         (POLL_IN): Likewise.
35780         (POLL_OUT): Likewise.
35781         (POLL_MSG): Likewise.
35782         (POLL_ERR): Likewise.
35783         (POLL_PRI): Likewise.
35784         (POLL_HUP): Likewise.
35785         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
35786         Likewise.
35787         (ILL_ILLOPN): Likewise.
35788         (ILL_ILLADR): Likewise.
35789         (ILL_ILLTRP): Likewise.
35790         (ILL_PRVOPC): Likewise.
35791         (ILL_PRVREG): Likewise.
35792         (ILL_COPROC): Likewise.
35793         (ILL_BADSTK): Likewise.
35794         (FPE_INTDIV): Likewise.
35795         (FPE_INTOVF): Likewise.
35796         (FPE_FLTDIV): Likewise.
35797         (FPE_FLTOVF): Likewise.
35798         (FPE_FLTUND): Likewise.
35799         (FPE_FLTRES): Likewise.
35800         (FPE_FLTINV): Likewise.
35801         (FPE_FLTSUB): Likewise.
35802         (SEGV_MAPERR): Likewise.
35803         (SEGV_ACCERR): Likewise.
35804         (BUS_ADRALN): Likewise.
35805         (BUS_ADRERR): Likewise.
35806         (BUS_OBJERR): Likewise.
35807         (BUS_MCEERR_AR): Likewise.
35808         (BUS_MCEERR_AO): Likewise.
35809         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35810         (TRAP_TRACE): Likewise.
35811         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35812         __USE_XOPEN2K8].
35813         (CLD_KILLED): Likewise.
35814         (CLD_DUMPED): Likewise.
35815         (CLD_TRAPPED): Likewise.
35816         (CLD_STOPPED): Likewise.
35817         (CLD_CONTINUED): Likewise.
35818         (POLL_IN): Likewise.
35819         (POLL_OUT): Likewise.
35820         (POLL_MSG): Likewise.
35821         (POLL_ERR): Likewise.
35822         (POLL_PRI): Likewise.
35823         (POLL_HUP): Likewise.
35824         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
35825         (ILL_ILLOPN): Likewise.
35826         (ILL_ILLADR): Likewise.
35827         (ILL_ILLTRP): Likewise.
35828         (ILL_PRVOPC): Likewise.
35829         (ILL_PRVREG): Likewise.
35830         (ILL_COPROC): Likewise.
35831         (ILL_BADSTK): Likewise.
35832         (FPE_INTDIV): Likewise.
35833         (FPE_INTOVF): Likewise.
35834         (FPE_FLTDIV): Likewise.
35835         (FPE_FLTOVF): Likewise.
35836         (FPE_FLTUND): Likewise.
35837         (FPE_FLTRES): Likewise.
35838         (FPE_FLTINV): Likewise.
35839         (FPE_FLTSUB): Likewise.
35840         (SEGV_MAPERR): Likewise.
35841         (SEGV_ACCERR): Likewise.
35842         (BUS_ADRALN): Likewise.
35843         (BUS_ADRERR): Likewise.
35844         (BUS_OBJERR): Likewise.
35845         (BUS_MCEERR_AR): Likewise.
35846         (BUS_MCEERR_AO): Likewise.
35847         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35848         (TRAP_TRACE): Likewise.
35849         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35850         __USE_XOPEN2K8].
35851         (CLD_KILLED): Likewise.
35852         (CLD_DUMPED): Likewise.
35853         (CLD_TRAPPED): Likewise.
35854         (CLD_STOPPED): Likewise.
35855         (CLD_CONTINUED): Likewise.
35856         (POLL_IN): Likewise.
35857         (POLL_OUT): Likewise.
35858         (POLL_MSG): Likewise.
35859         (POLL_ERR): Likewise.
35860         (POLL_PRI): Likewise.
35861         (POLL_HUP): Likewise.
35862         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
35863         Likewise.
35864         (ILL_ILLOPN): Likewise.
35865         (ILL_ILLADR): Likewise.
35866         (ILL_ILLTRP): Likewise.
35867         (ILL_PRVOPC): Likewise.
35868         (ILL_PRVREG): Likewise.
35869         (ILL_COPROC): Likewise.
35870         (ILL_BADSTK): Likewise.
35871         (ILL_BADIADDR): Likewise.
35872         (ILL_BREAK): Likewise.
35873         (FPE_INTDIV): Likewise.
35874         (FPE_INTOVF): Likewise.
35875         (FPE_FLTDIV): Likewise.
35876         (FPE_FLTOVF): Likewise.
35877         (FPE_FLTUND): Likewise.
35878         (FPE_FLTRES): Likewise.
35879         (FPE_FLTINV): Likewise.
35880         (FPE_FLTSUB): Likewise.
35881         (FPE_DECOVF): Likewise.
35882         (FPE_DECDIV): Likewise.
35883         (FPE_DECERR): Likewise.
35884         (FPE_INVASC): Likewise.
35885         (FPE_INVDEC): Likewise.
35886         (SEGV_MAPERR): Likewise.
35887         (SEGV_ACCERR): Likewise.
35888         (SEGV_PSTKOVF): Likewise.
35889         (BUS_ADRALN): Likewise.
35890         (BUS_ADRERR): Likewise.
35891         (BUS_OBJERR): Likewise.
35892         (BUS_MCEERR_AR): Likewise.
35893         (BUS_MCEERR_AO): Likewise.
35894         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35895         (TRAP_TRACE): Likewise.
35896         (TRAP_BRANCH): Likewise.
35897         (TRAP_HWBKPT): Likewise.
35898         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35899         __USE_XOPEN2K8].
35900         (CLD_KILLED): Likewise.
35901         (CLD_DUMPED): Likewise.
35902         (CLD_TRAPPED): Likewise.
35903         (CLD_STOPPED): Likewise.
35904         (CLD_CONTINUED): Likewise.
35905         (POLL_IN): Likewise.
35906         (POLL_OUT): Likewise.
35907         (POLL_MSG): Likewise.
35908         (POLL_ERR): Likewise.
35909         (POLL_PRI): Likewise.
35910         (POLL_HUP): Likewise.
35911         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
35912         (ILL_ILLOPN): Likewise.
35913         (ILL_ILLADR): Likewise.
35914         (ILL_ILLTRP): Likewise.
35915         (ILL_PRVOPC): Likewise.
35916         (ILL_PRVREG): Likewise.
35917         (ILL_COPROC): Likewise.
35918         (ILL_BADSTK): Likewise.
35919         (FPE_INTDIV): Likewise.
35920         (FPE_INTOVF): Likewise.
35921         (FPE_FLTDIV): Likewise.
35922         (FPE_FLTOVF): Likewise.
35923         (FPE_FLTUND): Likewise.
35924         (FPE_FLTRES): Likewise.
35925         (FPE_FLTINV): Likewise.
35926         (FPE_FLTSUB): Likewise.
35927         (SEGV_MAPERR): Likewise.
35928         (SEGV_ACCERR): Likewise.
35929         (BUS_ADRALN): Likewise.
35930         (BUS_ADRERR): Likewise.
35931         (BUS_OBJERR): Likewise.
35932         (BUS_MCEERR_AR): Likewise.
35933         (BUS_MCEERR_AO): Likewise.
35934         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35935         (TRAP_TRACE): Likewise.
35936         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35937         __USE_XOPEN2K8].
35938         (CLD_KILLED): Likewise.
35939         (CLD_DUMPED): Likewise.
35940         (CLD_TRAPPED): Likewise.
35941         (CLD_STOPPED): Likewise.
35942         (CLD_CONTINUED): Likewise.
35943         (POLL_IN): Likewise.
35944         (POLL_OUT): Likewise.
35945         (POLL_MSG): Likewise.
35946         (POLL_ERR): Likewise.
35947         (POLL_PRI): Likewise.
35948         (POLL_HUP): Likewise.
35949         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
35950         (ILL_ILLOPN): Likewise.
35951         (ILL_ILLADR): Likewise.
35952         (ILL_ILLTRP): Likewise.
35953         (ILL_PRVOPC): Likewise.
35954         (ILL_PRVREG): Likewise.
35955         (ILL_COPROC): Likewise.
35956         (ILL_BADSTK): Likewise.
35957         (FPE_INTDIV): Likewise.
35958         (FPE_INTOVF): Likewise.
35959         (FPE_FLTDIV): Likewise.
35960         (FPE_FLTOVF): Likewise.
35961         (FPE_FLTUND): Likewise.
35962         (FPE_FLTRES): Likewise.
35963         (FPE_FLTINV): Likewise.
35964         (FPE_FLTSUB): Likewise.
35965         (SEGV_MAPERR): Likewise.
35966         (SEGV_ACCERR): Likewise.
35967         (BUS_ADRALN): Likewise.
35968         (BUS_ADRERR): Likewise.
35969         (BUS_OBJERR): Likewise.
35970         (BUS_MCEERR_AR): Likewise.
35971         (BUS_MCEERR_AO): Likewise.
35972         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35973         (TRAP_TRACE): Likewise.
35974         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35975         __USE_XOPEN2K8].
35976         (CLD_KILLED): Likewise.
35977         (CLD_DUMPED): Likewise.
35978         (CLD_TRAPPED): Likewise.
35979         (CLD_STOPPED): Likewise.
35980         (CLD_CONTINUED): Likewise.
35981         (POLL_IN): Likewise.
35982         (POLL_OUT): Likewise.
35983         (POLL_MSG): Likewise.
35984         (POLL_ERR): Likewise.
35985         (POLL_PRI): Likewise.
35986         (POLL_HUP): Likewise.
35987         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
35988         (ILL_ILLOPN): Likewise.
35989         (ILL_ILLADR): Likewise.
35990         (ILL_ILLTRP): Likewise.
35991         (ILL_PRVOPC): Likewise.
35992         (ILL_PRVREG): Likewise.
35993         (ILL_COPROC): Likewise.
35994         (ILL_BADSTK): Likewise.
35995         (FPE_INTDIV): Likewise.
35996         (FPE_INTOVF): Likewise.
35997         (FPE_FLTDIV): Likewise.
35998         (FPE_FLTOVF): Likewise.
35999         (FPE_FLTUND): Likewise.
36000         (FPE_FLTRES): Likewise.
36001         (FPE_FLTINV): Likewise.
36002         (FPE_FLTSUB): Likewise.
36003         (SEGV_MAPERR): Likewise.
36004         (SEGV_ACCERR): Likewise.
36005         (BUS_ADRALN): Likewise.
36006         (BUS_ADRERR): Likewise.
36007         (BUS_OBJERR): Likewise.
36008         (BUS_MCEERR_AR): Likewise.
36009         (BUS_MCEERR_AO): Likewise.
36010         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36011         (TRAP_TRACE): Likewise.
36012         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36013         __USE_XOPEN2K8].
36014         (CLD_KILLED): Likewise.
36015         (CLD_DUMPED): Likewise.
36016         (CLD_TRAPPED): Likewise.
36017         (CLD_STOPPED): Likewise.
36018         (CLD_CONTINUED): Likewise.
36019         (POLL_IN): Likewise.
36020         (POLL_OUT): Likewise.
36021         (POLL_MSG): Likewise.
36022         (POLL_ERR): Likewise.
36023         (POLL_PRI): Likewise.
36024         (POLL_HUP): Likewise.
36025         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
36026         (ILL_ILLOPN): Likewise.
36027         (ILL_ILLADR): Likewise.
36028         (ILL_ILLTRP): Likewise.
36029         (ILL_PRVOPC): Likewise.
36030         (ILL_PRVREG): Likewise.
36031         (ILL_COPROC): Likewise.
36032         (ILL_BADSTK): Likewise.
36033         (ILL_DBLFLT): Likewise.
36034         (ILL_HARDWALL): Likewise.
36035         (FPE_INTDIV): Likewise.
36036         (FPE_INTOVF): Likewise.
36037         (FPE_FLTDIV): Likewise.
36038         (FPE_FLTOVF): Likewise.
36039         (FPE_FLTUND): Likewise.
36040         (FPE_FLTRES): Likewise.
36041         (FPE_FLTINV): Likewise.
36042         (FPE_FLTSUB): Likewise.
36043         (SEGV_MAPERR): Likewise.
36044         (SEGV_ACCERR): Likewise.
36045         (BUS_ADRALN): Likewise.
36046         (BUS_ADRERR): Likewise.
36047         (BUS_OBJERR): Likewise.
36048         (BUS_MCEERR_AR): Likewise.
36049         (BUS_MCEERR_AO): Likewise.
36050         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36051         (TRAP_TRACE): Likewise.
36052         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36053         __USE_XOPEN2K8].
36054         (CLD_KILLED): Likewise.
36055         (CLD_DUMPED): Likewise.
36056         (CLD_TRAPPED): Likewise.
36057         (CLD_STOPPED): Likewise.
36058         (CLD_CONTINUED): Likewise.
36059         (POLL_IN): Likewise.
36060         (POLL_OUT): Likewise.
36061         (POLL_MSG): Likewise.
36062         (POLL_ERR): Likewise.
36063         (POLL_PRI): Likewise.
36064         (POLL_HUP): Likewise.
36065         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
36066         (ILL_ILLOPN): Likewise.
36067         (ILL_ILLADR): Likewise.
36068         (ILL_ILLTRP): Likewise.
36069         (ILL_PRVOPC): Likewise.
36070         (ILL_PRVREG): Likewise.
36071         (ILL_COPROC): Likewise.
36072         (ILL_BADSTK): Likewise.
36073         (FPE_INTDIV): Likewise.
36074         (FPE_INTOVF): Likewise.
36075         (FPE_FLTDIV): Likewise.
36076         (FPE_FLTOVF): Likewise.
36077         (FPE_FLTUND): Likewise.
36078         (FPE_FLTRES): Likewise.
36079         (FPE_FLTINV): Likewise.
36080         (FPE_FLTSUB): Likewise.
36081         (SEGV_MAPERR): Likewise.
36082         (SEGV_ACCERR): Likewise.
36083         (BUS_ADRALN): Likewise.
36084         (BUS_ADRERR): Likewise.
36085         (BUS_OBJERR): Likewise.
36086         (BUS_MCEERR_AR): Likewise.
36087         (BUS_MCEERR_AO): Likewise.
36088         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36089         (TRAP_TRACE): Likewise.
36090         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36091         __USE_XOPEN2K8].
36092         (CLD_KILLED): Likewise.
36093         (CLD_DUMPED): Likewise.
36094         (CLD_TRAPPED): Likewise.
36095         (CLD_STOPPED): Likewise.
36096         (CLD_CONTINUED): Likewise.
36097         (POLL_IN): Likewise.
36098         (POLL_OUT): Likewise.
36099         (POLL_MSG): Likewise.
36100         (POLL_ERR): Likewise.
36101         (POLL_PRI): Likewise.
36102         (POLL_HUP): Likewise.
36103         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
36104         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36106         [BZ #16670]
36107         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
36108         before #include of <time.h>.
36109         [!__USE_XOPEN2K] (__need_timespec): Likewise.
36110         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
36111         (test-xfail-UNIX98/sched.h/conform): Likewise.
36113 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36115         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
36116         error absence of trapping exception support.
36117         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36119 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
36121         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
36122         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
36123         * timezone/Makefile (testdata): Move definition above include of
36124         Rules.
36125         (test-zones): New variable.
36126         (tests-special): Add zone files.
36127         (build-testdata): Use $(evaluate-test).
36129         * elf/Makefile (tests-special): Rename tests to end with .out.
36130         ($(objpfx)noload-mem): Likewise.
36131         ($(objpfx)tst-leaks1-mem): Likewise.
36132         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
36133         * iconv/Makefile (xtests-special): Change test-iconvconfig to
36134         $(objpfx)test-iconvconfig.out.
36135         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
36136         set -e inside subshell and redirect output to file.
36137         * iconvdata/Makefile (generated): Rename tests to end with .out.
36138         Correct type.
36139         (tests-special): Rename tests to end with .out.
36140         ($(objpfx)mtrace-tst-loading): Likewise.
36141         * intl/Makefile (generated): Likewise.
36142         (tests-special): Likewise.
36143         ($(objpfx)mtrace-tst-gettext): Likewise.
36144         * misc/Makefile (generated): Likewise.
36145         (tests-special): Likewise.
36146         ($(objpfx)tst-error1-mem): Likewise.
36147         * nptl/Makefile (tests-special): Likewise.
36148         ($(objpfx)tst-stack3-mem): Likewise.
36149         (generated): Likewise.
36150         * posix/Makefile (generated): Likewise.
36151         (tests-special): Likewise.
36152         (xtests-special): Likewise.
36153         ($(objpfx)tst-fnmatch-mem): Likewise.
36154         ($(objpfx)bug-regex2-mem): Likewise.
36155         ($(objpfx)bug-regex14-mem): Likewise.
36156         ($(objpfx)bug-regex21-mem): Likewise.
36157         ($(objpfx)bug-regex31-mem): Likewise.
36158         ($(objpfx)tst-vfork3-mem): Likewise.
36159         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
36160         ($(objpfx)tst-pcre-mem): Likewise.
36161         ($(objpfx)tst-boost-mem): Likewise.
36162         ($(objpfx)bug-ga2-mem): Likewise.
36163         ($(objpfx)bug-glob2-mem): Likewise.
36164         * resolv/Makefile (generate): Likewise.
36165         (tests-special): Likewise.
36166         (xtests-special): Likewise.
36167         (generated): Likewise.
36168         ($(objpfx)mtrace-tst-leaks): Likewise.
36169         ($(objpfx)mtrace-tst-leaks2): Likewise.
36171         * scripts/merge-test-results.sh: New file.
36172         * Makefile (tests-special-notdir): New variable.
36173         (tests): Run merge-test-results.sh.
36174         (xtests): Likewise.
36175         * Rules (tests-special-notdir): New variable.
36176         (xtests-special-notdir): Likewise.
36177         (tests): Run merge-test-results.sh
36178         (xtests): Likewise.
36180         * Makeconfig (test-xfail-name): New variable.
36181         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
36182         compute variable name for expected failures.
36183         * conform/Makefile (conformtest-headers-data): New variable.
36184         (conformtest-standards): Likewise.
36185         (conformtest-headers-ISO): Likewise.
36186         (conformtest-headers-ISO99): Likewise.
36187         (conformtest-headers-ISO11): Likewise.
36188         (conformtest-headers-POSIX): Likewise.
36189         (conformtest-headers-XPG3): Likewise.
36190         (conformtest-headers-XPG4): Likewise.
36191         (conformtest-headers-UNIX98): Likewise.
36192         (conformtest-headers-XOPEN2K): Likewise.
36193         (conformtest-headers-POSIX2008): Likewise.
36194         (conformtest-headers-XOPEN2K8): Likewise.
36195         (conformtest-header-list-base): Likewise.
36196         (conformtest-header-list-tests): Likewise.
36197         (conformtest-header-base): Likewise.
36198         (conformtest-header-tests): Likewise.
36199         (tests-special): Add $(conformtest-header-list-tests).  If
36200         [$(fast-check) && !$(cross-compiling)], add
36201         $(conformtest-header-tests) instead of
36202         $(objpfx)run-conformtest.out.
36203         (generated): Add $(conformtest-header-list-base).  If
36204         [$(fast-check) && !$(cross-compiling)], add
36205         $(conformtest-header-base).  Remove previous setting.
36206         ($(conformtest-header-list-tests)): New target.
36207         (test-xfail-run-conformtest): Remove variable.
36208         ($(objpfx)run-conformtest.out): Remove target.
36209         (test-xfail-ISO11/complex.h/conform): New variable.
36210         (test-xfail-ISO11/stdalign.h/conform): Likewise.
36211         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
36212         (test-xfail-XPG3/varargs.h/conform): Likewise.
36213         (test-xfail-XPG4/varargs.h/conform): Likewise.
36214         (test-xfail-UNIX98/varargs.h/conform): Likewise.
36215         (test-xfail-XPG4/ndbm.h/conform): Likewise.
36216         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
36217         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
36218         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
36219         (test-xfail-XPG3/fcntl.h/conform): Likewise.
36220         (test-xfail-XPG3/ftw.h/conform): Likewise.
36221         (test-xfail-XPG3/grp.h/conform): Likewise.
36222         (test-xfail-XPG3/langinfo.h/conform): Likewise.
36223         (test-xfail-XPG3/limits.h/conform): Likewise.
36224         (test-xfail-XPG3/pwd.h/conform): Likewise.
36225         (test-xfail-XPG3/search.h/conform): Likewise.
36226         (test-xfail-XPG3/signal.h/conform): Likewise.
36227         (test-xfail-XPG3/stdio.h/conform): Likewise.
36228         (test-xfail-XPG3/stdlib.h/conform): Likewise.
36229         (test-xfail-XPG3/string.h/conform): Likewise.
36230         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
36231         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
36232         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
36233         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
36234         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
36235         (test-xfail-XPG3/sys/types.h/conform): Likewise.
36236         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
36237         (test-xfail-XPG3/termios.h/conform): Likewise.
36238         (test-xfail-XPG3/time.h/conform): Likewise.
36239         (test-xfail-XPG3/unistd.h/conform): Likewise.
36240         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
36241         (test-xfail-XPG4/fcntl.h/conform): Likewise.
36242         (test-xfail-XPG4/langinfo.h/conform): Likewise.
36243         (test-xfail-XPG4/netdb.h/conform): Likewise.
36244         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
36245         (test-xfail-XPG4/signal.h/conform): Likewise.
36246         (test-xfail-XPG4/stdio.h/conform): Likewise.
36247         (test-xfail-XPG4/stdlib.h/conform): Likewise.
36248         (test-xfail-XPG4/stropts.h/conform): Likewise.
36249         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
36250         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
36251         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
36252         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
36253         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
36254         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
36255         (test-xfail-XPG4/sys/time.h/conform): Likewise.
36256         (test-xfail-XPG4/sys/types.h/conform): Likewise.
36257         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
36258         (test-xfail-XPG4/termios.h/conform): Likewise.
36259         (test-xfail-XPG4/ucontext.h/conform): Likewise.
36260         (test-xfail-XPG4/unistd.h/conform): Likewise.
36261         (test-xfail-XPG4/utmpx.h/conform): Likewise.
36262         (test-xfail-POSIX/sched.h/conform): Likewise.
36263         (test-xfail-POSIX/signal.h/conform): Likewise.
36264         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36265         (test-xfail-POSIX/tar.h/conform): Likewise.
36266         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
36267         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
36268         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
36269         (test-xfail-UNIX98/netdb.h/conform): Likewise.
36270         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
36271         (test-xfail-UNIX98/sched.h/conform): Likewise.
36272         (test-xfail-UNIX98/signal.h/conform): Likewise.
36273         (test-xfail-UNIX98/stdio.h/conform): Likewise.
36274         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
36275         (test-xfail-UNIX98/stropts.h/conform): Likewise.
36276         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
36277         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
36278         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
36279         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
36280         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
36281         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
36282         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
36283         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
36284         (test-xfail-UNIX98/unistd.h/conform): Likewise.
36285         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
36286         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
36287         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
36288         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
36289         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
36290         (test-xfail-XOPEN2K/math.h/conform): Likewise.
36291         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
36292         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
36293         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
36294         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
36295         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
36296         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
36297         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
36298         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
36299         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
36300         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
36301         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
36302         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
36303         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
36304         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
36305         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
36306         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
36307         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
36308         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
36309         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
36310         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
36311         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
36312         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
36313         (test-xfail-POSIX2008/signal.h/conform): Likewise.
36314         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
36315         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
36316         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
36317         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
36318         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
36319         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
36320         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
36321         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
36322         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
36323         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
36324         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
36325         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
36326         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
36327         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
36328         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
36329         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
36330         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
36331         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
36332         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
36333         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
36334         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
36335         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
36336         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
36337         (conformtest-cc-flags): Likewise.
36338         ($(conformtest-header-tests): New target.
36339         * conform/check-header-lists.sh: New file.
36340         * conform/run-conformtest.sh: Remove.
36342         * conform/conformtest.pl: Allow ' and \ in values given for
36343         constants.
36344         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
36345         inclusion.
36346         [POSIX] (sys/types.h): Likewise.
36347         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
36348         inclusion.
36349         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
36350         inclusion.
36351         * conform/data/signal.h-data (SIGIO): Remove expectation.
36352         [XPG3] (SIGBUS): Do not expect.
36353         [POSIX || XPG3] (SIGPOLL): Likewise.
36354         [POSIX || XPG3] (SIGPROF): Likewise.
36355         [POSIX || XPG3] (SIGSYS): Likewise.
36356         [XPG3] (SIGTRAP): Likewise.
36357         [POSIX || XPG3] (SIGURG): Likewise.
36358         [POSIX || XPG3] (SIGVTALRM): Likewise.
36359         [POSIX || XPG3] (SIGXCPU): Likewise.
36360         [POSIX || XPG3] (SIGXFSZ): Likewise.
36361         [POSIX] (SA_SIGINFO): Expect.
36362         [XPG3] (siginfo_t): Do not expect type or contents.
36363         [POSIX] (si_pid): Do not expect element.
36364         [POSIX] (si_uid): Likewise.
36365         [POSIX] (si_addr): Likewise.
36366         [POSIX] (si_status): Likewise.
36367         [POSIX] (si_band): Likewise.
36368         [XPG4] (si_value): Likewise.
36369         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
36370         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
36371         [POSIX || XPG3] (ILL_ILLADR): Likewise.
36372         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
36373         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
36374         [POSIX || XPG3] (ILL_PRVREG): Likewise.
36375         [POSIX || XPG3] (ILL_COPROC): Likewise.
36376         [POSIX || XPG3] (ILL_BADSTK): Likewise.
36377         [POSIX || XPG3] (FPE_INTDIV): Likewise.
36378         [POSIX || XPG3] (FPE_INTOVF): Likewise.
36379         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
36380         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
36381         [POSIX || XPG3] (FPE_FLTUND): Likewise.
36382         [POSIX || XPG3] (FPE_FLTRES): Likewise.
36383         [POSIX || XPG3] (FPE_FLTINV): Likewise.
36384         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
36385         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
36386         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
36387         [POSIX || XPG3] (BUS_ADRALN): Likewise.
36388         [POSIX || XPG3] (BUS_ADRERR): Likewise.
36389         [POSIX || XPG3] (BUS_OBJERR): Likewise.
36390         [POSIX || XPG3] (CLD_EXITED): Likewise.
36391         [POSIX || XPG3] (CLD_KILLED): Likewise.
36392         [POSIX || XPG3] (CLD_DUMPED): Likewise.
36393         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
36394         [POSIX || XPG3] (CLD_STOPPED): Likewise.
36395         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
36396         [POSIX || XPG3] (POLL_IN): Likewise.
36397         [POSIX || XPG3] (POLL_OUT): Likewise.
36398         [POSIX || XPG3] (POLL_MSG): Likewise.
36399         [POSIX || XPG3] (POLL_ERR): Likewise.
36400         [POSIX || XPG3] (POLL_PRI): Likewise.
36401         [POSIX || XPG3] (POLL_HUP): Likewise.
36402         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
36403         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
36404         (SIG*): Do not allow.
36405         [XPG3] (si_*): Likewise.
36406         [XPG3] (SI_*): Likewise.
36407         [XPG3 || XPG4] (sigev_*): Likewise.
36408         [XPG3 || XPG4] (SIGEV_*): Likewise.
36409         [XPG3 || XPG4] (sival_*): Likewise.
36410         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
36411         [POSIX || XPG3] (BUS_*): Likewise.
36412         [POSIX || XPG3] (CLD_*): Likewise.
36413         [POSIX || XPG3] (FPE_*): Likewise.
36414         [POSIX || XPG3] (ILL_*): Likewise.
36415         [POSIX || XPG3] (POLL_*): Likewise.
36416         [POSIX || XPG3] (SEGV_*): Likewise.
36417         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
36418         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
36419         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
36420         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
36421         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
36422         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
36423         Specify type and value.
36424         (TVERSLEN): Likewise.
36425         (REGTYPE): Likewise.
36426         (AREGTYPE): Likewise.
36427         (LNKTYPE): Likewise.
36428         (SYMTYPE): Likewise.
36429         (CHRTYPE): Likewise.
36430         (BLKTYPE): Likewise.
36431         (DIRTYPE): Likewise.
36432         (FIFOTYPE): Likewise.
36433         (CONTTYPE): Likewise.
36434         (TSUID): Likewise.
36435         (TSGID): Likewise.
36436         (TSVTX): Likewise.
36437         (TUREAD): Likewise.
36438         (TUWRITE): Likewise.
36439         (TUEXEC): Likewise.
36440         (TGREAD): Likewise.
36441         (TGWRITE): Likewise.
36442         (TGEXEC): Likewise.
36443         (TOREAD): Likewise.
36444         (TOWRITE): Likewise.
36445         (TOEXEC): Likewise.
36446         [POSIX] (TSVTX): Expect constant.
36448 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
36450         * Makefile (tests): Change dependencies to ....
36451         (tests-special): ... additions to this variable.
36452         (tests): Depend on $(tests-special).
36453         * Makerules (check-abi-list): New variable.
36454         (check-abi): Depend on $(check-abi-list).
36455         [$(subdir) = elf] (tests-special): Add
36456         $(objpfx)check-abi-libc.out.
36457         [$(build-shared) = yes && subdir] (tests-special): Add
36458         $(check-abi-list).
36459         [$(build-shared) = yes && subdir] (tests): Do not depend on
36460         check-abi.
36461         * Rules (tests): Depend on $(tests-special).
36462         (xtests): Depend on $(xtests-special).
36463         * catgets/Makefile (tests): Change dependencies to ....
36464         (tests-special): ... additions to this variable.
36465         * conform/Makefile (tests): Change dependencies to ....
36466         (tests-special): ... additions to this variable.
36467         * elf/Makefile (tests): Change dependencies to ....
36468         (tests-special): ... additions to this variable.
36469         * grp/Makefile (tests): Change dependencies to ....
36470         (tests-special): ... additions to this variable.
36471         * iconv/Makefile (xtests): Change dependencies to ....
36472         (xtests-special): ... additions to this variable.
36473         * iconvdata/Makefile (tests): Change dependencies to ....
36474         (tests-special): ... additions to this variable.
36475         * intl/Makefile (tests): Change dependencies to ....
36476         (tests-special): ... additions to this variable.  Also add
36477         $(objpfx)tst-gettext.out.
36478         * io/Makefile (tests): Change dependencies to ....
36479         (tests-special): ... additions to this variable.
36480         * libio/Makefile (tests): Change dependencies to ....
36481         (tests-special): ... additions to this variable.
36482         * malloc/Makefile (tests): Change dependencies to ....
36483         (tests-special): ... additions to this variable.
36484         * misc/Makefile (tests): Change dependencies to ....
36485         (tests-special): ... additions to this variable.
36486         * nptl/Makefile (tests): Change dependencies to ....
36487         (tests-special): ... additions to this variable.
36488         * nptl_db/Makefile (tests): Change dependencies to ....
36489         (tests-special): ... additions to this variable.
36490         * posix/Makefile (tests): Change dependencies to ....
36491         (tests-special): ... additions to this variable.
36492         (xtests): Change dependencies to ....
36493         (xtests-special): ... additions to this variable.
36494         * resolv/Makefile (tests): Change dependencies to ....
36495         (tests-special): ... additions to this variable.
36496         (xtests): Change dependencies to ....
36497         (xtests-special): ... additions to this variable.
36498         * stdio-common/Makefile (tests): Change dependencies to ....
36499         (tests-special): ... additions to this variable.
36500         (do-tst-unbputc): Remove target.
36501         (do-tst-printf): Likewise.
36502         * stdlib/Makefile (tests): Change dependencies to ....
36503         (tests-special): ... additions to this variable.
36504         * string/Makefile (tests): Change dependencies to ....
36505         (tests-special): ... additions to this variable.
36506         * sysdeps/x86/Makefile (tests): Change dependencies to ....
36507         (tests-special): ... additions to this variable.
36509         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
36510         whole file.
36511         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
36512         whole file.
36513         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
36514         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
36516         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
36517         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
36518         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
36519         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
36520         * conform/data/libgen.h-data [XPG3]: Likewise.
36521         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
36522         * conform/data/ndbm.h-data [XPG3]: Likewise.
36523         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36524         * conform/data/netdb.h-data [XPG3]: Likewise.
36525         * conform/data/netinet/in.h-data [XPG3]: Likewise.
36526         * conform/data/poll.h-data [XPG3]: Likewise.
36527         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36528         * conform/data/strings.h-data [XPG3]: Likewise.
36529         * conform/data/stropts.h-data [XPG3]: Likewise.
36530         * conform/data/sys/mman.h-data [XPG3]: Likewise.
36531         * conform/data/sys/resource.h-data [XPG3]: Likewise.
36532         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
36533         Likewise.
36534         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
36535         * conform/data/sys/time.h-data [XPG3]: Likewise.
36536         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
36537         * conform/data/sys/uio.h-data [XPG3]: Likewise.
36538         * conform/data/sys/un.h-data [XPG3]: Likewise.
36539         * conform/data/syslog.h-data [XPG3]: Likewise.
36540         * conform/data/ucontext.h-data [XPG3]: Likewise.
36541         * conform/data/utmpx.h-data [XPG3]: Likewise.
36542         * conform/data/varargs.h-data [UNIX98]: Enable file.
36544         * manual/Makefile (INSTALL_INFO): Remove variable setting.
36546         * math/libm-test.inc (struct test_f_f_data): Move expected results
36547         into structure for each rounding mode.
36548         (struct test_ff_f_data): Likewise.
36549         (struct test_ff_f_data_nexttoward): Likewise.
36550         (struct test_fi_f_data): Likewise.
36551         (struct test_fl_f_data): Likewise.
36552         (struct test_if_f_data): Likewise.
36553         (struct test_fff_f_data): Likewise.
36554         (struct test_c_f_data): Likewise.
36555         (struct test_f_f1_data): Likewise.
36556         (struct test_fF_f1_data): Likewise.
36557         (struct test_ffI_f1_data): Likewise.
36558         (struct test_c_c_data): Likewise.
36559         (struct test_cc_c_data): Likewise.
36560         (struct test_f_i_data): Likewise.
36561         (struct test_ff_i_data): Likewise.
36562         (struct test_f_l_data): Likewise.
36563         (struct test_f_L_data): Likewise.
36564         (struct test_fFF_11_data): Likewise.
36565         (RM_): New macro.
36566         (RM_FE_DOWNWARD): Likewise.
36567         (RM_FE_TONEAREST): Likewise.
36568         (RM_FE_TOWARDZERO): Likewise.
36569         (RM_FE_UPWARD): Likewise.
36570         (RUN_TEST_LOOP_f_f): Update references to expected results.
36571         (RUN_TEST_LOOP_2_f): Likewise.
36572         (RUN_TEST_LOOP_fff_f): Likewise.
36573         (RUN_TEST_LOOP_c_f): Likewise.
36574         (RUN_TEST_LOOP_f_f1): Likewise.
36575         (RUN_TEST_LOOP_fF_f1): Likewise.
36576         (RUN_TEST_LOOP_fI_f1): Likewise.
36577         (RUN_TEST_LOOP_ffI_f1): Likewise.
36578         (RUN_TEST_LOOP_c_c): Likewise.
36579         (RUN_TEST_LOOP_cc_c): Likewise.
36580         (RUN_TEST_LOOP_f_i): Likewise.
36581         (RUN_TEST_LOOP_f_i_tg): Likewise.
36582         (RUN_TEST_LOOP_ff_i_tg): Likewise.
36583         (RUN_TEST_LOOP_f_b): Likewise.
36584         (RUN_TEST_LOOP_f_b_tg): Likewise.
36585         (RUN_TEST_LOOP_f_l): Likewise.
36586         (RUN_TEST_LOOP_f_L): Likewise.
36587         (RUN_TEST_LOOP_fFF_11): Likewise.
36588         * math/gen-libm-test.pl (parse_args): Output four copies of
36589         expected results for each test.
36591         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36592         (__ASSUME_UTIMES): Remove.
36593         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36594         (__ASSUME_UTIMES): Likewise.
36596         * math/gen-auto-libm-tests.c: Update comment on output format.
36597         (output_for_one_input_case): Generate before-rounding and
36598         after-rounding information as conditions on output flags not
36599         floating-point format.
36600         * math/auto-libm-test-out: Regenerated.
36601         * math/gen-libm-test.pl (cond_value): New function.
36602         (or_cond_value): Use cond_value.
36603         (generate_testfile): Handle conditional exceptions.
36605 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
36607         * math/libm-test.inc (max_valid_error): New variable.
36608         (init_max_error): Take new argument specifying whether function
36609         results are exactly determined.  Set max_valid_error and bound
36610         other variables for errors based on this argument.
36611         (set_max_error): Do not record results above max_valid_error.
36612         (check_float_internal): Only accept errors of up to 0.5ulps if
36613         also at most max_valid_error.
36614         (START): Take new argument EXACT and pass it to init_max_error.
36615         (acos_test): Update call to START.
36616         (acos_test_tonearest): Likewise.
36617         (acos_test_towardzero): Likewise.
36618         (acos_test_downward): Likewise.
36619         (acos_test_upward): Likewise.
36620         (acosh_test): Likewise.
36621         (asin_test): Likewise.
36622         (asin_test_tonearest): Likewise.
36623         (asin_test_towardzero): Likewise.
36624         (asin_test_downward): Likewise.
36625         (asin_test_upward): Likewise.
36626         (asinh_test): Likewise.
36627         (atan_test): Likewise.
36628         (atanh_test): Likewise.
36629         (atan2_test): Likewise.
36630         (cabs_test): Likewise.
36631         (cacos_test): Likewise.
36632         (cacosh_test): Likewise.
36633         (carg_test): Likewise.
36634         (casin_test): Likewise.
36635         (casinh_test): Likewise.
36636         (catan_test): Likewise.
36637         (catanh_test): Likewise.
36638         (cbrt_test): Likewise.
36639         (ccos_test): Likewise.
36640         (ccosh_test): Likewise.
36641         (ceil_test): Likewise.
36642         (cexp_test): Likewise.
36643         (cimag_test): Likewise.
36644         (clog_test): Likewise.
36645         (clog10_test): Likewise.
36646         (conj_test): Likewise.
36647         (copysign_test): Likewise.
36648         (cos_test): Likewise.
36649         (cos_test_tonearest): Likewise.
36650         (cos_test_towardzero): Likewise.
36651         (cos_test_downward): Likewise.
36652         (cos_test_upward): Likewise.
36653         (cosh_test): Likewise.
36654         (cosh_test_tonearest): Likewise.
36655         (cosh_test_towardzero): Likewise.
36656         (cosh_test_downward): Likewise.
36657         (cosh_test_upward): Likewise.
36658         (cpow_test): Likewise.
36659         (cproj_test): Likewise.
36660         (creal_test): Likewise.
36661         (csin_test): Likewise.
36662         (csinh_test): Likewise.
36663         (csqrt_test): Likewise.
36664         (ctan_test): Likewise.
36665         (ctan_test_tonearest): Likewise.
36666         (ctan_test_towardzero): Likewise.
36667         (ctan_test_downward): Likewise.
36668         (ctan_test_upward): Likewise.
36669         (ctanh_test): Likewise.
36670         (ctanh_test_tonearest): Likewise.
36671         (ctanh_test_towardzero): Likewise.
36672         (ctanh_test_downward): Likewise.
36673         (ctanh_test_upward): Likewise.
36674         (erf_test): Likewise.
36675         (erfc_test): Likewise.
36676         (exp_test): Likewise.
36677         (exp_test_tonearest): Likewise.
36678         (exp_test_towardzero): Likewise.
36679         (exp_test_downward): Likewise.
36680         (exp_test_upward): Likewise.
36681         (exp10_test): Likewise.
36682         (exp10_test_tonearest): Likewise.
36683         (exp10_test_towardzero): Likewise.
36684         (exp10_test_downward): Likewise.
36685         (exp10_test_upward): Likewise.
36686         (pow10_test): Likewise.
36687         (exp2_test): Likewise.
36688         (expm1_test): Likewise.
36689         (expm1_test_tonearest): Likewise.
36690         (expm1_test_towardzero): Likewise.
36691         (expm1_test_downward): Likewise.
36692         (expm1_test_upward): Likewise.
36693         (fabs_test): Likewise.
36694         (fdim_test): Likewise.
36695         (floor_test): Likewise.
36696         (fma_test): Likewise.
36697         (fma_test_towardzero): Likewise.
36698         (fma_test_downward): Likewise.
36699         (fma_test_upward): Likewise.
36700         (fmax_test): Likewise.
36701         (fmin_test): Likewise.
36702         (fmod_test): Likewise.
36703         (fpclassify_test): Likewise.
36704         (frexp_test): Likewise.
36705         (hypot_test): Likewise.
36706         (ilogb_test): Likewise.
36707         (isfinite_test): Likewise.
36708         (finite_test): Likewise.
36709         (isgreater_test): Likewise.
36710         (isgreaterequal_test): Likewise.
36711         (isinf_test): Likewise.
36712         (isless_test): Likewise.
36713         (islessequal_test): Likewise.
36714         (islessgreater_test): Likewise.
36715         (isnan_test): Likewise.
36716         (isnormal_test): Likewise.
36717         (issignaling_test): Likewise.
36718         (isunordered_test): Likewise.
36719         (j0_test): Likewise.
36720         (j1_test): Likewise.
36721         (jn_test): Likewise.
36722         (ldexp_test): Likewise.
36723         (lgamma_test): Likewise.
36724         (gamma_test): Likewise.
36725         (lrint_test): Likewise.
36726         (lrint_test_tonearest): Likewise.
36727         (lrint_test_towardzero): Likewise.
36728         (lrint_test_downward): Likewise.
36729         (lrint_test_upward): Likewise.
36730         (llrint_test): Likewise.
36731         (llrint_test_tonearest): Likewise.
36732         (llrint_test_towardzero): Likewise.
36733         (llrint_test_downward): Likewise.
36734         (llrint_test_upward): Likewise.
36735         (log_test): Likewise.
36736         (log10_test): Likewise.
36737         (log1p_test): Likewise.
36738         (log2_test): Likewise.
36739         (logb_test): Likewise.
36740         (logb_test_downward): Likewise.
36741         (lround_test): Likewise.
36742         (llround_test): Likewise.
36743         (modf_test): Likewise.
36744         (nearbyint_test): Likewise.
36745         (nextafter_test): Likewise.
36746         (nexttoward_test): Likewise.
36747         (pow_test): Likewise.
36748         (pow_test_tonearest): Likewise.
36749         (pow_test_towardzero): Likewise.
36750         (pow_test_downward): Likewise.
36751         (pow_test_upward): Likewise.
36752         (remainder_test): Likewise.
36753         (drem_test): Likewise.
36754         (remainder_test_tonearest): Likewise.
36755         (drem_test_tonearest): Likewise.
36756         (remainder_test_towardzero): Likewise.
36757         (drem_test_towardzero): Likewise.
36758         (remainder_test_downward): Likewise.
36759         (drem_test_downward): Likewise.
36760         (remainder_test_upward): Likewise.
36761         (drem_test_upward): Likewise.
36762         (remquo_test): Likewise.
36763         (rint_test): Likewise.
36764         (rint_test_tonearest): Likewise.
36765         (rint_test_towardzero): Likewise.
36766         (rint_test_downward): Likewise.
36767         (rint_test_upward): Likewise.
36768         (round_test): Likewise.
36769         (scalb_test): Likewise.
36770         (scalbn_test): Likewise.
36771         (scalbln_test): Likewise.
36772         (signbit_test): Likewise.
36773         (sin_test): Likewise.
36774         (sin_test_tonearest): Likewise.
36775         (sin_test_towardzero): Likewise.
36776         (sin_test_downward): Likewise.
36777         (sin_test_upward): Likewise.
36778         (sincos_test): Likewise.
36779         (sinh_test): Likewise.
36780         (sinh_test_tonearest): Likewise.
36781         (sinh_test_towardzero): Likewise.
36782         (sinh_test_downward): Likewise.
36783         (sinh_test_upward): Likewise.
36784         (sqrt_test): Likewise.
36785         (sqrt_test_tonearest): Likewise.
36786         (sqrt_test_towardzero): Likewise.
36787         (sqrt_test_downward): Likewise.
36788         (sqrt_test_upward): Likewise.
36789         (tan_test): Likewise.
36790         (tan_test_tonearest): Likewise.
36791         (tan_test_towardzero): Likewise.
36792         (tan_test_downward): Likewise.
36793         (tan_test_upward): Likewise.
36794         (tanh_test): Likewise.
36795         (tgamma_test): Likewise.
36796         (trunc_test): Likewise.
36797         (y0_test): Likewise.
36798         (y1_test): Likewise.
36799         (yn_test): Likewise.
36800         (significand_test): Likewise.
36802         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
36803         individual tests in comment.
36804         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
36805         (prev_max_error): New variable.
36806         (prev_real_max_error): Likewise.
36807         (prev_imag_max_error): Likewise.
36808         (compare_ulp_data): Don't refer to test names in comment.
36809         (find_test_ulps): Remove function.
36810         (find_function_ulps): Likewise.
36811         (find_complex_function_ulps): Likewise.
36812         (init_max_error): Take function name as argument.  Look up ulps
36813         for that function.
36814         (print_ulps): Remove function.
36815         (print_max_error): Use prev_max_error instead of calling
36816         find_function_ulps.
36817         (print_complex_max_error): Use prev_real_max_error and
36818         prev_imag_max_error instead of calling find_complex_function_ulps.
36819         (check_float_internal): Take max_ulp parameter instead of calling
36820         find_test_ulps.  Don't call print_ulps.
36821         (check_float): Update call to check_float_internal.
36822         (check_complex): Update calls to check_float_internal.
36823         (START): Pass argument to init_max_error.
36824         * math/gen-libm-test.pl (%results): Don't include "kind"
36825         information.
36826         (parse_ulps): Don't handle ulps of individual tests.
36827         (print_ulps_file): Likewise.
36828         (output_ulps): Likewise.
36829         * math/README.libm-test: Update.
36830         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
36831         individual tests.
36832         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
36833         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
36834         * sysdeps/arm/libm-test-ulps: Likewise.
36835         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
36836         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
36837         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
36838         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
36839         * sysdeps/microblaze/libm-test-ulps: Likewise.
36840         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
36841         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
36842         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36843         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
36844         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36845         * sysdeps/sh/libm-test-ulps: Likewise.
36846         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36847         * sysdeps/tile/libm-test-ulps: Likewise.
36848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36850 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
36852         * math/libm-test.inc (print_complex_max_error): Check separately
36853         whether real and imaginary errors are within allowed range and
36854         pass 0 to print_complex_function_ulps instead of value within
36855         allowed range.
36857 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36859         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
36860         formatting.
36861         (get_handles_fopen): Likewise.
36862         (do_write_test): Likewise.
36864         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
36866         * libio/fileops.c (do_ftell): Use cached offset when
36867         available.
36868         * libio/iofwide.c (do_ftell_wide): Likewise.
36869         * libio/iofdopen.c (_IO_new_fdopen): Don't use
36870         _IO_file_attach.
36871         * libio/wfileops.c (_IO_fwide): Don't cache offset.
36873         [BZ #16532]
36874         * libio/libioP.h (get_file_offset): New function.
36875         * libio/fileops.c (get_file_offset): Likewise.
36876         (do_ftell): Likewise.
36877         (_IO_new_file_seekoff): Split out ftell logic.
36878         * libio/wfileops.c (do_ftell_wide): Likewise.
36879         (_IO_wfile_seekoff): Split out ftell logic.
36880         * libio/tst-ftell-active-handler.c: New test case.
36881         * libio/Makefile (tests): Add it.
36883 2014-03-03  Roland McGrath  <roland@hack.frob.com>
36885         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
36886         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
36888 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36890         [BZ #16639]
36891         * nscd/connections.c (nscd_init): Call do_exit.
36892         (start_threads): Call do_exit and notify_parent.
36893         (begin_drop_privileges): Call do_exit.
36894         (finish_drop_privileges): Likewise.
36895         * nscd/selinux.c (preserve_capabilities): Likewise.
36896         (install_real_capabilities): Likewise.
36897         (nscd_selinux_enabled): Likewise.
36898         (avc_create_thread): Likewise.
36899         (avc_alloc_lock): Likewise.
36900         (nscd_avc_init): Likewise.
36901         * nscd/nscd.c (parent_fd): New static variable.
36902         (main): Create a pipe between parent and child processes.
36903         Skip closing parent_fd.
36904         (monitor_child): New function.
36905         (do_exit): Likewise.
36906         (notify_parent): Likewise.
36907         * nscd/nscd.h (notify_parent): Likewise.
36908         (do_exit): Likewise.
36910 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
36912         * malloc/malloc.c (__libc_calloc): Revert last change.
36914 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36918 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36920         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
36921         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
36922         implementation.
36923         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36924         (__libc_ifunc_impl_list): Likewise.
36925         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
36926         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
36927         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
36928         * string/strrchr.c: Define STRRCHR.
36930 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
36932         * benchtest/bench-strtok.c (simple_strtok): Delete.
36933         (strtok_string): Use as benchmark.
36934         * string/strtok (STRTOK): New macro.
36936 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
36938         * manual/threads.texi: Add header and standard comments to all
36939         functions.
36941         * elf/dl-lookup.c (check_match): New function.
36942         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
36943         (do_lookup_x): Remove nested function check_match. Use non-nested
36944         function check_match.
36946 2014-02-28  Roland McGrath  <roland@hack.frob.com>
36948         * csu/Makefile (generated, before-compile): Use += rather than =.
36949         * catgets/Makefile (generated, generated-dirs): Likewise.
36950         * debug/Makefile (generated): Likewise.
36951         * dlfcn/Makefile (generated): Likewise.
36952         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
36953         * iconvdata/Makefile (before-compile, generated): Likewise.
36954         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
36955         * libio/Makefile (generated): Likewise.
36956         * malloc/Makefile (generated): Likewise.
36957         * manual/Makefile (generated, generated-dirs): Likewise.
36958         * misc/Makefile (generated): Likewise.
36959         * posix/Makefile (generated): Likewise.
36960         * resolv/Makefile (generated): Likewise.
36961         * sunrpc/Makefile (generated, generated-dirs): Likewise.
36962         * timezone/Makefile (generated, generated-dirs): Likewise.
36964         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
36966 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36968         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
36969         power8 implementation.
36970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
36971         file: POWER8 llround ifunc implementation.
36972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
36973         (__lllround): Add POWER8 implementation.
36974         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
36975         POWER8 llround implementation.
36977         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
36978         power8 implementation.
36979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
36980         file: POWER8 llrint ifunc implementation.
36981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
36982         Add POWER8 implementation.
36983         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
36984         POWER8 llrint implementation.
36986         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
36987         power8 implementation.
36988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
36989         file: POWER8 finite ifunc implementation.
36990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
36991         Add POWER8 implementation.
36992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
36993         Likewise.
36994         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
36995         POWER8 finite implementation.
36996         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
36998         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
36999         power8 implementation.
37000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
37001         file: POWER8 isinf ifunc implementation.
37002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
37003         POWER8 implementation.
37004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
37005         Likewise.
37006         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
37007         isinf implementation.
37008         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
37010         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
37011         (INIT_ARCH): Add hwcap2 initialization.
37012         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
37013         power8 implementation.
37014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
37015         file: POWER8 isnan ifunc implementation.
37016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
37017         POWER8 implementation.
37018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
37019         Likewise.
37020         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
37021         isnan implementation.
37022         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
37024 2014-02-27  Joey Ye  <joey.ye@arm.com>
37026         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
37027         (_FP_NANFRAC_Q): Set to zero.
37029 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37031         [BZ #16623]
37032         * math/auto-libm-test-in: New test inputs.
37033         * math/auto-libm-test-out: Regenerate.
37034         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
37035         and DA.
37036         (__cos): Likewise.
37037         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37039 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
37041         * scripts/evaluate-test.sh: Take new argument indicating whether
37042         failure is expected.
37043         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
37044         indicating whether failure is expected.
37045         * conform/Makefile (test-xfail-run-conformtest): New variable.
37046         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
37047         level.
37048         * posix/Makefile (test-xfail-annexc): New variable.
37049         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
37051 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
37053         * argp/Makefile: Include Makeconfig immediately after defining
37054         subdir.
37055         * assert/Makefile: Likewise.
37056         * benchtests/Makefile: Likewise.
37057         * catgets/Makefile: Likewise.
37058         * conform/Makefile: Likewise.
37059         * crypt/Makefile: Likewise.
37060         * csu/Makefile: Likewise.
37061         (all): Remove target.
37062         * ctype/Makefile: Include Makeconfig immediately after defining
37063         subdir.
37064         * debug/Makefile: Likewise.
37065         * dirent/Makefile: Likewise.
37066         * dlfcn/Makefile: Likewise.
37067         * gmon/Makefile: Likewise.
37068         * gnulib/Makefile: Likewise.
37069         * grp/Makefile: Likewise.
37070         * gshadow/Makefile: Likewise.
37071         * hesiod/Makefile: Likewise.
37072         * hurd/Makefile: Likewise.
37073         (all): Remove target.
37074         * iconvdata/Makefile: Include Makeconfig immediately after
37075         defining subdir.
37076         * inet/Makefile: Likewise.
37077         * intl/Makefile: Likewise.
37078         * io/Makefile: Likewise.
37079         * libio/Makefile: Likewise.
37080         (all): Remove target.
37081         * locale/Makefile: Include Makeconfig immediately after defining
37082         subdir.
37083         * login/Makefile: Likewise.
37084         * mach/Makefile: Likewise.
37085         (all): Remove target.
37086         * malloc/Makefile: Include Makeconfig immediately after defining
37087         subdir.
37088         (all): Remove target.
37089         * manual/Makefile: Include Makeconfig immediately after defining
37090         subdir.
37091         * math/Makefile: Likewise.
37092         * misc/Makefile: Likewise.
37093         * nis/Makefile: Likewise.
37094         * nss/Makefile: Likewise.
37095         * po/Makefile: Likewise.
37096         (all): Remove target.
37097         * posix/Makefile: Include Makeconfig immediately after defining
37098         subdir.
37099         * pwd/Makefile: Likewise.
37100         * resolv/Makefile: Likewise.
37101         * resource/Makefile: Likewise.
37102         * rt/Makefile: Likewise.
37103         * setjmp/Makefile: Likewise.
37104         * shadow/Makefile: Likewise.
37105         * signal/Makefile: Likewise.
37106         * socket/Makefile: Likewise.
37107         * soft-fp/Makefile: Likewise.
37108         * stdio-common/Makefile: Likewise.
37109         * stdlib/Makefile: Likewise.
37110         * streams/Makefile: Likewise.
37111         * string/Makefile: Likewise.
37112         * sunrpc/Makefile: Likewise.
37113         (all): Remove target.
37114         * sysvipc/Makefile: Include Makeconfig immediately after defining
37115         subdir.
37116         * termios/Makefile: Likewise.
37117         * time/Makefile: Likewise.
37118         * timezone/Makefile: Likewise.
37119         (all): Remove target.
37120         * wcsmbs/Makefile: Include Makeconfig immediately after defining
37121         subdir.
37122         * wctype/Makefile: Likewise.
37124 2014-02-26  Steve Ellcey  <sellcey@mips.com>
37126         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
37127         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
37128         (libc_feholdexcept_setround_mips): Ditto.
37129         (libc_feholdsetround): New.
37130         (libc_feholdsetroundf): New.
37131         (libc_feholdsetroundl): New.
37132         (libc_feupdateenv_test_mips): New.
37133         (libc_feupdateenv_test): New.
37134         (libc_feupdateenv_testf): New.
37135         (libc_feupdateenv_testl): New.
37136         (libc_feresetround): New.
37137         (libc_feresetroundf): New.
37138         (libc_feresetroundl): New.
37139         (libc_fetestexcept_mips): New.
37140         (libc_fetestexcept): New.
37141         (libc_fetestexceptf): New.
37142         (libc_fetestexceptl): New.
37143         (HAVE_RM_CTX): New.
37144         (libc_feholdexcept_setround_mips_ctx): New.
37145         (libc_feholdexcept_setround_ctx): New.
37146         (libc_feholdexcept_setroundf_ctx): New.
37147         (libc_feholdexcept_setroundl_ctx): New.
37148         (libc_fesetenv_mips_ctx): New.
37149         (libc_fesetenv_ctx): New.
37150         (libc_fesetenv_ctxf): New.
37151         (libc_fesetenv_ctxl): New.
37152         (libc_feupdateenv_mips_ctx): New.
37153         (libc_feupdateenv_ctx): New.
37154         (libc_feupdateenvf_ctx): New.
37155         (libc_feupdateenvl_ctx): New.
37156         (libc_feholdsetround_mips_ctx): New.
37157         (libc_feholdsetround_ctx): New.
37158         (libc_feholdsetroundf_ctx): New.
37159         (libc_feholdsetroundl_ctx): New.
37160         (libc_feresetround_mips_ctx): New.
37161         (libc_feresetround_ctx): New.
37162         (libc_feresetroundf_ctx): New.
37163         (libc_feresetroundl_ctx): New.
37165 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
37167         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
37169         * manual/ipc.texi: New file.
37170         * manual/Makefile (chapters): Add ipc.
37171         * manual/job.texi: Add "Inter-Process Communication" to next.
37172         * manual/process.texi: Add "Inter-Process Communication" to prev.
37174 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37176         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37178 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
37180         * malloc/malloc.c (__libc_calloc): Simplify implementation.
37182         * manual/arith.texi: Fix spaces after sentences.
37183         * manual/charset.texi: Likewise.
37184         * manual/errno.texi: Likewise.
37185         * manual/install.texi: Likewise.
37186         * manual/llio.texi: Likewise.
37187         * manual/locale.texi: Likewise.
37188         * manual/maint.texi: Likewise.
37189         * manual/math.texi: Likewise.
37190         * manual/memory.texi: Likewise.
37191         * manual/message.texi: Likewise.
37192         * manual/probes.texi: Likewise.
37193         * manual/resource.texi: Likewise.
37194         * manual/signal.texi: Likewise.
37195         * manual/socket.texi: Likewise.
37196         * manual/stdio.texi: Likewise.
37197         * manual/string.texi: Likewise.
37198         * manual/time.texi: Likewise.
37199         * manual/users.texi: Likewise.
37201 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
37203         [BZ #16632]
37204         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
37205         _DEFAULT_SOURCE is defined.
37207 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
37208             Carlos O'Donell  <carlos@redhat.com>
37210         [BZ #16613]
37211         * elf/dl-tls.c (_dl_count_modids): New function.
37212         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
37213         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
37214         audit library and increment generation counter.
37215         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
37216         * elf/tst-audit9.c: New file.
37217         * elf/tst-auditmod9a.c: New file.
37218         * elf/tst-auditmod9b.c: New file.
37219         * elf/Makefile: Add rules to build and run tst-audit9.
37221 2014-02-25  Florian Weimer  <fweimer@redhat.com>
37223         [BZ #15347]
37224         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
37226 2014-02-25  Will Newton  <will.newton@linaro.org>
37228         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
37229         (__longjmp): Restore sp and lr before restoring callee
37230         saved registers.  Add longjmp and longjmp_target
37231         SystemTap probe point.
37232         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
37233         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
37234         Define to zero to match jmpbuf layout.
37235         * sysdeps/arm/setjmp.S: Include stap-probe.h.
37236         (__sigsetjmp): Save sp and lr before saving callee
37237         saved registers.  Add setjmp SystemTap probe point.
37239 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
37241         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37243 2014-02-24  Andreas Schwab  <schwab@suse.de>
37245         [BZ #15804]
37246         * elf/pldd.c (wait_for_ptrace_stop): New function.
37247         (main): Call it after attaching.
37249 2014-02-22  Roland McGrath  <roland@hack.frob.com>
37251         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
37252         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
37253         Versions files is now verboten.
37254         * hurd/Versions (libc: GLIBC_2.0):
37255         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
37256         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
37257         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
37258         * mach/Versions: Likewise.
37260         * csu/Versions: Remove unused %include.
37261         * resolv/Versions: Likewise.
37263 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
37265         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
37266         ($(objpfx)check-local-headers.out): Likewise.
37267         ($(objpfx)begin-end-check.out): Likewise.
37268         * Makerules (check-abi-%.out): Likewise.
37269         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
37270         ($(objpfx)test2.cat): Likewise.
37271         ($(objpfx)de/libc.cat): Likewise.
37272         ($(objpfx)test-gencat.out): Likewise.
37273         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
37274         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
37275         ($(objpfx)noload-mem): Likewise.
37276         ($(objpfx)tst-pathopt.out): Likewise.
37277         ($(objpfx)tst-rtld-load-self.out): Likewise.
37278         ($(objpfx)tst-array1-cmp.out): Likewise.
37279         ($(objpfx)tst-array1-static-cmp.out): Likewise.
37280         ($(objpfx)tst-array2-cmp.out): Likewise.
37281         ($(objpfx)tst-array3-cmp.out): Likewise.
37282         ($(objpfx)tst-array4-cmp.out): Likewise.
37283         ($(objpfx)tst-array5-cmp.out): Likewise.
37284         ($(objpfx)tst-array5-static-cmp.out): Likewise.
37285         ($(objpfx)check-textrel.out): Likewise.
37286         ($(objpfx)check-execstack.out): Likewise.
37287         ($(objpfx)check-localplt.out): Likewise.
37288         ($(objpfx)order2-cmp.out): Likewise.
37289         ($(objpfx)tst-leaks1-mem): Likewise.
37290         ($(objpfx)tst-leaks1-static-mem): Likewise.
37291         ($(objpfx)tst-initorder-cmp.out): Likewise.
37292         ($(objpfx)tst-initorder2-cmp.out): Likewise.
37293         ($(objpfx)tst-unused-dep.out): Likewise.
37294         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
37295         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37296         * iconv/Makefile (test-iconvconfig): Likewise.
37297         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
37298         ($(objpfx)iconv-test.out): Likewise.
37299         ($(objpfx)tst-tables.out): Likewise.
37300         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
37301         ($(objpfx)tst-gettext.out): Likewise.
37302         ($(objpfx)tst-translit.out): Likewise.
37303         ($(objpfx)tst-gettext2.out): Likewise.
37304         ($(objpfx)tst-gettext4.out): Likewise.
37305         ($(objpfx)tst-gettext6.out): Likewise.
37306         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
37307         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37308         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
37309         ($(objpfx)tst-fopenloc-mem.out): Likewise.
37310         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37311         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
37312         * posix/Makefile ($(objpfx)globtest.out): Likewise.
37313         ($(objpfx)wordexp-tst.out): Likewise.
37314         ($(objpfx)annexc.out): Likewise.
37315         ($(objpfx)tst-fnmatch-mem): Likewise.
37316         ($(objpfx)bug-regex2-mem): Likewise.
37317         ($(objpfx)bug-regex14-mem): Likewise.
37318         ($(objpfx)bug-regex21-mem): Likewise.
37319         ($(objpfx)bug-regex31-mem): Likewise.
37320         ($(objpfx)tst-vfork3-mem): Likewise.
37321         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37322         ($(objpfx)tst-pcre-mem): Likewise.
37323         ($(objpfx)tst-boost-mem): Likewise.
37324         ($(objpfx)tst-getconf.out): Likewise.
37325         ($(objpfx)bug-ga2-mem): Likewise.
37326         ($(objpfx)bug-glob2-mem): Likewise.
37327         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
37328         ($(objpfx)mtrace-tst-leaks2): Likewise.
37329         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
37330         ($(objpfx)tst-printf.out): Likewise.
37331         ($(objpfx)tst-setvbuf1.out): Likewise.
37332         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
37333         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
37334         ($(objpfx)tst-fmtmsg.out): Likewise.
37335         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
37336         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
37338         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
37339         * bits/sigaction.h [__USE_MISC]: Likewise.
37340         * bits/waitstatus.h: Update #endif comments.
37341         * ctype/ctype.h: Likewise.
37342         * dirent/dirent.h: Likewise.
37343         [__USE_MISC]: Remove redundant conditionals.
37344         * grp/grp.h: Update #endif comments.
37345         [__USE_GNU]: Remove redundant conditionals.
37346         [__USE_MISC]: Likewise.
37347         * inet/netinet/in.h [__USE_GNU]: Likewise.
37348         * io/sys/stat.h [__USE_MISC]: Likewise.
37349         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
37350         * libio/bits/stdio.h: Update #endif comments.
37351         [__USE_MISC]: Remove redundant conditionals.
37352         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
37353         * libio/stdio.h: Update #endif comments.
37354         [__USE_MISC]: Remove redundant conditionals.
37355         * math/bits/math-finite.h [__USE_MISC]: Likewise.
37356         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
37357         * math/math.h: Update #else and #endif comments.
37358         [__USE_MISC]: Remove redundant conditionals.
37359         * misc/sys/uio.h: Update #endif comments.
37360         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
37361         * posix/glob.h [__USE_MISC]: Likewise.
37362         * posix/sys/types.h: Update #endif comments.
37363         [__USE_MISC]: Remove redundant conditionals.
37364         * posix/sys/wait.h: Update #endif comments.
37365         [__USE_MISC]: Remove redundant conditionals.
37366         * posix/unistd.h: Update #endif comments.
37367         [__USE_MISC]: Remove redundant conditionals.
37368         * pwd/pwd.h [__USE_GNU]: Likewise.
37369         [__USE_MISC]: Likewise.
37370         * resolv/netdb.h [__USE_GNU]: Likewise.
37371         * signal/signal.h: Update #endif comments.
37372         [__USE_MISC]: Remove redundant conditionals.
37373         * stdlib/stdlib.h: Update #else and #endif comments.
37374         [__USE_MISC]: Remove redundant conditionals.
37375         [__USE_GNU]: Likewise.
37376         * string/bits/string2.h [__USE_MISC]: Likewise.
37377         * string/string.h: Update #endif comments.
37378         [__USE_MISC]: Remove redundant conditionals.
37379         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
37380         Likewise.
37381         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
37382         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
37383         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
37384         Likewise.
37385         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
37386         Likewise.
37387         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
37388         comments.
37389         [__USE_MISC]: Remove redundant conditionals.
37390         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
37391         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
37392         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
37393         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
37394         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
37395         Likewise.
37396         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
37397         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
37398         Likewise.
37399         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
37400         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
37401         Likewise.
37402         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
37403         Likewise.
37404         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
37405         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
37406         Likewise.
37407         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
37408         Likewise.
37409         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
37410         * sysdeps/x86/bits/string.h: Update #endif comments.
37411         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
37412         conditionals.
37413         * time/sys/time.h: Update #endif comments.
37414         * time/time.h: Likewise.
37415         [__USE_MISC]: Remove redundant conditionals.
37417 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
37419         [BZ #16600]
37420         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
37422 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
37424         * Versions.def (librt): Add GLIBC_2.17.
37426 2014-02-21  Adam Conrad  <adconrad@0c3.net>
37428         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
37429         synonym for _SYS_AUXV_H to allow direct inclusion.
37430         * sysdeps/sparc/bits/hwcap.h: Likewise.
37431         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
37432         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
37433         * sysdeps/sparc/sysdep.h: Likewise.
37435 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37437         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
37439 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37441         * benchtests/bench-strrchr.c: Print length instead of position.
37443 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
37445         [BZ #16611]
37446         * sysdeps/unix/sysv/linux/kernel-features.h
37447         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
37448         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
37449         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
37450         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
37451         Likewise.
37452         [__i386__ || __powerpc__ || __sh__ || __sparc__]
37453         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37454         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
37455         (__ASSUME_SENDMMSG): Define instead of using previous
37456         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
37457         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37458         (__ASSUME_SENDMMSG_SYSCALL): Define.
37459         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37460         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
37461         Likewise.
37462         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37463         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37464         Likewise.
37465         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37466         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37467         Likewise.
37468         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
37469         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37470         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37471         [__ASSUME_SENDMMSG]: Change conditionals to
37472         [__ASSUME_SENDMMSG_SOCKETCALL].
37473         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37474         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
37475         Define.
37476         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37477         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
37478         Likewise.
37479         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
37480         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37481         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37482         [!__ASSUME_SENDMMSG]: Change conditional to
37483         [!__ASSUME_SENDMMSG_SOCKETCALL].
37484         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37485         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37486         Define.
37488         [BZ #16610]
37489         * sysdeps/unix/sysv/linux/kernel-features.h
37490         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
37491         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
37492         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
37493         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
37494         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37495         [__i386__ || __sparc__]
37496         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37497         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
37498         (__ASSUME_RECVMMSG): Define instead of using previous
37499         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
37500         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37501         (__ASSUME_RECVMMSG_SYSCALL): Define.
37502         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37503         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37504         Likewise.
37505         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37506         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37507         Likewise.
37508         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37509         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37510         Likewise.
37511         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
37512         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37513         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37514         [__ASSUME_RECVMMSG]: Change condition to
37515         [__ASSUME_RECVMMSG_SOCKETCALL].
37516         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37517         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37518         Define.
37519         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37520         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37521         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37522         Likewise.
37523         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
37524         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37525         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37526         [!__ASSUME_RECVMMSG]: Change condition to
37527         [!__ASSUME_RECVMMSG_SOCKETCALL].
37528         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37529         (__ASSUME_RECVMMSG_SYSCALL): Define.
37531         [BZ #16609]
37532         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
37533         __powerpc__ || __s390__ || __sh__ || __sparc__]
37534         (__ASSUME_SOCKETCALL): Define.
37535         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
37536         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
37537         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
37538         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
37539         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37540         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
37541         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
37542         (__ASSUME_ACCEPT4): Define instead of using previous
37543         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
37544         __powerpc__ || __sparc__ || __s390__)] condition.
37545         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37546         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37547         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
37548         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37549         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37550         [!__ASSUME_ACCEPT4]: Change condition to
37551         [!__ASSUME_ACCEPT4_SOCKETCALL].
37552         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37553         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
37554         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
37555         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37556         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
37557         __ASSUME_ACCEPT4_SYSCALL.
37558         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
37559         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
37560         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37561         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
37562         __ASSUME_ACCEPT4_SYSCALL.
37563         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
37564         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37565         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37566         [__ASSUME_ACCEPT4]: Change condition to
37567         [__ASSUME_ACCEPT4_SOCKETCALL].
37568         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37569         (__ASSUME_SOCKETCALL): Define.
37570         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
37571         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37572         (__ASSUME_SOCKETCALL): Define.
37573         (__ASSUME_ACCEPT4): Remove.
37574         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
37575         Define.
37576         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37577         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
37578         Likewise.
37579         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37580         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37582         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
37583         macro.
37584         (HWCAP_ARM_LPAE): Likewise.
37585         (HWCAP_ARM_EVTSTRM): Likewise.
37586         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
37587         Add vpfd32, lpae and evtstrm.
37588         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
37589         Increase to 22.
37591 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
37593         * math/auto-libm-test-in: Add tests of clog10.
37594         * math/auto-libm-test-out: Regenerated.
37595         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
37596         * sysdeps/i386/fpu/libm-test-ulps: Update.
37597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37599 2014-02-18  Andreas Schwab  <schwab@suse.de>
37601         [BZ #16574]
37602         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
37603         Store non-zero if the second buffer was newly allocated.
37604         (send_dg): Likewise.
37605         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
37606         to send_vc and send_dg.
37607         (res_nsend): Pass NULL for ansp2_malloced.
37608         * resolv/res_query.c (__libc_res_nquery): Add parameter
37609         answerp2_malloced and pass it down to __libc_res_nsend.
37610         (res_nquery): Pass additional NULL to __libc_res_nquery.
37611         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
37612         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
37613         second answer buffer if answerp2_malloced was set.
37614         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
37615         (__libc_res_nquerydomain): Add parameter
37616         answerp2_malloced and pass it down to __libc_res_nquery.
37617         (res_nquerydomain): Pass additional NULL to
37618         __libc_res_nquerydomain.
37619         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
37620         additional NULL to __libc_res_nsend and __libc_res_nquery.
37621         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
37622         additional NULL to __libc_res_nsearch.
37623         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
37624         parameter of __libc_res_nsearch to check for separately allocated
37625         second buffer.
37626         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
37627         __libc_res_nquery.
37628         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
37629         additional NULL to __libc_res_nquery.
37630         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
37631         __libc_res_nsearch.
37632         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
37633         * include/resolv.h: Update prototypes of __libc_res_nquery,
37634         __libc_res_nsearch, __libc_res_nsend.
37636 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
37638         * math/auto-libm-test-in: Add tests of fma.
37639         * math/auto-libm-test-out: Regenerated.
37640         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
37641         (fma_towardzero_test_data): Likewise.
37642         (fma_downward_test_data): Likewise.
37643         (fma_upward_test_data): Likewise.
37644         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
37645         mpc_mode.
37646         (rounding_modes): Add values for new field.
37647         (func_calc_method): Add value mpfr_fff_f.
37648         (func_calc_desc): Add mpfr_fff_f union field.
37649         (test_function): Add field exact_args.
37650         (FUNC): Add macro argument EXACT_ARGS.
37651         (FUNC_mpfr_f_f): Update call to FUNC.
37652         (FUNC_mpfr_f_f): Likewise.
37653         (FUNC_mpfr_ff_f): Likewise.
37654         (FUNC_mpfr_if_f): Likewise.
37655         (FUNC_mpc_c_f): Likewise.
37656         (FUNC_mpc_c_c): Likewise.
37657         (test_functions): Add fma.  Update calls to FUNC.
37658         (handle_input_arg): Add argument exact_args.
37659         (add_test): Update call to handle_input_arg.
37660         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
37661         (output_for_one_input_case): Update call to calc_generic_results.
37662         Recalculate exact zero results in each rounding mode.
37664         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
37665         non-negative before setting low bit.
37666         * math/auto-libm-test-in: Mark one asin test possibly having
37667         spurious underflow.
37668         * math/auto-libm-test-out: Regenerated.
37669         * sysdeps/i386/fpu/libm-test-ulps: Update.
37670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37672 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
37674         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
37675         * sysdeps/unix/sysv/linux/microblaze: Move directory from
37676         ports/sysdeps/unix/sysv/linux/microblaze.
37677         * README: Add missing listing for microblaze*-*-linux-gnu.
37679 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
37681         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
37682         duplicate code
37684 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
37686         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
37687         * sysdeps/unix/sysv/linux/ia64: Move directory from
37688         ports/sysdeps/unix/sysv/linux/ia64.
37689         * README: Update listing for ia64-*-linux-gnu.
37691 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
37692             Joseph Myers  <joseph@codesourcery.com>
37694         * Makeconfig (test-name): New variable.
37695         (evaluate-test): Likewise.
37696         * Makerules (do-test-clean): Remove .test-result files.
37697         (common-mostlyclean): Likewise.
37698         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
37699         * scripts/evaluate-test.sh: New file.
37701 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
37703         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
37704         separate $(objpfx)tst-fopenloc-cmp.out and
37705         $(objpfx)tst-fopenloc-mem.out targets.
37706         (tests): Update dependencies.
37707         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
37708         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
37709         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
37710         (tst-rxspencer-no-utf8-ARGS): New variable.
37711         (tst-rxspencer-no-utf8-ENV): Likewise.
37712         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
37713         instead of $(objpfx)tst-rxspencer-mem.
37714         ($(objpfx)tst-rxspencer-mem): Change target to
37715         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
37716         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
37717         * posix/tst-rxspencer-no-utf8.c: New file.
37719         * elf/Makefile ($(objpfx)order.out): Remove rule.
37720         [$(run-built-tests) = yes] (tests): Depend on
37721         $(objpfx)order-cmp.out.
37722         ($(objpfx)order-cmp.out): New rule.
37723         [$(run-built-tests) = yes] (tests): Depend on
37724         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
37725         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
37726         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
37727         $(objpfx)tst-array5-static-cmp.out.
37728         ($(objpfx)tst-array1.out): Remove rule.
37729         ($(objpfx)tst-array1-cmp.out): New rule.
37730         ($(objpfx)tst-array1-static.out): Remove rule.
37731         ($(objpfx)tst-array1-static-cmp.out): New rule.
37732         ($(objpfx)tst-array2.out): Remove rule.
37733         ($(objpfx)tst-array2-cmp.out): New rule.
37734         ($(objpfx)tst-array3.out): Remove rule.
37735         ($(objpfx)tst-array3-cmp.out): New rule.
37736         ($(objpfx)tst-array4.out): Remove rule.
37737         ($(objpfx)tst-array4-cmp.out): New rule.
37738         ($(objpfx)tst-array5.out): Remove rule.
37739         ($(objpfx)tst-array5-cmp.out): New rule.
37740         ($(objpfx)tst-array5-static.out): Remove rule.
37741         ($(objpfx)tst-array5-static-cmp.out): New rule.
37742         [$(run-built-tests) = yes] (tests): Depend on
37743         $(objpfx)order2-cmp.out.
37744         ($(objpfx)order2.out): Remove rule.
37745         ($(objpfx)order2-cmp.out): New rule.
37746         ($(objpfx)tst-initorder.out): Remove rule.
37747         [$(run-built-tests) = yes] (tests): Depend on
37748         $(objpfx)tst-initorder-cmp.out.
37749         ($(objpfx)tst-initorder-cmp.out): New rule.
37750         ($(objpfx)tst-initorder2.out): Remove rule.
37751         [$(run-built-tests) = yes] (tests): Depend on
37752         $(objpfx)tst-initorder2-cmp.out.
37753         ($(objpfx)tst-initorder2-cmp.out): New rule.
37754         [$(run-built-tests) = yes] (tests): Depend on
37755         $(objpfx)tst-unused-dep-cmp.out.
37756         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
37757         ($(objpfx)tst-unused-dep-cmp.out): New rule.
37758         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
37759         on $(objpfx)tst-setvbuf1-cmp.out.
37760         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
37761         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
37762         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
37763         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
37764         ($(objpfx)tst-svc.out): Remove rule.
37765         ($(objpfx)tst-svc-cmp.out): New rule.
37767 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
37769         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
37770         * ctype/ctype.h [__USE_MISC]: Likewise.
37771         * dirent/dirent.h [__USE_MISC]: Likewise.
37772         * grp/grp.h [__USE_MISC]: Likewise.
37773         * io/fcntl.h [__USE_MISC]: Likewise.
37774         * io/sys/stat.h [__USE_MISC]: Likewise.
37775         * libio/stdio.h [__USE_MISC]: Likewise.
37776         * posix/unistd.h [__USE_MISC]: Likewise.
37777         * pwd/pwd.h [__USE_MISC]: Likewise.
37778         * stdlib.h [__USE_MISC]: Likewise.
37779         * string/bits/string2.h [__USE_MISC]: Likewise.
37780         * string/string.h [__USE_MISC]: Likewise.
37781         * time/time.h [__USE_MISC]: Likewise.
37783 2014-02-13  Andreas Schwab  <schwab@suse.de>
37785         [BZ #16574]
37786         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
37787         second answer buffer if it was separately allocated.
37789 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
37791         * sysdeps/mips/math-tests.h: Include <features.h>.
37792         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37793         (ROUNDING_TESTS_long_double): Do not define.
37794         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37795         (EXCEPTION_TESTS_long_double): Likewise.
37796         * sysdeps/mips/mips64/libm-test-ulps: Update.
37798         * include/features.h (__USE_BSD): Remove macro definitions.
37799         (__USE_SVID): Likewise.
37800         (_BSD_SOURCE): Likewise.
37801         (_SVID_SOURCE): Likewise.
37802         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
37803         from definition of _DEFAULT_SOURCE.
37804         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
37805         [_DEFAULT_SOURCE].
37806         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
37807         * bits/mman.h [__USE_BSD]: Likewise.
37808         * bits/termios.h [__USE_BSD]: Likewise.
37809         * bits/waitstatus.h [__USE_BSD]: Likewise.
37810         * ctype/ctype.h [__USE_SVID]: Likewise.
37811         * dirent/dirent.h [__USE_BSD]: Likewise.
37812         * grp/grp.h [__USE_SVID]: Likewise.
37813         [__USE_BSD]: Likewise.
37814         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
37815         * io/fcntl.h [__USE_BSD]: Likewise.
37816         * io/ftw.h [__USE_BSD]: Likewise.
37817         * io/sys/stat.h [__USE_BSD]: Likewise.
37818         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
37819         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
37820         * libio/stdio.h [__USE_SVID]: Likewise.
37821         [__USE_BSD]: Likewise.
37822         * math/math.h [__USE_SVID]: Likewise.
37823         [__USE_BSD]: Likewise.
37824         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
37825         * misc/bits/syslog.h [__USE_BSD]: Likewise.
37826         * misc/search.h [__USE_SVID]: Likewise.
37827         * misc/sys/mman.h [__USE_BSD]: Likewise.
37828         * misc/sys/syslog.h [__USE_BSD]: Likewise.
37829         * misc/sys/uio.h [__USE_BSD]: Likewise.
37830         * posix/bits/unistd.h [__USE_BSD]: Likewise.
37831         * posix/glob.h [__USE_BSD]: Likewise.
37832         * posix/regex.h [__USE_BSD]: Likewise.
37833         * posix/sys/types.h [__USE_BSD]: Likewise.
37834         [__USE_SVID]: Likewise.
37835         * posix/sys/utsname.h [__USE_SVID]: Likewise.
37836         * posix/sys/wait.h [__USE_BSD]: Likewise.
37837         [__USE_SVID]: Likewise.
37838         * posix/unistd.h [__USE_BSD]: Likewise.
37839         [__USE_SVID]: Likewise.
37840         * pwd/pwd.h [__USE_SVID]: Likewise.
37841         * resolv/netdb.h [__USE_BSD]: Likewise.
37842         * setjmp/setjmp.h [__USE_BSD]: Likewise.
37843         * signal/signal.h [__USE_BSD]: Likewise.
37844         [__USE_SVID]: Likewise.
37845         * socket/sys/socket.h [__USE_BSD]: Likewise.
37846         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
37847         * stdlib/stdlib.h [__USE_BSD]: Likewise.
37848         [__USE_SVID]: Likewise.
37849         * string/bits/string2.h [__USE_BSD]: Likewise.
37850         [__USE_SVID]: Likewise.
37851         * string/bits/string3.h [__USE_BSD]: Likewise.
37852         * string/endian.h [__USE_BSD]: Likewise.
37853         * string/string.h [__USE_SVID]: Likewise.
37854         [__USE_BSD]: Likewise.
37855         * string/strings.h [__USE_BSD]: Likewise.
37856         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
37857         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
37858         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
37859         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
37860         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
37861         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
37862         Likewise.
37863         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
37864         Likewise.
37865         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
37866         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
37867         Likewise.
37868         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
37869         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
37870         Likewise.
37871         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
37872         Likewise.
37873         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
37874         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
37875         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
37876         Likewise.
37877         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
37878         Likewise.
37879         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
37880         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
37881         * termios/termios.h [__USE_BSD]: Likewise.
37882         * time/sys/time.h [__USE_BSD]: Likewise.
37883         * time/time.h [__USE_BSD]: Likewise.
37884         [__USE_SVID]: Likewise.
37886         * Makefile (subdir_targets): Remove subdir_lint.out.
37888         * stdio-common/Makefile (do-tst-unbputc): Remove target.
37889         (do-tst-printf): Likewise.
37890         (tests): Depend directly on $(objpfx)tst-unbputc.out and
37891         $(objpfx)tst-printf.out.
37893         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
37895         * Makerules (check-abi-%): Change target to
37896         $(objpfx)check-abi-%.out.
37897         (check-abi target): Update dependencies.
37898         (check-abi-pattern variable): Redirect output of diff to $@.
37899         (check-abi variable): Likewise.
37900         * elf/Makefile (check-abi): Update dependencies.
37902         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
37903         unused.
37904         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
37905         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
37906         subnormal range.
37907         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
37908         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
37909         value has largest subnormal exponent.
37910         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
37911         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
37912         * sysdeps/aarch64/soft-fp/sfp-machine.h
37913         (_FP_TININESS_AFTER_ROUNDING): New macro.
37914         * sysdeps/alpha/soft-fp/sfp-machine.h
37915         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37916         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37917         Likewise.
37918         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
37919         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37920         * sysdeps/mips/soft-fp/sfp-machine.h
37921         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37922         * sysdeps/powerpc/soft-fp/sfp-machine.h
37923         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37924         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37925         Likewise.
37926         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37927         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37928         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37929         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37930         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37931         Likewise.
37933 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
37935         [BZ #16545]
37936         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
37937         model 1.
37939 2014-02-12  Richard Henderson  <rth@redhat.com>
37941         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
37942         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
37943         * sysdeps/unix/sysv/linux/alpha: Move directory from
37944         ports/sysdeps/unix/sysv/linux/alpha.
37945         * README: Update listing for alpha-*-linux-gnu.
37947 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
37949         * include/features.h: Update comment documenting feature test
37950         macros.
37951         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
37952         _DEFAULT_SOURCE.
37953         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
37954         (_SVID_SOURCE): Likewise.
37955         (_DEFAULT_SOURCE): Update description of default features.
37956         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
37957         with _GNU_SOURCE.
37958         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
37959         (S_ISVTX): Likewise.
37960         * manual/math.texi (Mathematical Constants): Likewise.
37961         * manual/signal.texi (Interrupted Primitives): Likewise.
37962         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
37963         * math/test-matherr.c (_SVID_SOURCE): Do not define.
37964         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
37965         Don't refer to _SVID_SOURCE in warning text.
37967         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37969         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
37970         already defined.
37971         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
37972         * sysdeps/mips/dl-lookup.c: Remove.
37973         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
37975 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37977         [BZ #16447]
37978         * math/auto-libm-test-in: Add testcase for expl.
37979         * math/auto-libm-test-out: Regenerate.
37980         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
37981         calculation of unsafe.
37982         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
37984 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37986         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
37987         * sysdeps/unix/sysv/linux/aarch64: Move directory from
37988         ports/sysdeps/unix/sysv/linux/aarch64.
37989         * README: Update listing for aarch64*-*-linux-gnu.
37991 2014-02-11  Will Newton  <will.newton@linaro.org>
37993         * manual/probes.texi (Mathematical Function Probes): Use
37994         "triggered" instead of "hit".
37996         * manual/probes.texi (Internal Probes): Add documentation
37997         of setjmp, longjmp and longjmp_target probes.
37999         * include/stap-probe.h: Add comment about probe argument
38000         format.
38002         * malloc/mtrace.c (attribute_hidden): Remove unused macro
38003         definition.  (tr_where, tr_freehook, tr_mallochook,
38004         tr_reallochook, tr_memalignhook): Use ANSI protoype.
38006 2014-02-11  David S. Miller  <davem@davemloft.net>
38008         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
38009         processing int_tests.
38011 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
38013         * sysdeps/mips: Move directory from ports/sysdeps/mips.
38014         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
38015         * sysdeps/unix/sysv/linux/mips: Move directory from
38016         ports/sysdeps/unix/sysv/linux/mips.
38017         * README: Update listing for mips-*-linux-gnu and
38018         mips64-*-linux-gnu.
38020 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
38022         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
38023         * sysdeps/unix/sysv/linux/m68k: Move directory from
38024         ports/sysdeps/unix/sysv/linux/m68k.
38025         * README: Update listing for m68k-*-linux-gnu.
38027 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
38029         * sysdeps/tile: Move directory from ports/sysdeps/tile.
38030         * sysdeps/unix/sysv/linux/generic: Move directory from
38031         ports/sysdeps/unix/sysv/linux/generic.
38032         * sysdeps/unix/sysv/linux/tile: Move directory from
38033         ports/sysdeps/unix/sysv/linux/tile.
38034         * README: Update listing for tile*-*-linux-gnu.
38036 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
38038         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
38039         __builtin_expect.
38040         * benchtests/bench-memmem.c (simple_memmem): Likewise.
38041         * catgets/open_catalog.c (__open_catalog): Likewise.
38042         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
38043         * debug/confstr_chk.c: Likewise.
38044         * debug/fread_chk.c (__fread_chk): Likewise.
38045         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
38046         * debug/getgroups_chk.c: Likewise.
38047         * debug/mbsnrtowcs_chk.c: Likewise.
38048         * debug/mbsrtowcs_chk.c: Likewise.
38049         * debug/mbstowcs_chk.c: Likewise.
38050         * debug/memcpy_chk.c: Likewise.
38051         * debug/memmove_chk.c: Likewise.
38052         * debug/mempcpy_chk.c: Likewise.
38053         * debug/memset_chk.c: Likewise.
38054         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
38055         * debug/strcat_chk.c (__strcat_chk): Likewise.
38056         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
38057         * debug/strncat_chk.c (__strncat_chk): Likewise.
38058         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
38059         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
38060         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
38061         * debug/wcpncpy_chk.c: Likewise.
38062         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
38063         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
38064         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
38065         * debug/wcsncpy_chk.c: Likewise.
38066         * debug/wcsnrtombs_chk.c: Likewise.
38067         * debug/wcsrtombs_chk.c: Likewise.
38068         * debug/wcstombs_chk.c: Likewise.
38069         * debug/wmemcpy_chk.c: Likewise.
38070         * debug/wmemmove_chk.c: Likewise.
38071         * debug/wmempcpy_chk.c: Likewise.
38072         * debug/wmemset_chk.c: Likewise.
38073         * dirent/scandirat.c (SCANDIRAT): Likewise.
38074         * dlfcn/dladdr1.c (dladdr1): Likewise.
38075         * dlfcn/dladdr.c (dladdr): Likewise.
38076         * dlfcn/dlclose.c (dlclose_doit): Likewise.
38077         * dlfcn/dlerror.c (__dlerror): Likewise.
38078         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
38079         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
38080         * dlfcn/dlopen.c (dlopen_doit): Likewise.
38081         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
38082         * dlfcn/dlsym.c (dlsym_doit): Likewise.
38083         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
38084         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
38085         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
38086         Likewise.
38087         * elf/dl-conflict.c: Likewise.
38088         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
38089         * elf/dl-dst.h: Likewise.
38090         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
38091         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
38092         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
38093         * elf/dl-init.c (call_init, _dl_init): Likewise.
38094         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
38095         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
38096         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
38097         Likewise.
38098         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
38099         Likewise.
38100         * elf/dl-minimal.c (__libc_memalign): Likewise.
38101         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
38102         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
38103         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
38104         * elf/dl-sym.c (do_sym): Likewise.
38105         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
38106         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
38107         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
38108         * elf/dl-writev.h (_dl_writev): Likewise.
38109         * elf/ldconfig.c (search_dir): Likewise.
38110         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
38111         (dl_main): Likewise.
38112         * elf/setup-vdso.h (setup_vdso): Likewise.
38113         * grp/compat-initgroups.c (compat_call): Likewise.
38114         * grp/fgetgrent.c (fgetgrent): Likewise.
38115         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
38116         * grp/putgrent.c (putgrent): Likewise.
38117         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38118         Likewise.
38119         * hurd/hurdinit.c: Likewise.
38120         * iconvdata/8bit-gap.c (struct): Likewise.
38121         * iconvdata/ansi_x3.110.c : Likewise.
38122         * iconvdata/big5.c : Likewise.
38123         * iconvdata/big5hkscs.c : Likewise.
38124         * iconvdata/cp1255.c: Likewise.
38125         * iconvdata/cp1258.c : Likewise.
38126         * iconvdata/cp932.c : Likewise.
38127         * iconvdata/euc-cn.c: Likewise.
38128         * iconvdata/euc-jisx0213.c : Likewise.
38129         * iconvdata/euc-jp.c: Likewise.
38130         * iconvdata/euc-jp-ms.c : Likewise.
38131         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
38132         * iconvdata/gb18030.c : Likewise.
38133         * iconvdata/gbbig5.c (const): Likewise.
38134         * iconvdata/gbgbk.c: Likewise.
38135         * iconvdata/gbk.c : Likewise.
38136         * iconvdata/ibm1364.c : Likewise.
38137         * iconvdata/ibm930.c : Likewise.
38138         * iconvdata/ibm932.c: Likewise.
38139         * iconvdata/ibm933.c : Likewise.
38140         * iconvdata/ibm935.c : Likewise.
38141         * iconvdata/ibm937.c : Likewise.
38142         * iconvdata/ibm939.c : Likewise.
38143         * iconvdata/ibm943.c: Likewise.
38144         * iconvdata/iso_11548-1.c: Likewise.
38145         * iconvdata/iso-2022-cn.c : Likewise.
38146         * iconvdata/iso-2022-cn-ext.c : Likewise.
38147         * iconvdata/iso-2022-jp-3.c: Likewise.
38148         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
38149         * iconvdata/iso-2022-kr.c : Likewise.
38150         * iconvdata/iso646.c (gconv_end): Likewise.
38151         * iconvdata/iso_6937-2.c : Likewise.
38152         * iconvdata/iso_6937.c : Likewise.
38153         * iconvdata/iso8859-1.c: Likewise.
38154         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
38155         * iconvdata/shift_jisx0213.c : Likewise.
38156         * iconvdata/sjis.c : Likewise.
38157         * iconvdata/t.61.c : Likewise.
38158         * iconvdata/tcvn5712-1.c : Likewise.
38159         * iconvdata/tscii.c: Likewise.
38160         * iconvdata/uhc.c : Likewise.
38161         * iconvdata/unicode.c (gconv_end): Likewise.
38162         * iconvdata/utf-16.c (gconv_end): Likewise.
38163         * iconvdata/utf-32.c (gconv_end): Likewise.
38164         * iconvdata/utf-7.c (base64): Likewise.
38165         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
38166         * iconv/gconv_close.c (__gconv_close): Likewise.
38167         * iconv/gconv_open.c (__gconv_open): Likewise.
38168         * iconv/gconv_simple.c (internal_ucs4_loop_single)
38169         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
38170         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
38171         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
38172         (ucs4le_internal_loop_single): Likewise.
38173         * iconv/iconv.c (iconv): Likewise.
38174         * iconv/iconv_close.c: Likewise.
38175         * iconv/loop.c (SINGLE): Likewise.
38176         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
38177         * include/atomic.h: Likewise.
38178         * inet/inet6_option.c (option_alloc): Likewise.
38179         * intl/bindtextdom.c (set_binding_values): Likewise.
38180         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
38181         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
38182         * intl/localealias.c (read_alias_file): Likewise.
38183         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
38184         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
38185         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
38186         * libio/fmemopen.c (fmemopen): Likewise.
38187         * libio/iofgets.c (_IO_fgets): Likewise.
38188         * libio/iofgets_u.c (fgets_unlocked): Likewise.
38189         * libio/iofgetws.c (fgetws): Likewise.
38190         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
38191         * libio/iogetdelim.c (_IO_getdelim): Likewise.
38192         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
38193         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
38194         * locale/findlocale.c (_nl_find_locale): Likewise.
38195         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
38196         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
38197         Likewise.
38198         * locale/setlocale.c (setlocale): Likewise.
38199         * login/programs/pt_chown.c (main): Likewise.
38200         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
38201         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
38202         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
38203         (mmap, mmap64, mremap, munmap): Likewise.
38204         * math/e_exp2l.c: Likewise.
38205         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
38206         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
38207         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
38208         * math/s_catan.c (__catan): Likewise.
38209         * math/s_catanf.c (__catanf): Likewise.
38210         * math/s_catanh.c (__catanh): Likewise.
38211         * math/s_catanhf.c (__catanhf): Likewise.
38212         * math/s_catanhl.c (__catanhl): Likewise.
38213         * math/s_catanl.c (__catanl): Likewise.
38214         * math/s_ccosh.c (__ccosh): Likewise.
38215         * math/s_ccoshf.c (__ccoshf): Likewise.
38216         * math/s_ccoshl.c (__ccoshl): Likewise.
38217         * math/s_cexp.c (__cexp): Likewise.
38218         * math/s_cexpf.c (__cexpf): Likewise.
38219         * math/s_cexpl.c (__cexpl): Likewise.
38220         * math/s_clog10.c (__clog10): Likewise.
38221         * math/s_clog10f.c (__clog10f): Likewise.
38222         * math/s_clog10l.c (__clog10l): Likewise.
38223         * math/s_clog.c (__clog): Likewise.
38224         * math/s_clogf.c (__clogf): Likewise.
38225         * math/s_clogl.c (__clogl): Likewise.
38226         * math/s_csin.c (__csin): Likewise.
38227         * math/s_csinf.c (__csinf): Likewise.
38228         * math/s_csinh.c (__csinh): Likewise.
38229         * math/s_csinhf.c (__csinhf): Likewise.
38230         * math/s_csinhl.c (__csinhl): Likewise.
38231         * math/s_csinl.c (__csinl): Likewise.
38232         * math/s_csqrt.c (__csqrt): Likewise.
38233         * math/s_csqrtf.c (__csqrtf): Likewise.
38234         * math/s_csqrtl.c (__csqrtl): Likewise.
38235         * math/s_ctan.c (__ctan): Likewise.
38236         * math/s_ctanf.c (__ctanf): Likewise.
38237         * math/s_ctanh.c (__ctanh): Likewise.
38238         * math/s_ctanhf.c (__ctanhf): Likewise.
38239         * math/s_ctanhl.c (__ctanhl): Likewise.
38240         * math/s_ctanl.c (__ctanl): Likewise.
38241         * math/w_pow.c: Likewise.
38242         * math/w_powf.c: Likewise.
38243         * math/w_powl.c: Likewise.
38244         * math/w_scalb.c (sysv_scalb): Likewise.
38245         * math/w_scalbf.c (sysv_scalbf): Likewise.
38246         * math/w_scalbl.c (sysv_scalbl): Likewise.
38247         * misc/error.c (error_tail): Likewise.
38248         * misc/pselect.c (__pselect): Likewise.
38249         * nis/nis_callback.c (__nis_create_callback): Likewise.
38250         * nis/nis_call.c (__nisfind_server): Likewise.
38251         * nis/nis_creategroup.c (nis_creategroup): Likewise.
38252         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
38253         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
38254         * nis/nis_getservlist.c (nis_getservlist): Likewise.
38255         * nis/nis_lookup.c (nis_lookup): Likewise.
38256         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
38257         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
38258         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
38259         * nis/nis_xdr.c (xdr_endpoint): Likewise.
38260         * nis/nss_compat/compat-grp.c (getgrent_next_file)
38261         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
38262         * nis/nss_compat/compat-initgroups.c (add_group)
38263         (internal_getgrent_r): Likewise.
38264         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
38265         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
38266         * nis/nss_compat/compat-spwd.c (getspent_next_file)
38267         (internal_getspnam_r): Likewise.
38268         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
38269         (_nss_nis_getaliasbyname_r): Likewise.
38270         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
38271         (_nss_nis_getntohost_r): Likewise.
38272         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
38273         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
38274         (_nss_nis_getgrgid_r): Likewise.
38275         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
38276         (internal_nis_gethostent_r, internal_gethostbyname2_r)
38277         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
38278         (_nss_nis_gethostbyname4_r): Likewise.
38279         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
38280         (initgroups_netid): Likewise.
38281         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
38282         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
38283         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
38284         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
38285         (_nss_nis_getprotobynumber_r): Likewise.
38286         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
38287         (_nss_nis_getsecretkey): Likewise.
38288         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
38289         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
38290         (_nss_nis_getpwuid_r): Likewise.
38291         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
38292         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
38293         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
38294         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
38295         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
38296         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
38297         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
38298         Likewise.
38299         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
38300         (_nss_nisplus_getntohost_r): Likewise.
38301         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
38302         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
38303         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
38304         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
38305         Likewise.
38306         * nis/nss_nisplus/nisplus-initgroups.c
38307         (_nss_nisplus_initgroups_dyn): Likewise.
38308         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
38309         (_nss_nisplus_getnetbyaddr_r): Likewise.
38310         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
38311         (_nss_nisplus_getprotobynumber_r): Likewise.
38312         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
38313         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
38314         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
38315         Likewise.
38316         * nis/nss_nisplus/nisplus-service.c
38317         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
38318         (_nss_nisplus_getservbyport_r): Likewise.
38319         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
38320         (_nss_nisplus_getspnam_r): Likewise.
38321         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
38322         Likewise.
38323         * nscd/aicache.c (addhstaiX): Likewise.
38324         * nscd/cache.c (cache_search, prune_cache): Likewise.
38325         * nscd/connections.c (register_traced_file, send_ro_fd)
38326         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
38327         (main_loop_epoll): Likewise.
38328         * nscd/grpcache.c (addgrbyX): Likewise.
38329         * nscd/hstcache.c (addhstbyX): Likewise.
38330         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38331         * nscd/mem.c (gc, mempool_alloc): Likewise.
38332         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
38333         (addinnetgrX): Likewise.
38334         * nscd/nscd-client.h (__nscd_acquire_maplock)
38335         (__nscd_drop_map_ref): Likewise.
38336         * nscd/nscd_getai.c (__nscd_getai): Likewise.
38337         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38338         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
38339         Likewise.
38340         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
38341         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
38342         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
38343         (__nscd_get_map_ref): Likewise.
38344         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
38345         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
38346         Likewise.
38347         * nscd/pwdcache.c (addpwbyX): Likewise.
38348         * nscd/selinux.c (preserve_capabilities): Likewise.
38349         * nscd/servicescache.c (addservbyX): Likewise.
38350         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
38351         * posix/fnmatch.c (fnmatch): Likewise.
38352         * posix/getopt.c (_getopt_internal_r): Likewise.
38353         * posix/glob.c (glob, glob_in_dir): Likewise.
38354         * posix/wordexp.c (exec_comm_child): Likewise.
38355         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
38356         (getanswer_r, gaih_getanswer_slice): Likewise.
38357         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
38358         * resolv/res_init.c: Likewise.
38359         * resolv/res_mkquery.c (res_nmkquery): Likewise.
38360         * resolv/res_query.c (__libc_res_nquery): Likewise.
38361         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
38362         Likewise.
38363         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
38364         * stdio-common/perror.c (perror): Likewise.
38365         * stdio-common/printf_fp.c (___printf_fp): Likewise.
38366         * stdio-common/tmpnam.c (tmpnam): Likewise.
38367         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
38368         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
38369         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
38370         Likewise.
38371         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
38372         * stdlib/putenv.c (putenv): Likewise.
38373         * stdlib/setenv.c (__add_to_environ): Likewise.
38374         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
38375         * stdlib/strtol_l.c (INTERNAL): Likewise.
38376         * string/memmem.c (memmem): Likewise.
38377         * string/strerror.c (strerror): Likewise.
38378         * string/strnlen.c (__strnlen): Likewise.
38379         * string/test-memmem.c (simple_memmem): Likewise.
38380         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
38381         * sunrpc/pm_getport.c (__get_socket): Likewise.
38382         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
38383         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
38384         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
38385         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
38386         Likewise.
38387         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
38388         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
38389         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38390         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
38391         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38392         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
38393         Likewise.
38394         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
38395         Likewise.
38396         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38397         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38398         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38399         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38400         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
38401         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
38402         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
38403         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
38404         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38405         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
38406         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38407         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
38408         Likewise.
38409         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
38410         Likewise.
38411         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
38412         Likewise.
38413         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
38414         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38415         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
38416         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
38417         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
38418         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
38419         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38420         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
38421         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
38422         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
38423         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
38424         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38425         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
38426         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
38427         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38428         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38429         Likewise.
38430         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
38431         Likewise.
38432         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
38433         Likewise.
38434         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
38435         Likewise.
38436         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38437         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38438         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
38439         Likewise.
38440         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
38441         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
38442         * sysdeps/posix/opendir.c (__opendirat): Likewise.
38443         * sysdeps/posix/sleep.c: Likewise.
38444         * sysdeps/posix/tempname.c: Likewise.
38445         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
38446         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38447         Likewise.
38448         * sysdeps/powerpc/powerpc32/dl-machine.h
38449         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
38450         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
38451         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38452         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
38453         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
38454         Likewise.
38455         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
38456         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
38457         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38458         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
38459         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38460         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
38461         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
38462         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
38463         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38464         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
38465         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
38466         (elf_machine_lazy_rel): Likewise.
38467         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
38468         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
38469         (elf_machine_lazy_rel): Likewise.
38470         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
38471         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
38472         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
38473         * sysdeps/unix/grantpt.c (grantpt): Likewise.
38474         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
38475         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
38476         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
38477         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38478         Likewise.
38479         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
38480         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
38481         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
38482         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
38483         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38484         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38485         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
38486         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
38487         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
38488         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38489         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38490         Likewise.
38491         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
38492         (__posix_fallocate64_l64): Likewise.
38493         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
38494         (posix_fallocate): Likewise.
38495         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
38496         Likewise.
38497         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38498         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
38499         (getifaddrs_internal): Likewise.
38500         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
38501         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
38502         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
38503         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
38504         * sysdeps/unix/sysv/linux/posix_fallocate64.c
38505         (__posix_fallocate64_l64): Likewise.
38506         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
38507         Likewise.
38508         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
38509         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
38510         (__get_clockfreq): Likewise.
38511         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
38512         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
38513         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
38514         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38515         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38516         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
38517         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
38518         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
38519         Likewise.
38520         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
38521         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
38522         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
38523         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
38524         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38525         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
38526         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
38527         Likewise.
38528         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38529         (posix_fallocate): Likewise.
38530         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38531         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
38532         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
38533         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
38534         (elf_machine_rela, elf_machine_rela_relative)
38535         (elf_machine_lazy_rel): Likewise.
38536         * time/asctime.c (asctime_internal): Likewise.
38537         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
38538         * time/tzset.c (__tzset_parse_tz): Likewise.
38539         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38540         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
38541         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
38542         * wcsmbs/wcsmbsload.h: Likewise.
38544         [BZ #15894]
38545         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
38547         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
38548         (arena_get2): Remove THREAD_STATS conditionals.
38549         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
38550         (__malloc_stats, int): Likewise.
38552 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
38554         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
38555         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
38557         * manual/setjmp.texi: Fix typos/grammar errors.
38559         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
38560         Only return early when n is <= 0.  Delete unused return statement.
38562         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
38563         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
38564         * debug/tst-longjmp_chk3.c: New file.
38566         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
38567         (test_main): Replace code with set_fortify_handler call.
38568         * debug/test-strcpy_chk.c: Likewise.
38569         * debug/tst-chk1.c: Likewise.
38570         * debug/tst-longjmp_chk.c: Likewise.
38571         * test-skeleton.c: Include fcntl.h & paths.h
38572         (set_fortify_handler): Define.
38574         * debug/tst-longjmp_chk.c: Add header comment and include
38575         ../test-skeleton.c.
38576         (do_test): Mark static.
38577         (TEST_FUNCTION): Define.
38579         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
38580         (IP_PMTUDISC_INTERFACE): Likewise.
38581         (IP_MULTICAST_IF): Likewise.
38582         (IP_MULTICAST_TTL): Likewise.
38583         (IP_MULTICAST_LOOP): Likewise.
38584         (IP_ADD_MEMBERSHIP): Likewise.
38585         (IP_DROP_MEMBERSHIP): Likewise.
38586         (IP_UNBLOCK_SOURCE): Likewise.
38587         (IP_BLOCK_SOURCE): Likewise.
38588         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
38589         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
38590         (IP_MSFILTER): Likewise.
38591         (MCAST_JOIN_GROUP): Likewise.
38592         (MCAST_BLOCK_SOURCE): Likewise.
38593         (MCAST_UNBLOCK_SOURCE): Likewise.
38594         (MCAST_LEAVE_GROUP): Likewise.
38595         (MCAST_JOIN_SOURCE_GROUP): Likewise.
38596         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
38597         (MCAST_MSFILTER): Likewise.
38598         (IP_MULTICAST_ALL): Likewise.
38599         (IP_UNICAST_IF): Likewise.
38601         * timezone/Makefile: Delete $(have-ksh) check.
38602         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
38603         * timezone/tzselect.ksh: Add +x mode bits.
38605         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
38606         (ANON_INODE_FS_MAGIC): Likewise.
38607         (BDEVFS_MAGIC): Likewise.
38608         (BINFMTFS_MAGIC): Likewise.
38609         (BTRFS_TEST_MAGIC): Likewise.
38610         (CRAMFS_MAGIC_WEND): Likewise.
38611         (DEBUGFS_MAGIC): Likewise.
38612         (ECRYPTFS_SUPER_MAGIC): Likewise.
38613         (EXT3_SUPER_MAGIC): Likewise.
38614         (EXT4_SUPER_MAGIC): Likewise.
38615         (FUTEXFS_SUPER_MAGIC): Likewise.
38616         (HOSTFS_SUPER_MAGIC): Likewise.
38617         (HUGETLBFS_MAGIC): Likewise.
38618         (MINIX3_SUPER_MAGIC): Likewise.
38619         (MTD_INODE_FS_MAGIC): Likewise.
38620         (NILFS_SUPER_MAGIC): Likewise.
38621         (OPENPROM_SUPER_MAGIC): Likewise.
38622         (PIPEFS_MAGIC): Likewise.
38623         (PSTOREFS_MAGIC): Likewise.
38624         (QNX6_SUPER_MAGIC): Likewise.
38625         (RAMFS_MAGIC): Likewise.
38626         (REISERFS_SUPER_MAGIC_STRING): Likewise.
38627         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
38628         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
38629         (SECURITYFS_MAGIC): Likewise.
38630         (SELINUX_MAGIC): Likewise.
38631         (SMACK_MAGIC): Likewise.
38632         (SOCKFS_MAGIC): Likewise.
38633         (SQUASHFS_MAGIC): Likewise.
38634         (STACK_END_MAGIC): Likewise.
38635         (TMPFS_MAGIC): Likewise.
38636         (USBDEVICE_SUPER_MAGIC): Likewise.
38637         (V9FS_MAGIC): Likewise.
38638         (XENFS_SUPER_MAGIC): Likewise.
38639         (CRAMFS_MAGIC): Fix typo in comment.
38640         (EXT2_SUPER_MAGIC): Update comment.
38641         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
38643 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
38645         * sysdeps/arm: Move directory from ports/sysdeps/arm.
38646         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
38647         * sysdeps/unix/sysv/linux/arm: Move directory from
38648         ports/sysdeps/unix/sysv/linux/arm.
38649         * README: Update listing for arm-*-linux-gnueabi.
38651         * README: Remove mention of am33.
38653 2014-02-07  Roland McGrath  <roland@hack.frob.com>
38655         * bits/sigset.h (__sigemptyset): Use a statement expression rather
38656         than the comma operator, to avoid "rhs of comma has no effect"
38657         compiler warnings.
38658         (__sigfillset, __sigandset, __sigorset): Likewise.
38659         * include/signal.h (__sigemptyset): Likewise.
38660         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
38662 2014-02-07  Allan McRae  <allan@archlinux.org>
38664         * version.h (RELEASE): Set to "development".
38665         (VERSION): Set to "2.19.90"
38666         * NEWS: Add 2.20 section.
38668 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
38670         [BZ #16529]
38671         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
38673 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38675         * manual/contrib.texi: Update entry for Carlos O'Donell,
38676         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
38678 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
38680         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
38682         * sysdeps/unix/sysv/linux/kernel-features.h
38683         [__LINUX_KERNEL_VERSION >= 0x020621]
38684         (__ASSUME_PROC_PID_TASK_COMM): Define.
38686 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38688         [BZ #16398]
38689         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
38690         conversion when destination buffer does not have enough space.
38691         * libio/tst-ftell-partial-wide.c: New test case.
38692         * libio/Makefile (tests): Add tst-ftell-partial-wide.
38694         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
38695         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
38696         Leonard and Allan McRae.
38698 2014-02-04  David S. Miller  <davem@davemloft.net>
38700         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
38701         32-bit.
38703 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38706         New file
38707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38708         New file
38709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38710         New file.
38711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38712         New file.
38713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38714         New file.
38715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38716         New file.
38717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38718         New file.
38719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38720         New file.
38721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38722         New file.
38723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
38724         New file.
38725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38726         New file.
38727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38728         New file.
38729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
38730         New file.
38732 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38734         * nptl/shlib-versions: Change powerpc*le start to 2.17.
38735         * shlib-versions: Likewise.
38737 2014-02-04  Roland McGrath  <roland@hack.frob.com>
38738             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38740         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
38741         (abilist-pattern): New variable, set to %-le.abilist.
38743         * Makerules (abilist-pattern): New variable.
38744         (vpath): Use $(abilist-pattern) in place of %.abilist.
38745         (check-abi-% pattern rule): Likewise.
38746         (check-abi, update-abi): Likewise.
38748 2014-02-04  Eric Wong  <normalperson@yhbt.net>
38750         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38752 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
38754         * manual/startup.texi: Add next, previous, and top entries for
38755         the `Program Arguments' and `Environment Variables' nodes.
38757 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
38759         * manual/macros.texi: Add comments before MTASC-safety macros.
38761         * manual/users.texi: Document MTASC-safety properties.
38763         * manual/threads.texi (pthread_key_create, pthread_key_delete)
38764         (pthread_getspecific, pthread_setspecific): Format with
38765         @deftypefun, and add @safety note.
38766         * manual/signal.texi: Move comments that analyze the above
38767         functions to their home place.
38769 2014-02-03  Allan McRae  <allan@archlinux.org>
38771         * po/sl.po: Update Slovenian translation from translation project.
38773 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
38775         * manual/time.texi (timegm): Add missing blank after @c.
38776         Reported by Joseph Myers <joseph@codesourcery.com>.
38778 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
38780         * manual/check-safety.sh: New.
38781         * manual/Makefile ($(objpfx)stamp-summary): Run it.
38783         * manual/terminal.texi: Document MTASC-safety properties.
38785         * manual/filesys.texi: Document MTASC-safety properties.
38787         * manual/errno.texi: Document MTASC-safety properties.
38789         * manual/intro.texi: Document safety identifiers and
38790         conditionals.
38792         * manual/string.texi (wcstok): Fix prototype.
38793         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
38795         * manual/time.texi: Document MTASC-safety properties.
38797         * manual/string.texi: Document MTASC-safety properties.
38799         * manual/threads.texi: Document MTASC-safety properties.
38801         * manual/stdio.texi: Document MTASC-safety properties.
38803         * manual/syslog.texi: Document MTASC-safety properties.
38805         * manual/sysinfo.texi: Document MTASC-safety properties.
38807         * manual/startup.texi: Document MTASC-safety properties.
38809         * manual/socket.texi: Document MTASC-safety properties.
38811         * manual/signal.texi: Document MTASC-safety properties.
38813 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
38815         * manual/setjmp.texi: Document MTASC-safety properties.
38817         * manual/search.texi: Document MTASC-safety properties.
38819         * manual/resource.texi: Document MTASC-safety properties.
38821         * manual/process.texi: Document MTASC-safety properties.
38823         * manual/platform.texi: Document MTASC-safety properties.
38825         * manual/pipe.texi: Document MTASC-safety properties.
38827         * manual/pattern.texi: Document MTASC-safety properties.
38829         * manual/message.texi: Document MTASC-safety properties.
38831         [BZ #12751]
38832         * manual/memory.texi: Document MTASC-safety properties.
38834         * manual/math.texi: Document MTASC-safety properties.
38836         * manual/locale.texi: Document MTASC-safety properties.
38838         * manual/llio.texi: Document MTASC-safety properties.
38840         * manual/libdl.texi: New.
38842         * manual/lang.texi: Document MTASC-safety properties.
38844         * manual/job.texi: Document MTASC-safety properties.
38846         * manual/getopt.texi: Document MTASC-safety properties.
38848         * manual/ctype.texi: Document MTASC-safety properties.
38850 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
38852         [BZ #16046]
38853         * csu/libc-tls.c (static_map): Remove variable.
38854         (__libc_setup_tls): Use main executable's link map for TLS data.
38855         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
38856         casing for LM_ID_BASE and GL(dl_nns).
38857         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
38858         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
38859         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
38860         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
38861         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
38862         member.
38863         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
38864         l_phnum members.
38866 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
38868         * manual/debug.texi: Document MTASC-safety properties.
38870 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
38872         [BZ #16510]
38873         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
38874         of __x86_64__ when disabling x87 inline functions.
38876 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
38878         * manual/charset.texi: Document MTASC-safety properties.
38880         * manual/crypt.texi: Document MTASC-safety properties.
38882         * manual/conf.texi: Document MTASC-safety properties.
38884         * manual/arith.texi: Document MTASC-safety properties.
38886         * manual/argp.texi: Document MTASC-safety properties.
38888         * manual/macros.texi: Introduce macros to document multi
38889         thread, asynchronous signal and asynchronous cancellation
38890         safety properties.
38891         * manual/intro.texi: Introduce the properties themselves.
38893 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38895         * sysdeps/sh/sh4/Makefile: New file.
38897 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
38899         * math/gen-libm-test.pl ($srcdir): New variable.
38900         ($auto_input): Use it.
38902 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38904         [BZ #16506]
38905         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
38906         access beyond array bounds when parsing netgroups file.
38908         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
38909         the old buffer before realloc.
38911 2014-01-27  Allan McRae  <allan@archlinux.org>
38913         * po/fr.po: Update French translation from translation project.
38915 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38917         * sysdeps/sh/libm-test-ulps: Regenerate.
38919 2014-01-24  David S. Miller  <davem@davemloft.net>
38921         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
38923 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38925         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
38926         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
38928 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38930         [BZ #16474]
38931         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
38932         string pointers after reallocation.
38934 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38936         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
38937         __SH4A__ instead of __SH_FPU_ANY__.
38939 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38941         * sysdeps/sh/fpu_control.h: New file.
38942         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
38943         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
38944         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
38945         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
38946         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
38947         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
38948         * sysdeps/sh/sys/ucontext.h: Remove.
38949         * sysdeps/sh/sys: Remove directory.
38951 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38953         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
38954         s390/sys/ucontext.h.
38955         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
38956         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
38958 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
38960         [BZ #15605]
38961         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
38963 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38965         [BZ#16431]
38966         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38967         Adjust the vDSO correctly for internal calls.
38968         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
38970 2014-01-20  Allan McRae  <allan@archlinux.org>
38972         * po/ca.po: Update Catalan translation from translation project.
38974 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
38976         * sysdeps/s390/sotruss-lib.c: New file.
38978 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38980         [BZ#16430]
38981         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
38982         (__GI___gettimeofday): Alias for a different internal symbol to avoid
38983         local calls issues by not having a PLT stub required for IFUNC calls.
38984         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
38986 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
38988         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
38989         * math/test-fpucw-static.c: Likewise.
38991 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38993         [BZ #16453]
38994         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
38996 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38998         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
38999         implementation for powerpc.
39001 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
39003         [BZ #14782]
39004         * sysdeps/posix/system.c (__libc_system): Do not enable
39005         asynchronous cancellation.
39007 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39009         [BZ #16427]
39010         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
39011         handling only for numbers special also in the IEEE case.
39013 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39015         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39017 2014-01-11  Allan McRae  <allan@archlinux.org>
39019         * po/bg.po: Update Bulgarian translation from translation project.
39021         * po/de.po: Update German translation from translation project.
39023 2014-01-10  Roland McGrath  <roland@hack.frob.com>
39025         * sysdeps/generic/gcc-compat.h: New file.
39027 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39029         * benchtests/asin-inputs: Correct slow inputs.
39030         * benchtests/acos-inputs: Likewise.
39032 2014-01-10  Allan McRae  <allan@archlinux.org>
39034         * po:sv.po: Update Swedish translation from translation project.
39036         * po/vi.po: Update Vietnamese translation from translation project.
39038         * po/eo.po: Update Esperanto translation from translation project.
39040         * po/cs.po: Update Czech translation from translation project.
39042         * po/nl.po: Update Dutch translation from translation project.
39044         * po/pl.po: Update Polish translation from translation project.
39046         * po/ru.po: Update Russian translation from translation project.
39048         * po/uk.po: Update Ukrainian translation from translation project.
39050 2014-01-08  Brooks Moses  <bmoses@google.com>
39052         * elf/dl-load.c: Fix comment typo.
39054 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
39056         * po/header.pot: Rename to...
39057         * po/pot.header: ... this.
39058         * po/Makefile: Use pot.header.
39060 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
39061             Maxim Kuvyrkov  <maxim@kugelworks.com>
39063         [BZ #16394]
39064         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
39065         SRC and DEST against LEN.
39067 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39069         [BZ #16414]
39070         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
39071         implementation.
39072         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
39074 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39076         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39078 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
39080         [BZ #16408]
39081         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
39082         for large positive arguments.
39084 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
39086         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39088         * math/auto-libm-test-in: Mark various tests with
39089         xfail-rounding:ldbl-128ibm.
39090         * math/auto-libm-test-out: Regenerated.
39092         [BZ #16407]
39093         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
39094         Increase overflow threshold.
39096 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
39098         [BZ #14286]
39099         * stdio-common/vfprintf.c: Check for integer overflow.
39101 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39103         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
39104         the first argument and return value of __tls_get_addr_internal.
39106 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39108         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
39109         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
39111 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39113         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
39114         * sysdeps/s390/rtld-global-offsets.sym: New file.
39115         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
39116         GLIBC_2.19 symbol.
39117         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
39118         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
39119         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39120         ... this.
39121         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
39122         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39123         ... this.
39124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39125         Regenerate.
39126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39127         Regenerate.
39128         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
39129         halfs of GPRs for high_gprs contexts.
39130         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
39131         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
39132         field.
39133         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
39134         uc_flags field.
39135         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
39136         64 bit versions:
39137         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
39138         for high GPRs (uc_high_gprs) and for future extensions
39139         (__reserved).
39140         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
39141         for future extensions (__reserved).
39142         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
39143         64 bit versions:
39144         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
39145         SC_HIGHGPRS offset definition.
39146         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
39147         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
39149         * Versions.def: Add GLIBC_2.19 for libpthread.
39150         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
39151         siglongjmp for libpthread with GLIBC_2.19 symver.
39152         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
39153         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
39154         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
39155         * sysdeps/s390/__longjmp.c: New file.
39156         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
39157         * sysdeps/s390/longjmp.c: New file.
39158         * sysdeps/s390/setjmp.S: New file.
39159         * sysdeps/s390/sigjmp.S: New file.
39160         * sysdeps/s390/v1-longjmp.c: New file.
39161         * sysdeps/s390/v1-setjmp.h: New file.
39162         * sysdeps/s390/v1-sigjmp.c: New file.
39163         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
39164         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
39165         GLIBC_2.19 version.
39166         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
39167         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
39168         versioned symbols for ____longjmp_chk.
39169         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
39170         Likewise.
39171         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39172         Regenerate.
39173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39174         Regenerate.
39175         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39176         Regenerate.
39177         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39178         Regenerate.
39179         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
39180         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
39181         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
39182         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
39183         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
39184         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
39185         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
39186         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
39187         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
39188         * sysdeps/s390/rtld-__longjmp.c: New file.
39189         * sysdeps/s390/rtld-setjmp.S: New file.
39191 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
39193         [BZ #16400]
39194         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39195         Return -__logl (x) for small positive arguments without evaluating
39196         a polynomial.
39198 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
39200         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
39201         Rename to ...
39202         (__ptrace_peeksiginfo_args): ... this.
39203         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39204         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39205         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39207 2014-01-06  Allan McRae  <allan@archlinux.org>
39209         * inet/netinet/in.h: Fix typo in comment.
39211 2014-01-05  Andreas Jaeger  <aj@suse.de>
39213         * sysdeps/i386/fpu/libm-test-ulps: Update.
39215 2014-01-05  Allan McRae  <allan@archlinux.org>
39217         * po/libc.pot: Regenerated.
39219         * malloc/memusagestat.c: Fix gettext call formatting.
39221 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
39223         * nscd/nscd.c: Improve usage() output.
39225 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
39227         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
39228         * sysdeps/unix/sysv/linux/configure: Regenerated.
39229         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
39230         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
39232 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39234         [BZ #16390]
39235         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39236         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
39238 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39240         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
39241         extra tokens at end of #undef directive.
39242         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
39243         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
39244         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
39246 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39248         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39250         * math/auto-libm-test-in: Mark various tests with
39251         xfail-rounding:ldbl-128ibm.
39252         * math/auto-libm-test-out: Regenerated.
39254 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
39256         [BZ #16386]
39257         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
39258         numbers with subnormal high part when calculating exponent.
39260         [BZ #16385]
39261         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
39262         fabs.
39264         [BZ #16384]
39265         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
39266         M_LN2l.
39267         (__ieee754_acoshl): Use __log1pl not __log1p.
39269 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
39271         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
39272         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
39273         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
39274         (grow_heap, heap_trim, _int_new_arena, get_free_list)
39275         (reused_arena, arena_get2): Convert to GNU style.
39276         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
39277         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
39278         (memalign_check, __malloc_set_state): Likewise.
39279         * malloc/mallocbug.c (main): Likewise.
39280         * malloc/malloc.c (__malloc_assert, malloc_init_state)
39281         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
39282         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
39283         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
39284         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
39285         (__posix_memalign, malloc_info): Likewise.
39286         * malloc/malloc.h: Likewise.
39287         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
39288         (mallochook, memalignhook, reallochook, mabort): Likewise.
39289         * malloc/mcheck.h: Likewise.
39290         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
39291         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
39292         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
39293         * malloc/morecore.c (__default_morecore): Likewise.
39294         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
39295         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
39296         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
39297         (print_and_abort): Likewise.
39298         * malloc/obstack.h: Likewise.
39299         * malloc/set-freeres.c (__libc_freeres): Likewise.
39300         * malloc/tst-mallocstate.c (main): Likewise.
39301         * malloc/tst-mtrace.c (main): Likewise.
39302         * malloc/tst-realloc.c (do_test): Likewise.
39304 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39306         [BZ #16366]
39307         * nscd/netgroupcache.c (do_notfound): New function.
39308         (addgetnetgrentX): Use it.
39310         [BZ # 16365]
39311         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
39312         NSS_STATUS_NOTFOUND.
39314 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
39316         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
39317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39319 2014-01-01  Allan McRae  <allan@archlinux.org>
39321         * scripts/update-copyrights: Update configure input file suffix.
39323         * NEWS: Update copyright year.
39324         * catgets/gencat.c: Likewise.
39325         * csu/version.c: Likewise.
39326         * debug/catchsegv.sh: Likewise.
39327         * debug/pcprofiledump.c: Likewise.
39328         * debug/xtrace.sh: Likewise.
39329         * elf/ldconfig.c: Likewise.
39330         * elf/ldd.bash.in: Likewise.
39331         * elf/pldd.c: Likewise.
39332         * elf/sotruss.ksh: Likewise.
39333         * elf/sprof.c: Likewise.
39334         * iconv/iconv_prog.c: Likewise.
39335         * iconv/iconvconfig.c: Likewise.
39336         * locale/programs/locale.c: Likewise.
39337         * locale/programs/localedef.c: Likewise.
39338         * login/programs/pt_chown.c: Likewise.
39339         * malloc/memusage.sh: Likewise.
39340         * malloc/memusagestat.c: Likewise.
39341         * malloc/mtrace.pl: Likewise.
39342         * manual/libc.texinfo: Likewise.
39343         * nscd/nscd.c: Likewise.
39344         * nss/getent.c: Likewise.
39345         * nss/makedb.c: Likewise.
39346         * posix/getconf.c: Likewise.
39347         * scripts/test-installation.pl: Likewise.
39349         * All files with FSF copyright notices: Update copyright dates
39350         using scripts/update-copyrights.
39351         * intl/plural.c: Regenerated.
39352         * locale/programs/charmap-kw.h: Likewise.
39353         * locale/programs/locfile-kw.h: Likewise.
39355 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
39357         * sysdeps/unix/sysv/linux/configure: Regenerated.
39358         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
39359         the linux/fanotify.h header.
39360         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
39361         HAVE_LINUX_FANOTIFY_H is defined.
39363 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39365         * benchtests/cos-inputs: New inputs.
39366         * benchtests/sin-inputs: Likewise.
39368         * benchtests/atan-inputs: New inputs. Fix name of multiple
39369         precision fallback inputs.
39371         * benchtests/atanh-inputs: New inputs.
39372         * benchtests/tanh-inputs: Likewise.
39374         * benchtests/acosh-inputs: New inputs.
39375         * benchtests/asinh-inputs: Likewise.
39377         * benchtests/cosh-inputs: New inputs.
39378         * benchtests/sinh-inputs: Likewise.
39380         * benchtests/acos-inputs: Add more inputs.
39381         * benchtests/asin-inputs: Likewise.
39383 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
39385         [BZ #16375]
39386         * manual/arith.texi: Fix spelling.
39387         * manual/charset.texi: Likewise.
39388         * manual/errno.texi: Likewise.
39389         * manual/filesys.texi: Likewise.
39390         * manual/lang.texi: Likewise.
39391         * manual/llio.texi: Likewise.
39392         * manual/locale.texi: Likewise.
39393         * manual/message.texi: Likewise.
39394         * manual/resource.texi: Likewise.
39395         * manual/search.texi: Likewise.
39396         * manual/setjmp.texi: Likewise.
39397         * manual/stdio.texi: Likewise.
39398         * manual/string.texi: Likewise.
39399         * manual/sysinfo.texi: Likewise.
39400         * manual/time.texi: Likewise.
39402 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
39404         * po/sl.po: New file.
39406 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
39408         * .gitignore: Add core/.gdbinit/.gdb_history.
39410 2013-12-27  Allan McRae  <allan@archlinux.org>
39412         [BZ #16369]
39413         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
39414         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
39416 2013-12-24  Brooks Moses  <bmoses@google.com>
39418         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
39419         all compilers that claim C++98 compliance, not just GCC.
39420         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39421         Likewise.
39423 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
39425         * NEWS: Restore accidentally deleted bug-fix entries.
39427 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
39428             Ondřej Bílka  <neleai@seznam.cz>
39430         [BZ #15073]
39431         * malloc/malloc.c (_int_free): Perform sanity check only if we
39432         have_lock.
39434 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
39436         [BZ #12986]
39437         * manual/stdio.texi (String Input Conversions): Clarify that character
39438         classes are not supported.
39440 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39442         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39444 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
39446         [BZ #16337]
39447         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39448         Calculate results for small negative arguments directly rather
39449         than using reflection formula with special underflow handling.
39451         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
39452         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
39453         sysdeps/unix/bsd/bsd4.4/syscalls.list.
39454         (fchflags): Likewise.
39455         (revoke): Likewise.
39456         (setlogin): Likewise.
39457         (sigaltstack): Likewise.
39458         (wait4): Likewise.
39459         (sigblock): Remove.
39460         (sigsetmask): Likewise.
39461         (wait3): Likewise.
39462         (waitpid): Likewise.
39463         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
39464         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
39465         file.
39466         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
39467         * sysdeps/unix/bsd/Makefile: ... here.
39468         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
39469         * sysdeps/unix/bsd/Versions: ... here.
39470         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
39471         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
39472         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
39473         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
39474         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
39475         * sysdeps/unix/bsd/sigblock.c: ... here.
39476         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
39477         * sysdeps/unix/bsd/sigsetmask.c: ... here.
39478         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
39479         * sysdeps/unix/bsd/sigvec.c: ... here.
39480         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
39481         * sysdeps/unix/bsd/tcdrain.c: ... here.
39482         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
39483         * sysdeps/unix/bsd/tcgetattr.c: ... here.
39484         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
39485         * sysdeps/unix/bsd/tcsetattr.c: ... here.
39486         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
39487         * sysdeps/unix/bsd/wait.c: ... here.
39488         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
39489         * sysdeps/unix/bsd/wait3.c: ... here.
39490         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
39491         * sysdeps/unix/bsd/waitpid.c: ... here.
39493 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
39495         [BZ #16356]
39496         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
39497         round-to-nearest for [!USE_AS_EXPM1L].
39498         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
39499         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
39500         more tests of exp and exp10.  Expect some exp10 tests to miss
39501         exceptions or fail in directed rounding modes.
39502         * math/auto-libm-test-out: Regenerated.
39503         * math/libm-test.inc (exp10_tonearest_test_data): New array.
39504         (exp10_test_tonearest): New function.
39505         (exp10_towardzero_test_data): New array.
39506         (exp10_test_towardzero): New function.
39507         (exp10_downward_test_data): New array.
39508         (exp10_test_downward): New function.
39509         (exp10_upward_test_data): New array.
39510         (exp10_test_upward): New function.
39511         (main): Call the new functions.
39512         * sysdeps/i386/fpu/libm-test-ulps: Update.
39513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39515 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
39517         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
39518         asinh, atan, atan2, atanh, cbrt, cos and cosh.
39519         * math/auto-libm-test-out: Regenerated.
39520         * math/libm-test.inc (acosh_test_data): Add more tests.
39521         (atanh_test_data): Likewise.
39522         (ceil_test_data): Likewise.
39523         (copysign_test_data): Likewise.
39524         * sysdeps/i386/fpu/libm-test-ulps: Update.
39525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39527         * timezone/checktab.awk: Update from tzcode 2013i.
39528         * timezone/private.h: Likewise.
39529         * timezone/scheck.c: Likewise.
39530         * timezone/tzfile.h: Likewise.
39531         * timezone/tzselect.ksh: Likewise.
39532         * timezone/zdump.c: Likewise.
39533         * timezone/zic.c: Likewise.
39535         * math/auto-libm-test-in: Add tests of cpow.
39536         * math/auto-libm-test-out: Regenerated.
39537         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
39538         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39539         mpc_cc_c.
39540         (func_calc_desc): Add mpc_cc_c union field.
39541         (test_functions): Add cpow.
39542         (special_fill_2pi): New function.
39543         (special_real_inputs): Add 2pi.
39544         (calc_generic_results): Handle mpc_cc_c.
39545         * sysdeps/i386/fpu/libm-test-ulps: Update.
39546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39548         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
39549         csqrt, ctan and ctanh.
39550         * math/auto-libm-test-out: Regenerated.
39551         * math/libm-test.inc (TEST_COND_x86_64): New macro.
39552         (TEST_COND_x86): Likewise.
39553         (ccos_test_data): Use AUTO_TESTS_c_c.
39554         (ccosh_test_data): Likewise.
39555         (cexp_test_data): Likewise.
39556         (clog_test_data): Likewise.
39557         (csqrt_test_data): Likewise.
39558         (ctan_test_data): Likewise.
39559         (ctan_tonearest_test_data): Likewise.
39560         (ctan_towardzero_test_data): Likewise.
39561         (ctan_downward_test_data): Likewise.
39562         (ctan_upward_test_data): Likewise.
39563         (ctanh_test_data): Likewise.
39564         (ctanh_tonearest_test_data): Likewise.
39565         (ctanh_towardzero_test_data): Likewise.
39566         (ctanh_downward_test_data): Likewise.
39567         (ctanh_upward_test_data): Likewise.
39568         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39569         mpc_c_c.
39570         (func_calc_desc): Add mpc_c_c union field.
39571         (FUNC_mpc_c_c): New macro.
39572         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
39573         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
39574         ctanh.
39575         (special_fill_min_subnorm_p120): New function.
39576         (special_real_inputs): Add min_subnorm_p120.
39577         (calc_generic_results): Handle mpc_c_c.
39578         * sysdeps/i386/fpu/libm-test-ulps: Update.
39579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39581 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39583         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
39584         (do_sin_slow): New functions.
39585         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
39586         (cslow2, csloww1, csloww2): Use the new functions.
39588         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
39589         Use M to change sign of result instead of X.  Assume X is
39590         positive.
39591         (csloww1): Likewise.
39592         (__sin): Adjust.
39593         (__cos): Adjust.
39595         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
39596         arguments A and DA.
39597         (__sin): Adjust.
39598         (__cos): Likewise.
39600         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
39601         (__cos): Likewise.
39602         (sloww1): Don't adjust sign of DX.
39603         (csloww1): Likewise.
39604         (sloww2): Use X directly and don't adjust sign of DX.
39605         (csloww2): Likewise.
39607 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39609         * math/auto-libm-test-in: Add tests of cabs and carg.
39610         * math/auto-libm-test-out: Regenerated.
39611         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
39612         (carg_test_data): Likewise.
39613         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39614         mpc_c_f.
39615         (func_calc_desc): Add mpc_c_f union field.
39616         (test_functions): Add cabs and carg.
39617         (calc_generic_results): Handle mpc_c_f.
39619         * sysdeps/powerpc/powerpc32/libgcc-compat.S
39620         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
39621         as a macro and a compat symbol.
39622         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
39623         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
39624         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
39625         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
39626         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
39627         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
39628         not use .hidden.
39629         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
39630         Likewise.
39631         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
39632         Likewise.
39633         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
39634         Likewise.
39635         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
39636         Likewise.
39637         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
39638         Likewise.
39639         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
39640         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
39641         from GLIBC_2.3.2.
39643 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39645         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39647 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39649         * manual/texinfo.tex: Update to version 2013-11-26.10 with
39650         trailing whitespace removed.
39651         * scripts/config.guess: Update to version 2013-11-29.
39652         * scripts/config.sub: Update to version 2013-10-01.
39654         * math/auto-libm-test-in: Add tests of sincos.
39655         * math/auto-libm-test-out: Regenerated.
39656         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
39657         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39658         mpfr_f_11.
39659         (func_calc_desc): Add mpfr_f_11 union field.
39660         (test_functions): Add sincos.
39661         (calc_generic_results): Handle mpfr_f_11.
39662         * sysdeps/i386/fpu/libm-test-ulps: Update.
39663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39665 2013-12-19  Andreas Schwab  <schwab@suse.de>
39667         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
39668         CALL_MCOUNT.
39669         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39670         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
39671         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
39673 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39675         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
39676         * sysdeps/i386/fpu/libm-test-ulps: Update.
39677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39679         [BZ #16293]
39680         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
39681         round-to-nearest mode when using frndint.
39682         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
39683         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39684         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
39685         Likewise.
39686         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
39687         sinh test to fail.
39688         * math/auto-libm-test-out: Regenerated.
39689         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
39690         (TEST_COND_x86): Likewise.
39691         (expm1_tonearest_test_data): New array.
39692         (expm1_test_tonearest): New function.
39693         (expm1_towardzero_test_data): New array.
39694         (expm1_test_towardzero): New function.
39695         (expm1_downward_test_data): New array.
39696         (expm1_test_downward): New function.
39697         (expm1_upward_test_data): New array.
39698         (expm1_test_upward): New function.
39699         (main): Run the new test functions.
39700         * sysdeps/i386/fpu/libm-test-ulps: Update.
39701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39703         * include/features.h: Update comment documenting feature test
39704         macros.  Mention _DEFAULT_SOURCE in comment.
39705         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
39706         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
39707         _BSD_SOURCE and _SVID_SOURCE.
39708         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
39709         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
39710         !_SVID_SOURCE]: Likewise.
39711         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39712         (__USE_POSIX_IMPLICITLY): Define.
39713         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39714         (_POSIX_SOURCE): Undefine and redefine.
39715         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39716         (_POSIX_C_SOURCE): Likewise.
39717         * manual/creature.texi (_DEFAULT_SOURCE): Document.
39718         (Feature Test Macros): Update documentation of default features.
39720 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39722         * benchtests/Makefile: Add bench-strtok.
39723         * benchtests/bench-strtok.c: New file: strtok benchtest.
39725 2013-12-19  Allan McRae  <allan@archlinux.org>
39727         * manual/install.texi: Suppress menu for plain text output.
39728         * INSTALL: Regenerated.
39730 2013-12-18  Brooks Moses  <bmoses@google.com>
39732         [BZ #15846]
39733         * misc/getauxval.c: Include errno.h.
39734         (__getauxval): Set errno to ENOENT if the requested type is not
39735         found.
39736         * misc/sys/auxv.h (getauxval): Document that it may set errno;
39737         don't declare with __attribute_const__.
39738         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
39739         * manual/startup.texi: Document that getauxval sets errno.
39741 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
39743         * math/auto-libm-test-in: Add tests of jn and yn.
39744         * math/auto-libm-test-out: Regenerated.
39745         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
39746         (yn_test_data): Likewise.
39747         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39748         mpfr_if_f.
39749         (func_calc_desc): Add mpfr_if_f union field.
39750         (FUNC_mpfr_if_f): New macro.
39751         (test_functions): Add jn and yn.
39752         (calc_generic_results): Assert type of second input for
39753         mpfr_ff_f.  Handle mpfr_if_f.
39754         (output_for_one_input_case): Disable all checking for arguments
39755         fitting floating-point types in case of an integer argument.
39756         * sysdeps/i386/fpu/libm-test-ulps: Update.
39757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
39760         Don't expect fegetround reference in libm.so.
39762 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39764         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
39765         $(config-cflags-nofma).
39767 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
39769         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
39770         * math/auto-libm-test-out: Regenerated.
39772         [BZ #16338]
39773         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
39774         to determine exponent and adjust argument to have exponent of -1.
39775         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
39776         log2.
39777         * math/auto-libm-test-out: Regenerated.
39778         * sysdeps/i386/fpu/libm-test-ulps: Update.
39779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39781 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
39783         * manual/probes.texi: Remove cases when per-thread arenas are
39784         disabled.
39786 2013-12-18  Andreas Schwab  <schwab@suse.de>
39788         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
39789         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
39790         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
39791         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
39792         * sysdeps/i386/i686/multiarch/Makefile: Update.
39793         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
39795 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39797         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
39798         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
39800 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
39802         [BZ #15968]
39803         Support TZ transition times < 00:00:00.
39804         This is needed for version-3 tz-format files; it supports time
39805         stamps past 2037 for America/Godthab (the only entry in the tz
39806         database for which this change is relevant).
39807         * manual/time.texi (TZ Variable): Document transition times
39808         from -167:59:59 through -00:00:01.
39809         * time/tzset.c (tz_rule): Time of day is now signed.
39810         (__tzset_parse_tz): Parse negative time of day.
39812         Document TZ transition times >= 25:00:00.
39813         * manual/time.texi (TZ Variable): Document transition times from
39814         25:00:00 through 167:59:59.  These are already supported, and this
39815         support will help with version-3 tz-format files.
39817         * manual/time.texi (TZ Variable): Modernize North America example
39818         to reflect current (i.e., 2007-and-later) daylight saving rules.
39820         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
39822 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39824         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
39825         * sysdeps/unix/bsd/bits/stat.h: Likewise.
39826         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
39827         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39828         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
39829         * sysdeps/unix/bsd/bsdstat.h: Likewise.
39830         * sysdeps/unix/bsd/clock.c: Likewise.
39831         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
39832         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
39833         * sysdeps/unix/bsd/init-posix.c: Likewise.
39834         * sysdeps/unix/bsd/poll.c: Likewise.
39835         * sysdeps/unix/bsd/ptsname.c: Likewise.
39836         * sysdeps/unix/bsd/seekdir.c: Likewise.
39837         * sysdeps/unix/bsd/setegid.c: Likewise.
39838         * sysdeps/unix/bsd/seteuid.c: Likewise.
39839         * sysdeps/unix/bsd/setgid.c: Likewise.
39840         * sysdeps/unix/bsd/setrgid.c: Likewise.
39841         * sysdeps/unix/bsd/setruid.c: Likewise.
39842         * sysdeps/unix/bsd/setsid.c: Likewise.
39843         * sysdeps/unix/bsd/setuid.c: Likewise.
39844         * sysdeps/unix/bsd/sigaction.c: Likewise.
39845         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
39846         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
39847         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
39848         * sysdeps/unix/bsd/telldir.c: Likewise.
39849         * sysdeps/unix/bsd/times.c: Likewise.
39850         * sysdeps/unix/bsd/usleep.c: Likewise.
39852         * misc/Makefile (install-lib): Remove libbsd-compat.a.
39853         ($(objpfx)libbsd-compat.a): Remove rule.
39855         * include/features.h (__FAVOR_BSD): Do not define.
39856         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
39857         features conflicting with POSIX.
39858         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
39859         (_BSD_SOURCE): Remove description of not being a subset of other
39860         feature test macros.
39861         * manual/job.texi (getpgrp): Do not document BSD version.
39862         (getpgid): Do not document by reference to BSD getpgrp.
39863         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
39864         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
39865         * signal/signal.h [__FAVOR_BSD]: Likewise.
39866         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
39867         instead of making contents conditional on [__FAVOR_BSD].
39868         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
39870 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39872         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39874 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39876         [BZ #16314]
39877         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
39878         values below 2**-450, not 2**-500.
39879         * math/auto-libm-test-in: Don't allow spurious underflow from
39880         hypot.
39881         * math/auto-libm-test-out: Regenerated.
39883         [BZ #16316]
39884         [BZ #16330]
39885         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
39886         values of ha and hb and sort them after adjusting subnormal
39887         arguments.
39888         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
39889         Likewise.
39890         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
39891         values of ea and eb and sort them after adjusting subnormal
39892         arguments.
39893         * math/auto-libm-test-in: Do not expect some hypot tests of
39894         subnormals to fail.  Add more hypot tests.
39895         * math/auto-libm-test-out: Regenerated.
39897 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39899         [BZ #13304]
39900         * sysdeps/sh/s_fma.c: New file.
39901         * sysdeps/sh/s_fmaf.c: New file.
39902         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
39903         version.
39904         * sysdeps/sh/Implies: Add sh/soft-fp.
39906 2013-12-16  Roland McGrath  <roland@hack.frob.com>
39908         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
39909         level of indirection to members `objname', `errstring', `malloced'.
39910         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
39911         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
39912         it as the __longjmp argument (just pass 1 instead).
39913         (_dl_catch_error): Initialize C with argument pointers and address of
39914         volatile local ERRCODE rather than copying values out of C at return.
39916 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
39918         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
39919         * math/auto-libm-test-out: Regenerated.
39920         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
39921         (hypot_test_data): Likewise.
39922         (pow_test_data): Likewise.
39923         (pow_tonearest_test_data): Likewise.
39924         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39925         mpfr_ff_f.
39926         (func_calc_desc): Add mpfr_ff_f union field.
39927         (FUNC_mpfr_ff_f): New macro.
39928         (test_functions): Add atan2, hypot and pow.
39929         (special_fill_min): New function.
39930         (special_fill_minus_min): Likewise.
39931         (special_fill_min_subnorm): Likewise.
39932         (special_fill_minus_min_subnorm): Likewise.
39933         (special_real_inputs): Add min, -min, min_subnorm and
39934         -min_subnorm.
39935         (calc_generic_results): Handle mpfr_ff_f.
39936         * sysdeps/i386/fpu/libm-test-ulps: Update.
39937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39939 2013-12-16  Will Newton  <will.newton@linaro.org>
39941         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
39942         (Aligned Memory Blocks): Add documentation for aligned_alloc
39943         and suggest it as an alternative to posix_memalign.
39944         (Hooks for Malloc): Document __memalign_hook is also called
39945         for aligned_alloc.  (Summary of Malloc): Add summary for
39946         aligned alloc.  Document __memalign_hook is also called
39947         for aligned_alloc.
39949 2013-12-16  Will Newton  <will.newton@linaro.org>
39951         * manual/memory.texi (Malloc Examples): Clarify default
39952         alignment documentation.  Suggest posix_memalign rather
39953         than memalign or valloc.
39954         (Aligned Memory Blocks): Remove suggestion to use memalign
39955         or valloc.  Remove obsolete comment about BSD.
39956         Document memalign errno values and mark the function obsolete.
39957         Document posix_memalign returned error codes.  Mark valloc
39958         as obsolete.  (Hooks for Malloc): __memalign_hook is also
39959         called for posix_memalign and valloc.
39960         (Summary of Malloc): Add posix_memalign to function summary.
39961         __memalign_hook is also called for posix_memalign and valloc.
39963 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39965         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
39966         TAYLOR_SIN.
39967         (__sin): Adjust.
39968         (__cos): Likewise.
39969         (sloww): Use mynumber union.  Expand ternary operator into
39970         if-else statements.
39971         (cslow): use mynumber union.
39973 2013-12-16  Allan McRae  <allan@archlinux.org>
39975         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
39976         * configure: Regenerated.
39978         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
39980         [BZ #14120]
39981         * configure.ac: Added --enable-maintainer-mode. Check for
39982         autoconf when enabled.
39983         * configure: Regenerated.
39985         * nscd/nscd.service: New file.
39986         * nscd/nscd.tmpfiles: New file.
39988 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
39990         [BZ #12100]
39991         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
39992         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
39993         * sysdeps/x86_64/multiarch/strstr.c: ... here.
39994         (strstr): Add __strstr_sse2_unaligned ifunc.
39995         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
39996         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
39997         (strcasestr): Remove __strcasestr_sse42 ifunc.
39998         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
39999         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
40000         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40002 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40004         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
40005         * sysdeps/sh/bits/fenv.h: ... here.
40006         * sysdeps/sh/sh4/fpu/bits: Remove directory.
40008 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40010         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
40012         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
40013         hypotf multiarch implementations.
40014         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
40015         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
40016         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
40017         multiarch hypot for PPC64.
40018         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
40019         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
40020         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
40021         multiarch hypotf for PPC64.
40023         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
40024         modff multiarch implementations.
40025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
40026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
40027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
40028         multiarch modf for PPC64.
40029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
40030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
40031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
40032         multiarch modff for PPC64.
40034         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
40035         and logl multiarch implementations.
40036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
40037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
40038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
40039         multiarch logb for PPC64.
40040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
40041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
40042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
40043         multiarch logb for PPC64.
40044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
40045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
40046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
40047         multiarch logb for PPC64.
40049         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
40050         isinff multiarch implementation.
40051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
40052         file.
40053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
40054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
40055         multiarch isinf for PPC64.
40056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
40057         file.
40058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
40059         multiarch isinff for PPC64.
40061         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
40062         finitef multiarch implementation.
40063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
40064         file.
40065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
40066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
40067         multiarch finite for PPC64.
40068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
40069         file.
40070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
40071         multiarch finitef for PPC64.
40073         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
40074         lrint multiarch implementation.
40075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
40076         file.
40077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
40078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
40079         multiarch llrint for PPC64.
40080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
40081         multiarch lrint for PPC64.
40083         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
40084         copysignf multiarch implementation.
40085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
40086         file.
40087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
40088         file.
40089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
40090         multiarch copysign for PPC64.
40091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
40092         multiarch copysignf for PPC64.
40094         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
40095         multiarch implementation.
40096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
40097         file.
40098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
40099         file.
40100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
40101         file.
40102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
40103         file.
40104         multiarch llround for PPC64.
40105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
40106         multiarch trunc for PPC64.
40107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
40108         multiarch truncf for PPC64.
40110         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
40111         multiarch implementation.
40112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
40113         file.
40114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
40115         file.
40116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
40117         file.
40118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
40119         file.
40120         multiarch llround for PPC64.
40121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
40122         multiarch round for PPC64.
40123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
40124         multiarch roundf for PPC64.
40126         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
40127         multiarch implementation.
40128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
40129         file.
40130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
40131         file.
40132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
40133         file.
40134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
40135         file.
40136         multiarch llround for PPC64.
40137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
40138         multiarch floor for PPC64.
40139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
40140         multiarch floorf for PPC64.
40142         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
40143         multiarch implementation.
40144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
40145         file.
40146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
40147         file.
40148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
40149         file.
40150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
40151         file.
40152         multiarch llround for PPC64.
40153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
40154         multiarch ceil for PPC64.
40155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
40156         multiarch ceilf for PPC64.
40158         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40159         multiarch implementation.
40160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
40161         file.
40162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
40163         file.
40164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
40165         file.
40166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
40167         multiarch llround for PPC64.
40168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
40169         multiarch lround for PPC64.
40171         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40172         multiarch implementation.
40173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
40174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
40175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
40176         file.
40177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
40178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
40179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
40180         multiarch isnan for PPC64.
40181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
40182         multiarch isnanf for PPC64.
40184         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
40185         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
40186         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
40187         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
40188         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
40189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
40191         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
40192         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40193         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40194         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40196         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
40197         multiarch implementations.
40198         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40199         (__libc_ifunc_impl_list): Likewise.
40200         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
40201         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
40202         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
40203         multiarch stpcpy for PPC64.
40205         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
40206         multiarch implementations.
40207         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40208         (__libc_ifunc_impl_list): Likewise.
40209         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
40210         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
40211         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
40212         multiarch strcpy for PPC64.
40214         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
40215         redefine function name.
40216         (_wordcopy_fwd_dest_aligned): Likewise.
40217         (_wordcopy_bwd_aligned): Likewise.
40218         (_wordcopy_bwd_dest_aligned): Likewise.
40219         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
40220         multiarch implementations.
40221         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40222         (__libc_ifunc_impl_list): Likewise.
40223         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
40224         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
40225         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
40226         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
40227         multiarch wcscpy for PPC64.
40229         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
40230         multiarch implementations.
40231         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40232         (__libc_ifunc_impl_list): Likewise.
40233         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
40234         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
40235         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
40236         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
40237         multiarch wcscpy for PPC64.
40239         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
40240         multiarch implementations.
40241         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40242         (__libc_ifunc_impl_list): Likewise.
40243         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
40244         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
40245         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
40246         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
40247         multiarch wcsrchr for PPC64.
40249         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
40250         multiarch implementations.
40251         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40252         (__libc_ifunc_impl_list): Likewise.
40253         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
40254         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
40255         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
40256         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
40257         multiarch wcschr for PPC64.
40259         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
40260         multiarch implementations.
40261         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40262         (__libc_ifunc_impl_list): Likewise.
40263         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
40264         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
40265         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
40266         multiarch strchrnul for PPC64.
40268         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
40269         implementations.
40270         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40271         (__libc_ifunc_impl_list): Likewise.
40272         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
40273         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
40274         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
40275         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
40276         strchr for PPC64.
40278         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
40279         implementations.
40280         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40281         (__libc_ifunc_impl_list): Likewise.
40282         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
40283         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
40284         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
40285         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
40286         strncmp for PPC64.
40288         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
40289         multiarch implementations.
40290         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40291         (__libc_ifunc_impl_list): Likewise.
40292         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
40293         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
40294         strncasecmp for PPC64.
40295         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
40296         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
40297         multiarch strncasecmp_l for PPC64.
40299         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
40300         multiarch implementations.
40301         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40302         (__libc_ifunc_impl_list): Likewise.
40303         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
40304         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
40305         multiarch strcasecmp for PPC64.
40306         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
40307         file.
40308         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
40309         multiarch strcasecmp_l for PPC64.
40311         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
40312         implementations.
40313         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40314         (__libc_ifunc_impl_list): Likewise.
40315         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
40316         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
40317         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
40318         strnlen for PPC64.
40320         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
40321         implementations.
40322         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40323         (__libc_ifunc_impl_list): Likewise.
40324         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
40325         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
40326         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
40327         strlen for PPC64.
40329         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
40330         implementations.
40331         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40332         (__libc_ifunc_impl_list): Likewise.
40333         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
40334         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
40335         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
40336         rawmemrchr for PPC64.
40338         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
40339         implementation.
40340         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40341         (__libc_ifunc_impl_list): Likewise.
40342         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
40343         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
40344         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
40345         memrchr for PPC64.
40347         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
40348         implementation.
40349         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40350         (__libc_ifunc_impl_list): Likewise.
40351         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
40352         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
40353         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
40354         memchr for PPC64.
40356         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
40357         implementation.
40358         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40359         (__libc_ifunc_impl_list): Likewise.
40360         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
40361         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
40362         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
40363         mempcpy for PPC64.
40365         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
40366         avoid cretion of __bzero symbol.
40367         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
40368         Likewise.
40369         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
40370         Likewise.
40371         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
40372         Likewise.
40373         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
40374         multiarch implementations.
40375         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40376         (__libc_ifunc_impl_list): Likewise.
40377         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
40378         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
40379         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
40380         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
40381         bzero for PPC32.
40382         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
40383         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
40384         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
40385         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
40386         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
40387         memset for PPC64.
40388         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
40390         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
40391         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
40392         implementations.
40393         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40394         (__libc_ifunc_impl_list): Likewise.
40395         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
40396         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
40397         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
40398         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
40399         memcmp for PPC64.
40401         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
40402         multiarch for POWER/PPC64.
40403         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
40404         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
40405         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
40406         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
40407         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
40408         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
40409         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
40410         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
40411         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
40412         memcpy for PPC64.
40414         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
40415         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
40416         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
40417         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
40418         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
40419         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
40420         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
40421         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
40422         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
40423         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
40424         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
40425         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
40426         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
40427         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
40428         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
40429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
40430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
40431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
40432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
40433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
40434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
40435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
40437 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40439         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
40441 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40443         * benchtests/Makefile (bench): Add exp2 and log2.
40444         (LDLIBS-bench-exp2): Add -lm.
40445         (LDLIBS-bench-log2): Likewise.
40446         * benchtests/exp2-inputs: New inputs file.
40447         * benchtests/log2-inputs: New inputs file.
40448         * benchtests/log-inputs: Add new inputs.
40449         * benchtests/tan-inputs: Likewise.
40451 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40453         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
40454         definition...
40455         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
40456         (csloww2): ... from here.
40458         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
40459         instead of structures.
40460         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
40461         (POLYNOMIAL): Likewise.
40462         (TAYLOR_SLOW): Likewise.
40463         (__sin): Likewise.
40464         (__cos): Likewise.
40465         (slow1): Likewise.
40466         (slow2): Likewise.
40467         (sloww): Likewise.
40468         (sloww1); Likewise.
40469         (sloww2): Likewise.
40470         (bsloww1): Likewise.
40471         (bsloww2): Likewise.
40472         (cslow2): Likewise.
40473         (csloww): Likewise.
40474         (csloww1): Likewise.
40475         (csloww2): Likewise.
40477 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
40479         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
40480         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
40481         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
40482         * malloc/hooks.c (realloc_check): Likewise.
40484         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
40485         * malloc/arena.c: Remove PER_THREAD conditional.
40486         [!PER_THREAD]: Remove code.
40487         (ptmalloc_unlock_all2): Likewise.
40488         (ptmalloc_init): Likewise.
40489         (_int_new_arena): Likewise.
40490         (arena_get2): Likewise.
40491         * malloc/hooks.c (__malloc_get_state): Likewise.
40492         (__malloc_set_state): Likewise.
40493         * malloc/malloc.c: Likewise.
40494         (struct malloc_state): Likewise.
40495         (struct malloc_par): Likewise.
40496         (__libc_realloc): Likewise.
40497         (__libc_mallopt): Likewise.
40499 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40501         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
40503 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
40505         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
40506         macro to a function.  Check for zero perturb_byte.
40507         (_int_malloc, _int_free): Remove zero perturb_byte checks.
40509         * malloc/malloc.c: (force_reg): Remove.
40510         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
40511         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
40512         force_reg by atomic_forced_read.
40513         * malloc/arena.c (ptmalloc_init): Likewise.
40514         * malloc/hooks.c (top_check): Likewise.
40516 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40520 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
40522         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40524 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
40526         * math/auto-libm-test-in: Add tests of lgamma.
40527         * math/auto-libm-test-out: Regenerated.
40528         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
40529         (M_LOG_2_SQRT_PIl): Likewise.
40530         (lgamma_test_data): Use AUTO_TESTS_f_f1.
40531         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40532         mpfr_f_f1.
40533         (func_calc_desc): Add mpfr_f_f1 union field.
40534         (ARGS1): New macro.
40535         (ARGS2): Likewise.
40536         (ARGS3): Likewise.
40537         (ARGS4): Likewise.
40538         (RET1): Likewise.
40539         (RET2): Likewise.
40540         (CALC): Likewise.
40541         (FUNC): Likewise.
40542         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
40543         (test_functions): Add lgamma.
40544         (calc_generic_results): Handle mpfr_f_f1.
40545         * sysdeps/i386/fpu/libm-test-ulps: Update.
40546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40548 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40550         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
40551         __mpn_add_n for PowerPC64/POWER7.
40552         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
40553         __mpn_sub_n for PowerPC64/POWER7.
40555         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
40556         __mpn_addmul_1 for PowerPC64.
40557         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
40558         __mpn_submul_1 for PowerPC64.
40559         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
40560         for PowerPC64.
40561         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
40562         for PowerPC64.
40564 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
40566         [BZ #15089]
40567         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
40569 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40571         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
40573         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
40574         add multiarch folders.
40575         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
40576         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
40577         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
40578         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
40579         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
40580         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
40581         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
40582         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
40583         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
40584         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
40585         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
40586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
40587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
40588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
40589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
40590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
40591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
40593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40594         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
40595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
40596         New file.
40597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
40598         New file.
40599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
40600         multiarch __ieee754_hypot for PowerPC32.
40601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
40602         New file.
40603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
40604         New file.
40605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
40606         multiarch __ieee754_hypotf for PowerPC32.
40608         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
40609         long_double_symbol only if __logbl is defined.
40610         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
40611         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
40612         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
40613         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
40614         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
40615         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
40616         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
40617         path for implementation.
40618         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
40619         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
40620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
40621         logb, and logbl multiarch implementations for PowerPC32.
40622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
40623         file.
40624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
40625         file.
40626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
40627         multiarch logb for PowerPC32.
40628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
40629         file.
40630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
40631         file.
40632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
40633         multiarch logbf for PowerPC32.
40634         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
40635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
40636         file.
40637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
40638         multiarch logbl implementation for PowerPC32.
40640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
40641         and modff multiarch implementations.
40642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
40643         New file.
40644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
40645         New file.
40646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
40647         multiarch modf for PowerPC32.
40648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
40649         New file.
40650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
40651         New file.
40652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
40653         multiarch modff for PowerPC32.
40655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
40656         and lrintf multiarch implementations.
40657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
40658         New file.
40659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
40660         New file.
40661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
40662         multiarch lrint for PowerPC32.
40663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
40664         file: multiarch lrintf for PowerPC32.
40666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
40667         and lroundf multiarch implementations.
40668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
40669         New file.
40670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
40671         New file.
40672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
40673         New file.
40674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
40675         multiarch lround for PowerPC32.
40676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
40677         file: multiarch lroundf for PowerPC32.
40679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40680         copysign and copysignf multiarch implementations.
40681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
40682         New file.
40683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
40684         New file.
40685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
40686         file: multiarch copysign for PowerPC32.
40687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
40688         file: multiarch copysignf for PowerPC32.
40690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
40691         and truncf multiarch implementations.
40692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
40693         New file.
40694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
40695         file.
40696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
40697         multiarch trunc for PowerPC32.
40698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
40699         New file.
40700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
40701         New file.
40702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
40703         multiarch truncf for PowerPC32.
40705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
40706         and roundf multiarch implementations.
40707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
40708         New file.
40709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
40710         file.
40711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
40712         multiarch round for PowerPC32.
40713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
40714         New file.
40715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
40716         New file.
40717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
40718         multiarch roundf for PowerPC32.
40720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
40721         and floorf multiarch implementations.
40722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
40723         New file.
40724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
40725         file.
40726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
40727         multiarch floor for PowerPC32.
40728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
40729         New file.
40730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
40731         New file.
40732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
40733         multiarch floorf for PowerPC32.
40735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
40736         and ceilf multiarch implementations.
40737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
40738         New file.
40739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
40740         file.
40741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
40742         multiarch ceil for PowerPC32.
40743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
40744         New file.
40745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
40746         file.
40747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
40748         multiarch ceilf for PowerPC32.
40750         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
40751         is defined.
40752         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
40753         FINITEF is defined.
40754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
40755         and finitef multiarch implementations.
40756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
40757         New file.
40758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
40759         file.
40760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
40761         multiarch finite for PowerPC32.
40762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
40763         New file.
40764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
40765         file: multiarch finitef for PowerPC32.
40767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
40768         and isinff multiarch implementations.
40769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
40770         file.
40771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
40772         file.
40773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
40774         multiarch isinf for PowerPC32.
40775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
40776         New file.
40777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
40778         multiarch isinff for PowerPC32.
40780         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
40781         alias when __isnan is defined.
40782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
40783         and isnanf multiarch implementations.
40784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
40785         file.
40786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
40787         file.
40788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
40789         file.
40790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
40791         file.
40792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
40793         multiarch isnan for PowerPC32.
40794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
40795         New file.
40796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
40797         New file.
40798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
40799         multiarch isnanf for PowerPC32.
40801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
40802         and sqrtf multiarch implementations.
40803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
40804         file.
40805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
40806         file.
40807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
40808         multiarch sqrt for PowerPC32.
40809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
40810         file.
40811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
40812         file.
40813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
40814         multiarch sqrtf for PowerPC32.
40816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
40817         and llroundf multiarch implementations.
40818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
40819         New file.
40820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
40821         New file.
40822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
40823         New file.
40824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
40825         file: multiarch llround for PowerPC32.
40826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
40827         file: multiarch llroundf for PowerPC32.
40829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
40830         multiarch PowerPC32 fpu implementations.
40831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
40832         New file.
40833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
40834         New file.
40835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
40836         multiarch llrint for PowerPC32.
40837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
40838         New file.
40839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
40840         New file.
40841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
40842         file.
40844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
40846         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
40847         file.
40848         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
40849         file.
40850         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
40851         file.
40852         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
40853         multiarch wordcopy for PPC32.
40854         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40855         wordcopy objects.
40856         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40857         (__libc_ifunc_impl_list): Likewise.
40858         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
40859         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
40860         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
40861         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
40862         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
40863         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
40865         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
40866         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
40867         file.
40868         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
40869         file.
40870         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
40871         file.
40872         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
40873         multiarch wcscpy for PPC32.
40874         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40875         multiarch objects.
40876         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40877         (__libc_ifunc_impl_list): Likewise.
40878         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40879         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40880         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
40881         sysdeps/powerpc/power6/wcscpy.c.
40883         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
40884         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
40885         file.
40886         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
40887         file.
40888         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
40889         file.
40890         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
40891         multiarch wcsrchr for PPC32.
40892         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
40893         multiarch objects.
40894         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40895         (__libc_ifunc_impl_list): Likewise.
40896         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40897         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40898         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
40899         sysdeps/powerpc/power6/wcsrchr.c.
40901         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
40902         file.
40903         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
40904         file.
40905         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
40906         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
40907         multiarch wcschr for PPc32.
40908         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
40909         multiarch objects.
40910         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40911         (__libc_ifunc_impl_list): Likewise.
40912         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
40913         * sysdeps/powerpc/power6/wcschr.c: ... to here.
40914         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
40915         sysdeps/powerpc/power6/wcschr.c.
40917         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
40918         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
40919         file.
40920         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
40921         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
40922         file: multiarch strchr for PPC32.
40923         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
40924         multiarch objects.
40925         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40926         (__libc_ifunc_impl_list): Likewise.
40928         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
40929         name.
40930         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
40931         file.
40932         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
40933         file.
40934         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
40935         multiarch strchrnul for PPC32.
40936         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
40937         multiarch objects.
40938         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40939         (__libc_ifunc_impl_list): Likewise.
40941         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
40942         file.
40943         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
40944         multiarch strncasecmp for PPC32.
40945         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
40946         file.
40947         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
40948         multiarch strncasecmp_l for PPC32.
40949         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
40950         strncasecmp multiarch objects.
40951         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40952         (__libc_ifunc_impl_list): Likewise.
40954         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
40955         file.
40956         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
40957         multiarch strncasecmp for PPC32.
40958         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
40959         New file.
40960         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
40961         multiarch strcasecmp_l for PPC32.
40962         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
40963         multiarch objects.
40964         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40965         (__libc_ifunc_impl_list): Likewise.
40967         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
40968         file.
40969         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
40970         file.
40971         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
40972         multiarch strncmp for PPC32.
40973         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
40974         multiarch objects.
40975         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40976         (__libc_ifunc_impl_list): Likewise.
40978         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
40979         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
40980         file.
40981         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
40982         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
40983         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
40984         multiarch objects.
40985         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40986         (__libc_ifunc_impl_list): Likewise.
40988         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
40989         file.
40990         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
40991         file.
40992         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
40993         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
40994         multiarch objects.
40995         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40996         (__libc_ifunc_impl_list): Likewise.
40998         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
40999         file.
41000         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
41001         file.
41002         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
41003         multiarch rawmemchr for PPC32.
41004         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
41005         multiarch objects.
41006         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41007         (__libc_ifunc_impl_list): Likewise.
41009         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
41010         file.
41011         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
41012         file.
41013         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
41014         file: memrchr multiarch for PPC32.
41015         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
41016         multiarch objects.
41017         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41018         (__libc_ifunc_impl_list): Likewise.
41020         * string/memchr.c (__memchr): Using macro to redefine symbol name.
41021         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
41022         file.
41023         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
41024         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
41025         multiarch memchr for PPC32.
41026         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
41027         multiarch objects.
41028         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41029         (__libc_ifunc_impl_list): Likewise.
41031         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
41032         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
41033         file.
41034         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
41035         file.
41036         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
41037         file: multiarch mempcpy for PPC32.
41038         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
41039         multiarch objects.
41040         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41041         (__libc_ifunc_impl_list): Likewise.
41043         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
41044         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
41045         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
41046         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
41047         multiarch bzero for PPC32.
41048         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
41049         file.
41050         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
41051         file.
41052         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
41053         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
41054         file: multiarch memset for PPC32.
41055         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
41056         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
41057         memset multiarch objects.
41058         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41059         (__libc_ifunc_impl_list): Likewise.
41061         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
41062         file.
41063         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
41064         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
41065         memcmp for PPC32.
41066         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
41067         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
41068         multiarch objects.
41069         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41070         (__libc_ifunc_impl_list): Likewise.
41072         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
41073         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
41074         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
41075         file.
41076         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
41077         file.
41078         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
41079         file.
41080         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
41081         multiarch memcpy for PPC32.
41082         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
41083         multiarch objects.
41084         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41085         (__libc_ifunc_impl_list): Likewise.
41087         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
41088         support multiarch for POWER/PPC32.
41089         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
41090         Likewise.
41091         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
41092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
41093         Implies file to make multiarch folder appers before the fpu and
41094         default folder for power4 configuration.
41096 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41098         * scripts/bench.pl: Append volatile keyword to type.
41100 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41102         * sysdeps/sh/sotruss-lib.c: New file.
41103         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
41105 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41109 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
41111         [BZ #6810]
41112         * math/w_tgamma.c: Include <errno.h>.
41113         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
41114         * math/w_tgammaf.c: Include <errno.h>.
41115         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
41116         * math/w_tgammal.c: Include <errno.h>.
41117         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
41118         * math/auto-libm-test-in: Do not allow missing errno on tgamma
41119         underflow.  Add more tgamma tests.
41120         * math/auto-libm-test-out: Regenerated.
41121         * sysdeps/i386/fpu/libm-test-ulps: Update.
41122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41124         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
41125         sin, sinh, tan, tanh, tgamma, y0 and y1.
41126         * math/auto-libm-test-out: Regenerated.
41127         * math/libm-test.inc (TEST_COND_x86_64): New macro.
41128         (TEST_COND_x86): Likewise.
41129         (M_E2l): Remove macro.
41130         (M_E3l): Likewise.
41131         (M_2_SQRT_PIl): Likewise.
41132         (M_SQRT_PIl): Likewise.
41133         (M_1_DIV_El): Likewise.
41134         (log_test_data): Use AUTO_TESTS_f_f.
41135         (log10_test_data): Likewise.
41136         (log1p_test_data): Likewise.
41137         (log2_test_data): Likewise.
41138         (sin_test_data): Likewise.
41139         (sin_tonearest_test_data): Likewise.
41140         (sin_towardzero_test_data): Likewise.
41141         (sin_downward_test_data): Likewise.
41142         (sin_upward_test_data): Likewise.
41143         (sinh_test_data): Likewise.
41144         (sinh_tonearest_test_data): Likewise.
41145         (sinh_towardzero_test_data): Likewise.
41146         (sinh_downward_test_data): Likewise.
41147         (sinh_upward_test_data): Likewise.
41148         (tan_test_data): Likewise.
41149         (tan_tonearest_test_data): Likewise.
41150         (tan_towardzero_test_data): Likewise.
41151         (tan_downward_test_data): Likewise.
41152         (tan_upward_test_data): Likewise.
41153         (tanh_test_data): Likewise.
41154         (tgamma_test_data): Likewise.
41155         (y0_test_data): Likewise.
41156         (y1_test_data): Likewise.
41157         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
41158         (special_real_inputs): Add pi/4.
41159         * sysdeps/i386/fpu/libm-test-ulps: Update.
41160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41162 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41164         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
41165         "longjmp_target" static probes.
41166         (__longjmp): Rename to __longjmp_symbol.
41167         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41168         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
41169         on which longjmp to generate.
41170         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41171         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
41172         probe.
41173         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41174         (__sigjmp_save): Rename to __sigjmp_save_symbol.
41175         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41176         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
41177         and __sigjmp_save_symbol based on which sigsetjmp to generated.
41178         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
41180         __longjmp_symbol based on which __longjmp to generate.
41181         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
41182         probe.
41183         (setjmp): Rename to setjmp_symbol.
41184         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41185         (_setjmp): Rename to _setjmp_symbol.
41186         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41187         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
41188         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
41189         which setjmp to generate.
41190         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
41191         "longjmp_target" static probes.
41193 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41195         * benchtests/README: Add note about output arguments.
41196         * benchtests/bench-sincos.c: Remove file.
41197         * benchtests/sincos-inputs: New file.
41198         * scripts/bench.pl: Identify output arguments and define
41199         static variables for them.
41201         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
41203         [BZ #15941]
41204         * Makefile (INSTALL): Add install-plain.texi as the primary
41205         dependency.
41206         * manual/install-plain.texi: New file.
41207         * manual/install.texi: Include node directive only for
41208         non-plaintext output.
41210 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
41212         * stdlib/longlong.h: Update from GCC.
41214         [BZ #6807]
41215         [BZ #15901]
41216         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
41217         * math/w_j0f.c (y0f): Likewise.
41218         * math/w_j0l.c (__y0l): Likewise.
41219         * math/w_j1.c (y1): Likewise.
41220         * math/w_j1f.c (y1f): Likewise.
41221         * math/w_j1l.c (__y1l): Likewise.
41222         * math/w_jn.c (yn): Likewise.
41223         * math/w_jnf.c (ynf): Likewise.
41224         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
41225         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
41226         value for Bessel function domain errors outside _SVID_ mode.
41227         Adjust sign of return value for yn (negative integer, 0).
41228         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
41229         by zero in return for negative x and set sign appropriately for
41230         negative n.
41231         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
41232         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41233         * math/libm-test.inc (y0_test_data): Add more tests and adjust
41234         expectations in error cases.
41235         (y1_test_data): Likewise.
41236         (yn_test_data): Likewise.
41237         * sysdeps/i386/fpu/libm-test-ulps: Update.
41238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41240 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41242         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
41243         "64" to "64-v1".  Add "64-v2".
41244         (abi-64-options): Rename to ...
41245         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
41246         (abi-64-condition): Rename to ...
41247         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
41248         (abi-64-ld-soname): Rename to ...
41249         (abi-64-v1-ld-soname): ... this.
41250         (abi-64-v2-options): Define.
41251         (abi-64-v2-condition): Likewise.
41252         (abi-64-v2-ld-soname): Likewise.
41253         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
41254         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
41255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
41256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
41257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
41259 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41260             Alan Modra  <amodra@gmail.com>
41262         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
41263         New versions for use with the ELFv2 ABI.
41264         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
41265         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
41266         declaration.
41267         (struct La_ppc64v2_retval): Likewise.
41268         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
41269         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
41270         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
41271         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
41272         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
41273         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41274         Do not save or restore CR.
41275         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
41276         (_dl_profile_resolve): Do no save or restore CR.  Support extended
41277         return values for ELFv2 ABI.  Fix location of FPR return registers.
41278         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
41279         updated values for _CALL_ELF == 2.
41280         (La_regs, La_retval, int_retval): Likewise.
41282 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41284         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
41285         (FRAME_MIN_SIZE_PARM): Likewise.
41286         (FRAME_BACKCHAIN): Likewise.
41287         (FRAME_CR_SAVE): Likewise.
41288         (FRAME_LR_SAVE): Likewise.
41289         (FRAME_TOC_SAVE): Likewise.
41290         (FRAME_PARM_SAVE): Likewise.
41291         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
41292         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
41293         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41294         (call_mcount_parm_offset): New macro.
41295         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
41296         (PROF): Use symbolic stack frame offsets.
41297         (TAIL_CALL_SYSCALL_ERROR): Likewise.
41298         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
41299         Redefine in terms of FRAME_MIN_SIZE.
41300         (_dl_runtime_resolve): Use symbolic stack frame offsets.
41301         (_dl_profile_resolve): Likewise.  Update comment.
41302         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
41303         symbols stack frame offsets.
41304         (__sigsetjmp): Likewise.
41305         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
41306         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
41307         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
41308         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
41310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
41311         (FRAME_BACKCHAIN): Remove.
41312         (FRAME_CR_SAVE): Likewise.
41313         (FRAME_LR_SAVE): Likewise.
41314         (FRAME_COMPILER_DW): Likewise.
41315         (FRAME_LINKER_DW): Likewise.
41316         (FRAME_TOC_SAVE): Likewise.
41317         (FRAME_PARM_SAVE): Likewise.
41318         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
41319         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
41320         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
41322         (CHECK_SP): Use symbolic stack frame offsets.
41323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
41324         zone" instead of caller's parameter save area for temp storage.
41325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41326         Likewise.  Also, use symbolic stack frame offsets.
41327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
41328         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
41329         our own stack frame instead of the caller's.
41330         (__socket): Use symbolic stack frame offsets.
41332 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41333             Alan Modra  <amodra@gmail.com>
41335         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
41336         Define.
41337         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
41338         (PPC64_LOCAL_ENTRY_OFFSET): Define.
41339         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
41340         New function.
41341         (elf_machine_fixup_plt): Call it.
41342         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
41343         reloc arguments.
41344         (elf_machine_rela): Update call to elf_machine_plt_conflict.
41345         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41346         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
41347         r2 before calling target.
41349 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41350             Alan Modra  <amodra@gmail.com>
41352         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
41353         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
41354         versions of macros to support ELFv2 ABI.
41355         (LOCALENTRY): New macro.
41356         (ENTRY, EALIGN): Use it.
41357         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
41358         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
41359         fall through into ENTRY entry point.
41360         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
41361         Only define if _CALL_ELF != 2.
41363         (elf_machine_matches_host): Verify ABI version matches.
41364         (RTLD_START): Use LOCALENTRY.
41365         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
41366         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
41367         (PLT_ENTRY_WORDS): New macro.
41368         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
41369         (elf_machine_runtime_setup): Support ELFv2 ABI.
41370         (elf_machine_fixup_plt): Likewise.
41371         (elf_machine_plt_conflict): Likewise.
41372         (resolve_ifunc): Likewise.
41373         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41374         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
41375         Likewise.
41376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
41377         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
41378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41379         (makecontext): Support ELFv2 ABI.
41380         * elf/elf.h (EF_PPC64_ABI): Define.
41382 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41384         * sysdeps/powerpc/powerpc64/sysdep.h
41385         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
41386         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
41387         (ENTRY) [ASSEMBLER]: ... but instead here ...
41388         (EALIGN) [ASSEMBLER]: ... and here.
41389         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
41390         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
41391         (ENTRY_2) [!ASSEMBLER]: Use it.
41392         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
41393         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
41394         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41395         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
41396         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
41397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
41398         Use PPC64_LOAD_FUNCPTR.
41400         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
41402 2013-12-04  Alan Modra  <amodra@gmail.com>
41404         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
41405         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
41406         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
41407         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
41409         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
41410         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
41411         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
41412         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
41413         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
41414         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
41416 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41419         (__makecontext): Fix incorrect CFI when backtracing out of
41420         context created via makecontext.
41421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
41422         (__setcontext): Fix incorrect CFI during switch to new context.
41423         (__novec_setcontext): Likewise.
41425 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
41427         [BZ #4772]
41428         * time/strptime_l.c (__strptime_internal): Allow modifiers
41429         in strptime.
41430         * time/tst-strptime.c (day_tests): Add testcase.
41432 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41434         * scripts/bench.pl: Skip over blank lines.
41436 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
41438         [BZ #926]
41439         * manual/time.texi (Calendar Time): Clarify what timezone functions
41440         use.
41442 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41444         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41446 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
41448         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
41449         implementation.
41450         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
41451         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
41452         * debug/memset_chk.c (__memset_chk): Likewise.
41453         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
41454         * debug/strncpy_chk.c: Likewise.
41456 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
41458         [BZ #15268]
41459         [BZ #15425]
41460         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
41461         (__ieee754_exp): For possibly underflowing results, check size of
41462         result and force underflow exception if required.
41463         * math/auto-libm-test-in: Add more tests of exp.
41464         * math/auto-libm-test-out: Regenerated.
41465         * sysdeps/i386/fpu/libm-test-ulps: Update.
41466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41468         [BZ #16283]
41469         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
41470         * math/w_exp2f.c (__exp2f): Likewise.
41471         * math/w_exp2l.c (__exp2l): Likewise.
41472         * math/auto-libm-test-in: Do not allow missing errno on exp2
41473         underflow.
41474         * math/auto-libm-test-out: Regenerated.
41476 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
41478         [BZ #16274]
41479         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
41480         handle filename validation.
41481         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
41482         (do_open): Delete.
41484 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
41486         [BZ #6786]
41487         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
41488         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
41489         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
41490         <float.h>.
41491         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
41492         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
41493         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41494         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
41495         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41496         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
41497         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41498         * math/auto-libm-test-in: Don't allow missing errno from erfc.
41499         Add more erfc tests.
41500         * math/auto-libm-test-out: Regenerated.
41501         * sysdeps/i386/fpu/libm-test-ulps: Update.
41502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41504         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
41505         exp2, expm1, j0 and j1.
41506         * math/auto-libm-test-out: Regenerated.
41507         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
41508         (erfc_test_data): Likewise.
41509         (exp_test_data): Likewise.
41510         (exp_tonearest_test_data): Likewise.
41511         (exp_towardzero_test_data): Likewise.
41512         (exp_downward_test_data): Likewise.
41513         (exp_upward_test_data): Likewise.
41514         (exp10_test_data): Likewise.
41515         (exp2_test_data): Likewise.
41516         (expm1_test_data): Likewise.
41517         (j0_test_data): Likewise.
41518         (j1_test_data): Likewise.
41519         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
41520         (input_flag_type): Add flag_xfail_rounding.
41521         (input_flags): Add xfail-rounding.
41522         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
41523         (output_for_one_input_case): Handle flag_xfail_rounding.
41524         * sysdeps/i386/fpu/libm-test-ulps: Update.
41525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41527 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
41529         [BZ #16289]
41530         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
41531         division by 0.
41533 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41535         [BZ #16195]
41536         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
41537         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
41538         (STAP_PROBE0): New macro.
41539         (STAP_PROBE1): Likewise.
41540         (STAP_PROBE2): Likewise.
41541         (STAP_PROBE3): Likewise.
41542         (STAP_PROBE4): Likewise.
41544 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
41546         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
41548 2013-12-02  Steve Ellcey  <sellcey@mips.com>
41550         * benchtests/Makefile (bench): Add sqrt.
41551         (LDLIBS-bench-sqrt): New.
41552         * benchtests/sqrt-input: New.
41554 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
41556         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
41557         (GAIH_EAI): Likewise.
41558         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
41559         (gaih_inet): Likewise.
41560         (getaddrinfo): Don't use GAIH_EAI.
41562         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
41563         (struct gaih): Remove definition.
41565 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41567         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
41568         Use HERRNOP directly.
41570 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41572         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41574 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
41576         * math/gen-auto-libm-tests.c (test_functions): Add more
41577         single-argument functions.
41578         (special_fill_pi_2): New function.
41579         (special_fill_minus_pi_2): Likewise.
41580         (special_fill_pi_6): Likewise.
41581         (special_fill_minus_pi_6): Likewise.
41582         (special_fill_pi_3): Likewise.
41583         (special_fill_2pi_3): Likewise.
41584         (special_fill_e): Likewise.
41585         (special_fill_1_e): Likewise.
41586         (special_fill_e_minus_1): Likewise.
41587         (special_real_inputs): Add more special inputs.
41588         (output_for_one_input_case): Do not require ERANGE on underflow to
41589         zero if round-to-nearest result does not underflow to zero, unless
41590         exact results required.
41591         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
41592         atan, atanh, cbrt, cos and cosh.
41593         * math/auto-libm-test-out: Regenerated.
41594         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
41595         (acos_tonearest_test_data): Likewise.
41596         (acos_towardzero_test_data): Likewise.
41597         (acos_downward_test_data): Likewise.
41598         (acos_upward_test_data): Likewise.
41599         (acosh_test_data): Likewise.
41600         (asin_test_data): Likewise.
41601         (asin_tonearest_test_data): Likewise.
41602         (asin_towardzero_test_data): Likewise.
41603         (asin_upward_test_data): Likewise.
41604         (asinh_test_data): Likewise.
41605         (atan_test_data): Likewise.
41606         (atanh_test_data): Likewise.
41607         (cbrt_test_data): Likewise.
41608         (cos_test_data): Likewise.
41609         (cos_tonearest_test_data): Likewise.
41610         (cos_towardzero_test_data): Likewise.
41611         (cos_downward_test_data): Likewise.
41612         (cos_upward_test_data): Likewise.
41613         (cosh_test_data): Likewise.
41614         (cosh_tonearest_test_data): Likewise.
41615         (cosh_towardzero_test_data): Likewise.
41616         (cosh_downward_test_data): Likewise.
41617         (cosh_upward_test_data): Likewise.
41618         * sysdeps/i386/fpu/libm-test-ulps: Update.
41619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41621 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
41623         [BZ #6787]
41624         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
41625         * math/w_exp10f.c (__exp10f): Likewise.
41626         * math/w_exp10l.c (__exp10l): Likewise.
41627         * math/libm-test.inc (exp10_test_data): Add more tests and expect
41628         errno settings in existing tests.
41630         [BZ #14032]
41631         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
41632         precision control set to double precision.
41633         * sysdeps/i386/fpu/w_sqrt.c: New file.
41634         * math/auto-libm-test-in: Add more tests.
41635         * math/auto-libm-test-out: Update.
41637         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
41638         (sqrt_test_tonearest): New function.
41639         (sqrt_towardzero_test_data): New variable.
41640         (sqrt_test_towardzero): New function.
41641         (sqrt_downward_test_data): New variable.
41642         (sqrt_test_downward): New function.
41643         (sqrt_upward_test_data): New variable.
41644         (sqrt_test_upward): New function.
41645         (main): Call the new functions.
41647         * math/gen-auto-libm-tests.c: New file.
41648         * math/auto-libm-test-in: Likewise.
41649         * math/auto-libm-test-out: New generated file.
41650         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
41651         variables.
41652         (%beautify): Add generated representations of zero.
41653         (top level): Set $auto_input and call parse_auto_input.
41654         (beautify): Remove trailing "f" from hex float constants.
41655         (parse_args): Handle XFAIL_TEST.
41656         (convert_condition): New function.
41657         (or_value): Likewise.
41658         (or_cond_value): Likewise.
41659         (generate_testfile): Handle AUTO_TESTS_* lines.
41660         (parse_auto_input): New function.
41661         * math/libm-test.inc (XFAIL_TEST): New macro.
41662         (ERRNO_UNCHANGED): Update value.
41663         (ERRNO_EDOM): Likewise.
41664         (ERRNO_ERANGE): Likewise.
41665         (IGNORE_RESULT): Likewise.
41666         (TEST_COND_flt_32): New macro.
41667         (TEST_COND_dbl_64): Likewise.
41668         (TEST_COND_ldbl_96_intel): Likewise.
41669         (TEST_COND_ldbl_96_m68k): Likewise.
41670         (TEST_COND_ldbl_128): Likewise.
41671         (TEST_COND_ldbl_128ibm): Likewise.
41672         (TEST_COND_long32): Likewise.
41673         (TEST_COND_long64): Likewise.
41674         (TEST_COND_before_rounding): Likewise.
41675         (TEST_COND_after_rounding): Likewise.
41676         (enable_test): Handle XFAIL_TEST flag.
41677         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
41678         with finite results.
41679         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
41680         auto-libm-test-out.
41682 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41683             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41685         [BZ #16214]
41686         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
41687         __tls_get_addr_internal instead of __tls_get_offset in order to
41688         avoid GOT pointer dependency.  Make rtld export
41689         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
41690         __tls_get_addr since we are a __tls_get_offset platform.
41691         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
41692         GOT pointer being set up before.
41693         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
41695 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
41697         * manual/math.texi (Errors in Math Functions): Document accuracy
41698         goals.
41700         [BZ #15004]
41701         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
41702         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
41703         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41704         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41705         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41706         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41707         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41708         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41709         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41710         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41711         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41712         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41713         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41714         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41715         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41716         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41718         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
41719         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
41720         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
41721         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
41722         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
41723         Likewise.
41724         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
41725         Likewise.
41726         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
41727         Likewise.
41728         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
41729         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
41730         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
41731         atomic-feupdateenv and flt-rounds.
41732         * sysdeps/powerpc/nofpu/Versions (libc): Add
41733         __atomic_feholdexcept, __atomic_feclearexcept,
41734         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
41735         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
41736         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
41737         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
41738         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
41739         here.
41740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
41741         Update.
41743         * manual/arith.texi (FP Exceptions): Document that exceptions may
41744         not be raised when matherr is used.
41745         (Math Error Reporting): Document overflow in directed rounding
41746         modes.  Document that errno may not be set when finite values are
41747         returned on overflow.  Document intent to set errno on underflow
41748         only for underflow to zero.
41750         [BZ #16271]
41751         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
41752         round-to-nearest then adjust result for other rounding modes.
41753         * include/fenv.h (fegetround): Use libm_hidden_proto.
41754         * math/fegetround.c (fegetround): Use libm_hidden_def.
41755         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41756         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41757         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
41758         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41759         Likewise.
41760         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
41761         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41762         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41763         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
41765 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41767         [BZ #16077]
41768         * nss/Versions (libnss_files): Add
41769         _nss_files_gethostbyname3_r.
41770         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
41771         New function.
41772         (HOST_DB_LOOKUP): Remove macro.
41773         (_nss_files_gethostbyname_r): Implement function without the
41774         HOST_DB_LOOKUP macro.
41775         (_nss_files_gethostbyname2_r): Likewise.
41777 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
41779         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
41781 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
41783         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
41784         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
41785         warning.
41787 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41789         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
41790         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
41791         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
41792         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41793         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
41794         __fe_nomask_env_priv and attribute_hidden.
41795         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
41796         (libc_feupdateenv_test_ppc): Likewise.
41797         (libc_feresetround_ppc): Likewise.
41798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41799         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
41800         compat_symbol macro.
41801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41802         (__fe_nomask_env): Likewise.
41803         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
41805 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41807         * string/Makefile: Remove ifunc tests.
41808         * string/test-string.h: Define TEST_IFUNC.
41809         * string/test-bcopy-ifunc.c: Remove.
41810         * string/test-bzero-ifunc.c: Likewise.
41811         * string/test-memccpy-ifunc.c: Likewise.
41812         * string/test-memchr-ifunc.c: Likewise.
41813         * string/test-memcmp-ifunc.c: Likewise.
41814         * string/test-memcpy-ifunc.c: Likewise.
41815         * string/test-memmem-ifunc.c: Likewise.
41816         * string/test-memmove-ifunc.c: Likewise.
41817         * string/test-mempcpy-ifunc.c: Likewise.
41818         * string/test-memrchr-ifunc.c: Likewise.
41819         * string/test-memset-ifunc.c: Likewise.
41820         * string/test-rawmemchr-ifunc.c: Likewise.
41821         * string/test-stpcpy-ifunc.c: Likewise.
41822         * string/test-stpncpy-ifunc.c: Likewise.
41823         * string/test-strcasecmp-ifunc.c: Likewise.
41824         * string/test-strcasestr-ifunc.c: Likewise.
41825         * string/test-strcat-ifunc.c: Likewise.
41826         * string/test-strchr-ifunc.c: Likewise.
41827         * string/test-strchrnul-ifunc.c: Likewise.
41828         * string/test-strcmp-ifunc.c: Likewise.
41829         * string/test-strcpy-ifunc.c: Likewise.
41830         * string/test-strcspn-ifunc.c: Likewise.
41831         * string/test-strlen-ifunc.c: Likewise.
41832         * string/test-strncasecmp-ifunc.c: Likewise.
41833         * string/test-strncat-ifunc.c: Likewise.
41834         * string/test-strncmp-ifunc.c: Likewise.
41835         * string/test-strncpy-ifunc.c: Likewise.
41836         * string/test-strnlen-ifunc.c: Likewise.
41837         * string/test-strpbrk-ifunc.c: Likewise.
41838         * string/test-strrchr-ifunc.c: Likewise.
41839         * string/test-strspn-ifunc.c: Likewise.
41840         * string/test-strstr-ifunc.c: Likewise.
41842 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41844         * benchtests/Makefile: Remove ifunc tests.
41845         * benchtests/bench-string.h: Define TEST_IFUNC.
41846         * benchtests/bench-bcopy-ifunc.c: Remove.
41847         * benchtests/bench-bzero-ifunc.c: Likewise.
41848         * benchtests/bench-memccpy-ifunc.c: Likewise.
41849         * benchtests/bench-memchr-ifunc.c: Likewise.
41850         * benchtests/bench-memcmp-ifunc.c: Likewise.
41851         * benchtests/bench-memcpy-ifunc.c: Likewise.
41852         * benchtests/bench-memmem-ifunc.c: Likewise.
41853         * benchtests/bench-memmove-ifunc.c: Likewise.
41854         * benchtests/bench-mempcpy-ifunc.c: Likewise.
41855         * benchtests/bench-memrchr-ifunc.c: Likewise.
41856         * benchtests/bench-memset-ifunc.c: Likewise.
41857         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
41858         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
41859         * benchtests/bench-stpcpy-ifunc.c: Likewise.
41860         * benchtests/bench-stpncpy-ifunc.c: Likewise.
41861         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
41862         * benchtests/bench-strcasestr-ifunc.c: Likewise.
41863         * benchtests/bench-strcat-ifunc.c: Likewise.
41864         * benchtests/bench-strchr-ifunc.c: Likewise.
41865         * benchtests/bench-strchrnul-ifunc.c: Likewise.
41866         * benchtests/bench-strcmp-ifunc.c: Likewise.
41867         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
41868         * benchtests/bench-strcpy-ifunc.c: Likewise.
41869         * benchtests/bench-strcspn-ifunc.c: Likewise.
41870         * benchtests/bench-strlen-ifunc.c: Likewise.
41871         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
41872         * benchtests/bench-strncat-ifunc.c: Likewise.
41873         * benchtests/bench-strncmp-ifunc.c: Likewise.
41874         * benchtests/bench-strncpy-ifunc.c: Likewise.
41875         * benchtests/bench-strnlen-ifunc.c: Likewise.
41876         * benchtests/bench-strpbrk-ifunc.c: Likewise.
41877         * benchtests/bench-strrchr-ifunc.c: Likewise.
41878         * benchtests/bench-strsep-ifunc.c: Likewise.
41879         * benchtests/bench-strspn-ifunc.c: Likewise.
41880         * benchtests/bench-strstr-ifunc.c: Likewise.
41882 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41884         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
41886 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41888         * resolv/netdb.h: Use __glibc_reserved instead __unused.
41889         * rt/aio.h: Likewise.
41890         * sysdeps/gnu/bits/utmp.h: Likewise.
41891         * sysdeps/gnu/bits/utmpx.h: Likewise.
41892         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41893         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
41894         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
41895         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
41896         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
41897         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
41898         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
41899         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
41900         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
41901         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
41902         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
41903         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
41904         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
41905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
41906         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
41907         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
41908         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
41909         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
41910         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
41911         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
41912         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
41913         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
41914         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
41915         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41916         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
41917         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41918         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
41919         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
41920         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
41921         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
41922         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
41923         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
41924         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
41925         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
41926         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
41927         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
41928         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
41929         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
41930         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
41931         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
41932         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
41933         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
41935 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
41937         [BZ #16245]
41938         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
41939         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
41941 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
41943         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
41944         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41945         Likewise.
41947 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41949         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
41950         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
41951         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
41952         (__fesetround): Remove define.
41953         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
41954         rounding and exceptions handling.
41955         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
41956         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
41957         (__fe_nomask_env): Likewise.
41958         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
41959         __fegetround instead of fegetround.
41960         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41961         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
41963 2013-11-21  Roland McGrath  <roland@hack.frob.com>
41965         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
41966         it's there.
41968         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
41970 2013-11-21  Meador Inge  <meadori@codesourcery.com>
41972         [BZ #11157]
41973         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
41974         (encrypt_r): Likewise.
41975         * malloc/obstack.h (obstack_free): Likewise.
41976         * posix/unistd.h (encrypt): Likewise.
41978 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
41980         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
41981         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
41982         DL_CALL_DT_FINI() that call the functions directly.
41983         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
41984         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
41985         * elf/dl-fini.c: Likewise.
41987 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
41989         * malloc/hooks.c (memalign_check): Add alignment rounding.
41990         * malloc/malloc.c (_mid_memalign): New function.
41991         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
41992         Implement by calling _mid_memalign.
41993         * manual/probes.texi (Memory Allocation Probes): Remove
41994         memory_valloc_retry and memory_pvalloc_retry.
41996 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41998         * locale/programs/locarchive.c (open_archive): Add const
41999         qualifier to ARCHIVEFNAME and copy default fname to
42000         DEFAULT_FNAME.
42002         [BZ #15601]
42003         * libio/tst-widetext.input: Rename Oriya to Odia.
42004         * locale/iso-639.def: Likewise.
42006         * manual/probes.texi (Mathematical Function Probes): Add
42007         documentation for sin, cos, asin and acos probes.
42008         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
42009         (__sin32): Add slowasin probe.
42010         (__cos32): Add slowacos probe.
42011         (__mpsin): Add slowsin probe.
42012         (__mpcos): Add slowcos probe.
42014 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
42016         [BZ #15483]
42017         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
42018         thread-local __sim_exceptions_thread and global
42019         __sim_exceptions_global.
42020         (__sim_disabled_exceptions): Change to thread-local
42021         __sim_disabled_exceptions_thread and global
42022         __sim_disabled_exceptions_global.
42023         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42024         and global __sim_round_mode_global.
42025         (__simulate_exceptions): Use thread-local floating-point state and
42026         set global state from it as needed.
42027         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
42028         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
42029         __sim_round_mode_thread.
42030         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
42031         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
42032         and global __sim_exceptions_global.
42033         (__sim_disabled_exceptions): Change to thread-local
42034         __sim_disabled_exceptions_thread and global
42035         __sim_disabled_exceptions_global.
42036         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42037         and global __sim_round_mode_global.
42038         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
42039         (SIM_SET_GLOBAL): Likewise.
42040         * sysdeps/powerpc/soft-fp/sfp-machine.h
42041         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
42042         __sim_round_mode_thread.
42043         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
42044         __sim_disabled_exceptions_thread.
42045         (__sim_exceptions): Change to __sim_exceptions_thread.
42046         (__sim_disabled_exceptions): Change to
42047         __sim_disabled_exceptions_thread.
42048         (__sim_round_mode): Change to __sim_round_mode_thread.
42049         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
42050         thread-local floating-point state and set global state from it as
42051         needed.
42052         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
42053         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
42054         (__sim_disabled_exceptions): Remove extern declaration.
42055         (feenableexcept): Use thread-local floating-point state and set
42056         global state from it as needed.
42057         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
42058         extern declaration.
42059         (__sim_disabled_exceptions): Likewise.
42060         (__sim_round_mode): Likewise.
42061         (__fegetenv): Use thread-local floating-point state.
42062         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
42063         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42064         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
42065         floating-point state and set global state from it as needed.
42066         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
42067         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
42068         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
42069         Likewise.
42070         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
42071         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
42072         Likewise.
42073         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
42074         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
42075         Use __sim_round_mode_thread.
42076         * math/test-fenv-tls.c: New file.
42077         * math/Makefile (tests): Add test-fenv-tls.
42078         ($(objpfx)test-fenv-tls): Depend on
42079         $(common-objpfx)nptl/libpthread.so.
42081 2013-11-19  Andreas Schwab  <schwab@suse.de>
42083         * locale/programs/locale.c (show_info): Decode wordarray elements.
42084         * locale/categories.def (LC_MONETARY): Add element for
42085         _NL_MONETARY_CRNCYSTR.
42086         * locale/C-monetary.c (conversion_rate): New variable.
42087         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
42088         element.
42090 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
42092         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
42093         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
42095 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
42097         * elf/Makefile (tst-auxv): New test.
42098         * elf/tst-auxv.c: New
42099         * elf/rtld.c (dl_main): Adjust AT_EXECFN
42101 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
42103         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
42104         (hidden_proto): Caller changed.
42105         (hidden_tls_proto): New macro.
42106         (libc_hidden_tls_proto): Likewise.
42107         (rtld_hidden_tls_proto): Likewise.
42108         (libm_hidden_tls_proto): Likewise.
42109         (libresolv_hidden_tls_proto): Likewise.
42110         (librt_hidden_tls_proto): Likewise.
42111         (libdl_hidden_tls_proto): Likewise.
42112         (libnss_files_hidden_tls_proto): Likewise.
42113         (libnsl_hidden_tls_proto): Likewise.
42114         (libnss_nisplus_hidden_tls_proto): Likewise.
42115         (libutil_hidden_tls_proto): Likewise.
42117 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
42119         [BZ #10253]
42120         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
42121         (decompose_rpath): Defer expansion to fillin_rpath.
42122         (_dl_init_paths): Pass linkmap to fillin_rpath.
42124 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42126         * benchtests/Makefile: Add strsep.
42127         * benchtests/bench-strsep.c: New file: strsep benchtest.
42128         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
42130 2013-11-18  Andreas Schwab  <schwab@suse.de>
42132         * locale/programs/locale.c (show_info) [case byte]: Check for
42133         '\377' instead of '\177'.
42134         * locale/C-monetary.c (not_available): Always use "\377".
42135         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
42136         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
42137         detect unavailable sign_posn locale elements.
42138         * locale/localeconv.c (__localeconv): For grouping and
42139         mon_grouping handle "\177" and "\377" like no grouping.
42140         (INT_ELEM): New macro.  Use it to set all numeric members.
42141         * locale/programs/ld-monetary.c (monetary_read)
42142         <tok_mon_grouping>: Normalize single -1 to the empty string.
42143         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
42144         Likewise.
42146 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
42148         [BZ #16055]
42149         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
42150         when we match (nil).
42151         * stdio-common/tst-sscanf.c (struct test): Add testcase.
42153 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
42155         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
42156         (NO_TEST_INLINE): Update value.
42157         (ERRNO_UNCHANGED): Likewise.
42158         (ERRNO_EDOM): Likewise.
42159         (ERRNO_ERANGE): Likewise.
42160         (IGNORE_RESULT): Likewise.
42161         (check_float_internal): Check signs of NaN results if
42162         TEST_NAN_SIGN used.
42163         (check_complex): Pass TEST_NAN_SIGN flag through to second
42164         check_float_internal call.
42165         (copysign_test_data): Add tests with quiet NaNs as second
42166         argument.  Use TEST_NAN_SIGN.
42167         (fabs_test_data): Add test of negative quiet NaN argument.  Use
42168         TEST_NAN_SIGN.
42169         (signbit_test_data): Add tests of quiet NaN argument.
42170         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
42172         * math/gen-libm-test.pl (show_exceptions): Take extra argument
42173         $ignore_result.
42174         (parse_args): Handle function results specified as IGNORE.
42175         * math/libm-test.inc (IGNORE_RESULT): New macro.
42176         (check_float_internal): Do not check numerical result if flag
42177         IGNORE_RESULT set.
42178         (check_complex): Pass through IGNORE_RESULT to second
42179         check_float_internal call.
42180         (check_int): Do not check numerical result if flag IGNORE_RESULT
42181         set.
42182         (check_long): Likewise.
42183         (check_bool): Likewise.
42184         (check_longlong): Likewise.
42185         (lrint_test_data): Add tests of infinite and NaN arguments.
42186         (lrint_tonearest_test_data): Likewise.
42187         (lrint_towardzero_test_data): Likewise.
42188         (lrint_downward_test_data): Likewise.
42189         (lrint_upward_test_data): Likewise.
42190         (llrint_test_data): Likewise.
42191         (llrint_tonearest_test_data): Likewise.
42192         (llrint_towardzero_test_data): Likewise.
42193         (llrint_downward_test_data): Likewise.
42194         (llrint_upward_test_data): Likewise.
42195         (lround_test_data): Likewise.
42196         (llround_test_data): Likewise.
42198         * math/libm-test.inc (NO_TEST_INLINE): New macro.
42199         (ERRNO_UNCHANGED): Update value.
42200         (ERRNO_EDOM): Likewise.
42201         (ERRNO_ERANGE): Likewise.
42202         (NO_TEST_INLINE_FLOAT): New macro.
42203         (NO_TEST_INLINE_DOUBLE): Likewise.
42204         (enable_test): New function.
42205         (RUN_TEST_f_f): Check enable_test before running test.
42206         (RUN_TEST_2_f): Likewise.
42207         (RUN_TEST_fff_f): Likewise.
42208         (RUN_TEST_c_f): Likewise.
42209         (RUN_TEST_f_f1): Likewise.
42210         (RUN_TEST_fF_f1): Likewise.
42211         (RUN_TEST_fI_f1): Likewise.
42212         (RUN_TEST_ffI_f1): Likewise.
42213         (RUN_TEST_c_c): Likewise.
42214         (RUN_TEST_cc_c): Likewise.
42215         (RUN_TEST_f_i): Likewise.
42216         (RUN_TEST_f_i_tg): Likewise.
42217         (RUN_TEST_ff_i_tg): Likewise.
42218         (RUN_TEST_f_b): Likewise.
42219         (RUN_TEST_f_b_tg): Likewise.
42220         (RUN_TEST_f_l): Likewise.
42221         (RUN_TEST_f_L): Likewise.
42222         (RUN_TEST_fFF_11): Likewise.
42223         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
42224         conditionals.
42225         (cosh_test_data): Likewise.
42226         (exp_test_data): Likewise.
42227         (expm1_test_data): Likewise.
42228         (hypot_test_data): Likewise.
42229         (pow_test_data): Likewise.
42230         (sinh_test_data): Likewise.
42231         (tanh_test_data): Likewise.
42232         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
42233         flags argument.
42235         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
42236         tests with quiet NaN input and output.
42237         (acosh_test_data): Likewise.
42238         (asin_test_data): Likewise.
42239         (asinh_test_data): Likewise.
42240         (atan_test_data): Likewise.
42241         (atanh_test_data): Likewise.
42242         (atan2_test_data): Likewise.
42243         (cbrt_test_data): Likewise.
42244         (cos_test_data): Likewise.
42245         (cosh_test_data): Likewise.
42246         (erf_test_data): Likewise.
42247         (erfc_test_data): Likewise.
42248         (exp_test_data): Likewise.
42249         (exp10_test_data): Likewise.
42250         (exp2_test_data): Likewise.
42251         (expm1_test_data): Likewise.
42252         (hypot_test_data): Likewise.
42253         (j0_test_data): Likewise.
42254         (j1_test_data): Likewise.
42255         (jn_test_data): Likewise.
42256         (lgamma_test_data): Likewise.
42257         (log_test_data): Likewise.
42258         (log10_test_data): Likewise.
42259         (log1p_test_data): Likewise.
42260         (log2_test_data): Likewise.
42261         (pow_test_data): Likewise.
42262         (scalb_test_data): Likewise.
42263         (sin_test_data): Likewise.
42264         (sincos_test_data): Likewise.
42265         (sinh_test_data): Likewise.
42266         (tan_test_data): Likewise.
42267         (tanh_test_data): Likewise.
42268         (tgamma_test_data): Likewise.
42269         (y0_test_data): Likewise.
42270         (y1_test_data): Likewise.
42271         (yn_test_data): Likewise.
42273         [BZ #16167]
42274         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
42275         argument being NaN and avoid computations with second argument in
42276         that case.
42277         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42278         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
42279         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42281 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
42283         * locale/iso-639.def: Add Chitwani Tharu (the).
42285 2013-11-14  Andreas Schwab  <schwab@suse.de>
42287         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
42288         word instead of empty string.
42290 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42293         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
42294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42295         (__fe_nomask_env): Likewise.
42297 2013-11-13  Steve Ellcey  <sellcey@mips.com>
42299         * benchtests/bench-timing.h: Include time.h.
42301 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
42303         [BZ #15997]
42304         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
42305         to 3.4.0 for x32.
42306         * sysdeps/unix/sysv/linux/configure: Regenerated.
42308 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
42310         [BZ #16151]
42311         * stdlib/strtod_l.c (round_and_return): Do not consider
42312         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
42313         exponent one less than half the least subnormal exponent.
42314         * stdlib/test-strtod-round-data: Add more tests.
42315         * stdlib/tst-strtod-round.c (tests): Regenerated.
42317 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42319         [BZ #14143]
42320         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
42321         (__fe_mask_env): Likewise.
42322         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
42323         libm_hidden_proto and add function prototype.
42324         (__fe_mask_env): Add function prototype.
42325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42326         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
42327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42328         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
42329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42330         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
42332 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42334         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
42335         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
42337 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42339         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
42340         of htab_find_slot().
42342 2013-11-11  David S. Miller  <davem@davemloft.net>
42344         [BZ #16150]
42345         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
42346         symbol in the non-vis3 case in static builds.
42347         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
42348         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
42349         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
42350         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
42352 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
42354         [BZ #387]
42355         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
42356         it is empty.
42358 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42360         * benchtests/Makefile: Add bench-strtod.
42361         * benchtests/bench-strtod.c: New file: strtod benchtest
42363 2013-11-11  Andreas Schwab  <schwab@suse.de>
42365         [BZ #16153]
42366         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
42367         terminating NUL in key length.
42369 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42371         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42372         Add artificial ODP entry for vDSO symbol for PPC64.
42373         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
42374         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
42376 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
42378         [BZ #15374]
42379         * nss/getent.c (services_keys): Recognize services starting with digit.
42381 2013-11-06  David S. Miller  <davem@davemloft.net>
42383         [BZ #15985]
42384         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
42385         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
42387 2013-11-06  Will Newton  <will.newton@linaro.org>
42389         * manual/memory.texi (Malloc Examples): Remove register
42390         keyword from examples.
42392 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
42394         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
42396 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
42398         [BZ #6981]
42399         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
42400         depending on [__GCC_IEC_559 > 0].
42401         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
42402         depending on [__GCC_IEC_559_COMPLEX > 0].
42404 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
42406         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
42407         to iso-639.def.
42409 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
42411         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
42413 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
42415         [BZ #16112]
42416         * malloc/malloc (malloc_info): Do not handle first bin as
42417         special case.
42419 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
42421         * locale/iso-639.def: Add Central Nahuatl (nhn).
42423 2013-11-01  Bruno Haible  <bruno@clisp.org>
42425         [BZ #7003]
42426         * manual/math.texi (BSD Random): Specify range upper bound as
42427         in POSIX.
42429 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
42431         * locale/iso-639.def: Add Meadow Mari (mhr).
42433 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
42435         [BZ #14752], [BZ #15763]
42436         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
42437         Validate name.
42438         * rt/tst_shm.c: Add test for escaping directory.
42440 2013-10-31  Andreas Schwab  <schwab@suse.de>
42442         [BZ #15917]
42443         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
42444         followed by 'x' as part of digit sequence.
42445         * stdio-common/tst-sscanf.c (double_tests2): New tests.
42447 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
42449         [BZ #16037]
42450         * configure.ac: allow GNU Make 4.0 and greater.
42451         * configure: Regenerated.
42453 2013-10-30  Will Newton  <will.newton@linaro.org>
42455         [BZ #16038]
42456         * malloc/hooks.c (memalign_check): Limit alignment to the
42457         maximum representable power of two.
42458         * malloc/malloc.c (__libc_memalign): Likewise.
42459         * malloc/tst-memalign.c (do_test): Add test for very
42460         large alignment values.
42461         * malloc/tst-posix_memalign.c (do_test): Likewise.
42463 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
42465         [BZ #11087]
42466         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
42467         (munmap_chunk): Likewise.
42468         (mremap_chunk): Likewise.
42470 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
42472         [BZ #15799]
42473         * stdlib/div.c (div): Remove obsolete code.
42474         * stdlib/ldiv.c (ldiv): Likewise.
42475         * stdlib/lldiv.c (lldiv): Likewise.
42477 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42479         [BZ #16071]
42480         * nss/nss_files/files-XXX.c (get_contents_ret): New
42481         enumerator.
42482         (get_contents): New function.
42483         (internal_getent): Use it.  Expand size of LINEBUFLEN.
42485 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
42487         * configure.in: Moved to ...
42488         * configure.ac: ... here. Change reference to configure.in
42489         to configure.ac.
42490         * sysdeps/arm/preconfigure.ac: ... here.
42491         configure.in to configure.ac.
42492         * sysdeps/gnu/configure.in: Moved to ...
42493         * sysdeps/gnu/configure.ac: ... here.
42494         * sysdeps/i386/configure.in: Moved to ...
42495         * sysdeps/i386/configure.ac: ... here.
42496         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
42497         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
42498         * sysdeps/mach/configure.in: Moved to ...
42499         * sysdeps/mach/configure.ac: ... here.
42500         * sysdeps/mach/hurd/configure.in: Moved to ...
42501         * sysdeps/mach/hurd/configure.ac: ... here.
42502         * sysdeps/powerpc/configure.in: Moved to ...
42503         * sysdeps/powerpc/configure.ac: ... here.
42504         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
42505         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
42506         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
42507         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
42508         * sysdeps/s390/s390-32/configure.in: Moved to ...
42509         * sysdeps/s390/s390-32/configure.ac: ... here.
42510         * sysdeps/s390/s390-64/configure.in: Moved to ...
42511         * sysdeps/s390/s390-64/configure.ac: ... here.
42512         * sysdeps/sh/configure.in: Moved to ...
42513         * sysdeps/sh/configure.ac: ... here.
42514         * sysdeps/sparc/configure.in: Moved to ...
42515         * sysdeps/sparc/configure.ac: ... here.
42516         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
42517         * sysdeps/unix/sysv/linux/configure.ac: ... here.
42518         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
42519         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
42520         * sysdeps/x86_64/configure.in: Moved to ...
42521         * sysdeps/x86_64/configure.ac: ... here.
42522         * sysdeps/x86_64/preconfigure.in: Moved to ...
42523         * sysdeps/x86_64/preconfigure.ac: ... here.
42524         * aclocal.m4: Change reference to configure.in to configure.ac.
42525         * config.h.in: Likewise.
42526         * manual/install.texi: Likewise.
42527         * manual/maint.texi: Likewise.
42528         * Makefile: Likewise.
42529         * malloc/Makefile: Likewise.
42530         * nscd/Makefile: Likewise.
42531         * Makeconfig: Change reference to configure.in and
42532         preconfigure.in to configure.ac and preconfigure.ac
42533         respectively.
42534         * INSTALL: Regenerated.
42535         * configure: Likewise.
42536         * sysdeps/gnu/configure: Likewise.
42537         * sysdeps/i386/configure: Likewise.
42538         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
42539         * sysdeps/mach/configure: Likewise.
42540         * sysdeps/mach/hurd/configure: Likewise.
42541         * sysdeps/powerpc/configure: Likewise.
42542         * sysdeps/powerpc/powerpc32/configure: Likewise.
42543         * sysdeps/powerpc/powerpc64/configure: Likewise.
42544         * sysdeps/s390/s390-32/configure: Likewise.
42545         * sysdeps/s390/s390-64/configure: Likewise.
42546         * sysdeps/sh/configure: Likewise.
42547         * sysdeps/sparc/configure: Likewise.
42548         * sysdeps/unix/sysv/linux/configure: Likewise.
42549         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
42550         * sysdeps/x86_64/configure: Likewise.
42551         * sysdeps/x86_64/preconfigure: Likewise.
42553 2013-10-29  Andreas Schwab  <schwab@suse.de>
42555         * stdio-common/Makefile (tst-swscanf-ENV): Define.
42557 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42559         * benchtests/pow-inputs: Add new inputs.
42561         * benchtests/exp-inputs: Add new inputs.
42563         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
42564         conditional check for return value.
42565         (__cos32): Likewise.
42567 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42569         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
42570         to provide a boost for large inputs with word alignment.
42571         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
42572         implementation based on optimized PPC64 strcpy.
42573         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
42574         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
42575         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
42576         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
42578 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42580         [BZ #2801]
42581         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
42583 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42585         [BZ #14876]
42586         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
42587         * time/tst-strptime.c (day_tests): Add testcase.
42589 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42591         [BZ #14029]
42592         * manual/pattern.texi: Acknowledge that fnmatch can fail.
42594 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
42596         [BZ #16074]
42597         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
42598         MAP_FAILED on error.
42600 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42602         [BZ #16072]
42603         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
42604         heap for large requests.
42606 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
42608         [BZ #9954]
42609         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
42610         result if the result has no associated interface.
42611         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
42612         interface for all 127.X.Y.Z addresses.
42614 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
42616         * locale/iso-639.def: Add Ligurian (lij)
42618 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
42620         [BZ #15825]
42621         * sunrpc/rpc_main.c: Document rpcgen -5.
42623 2013-10-19  Michael Stahl  <mstahl@redhat.com>
42625         * elf/rtld.c (do_preload): Print the reason why preloading failed.
42627 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
42629         [BZ #10278]
42630         * posix/glob.c: Match only directories when trailing slash is present.
42631         * posix/tst-gnuglob.c (my_opendir): Do not open files.
42632         (main): Add testcase.
42634 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
42636         [BZ #15670]
42637         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
42639 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
42641         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
42642         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
42643         AUTH_DES and cindex for FIPS 140-2.
42644         (DES Encryption): Add cindex FIPS 46-3.
42646         * locale/locarchive.h (struct locarhandle): Add fname.
42647         * locale/programs/localedef.c (main): Pass ARGV[remaining]
42648         if an optional argument was specified to --list-archive,
42649         otherwise NULL.
42650         * locale/programs/locarchive.c (show_archive_content): Take new
42651         argument fname and pass it via ah.fname to open_archive.
42652         * locale/programs/localedef.h: Update decl.
42653         (open_archive): If AH->fname is non-null, open that file
42654         rather than the default file name, and don't ignore ENOENT.
42655         (create_archive): Set AH.fname to NULL.
42656         (delete_locales_from_archive): Likewise.
42657         (add_locales_to_archive): Likewise.
42658         * locale/programs/locfile.c (write_all_categories): Likewise.
42660 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
42661             Aldy Hernandez  <aldyh@redhat.com>
42663         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
42664         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
42665         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
42666         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
42667         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
42668         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
42669         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
42670         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
42671         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
42672         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
42673         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
42674         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
42675         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
42676         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
42677         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
42678         Likewise.
42679         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
42680         Likewise.
42681         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
42682         Likewise.
42683         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
42684         Likewise.
42685         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
42686         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
42687         Likewise.
42688         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
42689         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
42690         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
42691         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
42692         Likewise.
42693         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
42694         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
42695         * sysdeps/powerpc/preconfigure: Likewise.
42696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
42697         Likewise.
42698         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
42699         Replace contents of file by #include of <fenv_libc.h>.
42700         * sysdeps/powerpc/soft-fp/sfp-machine.h
42701         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
42702         and <sys/prctl.h>.
42703         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
42704         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
42705         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
42706         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
42707         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
42708         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
42709         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
42710         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
42711         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
42712         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
42713         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
42714         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
42715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42716         Allow copysignl PLT reference to be missing.
42718 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
42719             Joseph Myers  <joseph@codesourcery.com
42721         [BZ #15948]
42722         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
42723         single character.
42724         (add_to_tablewc): Assert sequence of wide characters is nonempty.
42726 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42728         * elf/tst-tls-dlinfo.c: Don't include tls.h.
42729         * elf/tst-tls1.c: Likewise.
42730         * elf/tst-tls10.h: Likewise.
42731         * elf/tst-tls14.c: Likewise.
42732         * elf/tst-tls2.c: Likewise.
42733         * elf/tst-tls3.c: Likewise.
42734         * elf/tst-tls4.c: Likewise.
42735         * elf/tst-tls5.c: Likewise.
42736         * elf/tst-tls6.c: Likewise.
42737         * elf/tst-tls7.c: Likewise.
42738         * elf/tst-tls8.c: Likewise.
42739         * elf/tst-tls9.c: Likewise.
42740         * elf/tst-tlsmod1.c: Likewise.
42741         * elf/tst-tlsmod13.c: Likewise.
42742         * elf/tst-tlsmod13a.c: Likewise.
42743         * elf/tst-tlsmod14a.c: Likewise.
42744         * elf/tst-tlsmod16a.c: Likewise.
42745         * elf/tst-tlsmod16b.c: Likewise.
42746         * elf/tst-tlsmod2.c: Likewise.
42747         * elf/tst-tlsmod3.c: Likewise.
42748         * elf/tst-tlsmod4.c: Likewise.
42749         * elf/tst-tlsmod5.c: Likewise.
42750         * elf/tst-tlsmod6.c: Likewise.
42752 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
42754         [BZ #12486]
42755         * malloc/malloc.c: remove checks for statistics.
42757 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
42759         [BZ #15277]
42760         * inet/inet_net.c (inet_network): Detect additional invalid strings.
42761         * inet/tst-network.c: Add testcase.
42763 2013-10-17  Andreas Schwab  <schwab@suse.de>
42765         [BZ #15218]
42766         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
42767         to determine canonical name.
42769 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
42771         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
42772         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
42773         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42774         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42775         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42776         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42777         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42778         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42779         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42780         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42781         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42782         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42783         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42784         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42785         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42786         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42787         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42788         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42789         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42790         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42791         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42792         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42793         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42794         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
42795         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
42796         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42797         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42798         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
42799         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42800         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
42801         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42802         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42803         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42804         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42805         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42806         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42807         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42808         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42809         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42810         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42811         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42812         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42813         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42814         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42815         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42816         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42817         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42818         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42819         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42820         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42821         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42822         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42823         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42824         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42825         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42826         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42827         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42828         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42830 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
42832         [BZ #16041]
42833         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
42834         make result into a quiet NaN.
42836 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
42838         * soft-fp/adddf3.c: Fix horizontal whitespace.
42839         * soft-fp/addsf3.c: Likewise.
42840         * soft-fp/addtf3.c: Likewise.
42841         * soft-fp/divdf3.c: Likewise.
42842         * soft-fp/divsf3.c: Likewise.
42843         * soft-fp/divtf3.c: Likewise.
42844         * soft-fp/double.h: Likewise.
42845         * soft-fp/eqdf2.c: Likewise.
42846         * soft-fp/eqsf2.c: Likewise.
42847         * soft-fp/eqtf2.c: Likewise.
42848         * soft-fp/extenddftf2.c: Likewise.
42849         * soft-fp/extended.h: Likewise.
42850         * soft-fp/extendsfdf2.c: Likewise.
42851         * soft-fp/extendsftf2.c: Likewise.
42852         * soft-fp/extendxftf2.c: Likewise.
42853         * soft-fp/fixdfdi.c: Likewise.
42854         * soft-fp/fixdfsi.c: Likewise.
42855         * soft-fp/fixdfti.c: Likewise.
42856         * soft-fp/fixsfdi.c: Likewise.
42857         * soft-fp/fixsfsi.c: Likewise.
42858         * soft-fp/fixsfti.c: Likewise.
42859         * soft-fp/fixtfdi.c: Likewise.
42860         * soft-fp/fixtfsi.c: Likewise.
42861         * soft-fp/fixtfti.c: Likewise.
42862         * soft-fp/fixunsdfdi.c: Likewise.
42863         * soft-fp/fixunsdfsi.c: Likewise.
42864         * soft-fp/fixunsdfti.c: Likewise.
42865         * soft-fp/fixunssfdi.c: Likewise.
42866         * soft-fp/fixunssfsi.c: Likewise.
42867         * soft-fp/fixunssfti.c: Likewise.
42868         * soft-fp/fixunstfdi.c: Likewise.
42869         * soft-fp/fixunstfsi.c: Likewise.
42870         * soft-fp/fixunstfti.c: Likewise.
42871         * soft-fp/floatdidf.c: Likewise.
42872         * soft-fp/floatdisf.c: Likewise.
42873         * soft-fp/floatditf.c: Likewise.
42874         * soft-fp/floatsidf.c: Likewise.
42875         * soft-fp/floatsisf.c: Likewise.
42876         * soft-fp/floatsitf.c: Likewise.
42877         * soft-fp/floattidf.c: Likewise.
42878         * soft-fp/floattisf.c: Likewise.
42879         * soft-fp/floattitf.c: Likewise.
42880         * soft-fp/floatundidf.c: Likewise.
42881         * soft-fp/floatundisf.c: Likewise.
42882         * soft-fp/floatunditf.c: Likewise.
42883         * soft-fp/floatunsidf.c: Likewise.
42884         * soft-fp/floatunsisf.c: Likewise.
42885         * soft-fp/floatunsitf.c: Likewise.
42886         * soft-fp/floatuntidf.c: Likewise.
42887         * soft-fp/floatuntisf.c: Likewise.
42888         * soft-fp/floatuntitf.c: Likewise.
42889         * soft-fp/fmadf4.c: Likewise.
42890         * soft-fp/fmasf4.c: Likewise.
42891         * soft-fp/fmatf4.c: Likewise.
42892         * soft-fp/gedf2.c: Likewise.
42893         * soft-fp/gesf2.c: Likewise.
42894         * soft-fp/getf2.c: Likewise.
42895         * soft-fp/ledf2.c: Likewise.
42896         * soft-fp/lesf2.c: Likewise.
42897         * soft-fp/letf2.c: Likewise.
42898         * soft-fp/muldf3.c: Likewise.
42899         * soft-fp/mulsf3.c: Likewise.
42900         * soft-fp/multf3.c: Likewise.
42901         * soft-fp/negdf2.c: Likewise.
42902         * soft-fp/negsf2.c: Likewise.
42903         * soft-fp/negtf2.c: Likewise.
42904         * soft-fp/op-1.h: Likewise.
42905         * soft-fp/op-2.h: Likewise.
42906         * soft-fp/op-4.h: Likewise.
42907         * soft-fp/op-8.h: Likewise.
42908         * soft-fp/op-common.h: Likewise.
42909         * soft-fp/quad.h: Likewise.
42910         * soft-fp/single.h: Likewise.
42911         * soft-fp/soft-fp.h: Likewise.
42912         * soft-fp/sqrtdf2.c: Likewise.
42913         * soft-fp/sqrtsf2.c: Likewise.
42914         * soft-fp/sqrttf2.c: Likewise.
42915         * soft-fp/subdf3.c: Likewise.
42916         * soft-fp/subsf3.c: Likewise.
42917         * soft-fp/subtf3.c: Likewise.
42918         * soft-fp/truncdfsf2.c: Likewise.
42919         * soft-fp/trunctfdf2.c: Likewise.
42920         * soft-fp/trunctfsf2.c: Likewise.
42921         * soft-fp/trunctfxf2.c: Likewise.
42922         * soft-fp/unorddf2.c: Likewise.
42923         * soft-fp/unordsf2.c: Likewise.
42924         * soft-fp/unordtf2.c: Likewise.
42926 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
42928         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
42929         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
42931 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
42933         * elf/dl-libc.c: Clear initfini list after freeing.
42935 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
42937         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
42938         * soft-fp/addsf3.c: Likewise.
42939         * soft-fp/addtf3.c: Likewise.
42940         * soft-fp/divdf3.c: Likewise.
42941         * soft-fp/divsf3.c: Likewise.
42942         * soft-fp/divtf3.c: Likewise.
42943         * soft-fp/double.h: Likewise.
42944         * soft-fp/eqdf2.c: Likewise.
42945         * soft-fp/eqsf2.c: Likewise.
42946         * soft-fp/eqtf2.c: Likewise.
42947         * soft-fp/extenddftf2.c: Likewise.
42948         * soft-fp/extended.h: Likewise.
42949         * soft-fp/extendsfdf2.c: Likewise.
42950         * soft-fp/extendsftf2.c: Likewise.
42951         * soft-fp/extendxftf2.c: Likewise.
42952         * soft-fp/fixdfdi.c: Likewise.
42953         * soft-fp/fixdfsi.c: Likewise.
42954         * soft-fp/fixdfti.c: Likewise.
42955         * soft-fp/fixsfdi.c: Likewise.
42956         * soft-fp/fixsfsi.c: Likewise.
42957         * soft-fp/fixsfti.c: Likewise.
42958         * soft-fp/fixtfdi.c: Likewise.
42959         * soft-fp/fixtfsi.c: Likewise.
42960         * soft-fp/fixtfti.c: Likewise.
42961         * soft-fp/fixunsdfdi.c: Likewise.
42962         * soft-fp/fixunsdfsi.c: Likewise.
42963         * soft-fp/fixunsdfti.c: Likewise.
42964         * soft-fp/fixunssfdi.c: Likewise.
42965         * soft-fp/fixunssfsi.c: Likewise.
42966         * soft-fp/fixunssfti.c: Likewise.
42967         * soft-fp/fixunstfdi.c: Likewise.
42968         * soft-fp/fixunstfsi.c: Likewise.
42969         * soft-fp/fixunstfti.c: Likewise.
42970         * soft-fp/floatdidf.c: Likewise.
42971         * soft-fp/floatdisf.c: Likewise.
42972         * soft-fp/floatditf.c: Likewise.
42973         * soft-fp/floatsidf.c: Likewise.
42974         * soft-fp/floatsisf.c: Likewise.
42975         * soft-fp/floatsitf.c: Likewise.
42976         * soft-fp/floattidf.c: Likewise.
42977         * soft-fp/floattisf.c: Likewise.
42978         * soft-fp/floattitf.c: Likewise.
42979         * soft-fp/floatundidf.c: Likewise.
42980         * soft-fp/floatundisf.c: Likewise.
42981         * soft-fp/floatunsidf.c: Likewise.
42982         * soft-fp/floatunsisf.c: Likewise.
42983         * soft-fp/floatuntidf.c: Likewise.
42984         * soft-fp/floatuntisf.c: Likewise.
42985         * soft-fp/floatuntitf.c: Likewise.
42986         * soft-fp/fmadf4.c: Likewise.
42987         * soft-fp/fmasf4.c: Likewise.
42988         * soft-fp/fmatf4.c: Likewise.
42989         * soft-fp/gedf2.c: Likewise.
42990         * soft-fp/gesf2.c: Likewise.
42991         * soft-fp/getf2.c: Likewise.
42992         * soft-fp/ledf2.c: Likewise.
42993         * soft-fp/lesf2.c: Likewise.
42994         * soft-fp/letf2.c: Likewise.
42995         * soft-fp/muldf3.c: Likewise.
42996         * soft-fp/mulsf3.c: Likewise.
42997         * soft-fp/multf3.c: Likewise.
42998         * soft-fp/negdf2.c: Likewise.
42999         * soft-fp/negsf2.c: Likewise.
43000         * soft-fp/negtf2.c: Likewise.
43001         * soft-fp/op-1.h: Likewise.
43002         * soft-fp/op-2.h: Likewise.
43003         * soft-fp/op-4.h: Likewise.
43004         * soft-fp/op-8.h: Likewise.
43005         * soft-fp/op-common.h: Likewise.
43006         * soft-fp/quad.h: Likewise.
43007         * soft-fp/single.h: Likewise.
43008         * soft-fp/soft-fp.h: Likewise.
43009         * soft-fp/sqrtdf2.c: Likewise.
43010         * soft-fp/sqrtsf2.c: Likewise.
43011         * soft-fp/sqrttf2.c: Likewise.
43012         * soft-fp/subdf3.c: Likewise.
43013         * soft-fp/subsf3.c: Likewise.
43014         * soft-fp/subtf3.c: Likewise.
43015         * soft-fp/truncdfsf2.c: Likewise.
43016         * soft-fp/trunctfdf2.c: Likewise.
43017         * soft-fp/trunctfsf2.c: Likewise.
43018         * soft-fp/trunctfxf2.c: Likewise.
43019         * soft-fp/unorddf2.c: Likewise.
43020         * soft-fp/unordsf2.c: Likewise.
43021         * soft-fp/unordtf2.c: Likewise.
43023 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
43025         [BZ #15672]
43026         * misc/error.c (error_tail): Fix possible buffer overflow.
43028 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
43030         [BZ #13028]
43031         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
43032         address.
43034 2013-10-14  P. J. McDermott  <pj@pehjota.net>
43036         [BZ #832]
43037         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
43038         testing pipefail option.
43040 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
43042         * soft-fp/double.h: Indent preprocessor directives inside #if.
43043         * soft-fp/extended.h: Likewise.
43044         * soft-fp/op-2.h: Likewise.
43045         * soft-fp/op-4.h: Likewise.
43046         * soft-fp/op-common.h: Likewise.
43047         * soft-fp/quad.h: Likewise.
43048         * soft-fp/single.h: Likewise.
43049         * soft-fp/soft-fp.h: Likewise.
43051 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
43053         * iconv/iconv_prog.c: Fix typos.
43054         * stdio-common/psiginfo-data.h: Likewise.
43056 2013-10-12   Reuben Thomas <rrt@sc3d.org>
43058         [BZ #15764]
43059         * locale/setlocale.c: Fix typo.
43061 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
43063         [BZ #16036]
43064         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
43065         signaling NaN arguments.
43066         * soft-fp/unordsf2.c (__unordsf2): Likewise.
43067         * soft-fp/unordtf2.c (__unordtf2): Likewise.
43069         [BZ #14910]
43070         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
43071         unordered operands.
43072         * soft-fp/gesf2.c (__gesf2): Likewise.
43073         * soft-fp/getf2.c (__getf2): Likewise.
43074         * soft-fp/ledf2.c (__ledf2): Likewise.
43075         * soft-fp/lesf2.c (__lesf2): Likewise.
43076         * soft-fp/letf2.c (__letf2): Likewise.
43078         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
43079         * soft-fp/eqsf2.c (__eqsf2): Likewise.
43080         * soft-fp/eqtf2.c (__eqtf2): Likewise.
43081         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
43082         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
43083         * soft-fp/fixdfti.c (__fixdfti): Likewise.
43084         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
43085         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
43086         * soft-fp/fixsfti.c (__fixsfti): Likewise.
43087         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
43088         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
43089         * soft-fp/fixtfti.c (__fixtfti): Likewise.
43090         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
43091         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
43092         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
43093         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
43094         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
43095         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
43096         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
43097         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
43098         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
43099         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
43100         * soft-fp/floatdisf.c (__floatdisf): Likewise.
43101         * soft-fp/floatsisf.c (__floatsisf): Likewise.
43102         * soft-fp/floattidf.c (__floattidf): Likewise.
43103         * soft-fp/floattisf.c (__floattisf): Likewise.
43104         * soft-fp/floattitf.c (__floattitf): Likewise.
43105         * soft-fp/floatundidf.c (__floatundidf): Likewise.
43106         * soft-fp/floatundisf.c (__floatundisf): Likewise.
43107         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
43108         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
43109         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
43110         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
43111         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
43112         * soft-fp/gesf2.c (__gesf2): Likewise.
43113         * soft-fp/getf2.c (__getf2): Likewise.
43114         * soft-fp/ledf2.c (__ledf2): Likewise.
43115         * soft-fp/lesf2.c (__lesf2): Likewise.
43116         * soft-fp/letf2.c (__letf2): Likewise.
43118         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
43119         Undefine and redefine.
43120         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
43121         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
43122         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
43123         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
43124         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43125         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
43126         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43127         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
43128         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43129         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
43130         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43131         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
43132         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43133         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
43134         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43136         [BZ #16032]
43137         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
43138         without decrementing exponent if mantissa >= that for the
43139         denominator, not >.
43140         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
43141         denominator, not >.  Decrement exponent in < case instead of
43142         incrementing in >= case.
43143         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
43144         without decrementing exponent if mantissa >= that for the
43145         denominator, not >.
43147         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
43148         computing saturated result for unsigned overflow.
43150 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43151             Jeff Law  <law@redhat.com>
43153         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
43154         (atan2Mp): Add systemtap probe marker.
43155         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
43156         (__ieee754_log): Add systemtap probe marker.
43157         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
43158         (atanMp): Add systemtap probe marker.
43159         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
43160         (tanMp): Add systemtap probe marker.
43161         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
43162         (__slowexp): Add systemtap probe marker.
43163         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
43164         (__slowpow): Add systemtap probe marker.
43165         * manual/probes.texi: Document probes.
43167 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
43169         [BZ #15362]
43170         * libio/fileops.c (_IO_new_file_write): Return count of bytes
43171         written.
43172         (_IO_new_file_xsputn): Don't return EOF if nothing has been
43173         written.
43174         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
43175         written to buffer but not flushed.
43176         * libio/iofwrite_u.c:  Likewise.
43177         * libio/iopadn.c:  Return bytes returned even if EOF was
43178         encountered.
43179         * libio/iowpadn.c:  Likewise.
43180         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
43181         if _IO_padn does not write the whole buffer.
43182         [!COMPILE_WPRINTF] (PAD): Likewise.
43184 2013-10-10  David S. Miller  <davem@davemloft.net>
43186         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
43187         directory block.
43189 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43191         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
43192         instead of FSF address.
43193         * soft-fp/fixdfti.c: Likewise.
43194         * soft-fp/fixsfti.c: Likewise.
43195         * soft-fp/fixtfti.c: Likewise.
43196         * soft-fp/fixunsdfti.c: Likewise.
43197         * soft-fp/fixunssfti.c: Likewise.
43198         * soft-fp/fixunstfti.c: Likewise.
43199         * soft-fp/floattidf.c: Likewise.
43200         * soft-fp/floattisf.c: Likewise.
43201         * soft-fp/floattitf.c: Likewise.
43202         * soft-fp/floatuntidf.c: Likewise.
43203         * soft-fp/floatuntisf.c: Likewise.
43204         * soft-fp/floatuntitf.c: Likewise.
43205         * soft-fp/trunctfxf2.c: Likewise.
43207         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
43208         * soft-fp/fixdfti.c: Likewise.
43209         * soft-fp/fixsfti.c: Likewise.
43210         * soft-fp/fixtfti.c: Likewise.
43211         * soft-fp/fixunsdfti.c: Likewise.
43212         * soft-fp/fixunssfti.c: Likewise.
43213         * soft-fp/fixunstfti.c: Likewise.
43214         * soft-fp/floattidf.c: Likewise.
43215         * soft-fp/floattisf.c: Likewise.
43216         * soft-fp/floattitf.c: Likewise.
43217         * soft-fp/floatuntidf.c: Likewise.
43218         * soft-fp/floatuntisf.c: Likewise.
43219         * soft-fp/floatuntitf.c: Likewise.
43220         * soft-fp/trunctfxf2.c: Likewise.
43222 2013-10-10  David S. Miller  <davem@davemloft.net>
43224         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43226 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
43228         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43229         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
43230         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
43231         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
43232         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
43233         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
43234         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
43236         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
43237         for NaNs before doing comparisons on argument.
43238         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
43239         Likewise.
43241 2013-10-10  Will Newton  <will.newton@linaro.org>
43243         * malloc/hooks.c (memalign_check): Ensure the value of bytes
43244         passed to _int_memalign does not overflow.
43246 2013-10-10  Torvald Riegel  <triegel@redhat.com>
43248         * scripts/bench.pl: Add include-sources directive.
43249         * benchtests/README: Update documentation.
43251 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43253         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
43254         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
43255         instead of FP_INIT_ROUNDMODE.
43256         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
43257         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
43259         [BZ #16034]
43260         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
43261         copy class of input value.
43262         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
43263         not handle exceptions.
43264         * soft-fp/negsf2.c (__negsf2): Likewise.
43265         * soft-fp/negtf2.c (__negtf2): Likewise.
43266         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
43268 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
43270         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
43271         semicolon.  From Linux kernel.
43273 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
43275         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
43277 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
43279         [BZ #156]
43280         * manual/socket.texi: Added statement about buffer
43281         for gethostbyname2_r.
43283 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
43285         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
43286         Use .p2align directive instead, throughout.
43287         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43288         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43289         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
43290         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43291         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43292         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
43293         * sysdeps/x86_64/strchr.S: Likewise.
43294         * sysdeps/x86_64/strrchr.S: Likewise.
43296 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43298         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
43300         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
43302         * sysdeps/generic/math_private.h (__mpsin1): Remove
43303         declaration.
43304         (__mpcos1): Likewise.
43305         (__mpsin): New argument __range_reduce.
43306         (__mpcos): Likewise.
43307         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43308         (slow): Use __mpsin and __mpcos.
43309         (slow1): Likewise.
43310         (slow2): Likewise.
43311         (sloww): Likewise.
43312         (sloww1): Likewise.
43313         (sloww2): Likewise.
43314         (bsloww): Likewise.
43315         (bsloww1): Likewise.
43316         (bsloww2): Likewise.
43317         (cslow2): Likewise.
43318         (csloww): Likewise.
43319         (csloww1): Likewise.
43320         (csloww2): Likewise.
43321         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
43322         range_reduce.  Merge in __mpsin1.
43323         (__mpcos): Likewise.
43324         (__mpsin1): Remove.
43325         (__mpcos1): Likewise.
43327 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
43329         * locale/loadlocale.c (_nl_intern_locale_data): Use
43330         LOCFILE_ALIGNED_P.
43331         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
43332         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
43333         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
43334         obstack data is appropriately aligned.
43335         (obstack_int32_grow_fast): Likewise.
43336         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
43337         * locale/programs/locfile.c (add_locale_uint32): Likewise.
43338         (add_locale_uint32_array): Likewise.
43340 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43342         * benchtests/Makefile: Remove ARGLIST and RET variables.
43343         ($(objpfx)bench-%.c): Pass only function name to the script.
43344         * benchtests/README: Update documentation.
43345         * benchtests/acos-inputs: Add new directives.
43346         * benchtests/acosh-inputs: Likewise.
43347         * benchtests/asin-inputs: Likewise.
43348         * benchtests/asinh-inputs: Likewise.
43349         * benchtests/atan-inputs: Likewise.
43350         * benchtests/atanh-inputs: Likewise.
43351         * benchtests/cos-inputs: Likewise.
43352         * benchtests/cosh-inputs: Likewise.
43353         * benchtests/exp-inputs: Likewise.
43354         * benchtests/log-inputs: Likewise.
43355         * benchtests/pow-inputs: Likewise.
43356         * benchtests/rint-inputs: Likewise.
43357         * benchtests/sin-inputs: Likewise.
43358         * benchtests/sinh-inputs: Likewise.
43359         * benchtests/tan-inputs: Likewise.
43360         * benchtests/tanh-inputs: Likewise.
43361         * scripts/bench.pl: Add support for new directives.
43363 2013-10-07  Alan Modra  <amodra@gmail.com>
43365         * README: Fix careless merge.
43367 2013-10-05  Alan Modra  <amodra@gmail.com>
43369         * NEWS: Mention powerpc64le support and bugs fixed.
43370         * README: Both big-endian and little-endian powerpc64 supported.
43372 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43374         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
43375         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
43376         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
43377         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
43379 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
43381         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
43382         match prototype.
43384 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
43386         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
43387         Move -mhard-float appending from
43388         ports/sysdeps/powerpc/powerpc32/Makefile.
43389         [$(with-fp) = yes] (ASFLAGS): Likewise.
43390         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
43391         * sysdeps/powerpc/nofpu: Move directory from
43392         ports/sysdeps/powerpc/nofpu.
43393         * sysdeps/powerpc/soft-fp: Move directory from
43394         ports/sysdeps/powerpc/soft-fp.
43395         * sysdeps/powerpc/powerpc32/405: Move directory from
43396         ports/sysdeps/powerpc/powerpc32/405.
43397         * sysdeps/powerpc/powerpc32/440: Move directory from
43398         ports/sysdeps/powerpc/powerpc32/440.
43399         * sysdeps/powerpc/powerpc32/464: Move directory from
43400         ports/sysdeps/powerpc/powerpc32/464.
43401         * sysdeps/powerpc/powerpc32/476: Move directory from
43402         ports/sysdeps/powerpc/powerpc32/476.
43403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
43404         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
43405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
43406         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
43407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
43408         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
43409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
43410         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
43411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
43412         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
43413         * README: Update for powerpc-*-linux-gnu software floating point
43414         support in libc.
43416         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
43417         case to powerpc/powerpc32*.
43418         * sysdeps/unix/sysv/linux/configure: Regenerated.
43420         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
43421         (_FPU_MASK_OM): Define as 0x04.
43422         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
43423         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
43424         0x00c10080.
43425         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
43426         0x0000003c.
43427         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
43429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
43430         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43431         getcontext_e500.
43432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
43433         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43434         setcontext_e500.
43435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
43436         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
43437         and setcontext_e500.
43439 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
43441         * locale/iso-3166.def: Update iso-1366.def and related occurrences
43443 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43445         * manual/threads.texi (Default Thread Attributes): Fix typo.
43447 2013-10-04  Will Newton  <will.newton@linaro.org>
43449         * malloc/Makefile: Add tst-memalign.
43450         * malloc/tst-memalign.c: New file.
43452         * malloc/tst-posix_memalign.c: Add comments.
43453         (do_test): Add comments and call free on all potentially
43454         allocated pointers. Add space after cast.
43456         * malloc/tst-pvalloc.c: Add comments.
43457         (do_test): Add comments and call free on all potentially
43458         allocated pointers. Remove duplicate check for NULL pointer.
43459         Add space after cast.
43461         * malloc/tst-valloc.c: Add comments.
43462         (do_test): Add comments and call free on all potentially
43463         allocated pointers. Remove duplicate check for NULL pointer.
43464         Add space after cast.
43466 2013-10-04  Alan Modra  <amodra@gmail.com>
43468         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43469         Use stdint types in rather than __attribute__((mode())).
43470         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43472 2013-10-04  Alan Modra  <amodra@gmail.com>
43474         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43475         Correct handling of unaligned relocs for little-endian.
43476         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43478 2013-10-04  Alan Modra  <amodra@gmail.com>
43480         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
43481         * configure: Regenerate.
43482         * nptl/shlib-versions: Powerpc*le starts at 2.18.
43483         * shlib-versions: Likewise.
43485 2013-10-04  Alan Modra  <amodra@gmail.com>
43487         * string/tester.c (test_memrchr): Increment reported test cycle.
43489 2013-10-04  Alan Modra  <amodra@gmail.com>
43491         * string/test-memcpy.c (do_one_test): When reporting errors, print
43492         string address and don't overrun end of string.
43494 2013-10-04  Alan Modra  <amodra@gmail.com>
43496         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
43497         insrdi.  Make better use of reg selection to speed exit slightly.
43498         Schedule entry path a little better.  Remove useless "are we done"
43499         checks on entry to main loop.  Handle wrapping around zero address.
43500         Correct main loop count.  Handle single left-over word from main
43501         loop inline rather than by using loop_small.  Remove extra word
43502         case in loop_small caused by wrong loop count.  Add little-endian
43503         support.
43504         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
43505         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
43506         cache hint.
43507         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
43508         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
43509         support.  Avoid rlwimi.
43510         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
43512 2013-10-04  Alan Modra  <amodra@gmail.com>
43514         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
43515         insrdi.  Formatting.
43516         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
43517         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43518         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
43519         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
43520         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43521         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
43523 2013-10-04  Alan Modra  <amodra@gmail.com>
43525         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
43526         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43527         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
43528         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
43529         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
43530         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
43531         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43532         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43533         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
43534         use of regs.  Use power7 mtocrf.  Tidy function tails.
43536 2013-10-04  Alan Modra  <amodra@gmail.com>
43538         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
43539         Formatting.  Consistently use rXXX register defines or rN defines.
43540         Use early exit labels that avoid restoring unused non-volatile regs.
43541         Make cr field use more consistent with rWORDn compares.  Rename
43542         regs used as shift registers for unaligned loop, using rN defines
43543         for short lifetime/multiple use regs.
43544         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
43545         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
43546         addi 1,1,64 to pop stack frame.  Simplify return value code.
43547         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43549 2013-10-04  Alan Modra  <amodra@gmail.com>
43551         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
43552         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
43553         rather than rlwimi.
43554         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
43555         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
43556         little-endian support.  Correct typos.
43557         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
43558         rather than rlwimi.
43559         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
43560         in loop and entry code to keep "and." results.
43561         (strchr): Add little-endian support.  Comment.  Move cntlzd
43562         earlier in tail.
43563         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
43565 2013-10-04  Alan Modra  <amodra@gmail.com>
43567         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
43568         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
43569         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
43570         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
43572 2013-10-04  Alan Modra  <amodra@gmail.com>
43574         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
43575         (rTMP): Define as r11.
43576         (strcmp): Add little-endian support.  Optimise tail.
43577         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
43578         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
43579         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
43580         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43581         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
43582         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43583         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43585 2013-10-04  Alan Modra  <amodra@gmail.com>
43587         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
43588         little-endian support.  Remove unnecessary "are we done" tests.
43589         Handle "s" wrapping around zero and extremely large "size".
43590         Correct main loop count.  Handle single left-over word from main
43591         loop inline rather than by using small_loop.  Correct comments.
43592         Delete "zero" tail, use "end_max" instead.
43593         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
43595 2013-10-04  Alan Modra  <amodra@gmail.com>
43597         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
43598         support.  Don't branch over align.
43599         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
43600         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
43601         support.  Rearrange tmp reg use to suit.  Comment.
43602         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
43604 2013-10-04  Alan Modra  <amodra@gmail.com>
43606         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
43608 2013-10-04  Alan Modra  <amodra@gmail.com>
43610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
43611         conditional form of branch and link when obtaining pc.
43612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
43614 2013-10-04  Alan Modra  <amodra@gmail.com>
43616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
43617         HIWORD/LOWORD.
43618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
43619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
43621 2013-10-04  Alan Modra  <amodra@gmail.com>
43623         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
43624         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
43625         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43626         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
43627         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43628         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43629         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
43630         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43631         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43632         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
43634 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43635             Alistair Popple <alistair@ozlabs.au.ibm.com>
43636             Alan Modra <amodra@gmail.com>
43638         [BZ #15723]
43639         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
43640         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
43641         _dl_hwcap access for little-endian.
43642         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
43643         destroy vmx regs when saving unaligned.
43644         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
43645         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
43646         destroy vmx regs when saving unaligned.
43648 2013-10-04  Alan Modra  <amodra@gmail.com>
43650         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
43651         Don't use a union to pack hi/low value.
43653 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43655         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
43656         for little-endian.
43657         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
43658         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
43659         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
43660         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
43661         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
43663 2013-10-04  Alan Modra  <amodra@gmail.com>
43665         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
43666         constants to usual value for .cst8 section, and remove redundant
43667         high address load.
43668         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
43669         constant for 0x1p52.  Load little-endian words of double from
43670         correct stack offsets.
43672 2013-10-04  Alan Modra  <amodra@gmail.com>
43674         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
43675         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
43676         words of double from correct stack offsets.
43677         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43678         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
43679         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
43680         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
43681         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
43682         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
43683         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
43684         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43685         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43686         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
43687         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
43688         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
43689         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43690         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43691         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43692         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
43693         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43695 2013-10-04  Alan Modra  <amodra@gmail.com>
43697         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
43698         64-bit int/double union.
43699         (_FPU_SETCW): Likewise.
43700         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
43701         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
43703 2013-10-04  Alan Modra  <amodra@gmail.com>
43705         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
43706         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
43708 2013-10-04  Alan Modra  <amodra@gmail.com>
43710         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
43711         use vector int constants.
43712         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
43714 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43716         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
43717         array with long long.
43718         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
43719         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
43720         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
43721         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
43722         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
43723         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
43724         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
43725         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
43726         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
43727         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
43728         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
43729         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
43730         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
43732 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43734         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
43735         (__signbit): Likewise.  Correct for little-endian.
43736         (__signbitl): Call __signbit.
43737         (lrint): Correct for little-endian.
43738         (lrintf): Call lrint.
43740 2013-10-04  Alan Modra  <amodra@gmail.com>
43742         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
43743         union 32-bit int array member with 64-bit int array.
43744         (t515, tm256): Double rather than long double.
43745         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
43747 2013-10-04  Alan Modra  <amodra@gmail.com>
43749         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
43750         Delete.
43751         (IEEE854_LONG_DOUBLE_BIAS): Delete.
43752         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
43753         version of math_ldbl.h.
43755 2013-10-04  Alan Modra  <amodra@gmail.com>
43757         [BZ #15734], [BZ #15735]
43758         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
43759         all uses of ieee875 long double macros and unions.  Simplify test
43760         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
43761         ldbl_extract_mantissa value for ix,iy exponents.  Properly
43762         normalize after ldbl_extract_mantissa, and don't add hidden bit
43763         already handled.  Don't treat low word of ieee854 mantissa like
43764         low word of IBM long double and mask off bit when testing for
43765         zero.
43766         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
43767         all uses of ieee875 long double macros and unions.  Simplify tests
43768         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
43769         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
43770         two1022, instead use their values.  Recognise that tests for large
43771         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
43772         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
43773         Rewrite all uses of ieee875 long double macros and unions.  Simplify
43774         test for 0.0L and nan.  Correct negation.
43775         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
43776         ieee875 long double macros and unions.  Correct output for large
43777         magnitude x.  Correct absolute value calculation.
43778         (__erfcl): Likewise.
43779         * math/libm-test.inc: Add tests for errors discovered in IBM long
43780         double versions of fmodl, remainderl, erfl and erfcl.
43782 2013-10-04  Alan Modra  <amodra@gmail.com>
43784         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
43785         all uses of ieee854 long double macros and unions.  Simplify tests
43786         for long doubles that are fully specified by the high double.
43787         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
43788         Likewise.
43789         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
43790         Remove dead code too.
43791         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
43792         (__ieee754_ynl): Likewise.
43793         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
43794         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
43795         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
43796         Remove dead code too.
43797         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
43798         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
43799         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
43800         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
43801         Simplify.
43802         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
43803         Simplify.
43804         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
43805         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
43806         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
43807         Comment on variable precision.
43808         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
43809         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43810         Likewise.
43811         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
43812         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43813         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43814         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
43815         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
43817 2013-10-04  Alan Modra  <amodra@gmail.com>
43819         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
43820         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
43821         all uses of ieee854 long double macros and unions.
43822         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
43823         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43824         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
43825         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
43826         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
43827         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43828         Likewise.
43829         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
43830         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43831         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
43832         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43833         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
43834         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
43835         Simplify sign and nan test too.
43836         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
43837         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
43838         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
43839         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
43840         Likewise.
43841         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43842         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
43843         Likewise.
43844         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43845         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
43846         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
43847         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
43848         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
43849         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
43851 2013-10-04  Alan Modra  <amodra@gmail.com>
43853         * stdio-common/printf_size.c (__printf_size): Don't use
43854         union ieee854_long_double in fpnum union.
43855         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
43856         signbit macro to retrieve sign from long double.
43857         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
43858         retrieve sign from long double.
43859         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
43860         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
43861         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
43862         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43863         * math/test-misc.c (main): Don't use union ieee854_long_double.
43865 2013-10-04  Alan Modra  <amodra@gmail.com>
43867         [BZ #15680]
43868         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
43869         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
43870         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
43871         calculation.  Remove unnecessary test for denormal exponent.
43872         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
43873         Correct handling of denormals.  Avoid undefined shift behaviour.
43874         Correct normalisation of low mantissa when low double is denormal.
43875         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
43876         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
43877         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
43878         Correct normalisation of low mantissa.  Test for overflow of high
43879         mantissa and normalise.
43880         (ldbl_nearbyint): Use more readable constant for two52.
43881         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
43882         (__mpn_construct_long_double): Fix test for overflow of high
43883         mantissa and correct normalisation.  Avoid undefined shift.
43885 2013-10-04  Alan Modra  <amodra@gmail.com>
43887         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
43888         (union ibm_extended_long_double): Define as an array of ieee754_double.
43889         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
43890         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
43891         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
43892         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43893         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43894         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
43895         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43896         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
43897         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43898         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
43899         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43901 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
43903         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
43904         page size instead of calling getpagesize.
43906         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
43907         (LOCFILE_ALIGN_MASK): Likewise.
43908         (LOCFILE_ALIGN_UP): Likewise.
43909         (LOCFILE_ALIGNED_P): Likewise.
43910         * locale/programs/ld-collate.c (collate_output): Use the new
43911         macros instead of __alignof__ (int32_t).
43912         * locale/weight.h (findidx): Likewise.
43914 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
43916         [BZ #431]
43917         * manual/string.texi: Fix strncat and wcsncat.
43919 2013-10-03  Brooks Moses  <bmoses@google.com>
43921         [BZ #15915]
43922         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
43923         * Makerules: ...here, and adjust associated comments.
43925 2013-10-02  Will Newton  <will.newton@linaro.org>
43927         * malloc/Makefile: Add tst-pvalloc.
43928         * malloc/tst-pvalloc.c: New file.
43930 2013-10-02  Will Newton  <will.newton@linaro.org>
43932         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
43933         improve test coverage.
43935 2013-10-02  Will Newton  <will.newton@linaro.org>
43937         * malloc/Makefile: Add tst-posix_memalign.
43938         * malloc/tst-posix_memalign.c: New file.
43940 2013-10-01  Eric Blake  <eblake@redhat.com>
43942         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
43943         Use __THROWNL rather than __THROW on static functions.
43945 2013-09-30  Petr Machata  <pmachata@redhat.com>
43947         * elf/elf.h (R_AARCH64_ABS16): New macro.
43948         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
43949         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
43950         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
43951         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
43952         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
43953         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
43954         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
43955         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
43956         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
43957         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
43958         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
43959         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
43960         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
43961         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
43962         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
43963         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
43964         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
43965         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
43966         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
43967         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
43968         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
43969         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
43970         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
43971         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
43972         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
43973         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
43974         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
43975         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
43976         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
43977         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
43978         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
43979         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
43980         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
43981         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
43982         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
43983         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
43984         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
43985         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
43986         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
43987         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
43988         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
43989         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
43990         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
43991         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
43992         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
43993         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
43994         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
43995         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
43996         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
43997         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
43998         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
43999         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
44000         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
44001         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
44002         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
44003         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
44004         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
44005         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
44006         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
44007         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
44008         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
44009         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
44010         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
44011         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
44012         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
44013         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
44014         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
44015         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
44016         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
44017         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
44018         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
44019         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
44020         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
44021         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
44022         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
44023         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
44024         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
44025         (R_AARCH64_TLSDESC_LDR): Likewise.
44026         (R_AARCH64_TLSDESC_ADD): Likewise.
44027         (R_AARCH64_TLSDESC_CALL): Likewise.
44029 2013-09-30  Andreas Schwab  <schwab@suse.de>
44031         [BZ #15048]
44032         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
44033         the nss database lookup.
44034         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44035         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44037 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
44039         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
44041 2013-09-28  P. J. McDermott  <pj@pehjota.net>
44043         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
44044         ${Bash-specific parameter/pattern/string} parameter expansion.
44045         * sysdeps/unix/make-syscalls.sh: Likewise.
44047 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44049         * sysdeps/sh/stackguard-macros.h: New file.
44051 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
44053         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
44054         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
44055         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
44056         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
44057         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44058         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
44060 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44062         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
44063         Fix thread ID register.
44065 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
44067         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
44068         [POSIX || UNIX98]: Require rather than permitting all symbols from
44069         <time.h>.
44070         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
44071         element of struct sched_param.
44072         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
44073         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
44074         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
44075         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
44076         constant.
44078 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
44080         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
44081         argument calculation.
44083 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44085         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
44086         Expect macro.
44087         [POSIX] (pthread_attr_t): Do not require type.
44088         [POSIX] (pthread_cond_t): Likewise.
44089         [POSIX] (pthread_condattr_t): Likewise.
44090         [POSIX] (pthread_key_t): Likewise.
44091         [POSIX] (pthread_mutex_t): Likewise.
44092         [POSIX] (pthread_mutexattr_t): Likewise.
44093         [POSIX] (pthread_once_t): Likewise.
44094         [POSIX] (pthread_t): Likewise.
44095         [POSIX-based standards] (pthread_atfork): Expect function.
44097 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44098             Richard Sandiford  <richard@codesourcery.com>
44100         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
44101         (swap_endianness_p): New extern variable.
44102         (set_big_endian): New inline function.
44103         (maybe_swap_uint32): Likewise.
44104         (maybe_swap_uint32_array): Likewise.
44105         (maybe_swap_uint32_obstack): Likewise.
44106         * locale/programs/locfile.c: Include <stdbool.h>.
44107         (swap_endianness_p): New variable.
44108         (add_locale_uint32): Call maybe_swap_uint32.
44109         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
44110         (write_locale_data): Call maybe_swap_uint32_array.
44111         * locale/programs/ld-collate.c (obstack_int32_grow): Call
44112         maybe_swap_uint32.
44113         (obstack_int32_grow_fast): Likewise.
44114         (output_weightwc): Call maybe_swap_uint32_obstack.
44115         (collate_output): Likewise.
44116         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
44117         (OPT_LITTLE_ENDIAN): Likewise.
44118         (options): Add --little-endian and --big-endian options.
44119         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
44120         * locale/programs/locarchive.c: Include "locfile.h".
44121         (GET): New macro.
44122         (SET): Likewise.
44123         (INC): Likewise.
44124         (create_archive): Use the new macros to access fields of
44125         structures directly mapped from or written to locale archives.
44126         (oldlocrecentcmp): Likewise.
44127         (enlarge_archive): Likewise.
44128         (insert_name): Likewise.
44129         (add_alias): Likewise.
44130         (add_locale): Likewise.
44131         (delete_locales_from_archive): Likewise.
44132         (show_archive_content): Likewise.
44133         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
44134         locale data.
44136 2013-09-24  Roland McGrath  <roland@hack.frob.com>
44138         * manual/freemanuals.texi: Updated from (newly) canonical copy at
44139         http://www.gnu.org/doc/freemanuals.texi.
44140         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
44142 2013-09-24  Will Newton  <will.newton@linaro.org>
44144         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
44145         macro.
44147 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
44149         * locale/hashval.h (compute_hashval): Interpret bytes of key as
44150         unsigned char.
44152 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
44154         * manual/threads.texi (POSIX Threads): Fix a typo.
44156 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44158         [BZ #14547]
44159         * string/tst-strcoll-overflow.c: New test case.
44160         * string/Makefile (xtests): Add tst-strcoll-overflow.
44161         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
44162         cache if string sizes may cause integer overflow.
44164         [BZ #14547]
44165         * string/strcoll_l.c (coll_seq): New members rule, idx,
44166         save_idx and back_us.
44167         (get_next_seq_nocache): New function.
44168         (do_compare_nocache): New function.
44169         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
44170         when malloc fails.
44172 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
44174         [BZ #15754]
44175         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
44176         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
44177         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
44179         [BZ #15754]
44180         * elf/Makefile (tests): Add tst-ptrguard1.
44181         (tests-static): Add tst-ptrguard1-static.
44182         (tst-ptrguard1-ARGS): Define.
44183         (tst-ptrguard1-static-ARGS): Define.
44184         * elf/tst-ptrguard1.c: New file.
44185         * elf/tst-ptrguard1-static.c: New file.
44186         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
44187         * sysdeps/i386/stackguard-macros.h: Likewise.
44188         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44189         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44190         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44191         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44192         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44193         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44195 2013-09-23  Hector Marco  <hecmargi@upv.es>
44196             Ismael Ripoll  <iripoll@disca.upv.es>
44197             Carlos O'Donell  <carlos@redhat.com>
44199         [BZ #15754]
44200         * sysdeps/generic/stackguard-macros.h: Define
44201         __pointer_chk_guard_local and POINTER_CHK_GUARD.
44202         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
44203         Define __pointer_chk_guard_local.
44204         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
44205         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
44207 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
44209         [BZ #15859]
44210         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
44212 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
44214         * include/string.h (__ffs): Declare as hidden.
44215         * string/ffs.c (__ffs): Define as hidden.
44216         * sysdeps/i386/ffs.c (__ffs): Likewise.
44217         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
44218         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
44219         * sysdeps/s390/ffs.c (__ffs): Likewise.
44220         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
44222 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
44224         * NEWS: Mention malloc probes.
44226         * malloc/arena.c (new_heap): New memory_heap_new probe.
44227         (grow_heap): New memory_heap_more probe.
44228         (shrink_heap): New memory_heap_less probe.
44229         (heap_trim): New memory_heap_free probe.
44230         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
44231         (systrim): New memory_sbrk_less probe.
44232         * manual/probes.texi: Document them.
44234         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
44235         * manual/probes.texi: Document it.
44237         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
44238         (__libc_realloc): Add memory_realloc_retry probe.
44239         (__libc_memalign): Add memory_memalign_retry probe.
44240         (__libc_valloc): Add memory_valloc_retry probe.
44241         (__libc_pvalloc): Add memory_pvalloc_retry probe.
44242         (__libc_calloc): Add memory_calloc_retry probe.
44243         * manual/probes.texi: Document them.
44245         * malloc/arena.c (get_free_list): Add probe
44246         memory_arena_reuse_free_list.
44247         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
44248         and memory_arena_reuse.
44249         (arena_get2) [!PER_THREAD]: Likewise.
44250         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
44251         memory_arena_reuse_realloc.
44252         * manual/probes.texi: Document them.
44254         * malloc/malloc.c (__libc_free): Add
44255         memory_mallopt_free_dyn_thresholds probe.
44256         (__libc_mallopt): Add multiple memory_mallopt probes.
44257         * manual/probes.texi: Document them.
44259         * malloc/malloc.c: Include stap-probe.h.
44260         (__libc_mallopt): Add memory_mallopt probe.
44261         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
44262         * manual/probes.texi: New.
44263         * manual/Makefile (chapters): Add probes.
44264         * manual/threads.texi: Set next node.
44266 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
44268         [BZ #15963, #13985]
44269         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
44270         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
44271         Add `Chinese' to `nan' entry name.
44273 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44275         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
44276         (POLYNOMIAL): Likewise.
44277         (TAYLOR_SINCOS): Likewise.
44278         (TAYLOR_SLOW): Likewise.
44279         (__sin): Use TAYLOR_SINCOS.
44280         (__cos): Likewise.
44281         (slow): Use TAYLOR_SLOW.
44282         (sloww): Likewise.
44283         (bsloww): Likewise.
44284         (csloww): Likewise.
44286 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44288         * stdlib/strtod_l.c: Fix buffer overrun.
44290 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44292         * benchtests/Makefile (bench): Add sincos.
44293         * benchtests/bench-sincos.c: New file.
44295         * math/libm-test.inc (cos_test_data): New test inputs.
44296         (sin_test_data): Likewise.
44298         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
44299         macro.
44300         (__sin): Use it.
44301         (__cos): Likewise.
44302         (slow1): Likewise.
44303         (slow2): Likewise.
44304         (sloww1): Likewise.
44305         (sloww2): Likewise.
44306         (bsloww1): Likewise.
44307         (bsloww2): Likewise.
44308         (cslow2): Likewise.
44309         (csloww1): Likewise.
44310         (csloww2): Likewise.
44312         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
44313         function.
44314         (__sin): Use it.
44315         (__cos): Likewise.
44317         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
44318         gotos.
44319         (__cos): Likewise.
44321 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
44323         * config.h.in (HAVE_MIPS_NAN2008): New macro.
44324         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
44325         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
44326         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
44327         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
44328         * elf/cache.c (print_entry): Handle the new cache flags.
44330 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
44331             Aldy Hernandez  <aldyh@redhat.com>
44333         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
44334         Change condition to [_SOFT_FLOAT].
44335         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
44336         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
44337         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
44338         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
44339         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
44340         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
44341         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
44342         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
44343         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
44344         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
44345         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
44346         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
44347         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
44348         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
44349         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
44350         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
44351         declaration.
44353 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
44355         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
44356         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44357         (__longjmp): Use LOAD_GP to load saved GPRs.
44358         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
44359         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44360         (__sigsetjmp): Use SAVE_GP to save GPRs.
44362         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
44363         Do not append -msoft-float.
44364         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
44366 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44368         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
44370 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
44372         [BZ #15966]
44373         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
44374         (_FPU_GETCW): Use initial "__" on variable and field names but not
44375         on macro parameter name.
44376         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
44377         parentheses around reference to macro parameter.
44379 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
44381         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
44382         prototype.
44383         (ctype_startup): Use uint32_t in cast and sizeof for
44384         ctype->charnames.
44386 2013-09-11  Jia Liu  <proljc@gmail.com>
44388         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
44389         __daddr_t_defined.
44390         [__FreeBSD__]: Likewise.
44392 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
44394         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
44395         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
44396         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
44397         (strchr): Remove __strchr_sse42 ifunc selection.
44398         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
44399         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
44401 2013-09-11  Will Newton  <will.newton@linaro.org>
44403         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
44404         parameter to RES. Remove hardcoded 1000 value.
44405         * benchtests/bench-skeleton.c (main): Pass RES parameter
44406         to TIMING_INIT and multiply result by 1000.
44408 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44412 2013-09-11  Andreas Schwab  <schwab@suse.de>
44414         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
44415         if not defined.
44416         (O_TMPFILE) [__USE_GNU]: Define.
44417         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
44418         Define.
44420 2013-09-11  Will Newton  <will.newton@linaro.org>
44422         [BZ #15857]
44423         * malloc/malloc.c (__libc_memalign): Check the value of bytes
44424         does not overflow.
44426 2013-09-11  Will Newton  <will.newton@linaro.org>
44428         [BZ #15856]
44429         * malloc/malloc.c (__libc_valloc): Check the value of bytes
44430         does not overflow.
44432 2013-09-11  Will Newton  <will.newton@linaro.org>
44434         [BZ #15855]
44435         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
44436         does not overflow.
44438 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
44440         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
44441         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44442         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44443         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44444         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44446 2013-09-10  Allan McRae  <allan@archlinux.org>
44448         [BZ #15748]
44449         * manual/arith.texi (Parsing of Floats): Clarify
44450         cross-reference.
44452         [BZ #15849]
44453         * manual/install.texi (Running make install): Mention
44454         --enable-pt-chown.
44455         * INSTALL: Regenerated.
44457 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
44459         * csu/init-first.c (_init): Remove the !SHARED condition around
44460         FPU control word initialization.
44461         * elf/dl-support.c (_dl_fpu_control): New variable.
44462         (_dl_aux_init) <AT_FPUCW>: Initialize it.
44463         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
44464         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
44465         * math/test-fpucw-static.c: New file.
44466         * math/test-fpucw-ieee.c: New file.
44467         * math/test-fpucw-ieee-static.c: New file.
44468         * math/Makefile (tests): Add `test-fpucw-ieee' and
44469         `$(tests-static)'.
44470         (tests-static): New variable.
44471         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
44472         dependency to...
44473         [($(build-shared),yes)]
44474         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
44475         ... this.
44476         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
44477         New dependency.
44479 2013-09-09  Allan McRae  <allan@archlinux.org>
44481         [BZ #15939]
44482         * manual/string.texi (Collation Functions): Fix typo in
44483         strcoll example.
44484         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
44486         [BZ #15893]
44487         * stdlib/isomac.c (get_null_defines): Fix memory leak.
44489         [BZ #15892]
44490         * libio/memstream.c (open_memstream): Fix memory leak.
44491         * libio/wmemstream.c (open_wmemstream): Likewise.
44493         [BZ #15895]
44494         * nscd/netgroupcache.c: Fix nesting of ifdefs.
44496 2013-09-09  Will Newton  <will.newton@linaro.org>
44498         * malloc/Makefile: Add tst-realloc to tests.
44499         * malloc/tst-realloc.c: New file.
44501 2013-09-09  Allan McRae  <allan@archlinux.org>
44503         [BZ #15844]
44504         * COPYING: Update from GNU website to fix FSF address.
44505         * COPYING.LIB: Likewise.
44507 2013-09-06  David S. Miller  <davem@davemloft.net>
44509         * po/zh_TW.po: Update Chinese (traditional) translation from
44510         translation project.
44512 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
44513             Joseph Myers  <joseph@codesourcery.com>
44515         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
44516         "localeinfo.h".
44517         (obstack_chunk_alloc): New macro.
44518         (obstack_chunk_free): Likewise.
44519         (record_offset): New function.
44520         (init_locale_data): Likewise.
44521         (align_locale_data): Likewise.
44522         (add_locale_empty): Likewise.
44523         (add_locale_raw_data): Likewise.
44524         (add_locale_raw_obstack): Likewise.
44525         (add_locale_string): Likewise.
44526         (add_locale_wstring): Likewise.
44527         (add_locale_uint32): Likewise.
44528         (add_locale_uint32_array): Likewise.
44529         (add_locale_char): Likewise.
44530         (start_locale_structure): Likewise.
44531         (end_locale_structure): Likewise.
44532         (start_locale_prelude): Likewise.
44533         (end_locale_prelude): Likewise.
44534         (write_locale_data): Take locale_file structure rather than an
44535         iovec.
44536         * locale/programs/locfile.h: Include "obstack.h".
44537         (struct locale_file): Change to store locale file contents instead
44538         of header.
44539         (init_locale_data): New prototype.
44540         (align_locale_data): Likewise.
44541         (add_locale_empty): Likewise.
44542         (add_locale_raw_data): Likewise.
44543         (add_locale_raw_obstack): Likewise.
44544         (add_locale_string): Likewise.
44545         (add_locale_wstring): Likewise.
44546         (add_locale_uint32): Likewise.
44547         (add_locale_uint32_array): Likewise.
44548         (add_locale_char): Likewise.
44549         (start_locale_structure): Likewise.
44550         (end_locale_structure): Likewise.
44551         (start_locale_prelude): Likewise.
44552         (end_locale_prelude): Likewise.
44553         (write_locale_data): Update prototype.
44554         * locale/programs/3level.h (struct TABLE): Remove result field.
44555         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
44556         Use new locale_file interface.
44557         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
44558         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
44559         * locale/programs/ld-address.c (address_output): Use new
44560         locale_file interface.
44561         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
44562         NO_ADD_LOCALE.
44563         (collate_finish): Don't call collseq_table_finalize.
44564         (collate_output): Use new locale_file interface.
44565         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
44566         in file.
44567         (NO_FINALIZE): Change to NO_ADD_LOCALE.
44568         (TABLE): Move defines earlier in file.
44569         (ELEMENT): Likewise.
44570         (DEFAULT): Likewise.
44571         (wctrans_table_add): Move macro and inline function earlier in
44572         file.
44573         (struct wctype_table): Move type earlier in file.
44574         (add_locale_wctype_table): New static prototype.
44575         (struct locale_ctype_t): Use logical types instead of struct iovec
44576         pointers for members.
44577         (ctype_output): Use new locale_file interface.
44578         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
44579         new locale_file interface.
44580         (allocate_arrays): Update for use of new locale_file interface.
44581         * locale/programs/ld-identification.c (identification_output): Use
44582         new locale_file interface.
44583         * locale/programs/ld-measurement.c (measurement_output): Likewise.
44584         * locale/programs/ld-messages.c (messages_output): Likewise.
44585         * locale/programs/ld-monetary.c (monetary_output): Likewise.
44586         * locale/programs/ld-name.c (name_output): Likewise.
44587         * locale/programs/ld-numeric.c (numeric_output): Likewise.
44588         * locale/programs/ld-paper.c (paper_output): Likewise.
44589         * locale/programs/ld-telephone.c (telephone_output): Likewise.
44590         * locale/programs/ld-time.c (time_output): Likewise.
44592 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44594         * benchtests/Makefile: Add memrchr benchmark.
44595         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
44596         benchmark as memrchr.
44597         * benchtests/bench-memrchr-ifunc.c: New file.
44598         * benchtests/bench-memrchr.c: New file.
44600 2013-09-06   Will Newton  <will.newton@linaro.org>
44602         * benchtests/Makefile (string-bench): Add memcpy.
44604 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
44605             Cong Wang  <amwang@redhat.com>
44607         [BZ #15850]
44608         * sysdeps/unix/sysv/linux/bits/in.h
44609         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
44610         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
44611         before __USE_KERNEL_IPV6_DEFS uses.
44612         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
44613         IPPROTO_BEETPH.
44614         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
44615         sockaddr_in6, or ipv6_mreq.
44617 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44619         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
44620         memory access for final bytes in some large inputs.
44621         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
44623 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44625         * string/test-memrchr.c: New file.
44626         * string/test-memrchr-ifunc.c: New file.
44627         * string/Makefile: Add new memrchr testcase.
44629 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
44631         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
44632         fanotify_init returns EPERM.
44634 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
44636         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
44637         errors.
44638         (top level): Treat second token from macro or constant entries for
44639         allowed headers as allowed.
44640         * include/complex.h: Condition internal declarations on
44641         [!_ISOMAC].
44642         * include/fenv.h: Condition include of <stdbool.h> and internal
44643         declarations on [!_ISOMAC].
44645 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
44647         [BZ #15923]
44648         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
44650 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
44652         * configure.in (--enable-versioning): Remove configure option.
44653         (libc_cv_asm_symver_directive): Remove configure test.
44654         (libc_cv_ld_version_script_option): Likewise.
44655         (VERSIONING): Remove variable and AC_SUBST.
44656         (DO_VERSIONING): Remove AC_DEFINE.
44657         * configure: Regenerated.
44658         * config.h.in (DO_VERSIONING): Remove macro.
44659         * Makerules [$(versioning) = yes]: Change conditionals to
44660         [$(build-shared) = yes].
44661         * config.make.in (versioning): Remove variable.
44662         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
44663         [$(build-shared) = yes].
44664         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
44665         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
44666         * elf/Makefile [$(versioning) = yes]: Change conditionals to
44667         [$(build-shared) = yes].
44668         * extra-lib.mk [$(versioning) = yes]: Likewise.
44669         * hurd/Makefile [$(versioning) = yes]: Likewise.
44670         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
44671         [SHARED].
44672         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
44673         [SHARED].
44674         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
44675         [SHARED && !NO_HIDDEN].
44676         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
44677         [SHARED].
44678         [SHARED && DO_VERSIONING]: Likewise..
44679         * libio/Makefile [$(versioning) = yes]: Change conditionals to
44680         [$(build-shared) = yes].
44681         * manual/install.texi (--disable-versioning): Remove
44682         documentation.
44683         * INSTALL: Regenerated.
44684         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
44685         to [SHARED].
44686         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
44687         [$(build-shared) = yes].
44688         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
44689         * sysdeps/i386/i686/multiarch/strstr-c.c
44690         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
44691         [SHARED && !NO_HIDDEN].
44692         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
44693         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
44694         * sysdeps/powerpc/powerpc32/dl-machine.c
44695         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
44696         * sysdeps/powerpc/powerpc32/sysdep.h
44697         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
44698         to [SHARED && PIC && !NO_HIDDEN].
44699         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
44700         conditional to [SHARED].
44702 2013-09-04   Will Newton  <will.newton@linaro.org>
44704         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
44705         * benchtests/bench-string.h: Include bench-timing.h instead
44706         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
44707         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
44708         call to HP_TIMING_DIFF_INIT.
44709         * benchtests/bench-memccpy.c: Use bench-timing.h macros
44710         instead of hp-timing.h macros.
44711         * benchtests/bench-memchr.c: Likewise.
44712         * benchtests/bench-memcmp.c: Likewise.
44713         * benchtests/bench-memcpy.c: Likewise.
44714         * benchtests/bench-memmem.c: Likewise.
44715         * benchtests/bench-memmove.c: Likewise.
44716         * benchtests/bench-memset.c: Likewise.
44717         * benchtests/bench-rawmemchr.c: Likewise.
44718         * benchtests/bench-strcasecmp.c: Likewise.
44719         * benchtests/bench-strcasestr.c: Likewise.
44720         * benchtests/bench-strcat.c: Likewise.
44721         * benchtests/bench-strchr.c: Likewise.
44722         * benchtests/bench-strcmp.c: Likewise.
44723         * benchtests/bench-strcpy.c: Likewise.
44724         * benchtests/bench-strcpy_chk.c: Likewise.
44725         * benchtests/bench-strlen.c: Likewise.
44726         * benchtests/bench-strncasecmp.c: Likewise.
44727         * benchtests/bench-strncat.c: Likewise.
44728         * benchtests/bench-strncmp.c: Likewise.
44729         * benchtests/bench-strncpy.c: Likewise.
44730         * benchtests/bench-strnlen.c: Likewise.
44731         * benchtests/bench-strpbrk.c: Likewise.
44732         * benchtests/bench-strrchr.c: Likewise.
44733         * benchtests/bench-strspn.c: Likewise.
44734         * benchtests/bench-strstr.c: Likewise.
44736 2013-09-04  Will Newton  <will.newton@linaro.org>
44738         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
44740 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
44742         [BZ #15427]
44743         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
44744         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
44745         * math/libm-test.inc (lgamma_test_data): Add more tests.
44746         * sysdeps/i386/fpu/libm-test-ulps: Update.
44747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44749 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
44751         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
44752         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44753         Add ifunc.
44754         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44755         Add strcmp-sse2-unaligned
44756         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
44758 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
44760         * Versions.def (libc): Add GLIBC_2.19.
44762 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
44764         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
44765         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
44767 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
44769         [BZ #14155]
44770         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
44771         intermediate calculations in recurrence.
44772         (__ieee754_ynf): Likewise.
44773         * math/libm-test.inc (jn_test_data): Do not allow spurious
44774         underflow exception.  Add more tests.
44775         (yn_test_data): Add more tests.
44776         * sysdeps/i386/fpu/libm-test-ulps: Update.
44777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44779 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
44781         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
44783 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
44785         * csu/init-first.c: Fix then/than typos.
44786         * locale/programs/ld-collate.c: Likewise.
44787         * locale/programs/linereader.h: Likewise.
44788         * manual/charset.texi: Likewise.
44789         * manual/filesys.texi: Likewise.
44790         * manual/stdio.texi: Likewise.
44791         * manual/string.texi: Likewise.
44792         * stdlib/fmtmsg.c: Likewise.
44793         * sysdeps/i386/stpncpy.S: Likewise.
44794         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44795         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44796         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44797         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44799 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
44801         * elf/dl-open.c: Fix typos.
44802         * iconvdata/gbbig5.c: Likewise.
44803         * iconvdata/iso-2022-jp.c: Likewise.
44804         * iconv/gconv_int.h: Likewise.
44805         * iconv/loop.c: Likewise.
44806         * nis/rpcsvc/nis.h: Likewise.
44807         * resolv/ns_name.c: Likewise.
44808         * stdio-common/vfscanf.c: Likewise.
44809         * streams/stropts.h: Likewise.
44810         * sunrpc/rpc_thread.c: Likewise.
44811         * sysdeps/i386/strpbrk.S: Likewise.
44812         * sysdeps/ieee754/k_standard.c: Likewise.
44813         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44814         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44815         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
44816         * sysdeps/mach/hurd/profil.c: Likewise.
44817         * sysdeps/s390/dl-procinfo.h: Likewise.
44818         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
44819         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
44820         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
44821         * sysdeps/x86_64/dl-trampoline.S: Likewise.
44822         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44824 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
44826         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
44827         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
44829 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
44831         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
44832         aix specific files.
44833         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
44834         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
44835         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
44836         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
44837         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
44838         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
44839         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
44840         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
44842 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
44843             Roland McGrath  <roland@hack.frob.com>
44845         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
44846         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
44848 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44850         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
44851         __executable_start symbol instead of _start.
44853 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
44855         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
44856         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
44857         Move macros to...
44858         * sysdeps/gnu/ldsodefs.h: ... this new file.
44860         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
44861         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
44862         instead of ELFOSABI_LINUX.
44864         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
44865         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
44866         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
44867         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
44868         Likewise.
44869         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
44870         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
44871         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
44872         Likewise.
44873         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44874         (ibm_extended_long_double): Add ieee_nan member.
44875         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
44876         (do_test): New function.
44878         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
44879         TEST_TRUNC.
44880         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
44881         functions, renamed from truncdfsf_test, trunctfsf_test,
44882         trunctfdf_test.
44883         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
44884         functions.
44885         (do_test): Run all these.
44887 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
44889         * argp/argp-help.c: Fix typos.
44890         * argp/argp-parse.c: Likewise.
44891         * debug/backtracesyms.c: Likewise.
44892         * elf/elf.h: Likewise.
44893         * malloc/malloc.c: Likewise.
44894         * nis/nis_print.c: Likewise.
44895         * resolv/res_comp.c: Likewise.
44896         * stdlib/stdlib.h: Likewise.
44897         * sunrpc/clnt_tcp.c: Likewise.
44898         * sunrpc/clnt_udp.c: Likewise.
44899         * sunrpc/clnt_unix.c: Likewise.
44900         * sysdeps/unix/bsd/ptsname.c: Likewise.
44901         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
44902         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
44903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
44904         Likewise.
44905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
44906         Likewise.
44907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
44908         Likewise.
44909         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44911 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44913         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
44914         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44916 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
44918         [BZ #15897]
44919         * dlfcn/Makefile (tests): Add bug-dl-leaf.
44920         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
44921         ($(objpfx)bug-dl-leaf): New rule.
44922         ($(objpfx)bug-dl-leaf.so): Likewise.
44923         ($(objpfx)bug-dl-leaf.out): Likewise.
44924         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
44925         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
44926         * dlfcn/bug-dl-leaf.c: New test.
44927         * dlfcn/bug-dl-leaf-lib.c: Likewise.
44928         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
44929         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
44930         (dlclose): Likewise.
44931         (dlmopen): Likewise.
44933 2013-08-27  Roland McGrath  <roland@hack.frob.com>
44935         * include/netdb.h [!_ISOMAC]:
44936         Don't include <tls.h>.
44937         (h_errno, __libc_h_errno): Move declaration and macros out of
44938         [_LIBC_REENTRANT].
44940         * include/resolv.h [_RESOLV_H_]:
44941         Don't include <tls.h>.
44942         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
44943         * resolv/res_libc.c: Don't include <tls.h>.
44944         (_res): Use __attribute__ ((nocommon)) in place of
44945         __attribute__ ((section (".bss"))).
44947         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
44948         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
44950         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
44952         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
44953         only under [SIOCGIFCONF && SIOCGIFNETMASK].
44955         * resolv/res_mkquery.c: Include <sys/time.h>.
44957         * inet/ifreq.c: Moved to ...
44958         * sysdeps/unix/ifreq.c: ... here.
44959         * inet/ifreq.c: New file, true stub version.
44961         * socket/sa_len.c: New file.
44962         * socket/Makefile (aux): Add it.
44963         * sysdeps/unix/sysv/linux/Makefile
44964         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
44965         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
44966         and #include <socket/sa_len.c>.
44967         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
44968         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
44970         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
44971         * bits/socket.h: ... here.
44973         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
44974         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
44975         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
44977 2013-08-27  Andreas Schwab  <schwab@suse.de>
44979         [BZ #15736]
44980         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
44981         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
44982         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
44983         * string/test-strcasecmp.c (test_main): Run tests in several
44984         locales.
44985         * string/test-strncasecmp.c (test_main): Likewise.
44987         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
44988         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
44989         to __strcasecmp_nonascii and __strncasecmp_nonascii.
44990         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
44991         (__strncasecmp_ssse3) [PIC]: Likewise.
44993 2013-08-26  Roland McGrath  <roland@hack.frob.com>
44995         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
44997         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
44998         instead of explicitly declaring xdecrypt.
44999         * nis/nss_nis/nis-publickey.c: Likewise.
45001 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45003         [BZ #15890]
45004         * nscd/aicache.c: Include res_hconf.h.
45005         (addhstaiX): Initialize res_hconf.
45007 2013-08-26  Andreas Schwab  <schwab@suse.de>
45009         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
45010         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
45012 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45014         * nscd/aicache.c (addhstaiX): Fix indentation.
45016 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
45018         * configure.ac: Quote $build_pt_chown test.
45019         * configure: Regenerated.
45021 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
45023         [BZ #15532]
45024         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
45025         * math/s_cexpf.c (__cexpf): Likewise.
45026         * math/s_cexpl.c (__cexpl): Likewise.
45027         * math/libm-test.inc (cexp_test_data): Correct expected return
45028         value for NaN + i0.  Add another test.
45030 2013-08-22  David S. Miller  <davem@davemloft.net>
45032         * po/ca.po: Update Catalan translation from translation project.
45033         * po/uk.po: Add Ukrainian translations from translation project.
45035 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
45037         [BZ #15797]
45038         * math/s_fdim.c (__fdim): Check for infinite arguments if result
45039         is infinite, not alongside NaN test.
45040         * math/s_fdimf.c (__fdimf): Likewise.
45041         * math/s_fdiml.c (__fdiml): Likewise.
45042         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
45043         errno is unchanged.
45045 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
45047         * argp/argp-help.c: Fix typos.
45048         * crypt/speeds.c: Likewise.
45049         * csu/check_fds.c: Likewise.
45050         * elf/dl-load.c: Likewise.
45051         * elf/dl-open.c: Likewise.
45052         * elf/reldep3.c: Likewise.
45053         * elf/reldep.c: Likewise.
45054         * elf/sprof.c: Likewise.
45055         * iconv/iconv_charmap.c: Likewise.
45056         * iconv/skeleton.c: Likewise.
45057         * iconv/strtab.c: Likewise.
45058         * io/lockf64.c: Likewise.
45059         * libio/libioP.h: Likewise.
45060         * resolv/gai_notify.c: Likewise.
45061         * resolv/ns_name.c: Likewise.
45062         * resolv/ns_samedomain.c: Likewise.
45063         * resolv/res_send.c: Likewise.
45064         * stdlib/random.c: Likewise.
45065         * sunrpc/rpc/xdr.h: Likewise.
45066         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
45067         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45068         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45069         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45070         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45071         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45072         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45073         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45074         * sysdeps/mach/hurd/check_fds.c: Likewise.
45075         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
45076         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45077         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45078         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
45079         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45080         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
45081         * sysdeps/pthread/aio_notify.c: Likewise.
45082         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
45083         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
45084         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
45085         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45086         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45088 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45090         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
45091         version if bit_Slow_SSE4_2 is set.
45092         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45093         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45095 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45097         [BZ #15867]
45098         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
45099         trampoline stack frame information.
45100         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
45101         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
45102         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
45103         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
45104         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
45105         * sysdeps/unix/sysv/linux/powerpc/init-first.c
45106         (_libc_vdso_platform_setup): Initialize the signal trampolines.
45107         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
45108         sa_flags value.
45109         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
45110         interrupting a syscall and set with option SA_SIGINFO.
45112 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45114         [BZ #15531]
45115         * math/s_cproj.c (__cproj): Only return an infinity if one part of
45116         argument is infinite.
45117         * math/s_cprojf.c (__cprojf): Likewise.
45118         * math/s_cprojl.c (__cprojl): Likewise.
45119         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
45120         * math/libm-test.inc (cproj_test_data): Add more tests.
45122         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
45124         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
45125         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
45126         size.  Use __ffs to determine corresponding shift.
45128 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45129             Roland McGrath  <roland@hack.frob.com>
45131         * Makefile (INSTALL): Remove trailing blank lines from output of
45132         makeinfo.
45134 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45136         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
45137         Align 32 bit compat elf_greg to 8 bytes.
45139 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
45141         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
45143 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45145         * string/strcoll_l.c (coll_seq): New structure.
45146         (get_next_seq_cached): New function.
45147         (get_next_seq): New function.
45148         (do_compare): New function.
45149         (STRCOLL): Use GNU style definition.  Simplify implementation
45150         by using get_next_seq, get_next_seq_cached and do_compare.
45152 2013-08-16  Florian Weimer  <fweimer@redhat.com>
45154         [BZ #14699]
45155         CVE-2013-4237
45156         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
45157         member.
45158         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
45159         member.
45160         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
45161         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
45162         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
45163         conditional.
45164         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
45165         GETDENTS_64BIT_ALIGNED.
45166         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45167         * manual/filesys.texi (Reading/Closing Directory): Document
45168         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
45169         strongly.
45170         * manual/conf.texi (Limits for Files): Add portability note to
45171         NAME_MAX, PATH_MAX.
45172         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
45174 2013-08-13  Andreas Schwab  <schwab@suse.de>
45176         [BZ #15749]
45177         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
45178         of fabs.
45179         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
45180         LDBL_MAX_EXP >= 16384]: Add tests for it.
45182 2013-08-12  David S. Miller  <davem@davemloft.net>
45184         * version.h (RELEASE): Set to "development".
45185         (VERSION): Set to "2.18.90".
45186         * NEWS: Add 2.19 section.
45188 2013-08-03  David S. Miller  <davem@davemloft.net>
45190         * po/ko.po: Update Korean translation from translation project.
45192 2013-08-01  David S. Miller  <davem@davemloft.net>
45194         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
45195         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
45196         Bilka.
45198 2013-07-30  David S. Miller  <davem@davemloft.net>
45200         * po/fr.po: Update French translation from translation project.
45202 2013-07-28  David S. Miller  <davem@davemloft.net>
45204         * po/cs.po: Update Czech translation from translation project.
45206         * po/sv.po: Update Swedish translation from translation project.
45208 2013-07-27  David S. Miller  <davem@davemloft.net>
45210         * po/eo.po: Update Esperanto translation from translation project.
45212         * po/vi.po: Update Vietnamese translation from translation project.
45214         * po/de.po: Update German translation from translation project.
45216 2013-07-26  David S. Miller  <davem@davemloft.net>
45218         * po/bg.po: Update Bulgarian translation from translation project.
45220         * po/nl.po: Update Dutch translation from translation project.
45221         * po/pl.po: Update Polish translation from translation project.
45222         * po/ru.po: Update Russian translation from translation project.
45224 2013-07-24  David S. Miller  <davem@davemloft.net>
45226         * po/libc.pot: Update.
45228 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45230         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
45231         variable page size.
45232         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
45233         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
45234         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
45236 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45238         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
45240 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45241             Andreas Schwab  <schwab@suse.de>
45242             Roland McGrath  <roland@hack.frob.com>
45243             Joseph Myers  <joseph@codesourcery.com>
45244             Carlos O'Donell  <carlos@redhat.com>
45246         [BZ #15755]
45247         * config.h.in: Define HAVE_PT_CHOWN.
45248         * config.make.in (build-pt-chown): New variable.
45249         * configure.in (--enable-pt_chown): New configure option.
45250         * configure: Regenerate.
45251         * login/Makefile: Include Makeconfig.  Build pt_chown only if
45252         build-pt-chown is enabled.
45253         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
45254         pt_chown to fix pty ownership.
45255         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
45256         CLOSE_ALL_FDS.
45257         * manual/install.texi (Configuring and compiling): Mention
45258         --enable-pt_chown. Add @findex for grantpt.
45259         * INSTALL: Regenerate.
45261 2013-07-20  David S. Miller  <davem@davemloft.net>
45263         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
45264         difference between 32-bit and 64-bit.
45266 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
45268         [BZ #15711]
45269         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
45270         Avoid system header dependency with -ffreestanding.
45271         ($(objpfx)bits/syscall%d): Likewise.
45273 2013-07-13  David S. Miller  <davem@davemloft.net>
45275         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
45276         underflows from atanl/atan2l due to bug 15319.
45277         (casinh_test_data): Likewise.
45279 2013-07-07  David S. Miller  <davem@davemloft.net>
45281         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
45283 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
45285         * sysdeps/i386/fpu/libm-test-ulps: Update.
45286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45288 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45290         * configure.in (--enable-lock-elision): Fix message text.
45291         * INSTALL: Regenerate.
45292         * configure: Regenerate.
45294 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45296         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45298 2013-07-03  Andreas Jaeger  <aj@suse.de>
45300         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
45301         define.
45302         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
45303         (ptrace_peeksiginfo_args): Add.
45304         (__ptrace_peeksiginfo_flags): Add.
45305         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45306         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45307         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45309 2013-07-03  Allan McRae  <allan@archlinux.org>
45311         * sysdeps/i386/fpu/libm-test-ulps: Update.
45313 2013-07-02  David S. Miller  <davem@davemloft.net>
45315         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45317 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
45319         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45321 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45323         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45326 2013-07-02  Andi Kleen <ak@linux.intel.com>
45328         * config.h.in (ENABLE_LOCK_ELISION): Add.
45329         * configure.in (--enable-lock-elision): Add option.
45330         * manual/install.texi: Document --enable lock elision.
45331         * configure: Regenerate
45332         * INSTALL: Regenerate.
45334 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
45336         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
45337         SSE4.2 strcasecmp for libc.a.
45338         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45340 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45342         [BZ #13304]
45343         * soft-fp/op-common.h (_FP_FMA): New macro.
45344         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
45345         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
45346         (_FP_MUL_MEAT_1_imm): ... here.
45347         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
45348         (_FP_MUL_MEAT_1_wide): ... here.
45349         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
45350         (_FP_MUL_MEAT_1_hard): ... here.
45351         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
45352         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
45353         (_FP_MUL_MEAT_2_wide): ... here.
45354         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
45355         (_FP_MUL_MEAT_2_wide_3mul): ... here.
45356         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
45357         (_FP_MUL_MEAT_2_gmp): ... here.
45358         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
45359         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
45360         (_FP_MUL_MEAT_4_wide): ... here.
45361         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
45362         (_FP_MUL_MEAT_4_gmp): ... here.
45363         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
45364         (_FP_WFRACBITS_DW_S): Likewise.
45365         (_FP_WFRACXBITS_DW_S): Likewise.
45366         (_FP_HIGHBIT_DW_S): Likewise.
45367         (FP_FMA_S): Likewise.
45368         (_FP_FRAC_HIGH_DW_S): Likewise.
45369         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
45370         (_FP_WFRACBITS_DW_D): Likewise.
45371         (_FP_WFRACXBITS_DW_D): Likewise.
45372         (_FP_HIGHBIT_DW_D): Likewise.
45373         (FP_FMA_D): Likewise.
45374         (_FP_FRAC_HIGH_DW_D): Likewise.
45375         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
45376         (_FP_WFRACBITS_DW_E): Likewise.
45377         (_FP_WFRACXBITS_DW_E): Likewise.
45378         (_FP_HIGHBIT_DW_E): Likewise.
45379         (FP_FMA_E): Likewise.
45380         (_FP_FRAC_HIGH_DW_E): Likewise.
45381         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
45382         (_FP_WFRACBITS_DW_Q): Likewise.
45383         (_FP_WFRACXBITS_DW_Q): Likewise.
45384         (_FP_HIGHBIT_DW_Q): Likewise.
45385         (FP_FMA_Q): Likewise.
45386         (_FP_FRAC_HIGH_DW_Q): Likewise.
45387         * soft-fp/fmasf4.c: New file.
45388         * soft-fp/fmadf4.c: Likewise.
45389         * soft-fp/fmatf4.c: Likewise.
45391 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45393         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45394         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
45395         Silvermont.
45396         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
45397         macro.
45398         (index_Slow_SSE4_2): Likewise.
45399         (index_Prefer_PMINUB_for_stringop): Likewise.
45400         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
45401         bit_Slow_SSE4_2 is set.
45402         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45403         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45405 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45407         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
45408         rtld_global._dl_hwcap2.
45409         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
45410         POWER8.
45411         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
45412         POWER8 feature descriptions defined in _dl_hwcap2.
45413         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
45414         string handling for POWER8 feature bits.
45415         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
45416         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
45417         _dl_powerpc_cap_flags.
45418         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
45419         * sysdeps/powerpc/rtld-global-offsets.sym
45420         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
45421         _dl_hwcap2 in the rtld_global_ro structure.
45423 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45425         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
45426         hardware capabilities in support of AT_HWCAP2.
45427         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
45428         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
45429         GLRO(dl_hwcap2).
45430         (_dl_show_auxv): Add support for calling _dl_procinfo to display
45431         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
45432         explicitly the unknown a_type display mechanism is used.
45433         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
45434         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
45435         struct member.
45436         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
45437         to macro prototype for AT_HWCAP2 support.
45438         * sysdeps/i386/dl-procinfo.h: Likewise.
45439         * sysdeps/s390/dl-procinfo.h: Likewise.
45440         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
45441         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
45442         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
45443         return -1 for unknown a_type display fallback.
45444         * sysdeps/sparc/dl-procinfo.h: Likewise.
45445         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
45446         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
45448 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
45450         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
45451         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
45453 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
45455         [BZ #12492]
45456         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
45457         mprotect making __stack_prot writable.
45459 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
45460             Joseph Myers  <joseph@codesourcery.com>
45462         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
45463         as being properly aligned.
45465 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
45467         * dlfcn/modstatic5.c: New file.
45468         * dlfcn/tststatic5.c: New file.
45469         * dlfcn/Makefile (tests): Add tststatic5.
45470         (tests-static): Likewise.
45471         (modules-names): Add modstatic5.
45472         (tststatic5-ENV): New variable.
45473         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
45475         [BZ #15022]
45476         * elf/dl-support.c (_dl_main_map): New variable.
45477         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
45478         (_dl_nns, _dl_load_adds): Set to 1.
45479         (_dl_initial_searchlist): Refer to _dl_main_map.
45480         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
45481         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
45482         call to _dl_get_origin.
45483         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
45484         around call_map.
45485         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
45486         * dlfcn/modstatic3.c: New file.
45487         * dlfcn/tststatic3.c: New file.
45488         * dlfcn/tststatic4.c: New file.
45489         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
45490         (tests-static): Likewise.
45491         (modules-names): Add modstatic3.
45492         (tststatic3-ENV, tststatic4-ENV): New variables.
45493         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
45494         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
45496 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
45498         * configure.in (CC): Require GCC version 4.4 or later.
45499         * configure: Regenerated.
45500         * manual/install.texi (Tools for Compilation): Update GCC version
45501         requirement.
45502         * INSTALL: Regenerated.
45504 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45506         [BZ #15674]
45507         * string/test-memcmp.c (check2): New.
45508         (main): Call check2.
45510         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
45512 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
45514         [BZ #15022]
45515         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
45516         over to...
45517         (dl_open_worker) [!SHARED]: ... here.
45519 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45521         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
45523 2013-06-25  Richard Henderson  <rth@redhat.com>
45525         * locale/programs/locarchive.c: Include <libc-internal.h>
45527 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
45529         * manual/texinfo.tex: Update to version 2013-06-21.17, with
45530         trailing whitespace removed.
45532 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
45534         [BZ #10283]
45535         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
45536         * locale/programs/locarchive.c: Include libc-mmap.h.
45537         (prepare_address_space): Take two new outputs (the mmap base and len).
45538         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
45539         values.
45540         (create_archive): Declare new mmap base and len values for
45541         prepare_address_space, and store the result in ah.
45542         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
45543         (enlarge_archive): If ah->mmap_base is not NULL, use that and
45544         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45545         Declare new mmap base and len values for
45546         prepare_address_space, and store the result in new_ah.
45547         (open_archive): Declare new mmap base and len values for
45548         prepare_address_space, and store the result in ah.
45549         (close_archive): If ah->mmap_base is not NULL, use that and
45550         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45551         * sysdeps/generic/libc-mmap.h: New file.
45553 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
45555         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
45556         (ALIGN_UP): Likewise.
45557         (PTR_ALIGN_DOWN): Likewise.
45558         (PTR_ALIGN_UP): Likewise.
45560 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45562         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
45563         entry mapped to PPC_PLATFORM_POWER8.
45564         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
45565         POWER8.
45566         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
45567         (_dl_string_platform): Add case for exporting platform position for
45568         POWER8.
45569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
45570         search path to sysdeps/powerpc/powerpc32/power8 directory.
45571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
45572         search path to sysdeps/powerpc/powerpc64/power8 directory.
45573         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
45574         power7 directories.
45575         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
45576         power7 directories.
45578 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45580         * INSTALL: Regenerate.
45582         * nscd/connections.c (nscd_init): Fix comment.
45584 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
45586         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
45588         [BZ #15667]
45589         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
45590         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
45592 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
45594         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
45595         DL_DST_REQ_STATIC.
45596         (DL_DST_REQ_STATIC): Remove macro.
45598 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
45600         [BZ #7006]
45601         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
45602         with a shift of 0 bits.
45604 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
45606         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
45607         $(tststatic-ENV).
45609 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45611         [BZ #15655]
45612         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
45614 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45616         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
45617         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
45618         accepts -fno-tree-loop-distribute-patterns.
45619         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
45620         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
45621         recursive call.
45622         * string/memset.c (memset): Likewise.
45623         * string/test-memmove.c (simple_memmove): Disable loop transformation
45624         to library calls.
45625         * string/test-memset.c (simple_memset): Likewise.
45626         * benchtests/bench-memmove.c (simple_memmove): Likewise.
45627         * benchtests/bench-memset.c (simple_memset): Likewise.
45628         * configure: Regenerated.
45630 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
45632         * math/test-misc.c (main): Ignore fesetround failure when failures
45633         of subsequent rounding tests would be ignored.
45635         [BZ #15654]
45636         * math/fedisblxcpt.c (fedisableexcept): Return 0.
45637         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
45638         * math/fegetenv.c (__fegetenv): Return 0.
45639         * math/fegetexcept.c (fegetexcept): Return 0.
45640         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
45641         FE_TONEAREST.
45642         * math/feholdexcpt.c (feholdexcept): Return 0.
45643         * math/fesetenv.c (__fesetenv): Return 0.
45644         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
45645         argument FE_TONEAREST.
45646         * math/feupdateenv.c (__feupdateenv): Return 0.
45647         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
45649 2013-06-18  Roland McGrath  <roland@hack.frob.com>
45651         * elf/rtld-Rules (rtld-compile-command.S): New variable.
45652         (rtld-compile-command.s, rtld-compile-command.c): New variables.
45653         ($(objpfx)rtld-%.os rules): Use them.
45655 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45657         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
45658         fields.
45660 2013-06-17  Roland McGrath  <roland@hack.frob.com>
45662         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
45663         length of target pattern, then descending length of dependency pattern.
45664         * configure.in (AWK): Require gawk 3.1.2 or newer.
45665         * manual/install.texi (Tools for Compilation): Say that we do.
45666         * configure: Regenerated.
45668         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
45669         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
45670         * scripts/sysd-rules.awk: ... this new script.
45671         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
45672         than a glob-style pattern.
45674 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
45676         * math/test-misc.c (main): Do not treat incorrectly rounded
45677         conversions as failure unless ROUNDING_TESTS passes.
45679 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
45681         [BZ #15631]
45682         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
45683         restore exception state around main square root computation, then
45684         check for inexactness explicitly.
45686         * math/libm-test.inc (fma_test_data): Add another test.
45688 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45690         * manual/threads.texi (Non-POSIX Extensions): New document
45691         node.  Document pthread_getattr_default_np and
45692         pthread_setattr_default_np.
45694         * Versions.def (libpthread): Add GLIBC_2.18.
45695         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
45696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45697         Likewise.
45698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45699         Likewise.
45700         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45701         Likewise.
45702         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45703         Likewise.
45704         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
45705         Likewise.
45706         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45707         Likewise.
45708         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45709         Likewise.
45710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45711         Likewise.
45712         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45713         Likewise.
45715 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45717         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45718         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
45720 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45721             H.J. Lu  <hjl.tools@gmail.com>
45723         [BZ #15627]
45724         * sysdeps/x86_64/rtld-memset.c: Remove file.
45725         * sysdeps/x86_64/rtld-memset.S: New file.
45727 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
45729         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
45730         (test_in_one_mode): Take arguments for whether the rounding mode
45731         is supported for each floating-point type.
45732         (do_test): Pass new arguments to test_in_one_mode using
45733         ROUNDING_TESTS.
45735 2013-06-13  Roland McGrath  <roland@hack.frob.com>
45737         * posix/tst-waitid.c (do_test): Distinguish different instances of
45738         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
45739         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
45740         before entering the kernel for waitpid.
45742 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45744         * NEWS: Fix note on clock function precision.  Text by Roland
45745         McGrath.
45747 2013-06-13  Roland McGrath  <roland@hack.frob.com>
45749         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
45750         it into place only when and if the sanity check passes.
45752 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
45754         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
45755         output for whether conversion result is exact.  Take argument
45756         indicating whether type is IBM long double.
45757         (round_for_all): Change need_exact field to ibm_ld.
45758         * stdlib/tst-strtod-round.c (struct exactness): New type.
45759         (struct test): Change bool ld_ok field to struct exactness exact.
45760         (TEST): Update all definitions for change to field.
45761         (tests): Regenerate array contents.
45762         (test_in_one_mode): Take pointer to new field instead of old ld_ok
45763         field value.  Check for IBM long double here.
45764         (do_test): Update calls to test_in_one_mode.
45766 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45768         [BZ #12515]
45769         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
45770         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
45772 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45774         [BZ #15605]
45775         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
45776         generated by the compiler on loop optimizations.
45777         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
45778         general definitions.
45780 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
45782         * math/bug-nextafter.c: Include <math-tests.h>.
45783         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45784         the relevant type.
45785         * math/bug-nexttoward.c: Include <math-tests.h>.
45786         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45787         the relevant type.
45788         * math/test-misc.c: Include <math-tests.h>.
45789         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45790         the relevant type.
45792 2013-06-12  Andreas Jaeger  <aj@suse.de>
45794         * po/ia.po: Update Interlingua translation from translation
45795         project.
45797 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45799         * include/fenv.h: Include stdbool.h.
45800         (struct rm_ctx): New structure.
45801         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
45802         Define macro.
45803         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
45804         (SET_RESTORE_ROUNDF): Likewise.
45805         (SET_RESTORE_ROUNDL): Likewise.
45806         (SET_RESTORE_ROUND_NOEX): Likewise.
45807         (SET_RESTORE_ROUND_NOEXF): Likewise.
45808         (SET_RESTORE_ROUND_NOEXL): Likewise.
45809         (SET_RESTORE_ROUND_53BIT): Likewise.
45810         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
45811         (libc_feresetround_noexf_ctx): Likewise.
45812         (libc_feresetround_noexl_ctx): Likewise.
45813         (libc_feholdsetround_53bit_ctx): Likewise.
45814         (libc_feresetround_53bit_ctx): Likewise.
45815         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
45816         (libc_feholdexcept_setround_sse_ctx): New function.
45817         (libc_fesetenv_sse_ctx): Likewise.
45818         (libc_feupdateenv_sse_ctx): Likewise.
45819         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
45820         (libc_feholdexcept_setround_387_ctx): Likewise.
45821         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
45822         (libc_feholdsetround_387_prec_ctx): Likewise.
45823         (libc_feholdsetround_387_ctx): Likewise.
45824         (libc_feholdsetround_387_53bit_ctx): Likewise.
45825         (libc_feholdsetround_sse_ctx): Likewise.
45826         (libc_feresetround_sse_ctx): Likewise.
45827         (libc_feresetround_387_ctx): Likewise.
45828         (libc_feupdateenv_387_ctx): Likewise.
45829         (libc_feholdexcept_setroundf_ctx): Define macro.
45830         (libc_fesetenvf_ctx): Likewise.
45831         (libc_feupdateenvf_ctx): Likewise.
45832         (libc_feholdsetroundf_ctx): Likewise.
45833         (libc_feresetroundf_ctx): Likewise.
45834         (libc_feholdexcept_setround_ctx): Likewise.
45835         (libc_fesetenv_ctx): Likewise.
45836         (libc_feupdateenv_ctx): Likewise.
45837         (libc_feholdsetround_ctx): Likewise.
45838         (libc_feresetround_ctx): Likewise.
45839         (libc_feholdexcept_setroundl_ctx): Likewise.
45840         (libc_feupdateenvl_ctx): Likewise.
45841         (libc_feholdsetroundl_ctx): Likewise.
45842         (libc_feresetroundl_ctx): Likewise.
45843         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
45844         (libc_feresetround_53bit_ctx): Likewise.
45846 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45848         * locale/iso-639.def: Convert to UTF-8.
45850 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
45852         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
45853         (EXCEPTION_TESTS_double): Likewise.
45854         (EXCEPTION_TESTS_long_double): Likewise.
45855         (EXCEPTION_TESTS): Likewise.
45856         * math/libm-test.inc (test_exceptions): Only test exceptions if
45857         EXCEPTION_TESTS (FLOAT).
45859 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45861         * benchtests/Makefile (string-bench): Add strcpy_chk and
45862         stpcpy_chk.
45863         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
45864         * benchtests/bench-stpcpy_chk.c: New file.
45865         * benchtests/bench-strcpy_chk-ifunc.c: New file.
45866         * benchtests/bench-strcpy_chk.c: New file.
45867         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
45868         code.
45869         (do_test): Likewise.
45871 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45873         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
45874         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
45875         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
45876         with tabs where appropriate.
45877         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
45878         dl-procinfo.h.
45879         [PPC_PLATFORM_PPC440]: Likewise.
45880         [PPC_PLATFORM_PPC464]: Likewise.
45881         [PPC_PLATFORM_PPC476]: Likewise.
45882         (_dl_string_platform): Add support for detecting ppc405, ppc440,
45883         ppc464, and ppc476 platform strings merging from ports/
45884         dl-procinfo.h.
45886 2013-06-11  Andreas Schwab  <schwab@suse.de>
45888         [BZ #14991]
45889         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
45890         (from_ucs4_idx): Regenerate.
45891         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
45892         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
45893         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
45894         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
45895         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
45896         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
45897         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
45898         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
45899         from FROM_LOOP and TO_LOOP specific macros.
45900         (BODY): Handle combining characters.
45901         * iconvdata/BIG5HKSCS.irreversible: Update.
45902         * iconvdata/BIG5HKSCS.precomposed: New file.
45903         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
45904         characters.
45905         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
45907 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45909         * include/sys/time.h: Fix indentation and add copyright header.
45911         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
45912         (do_test): Likewise.
45913         * string/test-memchr.c (do_one_test): Likewise.
45914         (do_test): Likewise.
45915         * string/test-memcmp.c (do_one_test): Likewise.
45916         (do_test): Likewise.
45917         * string/test-memcpy.c (do_one_test): Likewise.
45918         (do_test): Likewise.
45919         * string/test-memmem.c (do_one_test): Likewise.
45920         (do_test): Likewise.
45921         (do_random_tests): Likewise.
45922         * string/test-memmove.c (do_one_test): Likewise.
45923         (do_test): Likewise.
45924         * string/test-memset.c (do_one_test): Likewise.
45925         (do_test): Likewise.
45926         * string/test-rawmemchr.c (do_one_test): Likewise.
45927         (do_test): Likewise.
45928         * string/test-strcasecmp.c (do_one_test): Likewise.
45929         (do_test): Likewise.
45930         * string/test-strcasestr.c (do_one_test): Likewise.
45931         (do_test): Likewise.
45932         * string/test-strcat.c (do_one_test): Likewise.
45933         (do_test): Likewise.
45934         * string/test-strchr.c (do_one_test): Likewise.
45935         (do_test): Likewise.
45936         * string/test-strcmp.c (do_one_test): Likewise.
45937         (do_test): Likewise.
45938         * string/test-strcpy.c (do_one_test): Likewise.
45939         (do_test): Likewise.
45940         * string/test-string.h: Likewise.
45941         (test_init): Likewise.
45942         * string/test-strlen.c (do_one_test): Likewise.
45943         (do_test): Likewise.
45944         * string/test-strncasecmp.c (do_one_test): Likewise.
45945         (do_test): Likewise.
45946         * string/test-strncat.c (do_one_test): Likewise.
45947         (do_test): Likewise.
45948         * string/test-strncmp.c (do_one_test): Likewise.
45949         (do_test_limit): Likewise.
45950         (do_test): Likewise.
45951         * string/test-strncpy.c (do_one_test): Likewise.
45952         (do_test): Likewise.
45953         * string/test-strnlen.c (do_one_test): Likewise.
45954         (do_test): Likewise.
45955         * string/test-strpbrk.c (do_one_test): Likewise.
45956         (do_test): Likewise.
45957         * string/test-strrchr.c (do_one_test): Likewise.
45958         (do_test): Likewise.
45959         * string/test-strspn.c (do_one_test): Likewise.
45960         (do_test): Likewise.
45961         * string/test-strstr.c (do_one_test): Likewise.
45962         (do_test): Likewise.
45964         * benchtests/Makefile (string-bench): Add string benchmarks.
45965         * benchtests/bench-bcopy-ifunc.c: New file.
45966         * benchtests/bench-bcopy.c: New file.
45967         * benchtests/bench-bzero-ifunc.c: New file.
45968         * benchtests/bench-bzero.c: New file.
45969         * benchtests/bench-memccpy-ifunc.c: New file.
45970         * benchtests/bench-memccpy.c: New file.
45971         * benchtests/bench-memchr-ifunc.c: New file.
45972         * benchtests/bench-memchr.c: New file.
45973         * benchtests/bench-memcmp-ifunc.c: New file.
45974         * benchtests/bench-memcmp.c: New file.
45975         * benchtests/bench-memmem-ifunc.c: New file.
45976         * benchtests/bench-memmem.c: New file.
45977         * benchtests/bench-memmove-ifunc.c: New file.
45978         * benchtests/bench-memmove.c: New file.
45979         * benchtests/bench-mempcpy-ifunc.c: New file.
45980         * benchtests/bench-mempcpy.c: New file.
45981         * benchtests/bench-memset-ifunc.c: New file.
45982         * benchtests/bench-memset.c: New file.
45983         * benchtests/bench-rawmemchr-ifunc.c: New file.
45984         * benchtests/bench-rawmemchr.c: New file.
45985         * benchtests/bench-stpcpy-ifunc.c: New file.
45986         * benchtests/bench-stpcpy.c: New file.
45987         * benchtests/bench-stpncpy-ifunc.c: New file.
45988         * benchtests/bench-stpncpy.c: New file.
45989         * benchtests/bench-strcasecmp-ifunc.c: New file.
45990         * benchtests/bench-strcasecmp.c: New file.
45991         * benchtests/bench-strcasestr-ifunc.c: New file.
45992         * benchtests/bench-strcasestr.c: New file.
45993         * benchtests/bench-strcat-ifunc.c: New file.
45994         * benchtests/bench-strcat.c: New file.
45995         * benchtests/bench-strchr-ifunc.c: New file.
45996         * benchtests/bench-strchr.c: New file.
45997         * benchtests/bench-strchrnul-ifunc.c: New file.
45998         * benchtests/bench-strchrnul.c: New file.
45999         * benchtests/bench-strcmp-ifunc.c: New file.
46000         * benchtests/bench-strcmp.c: New file.
46001         * benchtests/bench-strcpy-ifunc.c: New file.
46002         * benchtests/bench-strcpy.c: New file.
46003         * benchtests/bench-strcspn-ifunc.c: New file.
46004         * benchtests/bench-strcspn.c: New file.
46005         * benchtests/bench-strlen-ifunc.c: New file.
46006         * benchtests/bench-strlen.c: New file.
46007         * benchtests/bench-strncasecmp-ifunc.c: New file.
46008         * benchtests/bench-strncasecmp.c: New file.
46009         * benchtests/bench-strncat-ifunc.c: New file.
46010         * benchtests/bench-strncat.c: New file.
46011         * benchtests/bench-strncmp-ifunc.c: New file.
46012         * benchtests/bench-strncmp.c: New file.
46013         * benchtests/bench-strncpy-ifunc.c: New file.
46014         * benchtests/bench-strncpy.c: New file.
46015         * benchtests/bench-strnlen-ifunc.c: New file.
46016         * benchtests/bench-strnlen.c: New file.
46017         * benchtests/bench-strpbrk-ifunc.c: New file.
46018         * benchtests/bench-strpbrk.c: New file.
46019         * benchtests/bench-strrchr-ifunc.c: New file.
46020         * benchtests/bench-strrchr.c: New file.
46021         * benchtests/bench-strspn-ifunc.c: New file.
46022         * benchtests/bench-strspn.c: New file.
46023         * benchtests/bench-strstr-ifunc.c: New file.
46024         * benchtests/bench-strstr.c: New file.
46026         * benchtests/Makefile: Disable parallel execution of targets.
46027         (string-bench): Add memcpy.
46028         (benchset): New variable to store a list of benchmark sets.
46029         (bench-func): Renamed from bench.
46030         (bench-set): New target.
46031         (bench): Depend on bench-func and bench-set.
46032         * benchtests/README: Add section on benchmark sets.
46033         * benchtests/bench-memcpy-ifunc.c: New file.
46034         * benchtests/bench-memcpy.c: New file.
46035         * benchtests/bench-string.h: New file.
46037 2013-06-11  Andreas Schwab  <schwab@suse.de>
46039         [BZ #15577]
46040         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
46041         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
46042         values in the triple.
46043         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
46044         terminator in the group key.
46046 2013-06-11  Andreas Jaeger  <aj@suse.de>
46048         * po/zh_TW.po: Update Chinese (traditional) translation from
46049         translation project.
46051 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46053         * include/time.h (__clock_gettime): Add libc_hidden_proto.
46054         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
46055         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
46056         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46057         (clock_getcpuclockid): Likewise.
46058         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
46059         Add weak_alias and libc_hidden_def.
46060         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
46061         * rt/clock_gettime.c (clock_gettime): Rename to
46062         __clock_gettime.  Add weak_alias and libc_hidden_def.
46063         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
46064         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
46065         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
46066         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
46067         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
46068         Likewise.
46069         * rt/clock_settime.c (clock_settime): Rename to
46070         __clock_settime.  Add weak_alias and libc_hidden_def.
46071         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
46073 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
46075         * mach/err_boot.sub: Remove trailing whitespace.
46076         * mach/err_ipc.sub: Likewise.
46077         * mach/err_mach.sub: Likewise.
46079         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
46080         (ROUNDING_TESTS_double): Likewise.
46081         (ROUNDING_TESTS_long_double): Likewise.
46082         (ROUNDING_TESTS): Likewise.
46083         * math/libm-test.inc: Include <math-tests.h>.
46084         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
46085         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46086         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46087         (IF_ROUND_INIT_FE_UPWARD): Likewise.
46089 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46091         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
46092         of assigning.
46094 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
46096         * sysdeps/gnu/errlist.awk: Do not generate space at end of
46097         otherwise empty TRANS lines.
46098         * sysdeps/gnu/errlist.c: Regenerated.
46100         * catgets/gencat.c (error_print): Use (void) in function
46101         definition.
46102         * crypt/crypt_util.c (__init_des): Likewise.
46103         * crypt/speeds.c (Stop): Likewise.
46104         (main): Likewise.
46105         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
46106         * inet/ruserpass.c (token): Likewise.
46107         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
46108         * intl/localealias.c (extend_alias_table): Likewise.
46109         * intl/plural-exp.c (init_germanic_plural): Likewise.
46110         * libio/fcloseall.c (__fcloseall): Likewise.
46111         * libio/genops.c (_IO_flush_all): Likewise.
46112         (_IO_flush_all_linebuffered): Likewise.
46113         (_IO_cleanup): Likewise.
46114         (_IO_iter_begin): Likewise.
46115         (_IO_iter_end): Likewise.
46116         (_IO_list_lock): Likewise.
46117         (_IO_list_unlock): Likewise.
46118         (_IO_list_resetlock): Likewise.
46119         * libio/getchar.c (getchar): Likewise.
46120         * libio/getchar_u.c (getchar_unlocked): Likewise.
46121         * libio/getwchar.c (getwchar): Likewise.
46122         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
46123         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
46124         * login/getpt.c (__getpt): Likewise.
46125         * login/tst-utmp.c (main): Likewise.
46126         * malloc/hooks.c (__malloc_check_init): Likewise.
46127         * malloc/malloc.c (__malloc_stats): Likewise.
46128         * malloc/mtrace.c (tr_break): Likewise.
46129         (mtrace): Likewise.
46130         (muntrace): Likewise.
46131         * misc/fstab.c (endfsent): Likewise.
46132         * misc/getclktck.c (__getclktck): Likewise.
46133         * misc/getdtsz.c (__getdtablesize): Likewise.
46134         * misc/gethostid.c (gethostid): Likewise.
46135         * misc/getpagesize.c (__getpagesize): Likewise.
46136         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
46137         (__get_nprocs): Likewise.
46138         (__get_phys_pages): Likewise.
46139         (__get_avphys_pages): Likewise.
46140         * misc/getttyent.c (getttyent): Likewise.
46141         (setttyent): Likewise.
46142         (endttyent): Likewise.
46143         * misc/getusershell.c (getusershell): Likewise.
46144         (endusershell): Likewise.
46145         (setusershell): Likewise.
46146         (initshells): Likewise.
46147         * misc/hsearch.c (__hdestroy): Likewise.
46148         * misc/sync.c (sync): Likewise.
46149         * misc/syslog.c (closelog_internal): Likewise.
46150         (closelog): Likewise.
46151         * misc/ttyslot.c (ttyslot): Likewise.
46152         * misc/vhangup.c (vhangup): Likewise.
46153         * posix/fork.c (__fork): Likewise.
46154         * posix/getegid.c (__getegid): Likewise.
46155         * posix/geteuid.c (__geteuid): Likewise.
46156         * posix/getgid.c (__getgid): Likewise.
46157         * posix/getpid.c (__getpid): Likewise.
46158         * posix/getppid.c (__getppid): Likewise.
46159         * posix/getuid.c (__getuid): Likewise.
46160         * posix/pause.c (pause): Likewise.
46161         * posix/setpgrp.c (setpgrp): Likewise.
46162         * posix/setsid.c (__setsid): Likewise.
46163         * posix/test-vfork.c (noop): Likewise.
46164         * resolv/gethnamaddr.c (_endhtent): Likewise.
46165         (_gethtent): Likewise.
46166         (ht_endhostent): Likewise.
46167         (gethostent): Likewise.
46168         (dns_service): Likewise.
46169         * stdlib/drand48.c (drand48): Likewise.
46170         * stdlib/lrand48.c (lrand48): Likewise.
46171         * stdlib/mrand48.c (mrand48): Likewise.
46172         * stdlib/rand.c (rand): Likewise.
46173         * stdlib/random.c (__random): Likewise.
46174         * stdlib/setenv.c (clearenv): Likewise.
46175         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
46176         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
46177         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
46178         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
46179         (__get_nprocs): Likewise.
46180         (__get_phys_pages): Likewise.
46181         (__get_avphys_pages): Likewise.
46182         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
46183         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
46184         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
46185         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
46186         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
46187         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
46188         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
46189         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
46190         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
46191         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
46192         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
46193         * sysdeps/mach/hurd/sync.c (sync): Likewise.
46194         * sysdeps/posix/clock.c (clock): Likewise.
46195         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
46196         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
46197         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
46198         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
46199         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
46200         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
46201         (__get_nprocs_conf): Likewise.
46202         (__get_phys_pages): Likewise.
46203         (__get_avphys_pages): Likewise.
46204         * time/clock.c (clock): Likewise.
46205         * time/tzset.c (__tzname_max): Likewise.
46207 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
46209         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
46210         (__bswap_32): Do not use "register".
46211         * crypt/crypt.c (_ufc_doit_r): Likewise.
46212         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46213         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46214         * gmon/gmon.c (__monstartup): Likewise.
46215         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
46216         * hurd/hurdmalloc.c (more_memory): Likewise.
46217         (malloc): Likewise.
46218         (free): Likewise.
46219         (realloc): Likewise.
46220         (malloc_fork_prepare): Likewise.
46221         (malloc_fork_parent): Likewise.
46222         (malloc_fork_child): Likewise.
46223         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
46224         (_svcauth_des): Likewise.
46225         * inet/inet_lnaof.c (inet_lnaof): Likewise.
46226         * inet/inet_net.c (inet_network): Likewise.
46227         * inet/inet_netof.c (inet_netof): Likewise.
46228         * inet/rcmd.c (__validuser2_sa): Likewise.
46229         * io/fts.c (fts_open): Likewise.
46230         (fts_load): Likewise.
46231         (fts_close): Likewise.
46232         (fts_read): Likewise.
46233         (fts_children): Likewise.
46234         (fts_build): Likewise.
46235         (fts_stat): Likewise.
46236         (fts_sort): Likewise.
46237         (fts_alloc): Likewise.
46238         (fts_lfree): Likewise.
46239         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
46240         (_IO_file_xsgetn): Likewise.
46241         (_IO_file_xsgetn_mmap): Likewise.
46242         * libio/iofopncook.c (_IO_cookie_read): Likewise.
46243         (_IO_cookie_write): Likewise.
46244         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
46245         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
46246         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
46247         * malloc/obstack.c (_obstack_begin): Likewise.
46248         (_obstack_begin_1): Likewise.
46249         (_obstack_newchunk): Likewise.
46250         (_obstack_allocated_p): Likewise.
46251         (obstack_free): Likewise.
46252         (_obstack_memory_used): Likewise.
46253         * misc/getttyent.c (getttynam): Likewise.
46254         (getttyent): Likewise.
46255         (skip): Likewise.
46256         (value): Likewise.
46257         * misc/getusershell.c (initshells): Likewise.
46258         * misc/syslog.c (__vsyslog_chk): Likewise.
46259         * misc/ttyslot.c (ttyslot): Likewise.
46260         * nis/nis_hash.c (__nis_hash): Likewise.
46261         * posix/fnmatch_loop.c (FCT): Likewise.
46262         * posix/getconf.c (print_all): Likewise.
46263         (main): Likewise.
46264         * posix/getopt.c (exchange): Likewise.
46265         * posix/glob.c (globfree): Likewise.
46266         (prefix_array): Likewise.
46267         (__glob_pattern_type): Likewise.
46268         * resolv/arpa/nameser.h (NS_GET16): Likewise.
46269         (NS_GET32): Likewise.
46270         (NS_PUT16): Likewise.
46271         (NS_PUT32): Likewise.
46272         * resolv/gethnamaddr.c (getanswer): Likewise.
46273         (gethostbyname2): Likewise.
46274         (gethostbyaddr): Likewise.
46275         (_gethtent): Likewise.
46276         (_gethtbyname2): Likewise.
46277         (_gethtbyaddr): Likewise.
46278         * resolv/ns_print.c (dst_s_get_int16): Likewise.
46279         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
46280         * resolv/res_init.c (__res_vinit): Likewise.
46281         (net_mask): Likewise.
46282         * resolv/res_mkquery.c (outchar): Likewise.
46283         (PRINT): Likewise.
46284         * stdio-common/printf_fp.c (outchar): Likewise.
46285         (PRINT): Likewise.
46286         * stdio-common/printf_fphex.c (outchar): Likewise.
46287         (PRINT): Likewise.
46288         * stdio-common/printf_size.c (outchar): Likewise.
46289         (PRINT): Likewise.
46290         * stdio-common/test_rdwr.c (main): Likewise.
46291         * stdio-common/tfformat.c (matches): Likewise.
46292         * stdio-common/vfprintf.c (outchar): Likewise.
46293         (printf_unknown): Likewise.
46294         (buffered_vfprintf): Likewise.
46295         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46296         * stdio-common/xbug.c (AppendToBuffer): Likewise.
46297         (ReadFile): Likewise.
46298         * stdlib/qsort.c (SWAP): Likewise.
46299         (_quicksort): Likewise.
46300         * stdlib/setenv.c (__add_to_environ): Likewise.
46301         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46302         * stdlib/strtol_l.c (__strtol_l): Likewise.
46303         * stdlib/tst-strtod.c (main): Likewise.
46304         * stdlib/tst-strtol.c (main): Likewise.
46305         * stdlib/tst-strtoll.c (main): Likewise.
46306         * string/bits/string2.h (__strcmp_cc): Likewise.
46307         (__strcmp_cg): Likewise.
46308         (__strcspn_c1): Likewise.
46309         (__strcspn_c2): Likewise.
46310         (__strcspn_c3): Likewise.
46311         (__strspn_c1): Likewise.
46312         (__strspn_c2): Likewise.
46313         (__strspn_c3): Likewise.
46314         (__strsep_1c): Likewise.
46315         (__strsep_2c): Likewise.
46316         (__strsep_3c): Likewise.
46317         * string/memccpy.c (__memccpy): Likewise.
46318         * string/stpcpy.c (__stpcpy): Likewise.
46319         * string/strcmp.c (strcmp): Likewise.
46320         * string/strrchr.c (strrchr): Likewise.
46321         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
46322         Likewise.
46323         * sysdeps/mach/hurd/getcwd.c
46324         (_hurd_canonicalize_directory_name_internal): Likewise.
46325         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
46326         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
46327         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
46328         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
46329         Likewise, in both definitions.
46330         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
46331         definitions.
46332         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
46333         64] (__bswap_64): Likewise.
46334         * time/test_time.c (main): Likewise.
46335         * time/tzfile.c (__tzfile_read): Likewise.
46336         (__tzfile_compute): Likewise.
46337         * time/tzset.c (__tzset_parse_tz): Likewise.
46338         (tzset_internal): Likewise.
46339         (compute_change): Likewise.
46340         * wcsmbs/wcscat.c (__wcscat): Likewise.
46341         * wcsmbs/wcschr.c (wcschr): Likewise.
46342         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
46343         * wcsmbs/wcscspn.c (wcscspn): Likewise.
46344         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
46345         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
46346         * wcsmbs/wcsspn.c (wcsspn): Likewise.
46347         * wcsmbs/wcsstr.c (wcsstr): Likewise.
46348         * wcsmbs/wmemchr.c (wmemchr): Likewise.
46349         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46350         * wcsmbs/wmemset.c (wmemset): Likewise.
46352 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
46354         * scripts/config.guess: Update to version 2013-05-16.
46355         * scripts/config.sub: Update to version 2013-04-24.
46356         * scripts/install-sh: Update to version 2011-11-20.07.
46357         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
46358         * scripts/move-if-change: Update to version 2012-01-06 07:23.
46360 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
46362         * debug/fgetws_u_chk.c: Fix leading whitespaces.
46363         * elf/sln.c: Likewise.
46364         * hurd/hurd/ioctl.h: Likewise.
46365         * hurd/hurdmalloc.c: Likewise.
46366         * hurd/xattr.c: Likewise.
46367         * include/shlib-compat.h: Likewise.
46368         * inet/ruserpass.c: Likewise.
46369         * libio/iofgets_u.c: Likewise.
46370         * libio/iofgetws_u.c: Likewise.
46371         * locale/programs/ld-identification.c: Likewise.
46372         * locale/programs/ld-time.c: Likewise.
46373         * mach/msg-destroy.c: Likewise.
46374         * nss/nss_files/files-netgrp.c: Likewise.
46375         * resolv/res_data.c: Likewise.
46376         * soft-fp/op-1.h: Likewise.
46377         * soft-fp/op-2.h: Likewise.
46378         * soft-fp/op-4.h: Likewise.
46379         * soft-fp/op-common.h: Likewise.
46380         * stdio-common/printf_fphex.c: Likewise.
46381         * stdlib/strtod_l.c: Likewise.
46382         * sunrpc/rpc/clnt.h: Likewise.
46383         * sysdeps/generic/framestate.c: Likewise.
46384         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46385         * sysdeps/i386/bsd-setjmp.S: Likewise.
46386         * sysdeps/i386/__longjmp.S: Likewise.
46387         * sysdeps/i386/setjmp.S: Likewise.
46388         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46389         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46390         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46391         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46392         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46393         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46394         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46395         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46396         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46397         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
46398         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46399         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46400         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46401         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46402         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46403         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46404         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46405         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
46406         * sysdeps/ieee754/support.c: Likewise.
46407         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46408         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
46409         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
46410         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
46411         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
46412         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
46413         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
46414         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
46415         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
46416         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
46417         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
46418         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
46419         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
46420         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
46421         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
46422         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
46423         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
46424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
46426 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
46428         * posix/transbug.c: Remove executable mode.
46430 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
46432         * crypt/speeds.c: Remove trailing whitespace.
46433         * dlfcn/default.c: Likewise.
46434         * elf/ifuncdep2.c: Likewise.
46435         * elf/ifuncmain1.c: Likewise.
46436         * elf/ifuncmain1vis.c: Likewise.
46437         * elf/testobj.h: Likewise.
46438         * elf/tst-stackguard1.c: Likewise.
46439         * gmon/sys/gmon.h: Likewise.
46440         * hurd/hurdmsg.c: Likewise.
46441         * hurd/new-fd.c: Likewise.
46442         * hurd/ports-get.c: Likewise.
46443         * iconvdata/ibm1008_420.c: Likewise.
46444         * inet/tst-getni1.c: Likewise.
46445         * inet/tst-getni2.c: Likewise.
46446         * libio/ioungetc.c: Likewise.
46447         * libio/wfiledoalloc.c: Likewise.
46448         * manual/libm-err-tab.pl: Likewise.
46449         * math/w_dremf.c: Likewise.
46450         * misc/ftruncate.c: Likewise.
46451         * posix/bug-glob2.c: Likewise.
46452         * posix/tst-pcre.c: Likewise.
46453         * posix/wait4.c: Likewise.
46454         * resolv/README: Likewise.
46455         * resolv/res_debug.h: Likewise.
46456         * resolv/tst-inet_ntop.c: Likewise.
46457         * setjmp/bug269-setjmp.c: Likewise.
46458         * soft-fp/extended.h: Likewise.
46459         * soft-fp/op-1.h: Likewise.
46460         * soft-fp/op-2.h: Likewise.
46461         * soft-fp/op-4.h: Likewise.
46462         * soft-fp/op-8.h: Likewise.
46463         * soft-fp/testit.c: Likewise.
46464         * stdio-common/bug16.c: Likewise.
46465         * stdlib/random.c: Likewise.
46466         * sunrpc/rpcsvc/rquota.x: Likewise.
46467         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
46468         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46469         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46470         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46471         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46472         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46473         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46474         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46475         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46476         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46477         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46478         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46479         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46480         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46481         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46482         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46483         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46484         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46485         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46486         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46487         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46488         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46489         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
46490         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46491         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46492         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46493         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46494         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46495         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46496         * sysdeps/ieee754/s_lib_version.c: Likewise.
46497         * sysdeps/mach/hurd/check_fds.c: Likewise.
46498         * sysdeps/mach/hurd/getsockname.c: Likewise.
46499         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
46500         * sysdeps/mach/hurd/recvfrom.c: Likewise.
46501         * sysdeps/powerpc/bits/link.h: Likewise.
46502         * sysdeps/powerpc/dl-procinfo.c: Likewise.
46503         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
46504         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
46505         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
46506         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
46507         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46508         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
46509         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
46510         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
46511         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46512         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
46513         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46514         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
46515         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46516         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46517         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46518         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46519         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46520         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46521         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46522         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46523         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
46524         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46525         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46526         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
46527         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46528         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46529         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46530         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46531         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46532         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46533         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46534         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46535         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46536         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
46537         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
46538         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
46539         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46540         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
46541         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
46542         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
46543         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
46544         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
46545         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
46546         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46547         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
46548         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
46549         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46550         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
46551         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
46552         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46553         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46554         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46555         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46556         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
46557         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
46558         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
46559         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46560         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
46561         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
46562         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
46563         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
46564         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
46565         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46566         * sysdeps/powerpc/sysdep.h: Likewise.
46567         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46568         * sysdeps/s390/s390-64/sub_n.S: Likewise.
46569         * sysdeps/sh/dl-trampoline.S: Likewise.
46570         * sysdeps/sh/memset.S: Likewise.
46571         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
46572         * sysdeps/sh/strlen.S: Likewise.
46573         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
46574         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
46575         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
46576         * sysdeps/sparc/sparc32/rem.S: Likewise.
46577         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
46578         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
46579         * sysdeps/sparc/sparc32/strchr.S: Likewise.
46580         * sysdeps/sparc/sparc32/udiv.S: Likewise.
46581         * sysdeps/sparc/sparc32/urem.S: Likewise.
46582         * sysdeps/sparc/sparc64/add_n.S: Likewise.
46583         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46584         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
46585         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
46586         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
46587         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
46588         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
46589         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
46590         * sysdeps/unix/bsd/times.c: Likewise.
46591         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
46592         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
46593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
46594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
46595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
46596         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
46597         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
46598         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
46599         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
46600         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
46601         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
46602         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46603         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
46604         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46605         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46606         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
46607         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46608         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
46609         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
46610         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
46611         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
46612         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
46613         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46614         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
46615         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
46616         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
46617         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
46618         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46619         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
46620         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
46621         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
46622         * sysdeps/x86_64/strcspn.S: Likewise.
46624 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46626         * locale/C-translit.h: Revert #include <stdint.h> because this is a
46627         generated file.  Regenerate properly from gen-translit.pl.
46628         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
46629         locale/C-translit.h.
46631 2013-06-05  Andreas Schwab  <schwab@suse.de>
46633         [BZ #15100]
46634         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
46635         week as 6 instead of -1.
46636         * time/tst-strptime.c (day_tests): Add test case.
46638 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46640         * sysdeps/generic/math_private.h
46641         (libc_feholdexcept_setround_53bit): Replace with
46642         libc_feholdsetround_53bit.
46643         (libc_feupdateenv_53bit): Replace with
46644         libc_feresetround_53bit.
46645         (SET_RESTORE_ROUND_53BIT): Adjust.
46647 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46649         * string/test-strchrnul.c: Add copyright header.
46651         * posix/tst-getaddrinfo4.c: Increase test timeout.
46653 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
46655         [BZ #15536]
46656         * math/libm-test.inc (MAX_EXP): Remove
46657         (MIN_EXP): Define.
46658         (ulp): Use MIN_EXP - MANT_DIG.
46659         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
46661 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
46663         * po/be.po: Revert last change.
46664         * po/zh_CN.po: Likewise.
46665         * po/header.pot: Likewise.
46667 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
46669         * Makefile ($(common-objpfx)linkobj/libc.so): Define
46670         link-libc-deps to empty as target-specific variable.
46671         * Makerules (link-libc-args): New variable.
46672         (libc-for-link): Likewise.
46673         (link-libc-deps): Likewise.
46674         (lib%.so): Depend on $(link-libc-deps).  Link with
46675         $(link-libc-args).
46676         (build-module): Link with $(link-libc-args).
46677         (build-module-asneeded): Likewise.
46678         (build-module-helper-objlist): Filter out $(link-libc-deps) from
46679         list of objects.
46680         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
46681         target-specific variable.
46682         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
46683         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
46684         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
46685         libc.
46686         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
46687         libc and ld.so.
46688         ($(objpfx)libpcprofile.so): Likewise.
46689         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
46690         libc_nonshared.a.
46691         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
46692         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
46693         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
46694         $(link-libc-deps).
46695         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
46696         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
46697         * login/Makefile ($(objpfx)libutil.so): Likewise.
46698         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
46699         * math/Makefile ($(objpfx)libm.so): Likewise.
46700         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
46701         $(objpfx)libnsl.so): Define libc-for-link as target-specific
46702         variable instead of depending directly on libc.
46703         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
46704         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
46705         $(link-libc-deps).
46706         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
46707         libc.
46708         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
46709         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
46710         ($(objpfx)libanl.so): Likewise.
46711         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
46712         ld.so.
46713         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
46714         $(link-libc-deps).
46715         * sysdeps/i386/fpu/Makefile: Remove file.
46716         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
46717         ($(objpfx)libm.so): Remove dependency on ld.so.
46719 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
46721         [BZ # 15553]
46722         * nis/yp_xdr.c (XDRMAXNAME): Define.
46723         (XDRMAXRECORD): Define.
46724         (xdr_domainname): Use XDRMAXNAME.
46725         (xdr_mapname): Likewise.
46726         (xdr_peername): Likewise.
46727         (xdr_keydat): Use XDRMAXRECORD.
46728         (xdr_valdat): Likewise.
46730 2013-05-30  Jeff Law  <law@redhat.com>
46732         [BZ #14256]
46733         * manual/errno.texi (ESTALE): Update to account for more than
46734         just NFS file systems.
46735         * sysdeps/gnu/errlist.c: Regenerated.
46737 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46739         [BZ #15465]
46740         * elf/Makefile (tests): Add tst-null-argv.
46741         (modules-names):  Add tst-null-argv-lib.
46742         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
46743         (tst-null-argv-ENV): Set environment for tst-null-argv.
46744         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
46745         (RTLD_PROGNAME): New macro.
46746         * elf/tst-null-argv.c: New test case.
46747         * elf/tst-null-argv-lib.c: Library for test case.
46748         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
46749         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
46750         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
46751         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
46752         * elf/dl-init.c (call_init): Likewise.
46753         (_dl_init): Likewise.
46754         * elf/dl-load.c (print_search_path): Likewise.
46755         (_dl_map_object): Likewise.
46756         * elf/dl-lookup.c (do_lookup_x): Likewise.
46757         (add_dependency): Likewise.
46758         (_dl_lookup_symbol_x): Likewise.
46759         (_dl_debug_bindings): Likewise.
46760         * elf/dl-open.c (_dl_show_scope): Likewise.
46761         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46762         * elf/dl-version.c (match_symbol): Likewise.
46763         (_dl_check_map_versions): Likewise.
46764         * elf/rtld.c (dl_main): Likewise.
46765         (print_unresolved): Use RTLD_PROGNAME.
46766         (print_missing_version): Likewise.
46767         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
46768         (elf_machine_rela): Likewise.
46769         * sysdeps/powerpc/powerpc32/dl-machine.c
46770         (__process_machine_rela): Likewise.
46771         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46772         Likewise.
46773         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46774         Likewise.
46775         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
46776         Likewise.
46777         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46778         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
46779         Likewise.
46780         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
46781         Likewise.
46782         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46784 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
46786         * po/be.po: Add descriptive title.
46787         * po/zh_CN.po: Likewise.
46788         * po/header.pot: Likewise.
46790 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
46792         * locale/programs/locarchive.c (create_archive): Inlucde fname in
46793         error message.
46794         (enlarge_archive): Likewise.
46796 2013-05-28  Ben North  <ben@redfrontdoor.org>
46798         * manual/arith.texi (frexp): It is the magnitude of the return
46799         value which lies in [0.5, 1), not the return value itself.
46801 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46803         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46805 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
46807         * stdio-common/bug26.c (main): Correct fscanf template.
46809         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
46810         declare _dl_skip_args.
46812         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
46813         Don't declare.
46815         * manual/platform.texi: Add missing @end deftypefun.
46817 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
46819         [BZ #15529]
46820         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
46821         bit of mantissa of 2^16382.
46822         * math/libm-test.inc (hypot_test_data): Add more tests.
46824         * math/libm-test.inc: Add drem and pow10 to list of tested
46825         functions.
46826         (pow10_test): New function.
46827         (drem_test): Likewise.
46828         (drem_test_tonearest): Likewise.
46829         (drem_test_towardzero): Likewise.
46830         (drem_test_downward): Likewise.
46831         (drem_test_upward): Likewise.
46832         (main): Call the new functions.
46834         * math/libm-test.inc (finite_test_data): Remove.
46835         (finite_test): Run tests from isfinite_test_data.
46836         (gamma_test_data): Remove.
46837         (gamma_test): Run tests from lgamma_test_data.
46838         * sysdeps/i386/fpu/libm-test-ulps: Update.
46839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46841 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46843         * manual/platform.texi: Add PowerPC PPR function set documentation.
46844         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
46845         implementation.
46847 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
46849         * math/libm-test.inc (MAX_EXP): Define.
46850         (ULPDIFF): Define.
46851         (ulp): New function.
46852         (check_float_internal): Use ULPDIFF.
46853         (cpow_test): Disable failing test.
46854         (check_ulp): Test ulp() implemetnation.
46855         (main): Call check_ulp before starting tests.
46857 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
46859         * math/gen-libm-test.pl (generate_testfile): Do not handle
46860         START_DATA and END_DATA.
46861         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
46862         END_DATA.
46863         (acos_tonearest_test_data): Likewise.
46864         (acos_towardzero_test_data): Likewise.
46865         (acos_downward_test_data): Likewise.
46866         (acos_upward_test_data): Likewise.
46867         (acosh_test_data): Likewise.
46868         (asin_test_data): Likewise.
46869         (asin_tonearest_test_data): Likewise.
46870         (asin_towardzero_test_data): Likewise.
46871         (asin_downward_test_data): Likewise.
46872         (asin_upward_test_data): Likewise.
46873         (asinh_test_data): Likewise.
46874         (atan_test_data): Likewise.
46875         (atanh_test_data): Likewise.
46876         (atan2_test_data): Likewise.
46877         (cabs_test_data): Likewise.
46878         (cacos_test_data): Likewise.
46879         (cacosh_test_data): Likewise.
46880         (carg_test_data): Likewise.
46881         (casin_test_data): Likewise.
46882         (casinh_test_data): Likewise.
46883         (catan_test_data): Likewise.
46884         (catanh_test_data): Likewise.
46885         (cbrt_test_data): Likewise.
46886         (ccos_test_data): Likewise.
46887         (ccosh_test_data): Likewise.
46888         (ceil_test_data): Likewise.
46889         (cexp_test_data): Likewise.
46890         (cimag_test_data): Likewise.
46891         (clog_test_data): Likewise.
46892         (clog10_test_data): Likewise.
46893         (conj_test_data): Likewise.
46894         (copysign_test_data): Likewise.
46895         (cos_test_data): Likewise.
46896         (cos_tonearest_test_data): Likewise.
46897         (cos_towardzero_test_data): Likewise.
46898         (cos_downward_test_data): Likewise.
46899         (cos_upward_test_data): Likewise.
46900         (cosh_test_data): Likewise.
46901         (cosh_tonearest_test_data): Likewise.
46902         (cosh_towardzero_test_data): Likewise.
46903         (cosh_downward_test_data): Likewise.
46904         (cosh_upward_test_data): Likewise.
46905         (cpow_test_data): Likewise.
46906         (cproj_test_data): Likewise.
46907         (creal_test_data): Likewise.
46908         (csin_test_data): Likewise.
46909         (csinh_test_data): Likewise.
46910         (csqrt_test_data): Likewise.
46911         (ctan_test_data): Likewise.
46912         (ctan_tonearest_test_data): Likewise.
46913         (ctan_towardzero_test_data): Likewise.
46914         (ctan_downward_test_data): Likewise.
46915         (ctan_upward_test_data): Likewise.
46916         (ctanh_test_data): Likewise.
46917         (ctanh_tonearest_test_data): Likewise.
46918         (ctanh_towardzero_test_data): Likewise.
46919         (ctanh_downward_test_data): Likewise.
46920         (ctanh_upward_test_data): Likewise.
46921         (erf_test_data): Likewise.
46922         (erfc_test_data): Likewise.
46923         (exp_test_data): Likewise.
46924         (exp_tonearest_test_data): Likewise.
46925         (exp_towardzero_test_data): Likewise.
46926         (exp_downward_test_data): Likewise.
46927         (exp_upward_test_data): Likewise.
46928         (exp10_test_data): Likewise.
46929         (exp2_test_data): Likewise.
46930         (expm1_test_data): Likewise.
46931         (fabs_test_data): Likewise.
46932         (fdim_test_data): Likewise.
46933         (finite_test_data): Likewise.
46934         (floor_test_data): Likewise.
46935         (fma_test_data): Likewise.
46936         (fma_towardzero_test_data): Likewise.
46937         (fma_downward_test_data): Likewise.
46938         (fma_upward_test_data): Likewise.
46939         (fmax_test_data): Likewise.
46940         (fmin_test_data): Likewise.
46941         (fmod_test_data): Likewise.
46942         (fpclassify_test_data): Likewise.
46943         (frexp_test_data): Likewise.
46944         (gamma_test_data): Likewise.
46945         (hypot_test_data): Likewise.
46946         (ilogb_test_data): Likewise.
46947         (isfinite_test_data): Likewise.
46948         (isgreater_test_data): Likewise.
46949         (isgreaterequal_test_data): Likewise.
46950         (isinf_test_data): Likewise.
46951         (isless_test_data): Likewise.
46952         (islessequal_test_data): Likewise.
46953         (islessgreater_test_data): Likewise.
46954         (isnan_test_data): Likewise.
46955         (isnormal_test_data): Likewise.
46956         (issignaling_test_data): Likewise.
46957         (isunordered_test_data): Likewise.
46958         (j0_test_data): Likewise.
46959         (j1_test_data): Likewise.
46960         (jn_test_data): Likewise.
46961         (ldexp_test_data): Likewise.
46962         (lgamma_test_data): Likewise.
46963         (lrint_test_data): Likewise.
46964         (lrint_tonearest_test_data): Likewise.
46965         (lrint_towardzero_test_data): Likewise.
46966         (lrint_downward_test_data): Likewise.
46967         (lrint_upward_test_data): Likewise.
46968         (llrint_test_data): Likewise.
46969         (llrint_tonearest_test_data): Likewise.
46970         (llrint_towardzero_test_data): Likewise.
46971         (llrint_downward_test_data): Likewise.
46972         (llrint_upward_test_data): Likewise.
46973         (log_test_data): Likewise.
46974         (log10_test_data): Likewise.
46975         (log1p_test_data): Likewise.
46976         (log2_test_data): Likewise.
46977         (logb_test_data): Likewise.
46978         (logb_downward_test_data): Likewise.
46979         (lround_test_data): Likewise.
46980         (llround_test_data): Likewise.
46981         (modf_test_data): Likewise.
46982         (nearbyint_test_data): Likewise.
46983         (nextafter_test_data): Likewise.
46984         (nexttoward_test_data): Likewise.
46985         (pow_test_data): Likewise.
46986         (pow_tonearest_test_data): Likewise.
46987         (pow_towardzero_test_data): Likewise.
46988         (pow_downward_test_data): Likewise.
46989         (pow_upward_test_data): Likewise.
46990         (remainder_test_data): Likewise.
46991         (remainder_tonearest_test_data): Likewise.
46992         (remainder_towardzero_test_data): Likewise.
46993         (remainder_downward_test_data): Likewise.
46994         (remainder_upward_test_data): Likewise.
46995         (remquo_test_data): Likewise.
46996         (rint_test_data): Likewise.
46997         (rint_tonearest_test_data): Likewise.
46998         (rint_towardzero_test_data): Likewise.
46999         (rint_downward_test_data): Likewise.
47000         (rint_upward_test_data): Likewise.
47001         (round_test_data): Likewise.
47002         (scalb_test_data): Likewise.
47003         (scalbn_test_data): Likewise.
47004         (scalbln_test_data): Likewise.
47005         (signbit_test_data): Likewise.
47006         (sin_test_data): Likewise.
47007         (sin_tonearest_test_data): Likewise.
47008         (sin_towardzero_test_data): Likewise.
47009         (sin_downward_test_data): Likewise.
47010         (sin_upward_test_data): Likewise.
47011         (sincos_test_data): Likewise.
47012         (sinh_test_data): Likewise.
47013         (sinh_tonearest_test_data): Likewise.
47014         (sinh_towardzero_test_data): Likewise.
47015         (sinh_downward_test_data): Likewise.
47016         (sinh_upward_test_data): Likewise.
47017         (sqrt_test_data): Likewise.
47018         (tan_test_data): Likewise.
47019         (tan_tonearest_test_data): Likewise.
47020         (tan_towardzero_test_data): Likewise.
47021         (tan_downward_test_data): Likewise.
47022         (tan_upward_test_data): Likewise.
47023         (tanh_test_data): Likewise.
47024         (tgamma_test_data): Likewise.
47025         (trunc_test_data): Likewise.
47026         (y0_test_data): Likewise.
47027         (y1_test_data): Likewise.
47028         (yn_test_data): Likewise.
47029         (significand_test_data): Likewise.
47031         * math/gen-libm-test.pl (@functions): Remove variable.
47032         (generate_testfile): Don't handle START and END lines.
47033         * math/libm-test.inc (START): New macro.
47034         (END): Likewise.
47035         (END_COMPLEX): Likewise.
47036         (acos_test): Use END macro without arguments.
47037         (acos_test_tonearest): Likewise.
47038         (acos_test_towardzero): Likewise.
47039         (acos_test_downward): Likewise.
47040         (acos_test_upward): Likewise.
47041         (acosh_test): Likewise.
47042         (asin_test): Likewise.
47043         (asin_test_tonearest): Likewise.
47044         (asin_test_towardzero): Likewise.
47045         (asin_test_downward): Likewise.
47046         (asin_test_upward): Likewise.
47047         (asinh_test): Likewise.
47048         (atan_test): Likewise.
47049         (atanh_test): Likewise.
47050         (atan2_test): Likewise.
47051         (cabs_test): Likewise.
47052         (cacos_test): Use END_COMPLEX macro without arguments.
47053         (cacosh_test): Likewise.
47054         (carg_test): Use END macro without arguments.
47055         (casin_test): Use END_COMPLEX macro without arguments.
47056         (casinh_test): Likewise.
47057         (catan_test): Likewise.
47058         (catanh_test): Likewise.
47059         (cbrt_test): Use END macro without arguments.
47060         (ccos_test): Use END_COMPLEX macro without arguments.
47061         (ccosh_test): Likewise.
47062         (ceil_test): Use END macro without arguments.
47063         (cexp_test): Use END_COMPLEX macro without arguments.
47064         (cimag_test): Use END macro without arguments.
47065         (clog_test): Use END_COMPLEX macro without arguments.
47066         (clog10_test): Likewise.
47067         (conj_test): Likewise.
47068         (copysign_test): Use END macro without arguments.
47069         (cos_test): Likewise.
47070         (cos_test_tonearest): Likewise.
47071         (cos_test_towardzero): Likewise.
47072         (cos_test_downward): Likewise.
47073         (cos_test_upward): Likewise.
47074         (cosh_test): Likewise.
47075         (cosh_test_tonearest): Likewise.
47076         (cosh_test_towardzero): Likewise.
47077         (cosh_test_downward): Likewise.
47078         (cosh_test_upward): Likewise.
47079         (cpow_test): Use END_COMPLEX macro without arguments.
47080         (cproj_test): Likewise.
47081         (creal_test): Use END macro without arguments.
47082         (csin_test): Use END_COMPLEX macro without arguments.
47083         (csinh_test): Likewise.
47084         (csqrt_test): Likewise.
47085         (ctan_test): Likewise.
47086         (ctan_test_tonearest): Likewise.
47087         (ctan_test_towardzero): Likewise.
47088         (ctan_test_downward): Likewise.
47089         (ctan_test_upward): Likewise.
47090         (ctanh_test): Likewise.
47091         (ctanh_test_tonearest): Likewise.
47092         (ctanh_test_towardzero): Likewise.
47093         (ctanh_test_downward): Likewise.
47094         (ctanh_test_upward): Likewise.
47095         (erf_test): Use END macro without arguments.
47096         (erfc_test): Likewise.
47097         (exp_test): Likewise.
47098         (exp_test_tonearest): Likewise.
47099         (exp_test_towardzero): Likewise.
47100         (exp_test_downward): Likewise.
47101         (exp_test_upward): Likewise.
47102         (exp10_test): Likewise.
47103         (exp2_test): Likewise.
47104         (expm1_test): Likewise.
47105         (fabs_test): Likewise.
47106         (fdim_test): Likewise.
47107         (finite_test): Likewise.
47108         (floor_test): Likewise.
47109         (fma_test): Likewise.
47110         (fma_test_towardzero): Likewise.
47111         (fma_test_downward): Likewise.
47112         (fma_test_upward): Likewise.
47113         (fmax_test): Likewise.
47114         (fmin_test): Likewise.
47115         (fmod_test): Likewise.
47116         (fpclassify_test): Likewise.
47117         (frexp_test): Likewise.
47118         (gamma_test): Likewise.
47119         (hypot_test): Likewise.
47120         (ilogb_test): Likewise.
47121         (isfinite_test): Likewise.
47122         (isgreater_test): Likewise.
47123         (isgreaterequal_test): Likewise.
47124         (isinf_test): Likewise.
47125         (isless_test): Likewise.
47126         (islessequal_test): Likewise.
47127         (islessgreater_test): Likewise.
47128         (isnan_test): Likewise.
47129         (isnormal_test): Likewise.
47130         (issignaling_test): Likewise.
47131         (isunordered_test): Likewise.
47132         (j0_test): Likewise.
47133         (j1_test): Likewise.
47134         (jn_test): Likewise.
47135         (ldexp_test): Likewise.
47136         (lgamma_test): Likewise.
47137         (lrint_test): Likewise.
47138         (lrint_test_tonearest): Likewise.
47139         (lrint_test_towardzero): Likewise.
47140         (lrint_test_downward): Likewise.
47141         (lrint_test_upward): Likewise.
47142         (llrint_test): Likewise.
47143         (llrint_test_tonearest): Likewise.
47144         (llrint_test_towardzero): Likewise.
47145         (llrint_test_downward): Likewise.
47146         (llrint_test_upward): Likewise.
47147         (log_test): Likewise.
47148         (log10_test): Likewise.
47149         (log1p_test): Likewise.
47150         (log2_test): Likewise.
47151         (logb_test): Likewise.
47152         (logb_test_downward): Likewise.
47153         (lround_test): Likewise.
47154         (llround_test): Likewise.
47155         (modf_test): Likewise.
47156         (nearbyint_test): Likewise.
47157         (nextafter_test): Likewise.
47158         (nexttoward_test): Likewise.
47159         (pow_test): Likewise.
47160         (pow_test_tonearest): Likewise.
47161         (pow_test_towardzero): Likewise.
47162         (pow_test_downward): Likewise.
47163         (pow_test_upward): Likewise.
47164         (remainder_test): Likewise.
47165         (remainder_test_tonearest): Likewise.
47166         (remainder_test_towardzero): Likewise.
47167         (remainder_test_downward): Likewise.
47168         (remainder_test_upward): Likewise.
47169         (remquo_test): Likewise.
47170         (rint_test): Likewise.
47171         (rint_test_tonearest): Likewise.
47172         (rint_test_towardzero): Likewise.
47173         (rint_test_downward): Likewise.
47174         (rint_test_upward): Likewise.
47175         (round_test): Likewise.
47176         (scalb_test): Likewise.
47177         (scalbn_test): Likewise.
47178         (scalbln_test): Likewise.
47179         (signbit_test): Likewise.
47180         (sin_test): Likewise.
47181         (sin_test_tonearest): Likewise.
47182         (sin_test_towardzero): Likewise.
47183         (sin_test_downward): Likewise.
47184         (sin_test_upward): Likewise.
47185         (sincos_test): Likewise.
47186         (sinh_test): Likewise.
47187         (sinh_test_tonearest): Likewise.
47188         (sinh_test_towardzero): Likewise.
47189         (sinh_test_downward): Likewise.
47190         (sinh_test_upward): Likewise.
47191         (sqrt_test): Likewise.
47192         (tan_test): Likewise.
47193         (tan_test_tonearest): Likewise.
47194         (tan_test_towardzero): Likewise.
47195         (tan_test_downward): Likewise.
47196         (tan_test_upward): Likewise.
47197         (tanh_test): Likewise.
47198         (tgamma_test): Likewise.
47199         (trunc_test): Likewise.
47200         (y0_test): Likewise.
47201         (y1_test): Likewise.
47202         (yn_test): Likewise.
47203         (significand_test): Likewise.
47205 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
47207         [BZ #15381]
47208         * libio/genops.c (_IO_no_init): Initialize wide struct info.
47210 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
47212         [BZ #14894]
47213         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
47214         __ppc_mdoio and __ppc_mdoom.
47215         * manual/platform.texi: Document new functions __ppc_yield,
47216         __ppc_mdoio and __ppc_mdoom.
47218 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
47220         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
47221         (main): Mention "tls" pseudo-hwcap is legacy.
47222         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
47224 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47226         * math/gen-libm-test.pl (parse_args): Output only string of
47227         arguments as text for test name, not full call or descriptions of
47228         tests for extra outputs.
47229         (generate_testfile): Do not pass function name to parse_args.
47230         Generate this_func variable from START.
47231         * math/libm-test.inc (struct test_f_f_data): Rename test_name
47232         field to arg_str.
47233         (struct test_ff_f_data): Likewise.
47234         (test_ff_f_data_nexttoward): Likewise.
47235         (struct test_fi_f_data): Likewise.
47236         (struct test_fl_f_data): Likewise.
47237         (struct test_if_f_data): Likewise.
47238         (struct test_fff_f_data): Likewise.
47239         (struct test_c_f_data): Likewise.
47240         (struct test_f_f1_data): Likewise.  Remove field extra_name.
47241         (struct test_fF_f1_data): Likewise.
47242         (struct test_ffI_f1_data): Likewise.
47243         (struct test_c_c_data): Rename test_name field to arg_str.
47244         (struct test_cc_c_data): Likewise.
47245         (struct test_f_i_data): Likewise.
47246         (struct test_ff_i_data): Likewise.
47247         (struct test_f_l_data): Likewise.
47248         (struct test_f_L_data): Likewise.
47249         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
47250         and extra2_name.
47251         (COMMON_TEST_SETUP): New macro.
47252         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
47253         (COMMON_TEST_CLEANUP): Likewise.
47254         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
47255         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
47256         macros.
47257         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
47258         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
47259         macros.
47260         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
47261         (RUN_TEST_fff_f): Take argument string.  Call new setup and
47262         cleanup macros.
47263         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
47264         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
47265         macros.
47266         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
47267         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
47268         macros.
47269         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47270         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
47271         cleanup macros.
47272         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47273         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
47274         cleanup macros.
47275         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47276         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
47277         cleanup macros.
47278         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47279         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
47280         macros.
47281         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
47282         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
47283         macros.
47284         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
47285         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
47286         macros.
47287         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
47288         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
47289         cleanup macros.
47290         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
47291         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
47292         cleanup macros.
47293         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
47294         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
47295         macros.
47296         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
47297         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
47298         cleanup macros.
47299         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
47300         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
47301         macros.
47302         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
47303         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
47304         macros.
47305         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
47306         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
47307         cleanup macros.
47308         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
47310 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
47312         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
47313         to _sifields.sigfault.
47314         (si_addr_lsb): Define new macro.
47315         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47316         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47317         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
47319 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
47321         [BZ #15441]
47322         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
47323         returns -1.
47324         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
47325         null return -1.
47326         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
47327         loading the domain.
47329 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47331         * math/gen-libm-test.pl (parse_args): Do not include expected
47332         result in test name.
47333         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
47334         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47335         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47336         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47337         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47340 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47342         * benchtests/Makefile: Sort function entries.
47344         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
47345         tanh, asinh, acosh, atanh.
47346         * benchtests/acos-inputs: New file.
47347         * benchtests/acosh-inputs: New file.
47348         * benchtests/asin-inputs: New file.
47349         * benchtests/asinh-inputs: New file.
47350         * benchtests/atanh-inputs: New file.
47351         * benchtests/cosh-inputs: New file.
47352         * benchtests/log-inputs: New file.
47353         * benchtests/sinh-inputs: New file.
47354         * benchtests/tanh-inputs: New file.
47356 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
47358         [BZ #15339]
47359         * posix/tst-getaddrinfo4.c: New test.
47360         * posix/Makefile (tests): Add it.
47362 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47364         [BZ #15339]
47365         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
47366         when no services were used.
47367         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
47368         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
47370 2013-05-21  Andreas Schwab  <schwab@suse.de>
47372         [BZ #15014]
47373         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
47374         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
47375         successful.
47376         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
47377         redundant variable declarations and reallocation of buffer when
47378         parsing as IPv6 address.  Always set NSS status when called from
47379         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
47380         buffer too small.  Correct computation of needed size.
47381         * nss/Makefile (tests): Add test-digits-dots.
47382         * nss/test-digits-dots.c: New test.
47384 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47386         * benchtests/Makefile: Remove instructions for adding
47387         benchmark tests.
47388         * benchtests/README: New file to explain how to execute and
47389         enhance the benchmark tests.
47391 2013-05-21  Andreas Schwab  <schwab@suse.de>
47393         [BZ #15493]
47394         * setjmp/Makefile (tests): Add tst-sigsetjmp.
47395         * setjmp/tst-sigsetjmp.c: New test.
47397 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
47399         * sysdeps/x86_64/memset.S (memset): New implementation.
47400         (__bzero): Likewise.
47401         (__memset_tail): New function.
47403 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
47405         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
47406         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
47407         __memcpy_sse2_unaligned ifunc selection.
47408         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47409         Add memcpy-sse2-unaligned.S.
47410         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47411         Add: __memcpy_sse2_unaligned.
47413 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
47415         [BZ #15490]
47416         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47417         math_force_eval before restoring floating-point envrionment.
47418         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
47419         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
47420         Likewise.
47421         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
47422         <math_private.h>.
47423         (__nearbyintl): Use math_force_eval before restoring
47424         floating-point environment.
47425         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
47427         * math/gen-libm-test.pl (special_functions): Remove.
47428         (parse_args): Don't handle TEST_extra.  Handle functions with no
47429         return value.
47430         * math/libm-test.inc (struct test_sincos_data): Replace with
47431         struct test_fFF_11_data.
47432         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
47433         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
47434         (sincos_test_data): Change element type to struct
47435         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
47436         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
47437         RUN_TEST_LOOP_sincos.
47438         * math/README.libm-test: Don't mention special handling of
47439         individual functions.
47440         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
47441         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47442         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47443         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47444         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47447         * math/gen-libm-test.pl (get_variable): Remove function.
47448         (parse_args): Don't show pointer parameters to call in test
47449         names.  Use "extra output N" in test names for extra outputs
47450         rather than naming variables.
47452 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
47454         [BZ #15488]
47455         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
47456         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
47457         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
47458         double tests.
47459         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
47460         disable.
47461         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
47462         check_long_double.
47464         * math/gen-libm-test.pl (@tests): Remove variable.
47465         ($count): Likewise.
47466         (new_test): Remove function.
47467         (show_exceptions): New function.
47468         (special_functions): Use show_exceptions instead of new_test.
47469         (parse_args): Likewise.
47470         (generate_testfile): Pass only function name in generated call to
47471         print_max_error or print_complex_max_error.
47472         (get_ulps): Do not handle complex tests specially.
47473         (output_test): Rename to ...
47474         (get_all_ulps_for_test): ... this.  Return a string rather than
47475         printing to a file.  Require ulps to be present.
47476         (output_ulps): Generate arrays rather than #defines.
47477         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
47478         (struct ulp_data): New type.
47479         (BUILD_COMPLEX_ULP): Remove macro.
47480         (compare_ulp_data): New function.
47481         (find_ulps): Likewise.
47482         (find_test_ulps): Likewise.
47483         (find_function_ulps): Likewise.
47484         (find_complex_function_ulps): Likewise.
47485         (print_max_error): Determine allowed ulps using
47486         find_function_ulps.
47487         (print_complex_max_error): Determine allowed ulps using
47488         find_complex_function_ulps.
47489         (check_float_internal): Determine max ulps using find_test_ulps.
47490         (check_float): Do not take max_ulp parameter.  Update call to
47491         check_float_internal.
47492         (check_complex): Likewise.
47493         (check_int): Do not take max_ulp parameter.
47494         (check_long): Likewise.
47495         (check_bool): Likewise.
47496         (check_longlong): Likewise.
47497         (struct test_f_f_data): Remove max_ulp field.
47498         (struct test_ff_f_data): Likewise.
47499         (struct test_ff_f_data_nexttoward): Likewise.
47500         (struct test_fi_f_data): Likewise.
47501         (struct test_fl_f_data): Likewise.
47502         (struct test_if_f_data): Likewise.
47503         (struct test_fff_f_data): Likewise.
47504         (struct test_c_f_data): Likewise.
47505         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
47506         (struct test_fF_f1_data): Likewise.
47507         (struct test_ffI_f1_data): Likewise.
47508         (struct test_c_c_data): Remove max_ulp field.
47509         (struct test_cc_c_data): Likewise.
47510         (struct test_f_i_data): Likewise.
47511         (struct test_ff_i_data): Likewise.
47512         (struct test_f_l_data): Likewise.
47513         (struct test_f_L_data): Likewise.
47514         (struct test_sincos_data): Likewise.
47515         (RUN_TEST_f_f): Do not handle ulps.
47516         (RUN_TEST_LOOP_f_f): Likewise.
47517         (RUN_TEST_2_f): Likewise.
47518         (RUN_TEST_LOOP_2_f): Likewise.
47519         (RUN_TEST_fff_f): Likewise.
47520         (RUN_TEST_LOOP_fff_f): Likewise.
47521         (RUN_TEST_c_f): Likewise.
47522         (RUN_TEST_LOOP_c_f): Likewise.
47523         (RUN_TEST_f_f1): Likewise.
47524         (RUN_TEST_LOOP_f_f1): Likewise.
47525         (RUN_TEST_fF_f1): Likewise.
47526         (RUN_TEST_LOOP_fF_f1): Likewise.
47527         (RUN_TEST_fI_f1): Likewise.
47528         (RUN_TEST_LOOP_fI_f1): Likewise.
47529         (RUN_TEST_ffI_f1): Likewise.
47530         (RUN_TEST_LOOP_ffI_f1): Likewise.
47531         (RUN_TEST_c_c): Likewise.
47532         (RUN_TEST_LOOP_c_c): Likewise.
47533         (RUN_TEST_cc_c): Likewise.
47534         (RUN_TEST_LOOP_cc_c): Likewise.
47535         (RUN_TEST_f_i): Likewise.
47536         (RUN_TEST_LOOP_f_i): Likewise.
47537         (RUN_TEST_f_i_tg): Likewise.
47538         (RUN_TEST_LOOP_f_i_tg): Likewise.
47539         (RUN_TEST_ff_i_tg): Likewise.
47540         (RUN_TEST_LOOP_ff_i_tg): Likewise.
47541         (RUN_TEST_f_b): Likewise.
47542         (RUN_TEST_LOOP_f_b): Likewise.
47543         (RUN_TEST_f_b_tg): Likewise.
47544         (RUN_TEST_LOOP_f_b_tg): Likewise.
47545         (RUN_TEST_f_l): Likewise.
47546         (RUN_TEST_LOOP_f_l): Likewise.
47547         (RUN_TEST_f_L): Likewise.
47548         (RUN_TEST_LOOP_f_L): Likewise.
47549         (RUN_TEST_sincos): Likewise.
47550         (RUN_TEST_LOOP_sincos): Likewise.
47552 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
47554         [BZ #15480]
47555         [BZ #15485]
47556         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
47557         main case of finite arguments, set rounding mode to FE_TONEAREST
47558         and discard exceptions.
47559         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
47560         exceptions.
47561         (remainder_tonearest_test_data): New variable.
47562         (remainder_test_tonearest): New function.
47563         (remainder_towardzero_test_data): New variable.
47564         (remainder_test_towardzero): New function.
47565         (remainder_downward_test_data): New variable.
47566         (remainder_test_downward): New function.
47567         (remainder_upward_test_data): New variable.
47568         (remainder_test_upward): New function.
47569         (main): Call the new test functions.
47571         * math/libm-test.inc (struct test_f_f1_data): Remove field
47572         extra_init.
47573         (struct test_fF_f1_data): Likewise.
47574         (struct test_ffI_f1_data): Likewise.
47575         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
47576         based on value of EXTRA_EXPECTED.
47577         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47578         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
47579         EXTRA_VAR based on value of EXTRA_EXPECTED.
47580         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47581         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
47582         EXTRA_VAR based on value of EXTRA_EXPECTED.
47583         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47584         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
47585         EXTRA_VAR based on value of EXTRA_EXPECTED.
47586         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47587         * math/gen-libm-test.pl (parse_args): Don't output initializers
47588         for extra output values.
47590         * math/libm-test.inc (check_int): Expect result to be exactly
47591         equal to expected value and do not handle ulps.
47592         (check_long): Likewise.
47593         (check_longlong): Likewise.
47595         * math/libm-test.inc (ceil_test_data): Test for "inexact"
47596         exceptions.
47597         (cimag_test_data): Likewise.
47598         (conj_test_data): Likewise.
47599         (copysign_test_data): Likewise.
47600         (cproj_test_data): Likewise.
47601         (creal_test_data): Likewise.
47602         (fabs_test_data): Likewise.
47603         (fdim_test_data): Likewise.
47604         (finite_test_data): Likewise.
47605         (floor_test_data): Likewise.
47606         (fmax_test_data): Likewise.
47607         (fmin_test_data): Likewise.
47608         (fmod_test_data): Likewise.
47609         (fpclassify_test_data): Likewise.
47610         (frexp_test_data): Likewise.
47611         (ilogb_test_data): Likewise.
47612         (isfinite_test_data): Likewise.
47613         (isgreater_test_data): Likewise.
47614         (isgreaterequal_test_data): Likewise.
47615         (isinf_test_data): Likewise.
47616         (isless_test_data): Likewise.
47617         (islessequal_test_data): Likewise.
47618         (islessgreater_test_data): Likewise.
47619         (isnan_test_data): Likewise.
47620         (isnormal_test_data): Likewise.
47621         (issignaling_test_data): Likewise.
47622         (isunordered_test_data): Likewise.
47623         (ldexp_test_data): Likewise.
47624         (lrint_test_data): Likewise.
47625         (lrint_test_data) [TEST_FLOAT]: Disable one test.
47626         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
47627         (lrint_tonearest_test_data): Test for "inexact" exceptions.
47628         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47629         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
47630         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47631         test input.
47632         (lrint_towardzero_test_data): Test for "inexact" exceptions.
47633         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47634         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
47635         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
47636         that test input.
47637         (lrint_downward_test_data): Test for "inexact" exceptions.
47638         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47639         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
47640         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47641         test input.
47642         (lrint_upward_test_data): Test for "inexact" exceptions.
47643         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
47644         test input.
47645         (llrint_test_data): Test for "inexact" exceptions.
47646         (llrint_test_data) [TEST_FLOAT]: Disable one test.
47647         (llrint_tonearest_test_data): Test for "inexact" exceptions.
47648         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47649         (llrint_towardzero_test_data): Test for "inexact" exceptions.
47650         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47651         (llrint_downward_test_data): Test for "inexact" exceptions.
47652         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47653         (llrint_upward_test_data): Test for "inexact" exceptions.
47654         (logb_test_data): Likewise.
47655         (logb_downward_test_data): Likewise.
47656         (nextafter_test_data): Likewise.
47657         (nexttoward_test_data): Likewise.
47658         (remainder_test_data): Likewise.
47659         (remquo_test_data): Likewise.
47660         (scalbn_test_data): Likewise.
47661         (scalbln_test_data): Likewise.
47662         (signbit_test_data): Likewise.
47663         (sqrt_test_data): Likewise.
47664         (significand_test_data): Likewise.
47666 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47668         [BZ #15424]
47669         * benchtests/bench-modf.c (struct args): Mark arg0 as
47670         volatile.
47671         * scripts/bench.pl: Mark members of struct args as volatile.
47673 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47675         [BZ # 15497]
47676         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
47677         negative infinity on POWER6 or lower.
47678         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
47680 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
47682         [BZ #15442]
47683         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
47684         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
47685         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
47686         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
47687         (_FP_SETQNAN): New macro.
47688         (_FP_SETQNAN_SEMIRAW): Likewise.
47689         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
47690         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
47691         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
47692         (FP_EXTEND): Use _FP_FRAC_SNANP.
47693         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
47694         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
47695         into account.
47696         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
47697         New macro.
47698         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
47699         Likewise.
47701 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47703         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
47704         with DIVIDE_BY_ZERO_EXCEPTION.
47705         (gamma_test_data): Likewise.
47706         (lgamma_test_data): Likewise.
47707         (log_test_data): Likewise.
47708         (log10_test_data): Likewise.
47709         (log2_test_data): Likewise.
47710         (tgamma_test_data): Likewise.
47712         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
47713         (acos_test_tonearest): Likewise.
47714         (acos_test_towardzero): Likewise.
47715         (acos_test_downward): Likewise.
47716         (acos_test_upward): Likewise.
47717         (acosh_test): Likewise.
47718         (asin_test): Likewise.
47719         (asin_test_tonearest): Likewise.
47720         (asin_test_towardzero): Likewise.
47721         (asin_test_downward): Likewise.
47722         (asin_test_upward): Likewise.
47723         (asinh_test): Likewise.
47724         (atan_test): Likewise.
47725         (atanh_test): Likewise.
47726         (atan2_test): Likewise.
47727         (cabs_test): Likewise.
47728         (cacos_test): Likewise.
47729         (cacosh_test): Likewise.
47730         (casin_test): Likewise.
47731         (casinh_test): Likewise.
47732         (catan_test): Likewise.
47733         (catanh_test): Likewise.
47734         (cbrt_test): Likewise.
47735         (ccos_test): Likewise.
47736         (ccosh_test): Likewise.
47737         (cexp_test): Likewise.
47738         (clog_test): Likewise.
47739         (clog10_test): Likewise.
47740         (cos_test): Likewise.
47741         (cos_test_tonearest): Likewise.
47742         (cos_test_towardzero): Likewise.
47743         (cos_test_downward): Likewise.
47744         (cos_test_upward): Likewise.
47745         (cosh_test): Likewise.
47746         (cosh_test_tonearest): Likewise.
47747         (cosh_test_towardzero): Likewise.
47748         (cosh_test_downward): Likewise.
47749         (cosh_test_upward): Likewise.
47750         (cpow_test): Likewise.
47751         (csin_test): Likewise.
47752         (csinh_test): Likewise.
47753         (csqrt_test): Likewise.
47754         (ctan_test): Likewise.
47755         (ctan_test_tonearest): Likewise.
47756         (ctan_test_towardzero): Likewise.
47757         (ctan_test_downward): Likewise.
47758         (ctan_test_upward): Likewise.
47759         (ctanh_test): Likewise.
47760         (ctanh_test_tonearest): Likewise.
47761         (ctanh_test_towardzero): Likewise.
47762         (ctanh_test_downward): Likewise.
47763         (ctanh_test_upward): Likewise.
47764         (erf_test): Likewise.
47765         (erfc_test): Likewise.
47766         (exp_test): Likewise.
47767         (exp_test_tonearest): Likewise.
47768         (exp_test_towardzero): Likewise.
47769         (exp_test_downward): Likewise.
47770         (exp_test_upward): Likewise.
47771         (exp10_test): Likewise.
47772         (exp2_test): Likewise.
47773         (expm1_test): Likewise.
47774         (fmod_test): Likewise.
47775         (gamma_test): Likewise.
47776         (hypot_test): Likewise.
47777         (j0_test): Likewise.
47778         (j1_test): Likewise.
47779         (jn_test): Likewise.
47780         (lgamma_test): Likewise.
47781         (log_test): Likewise.
47782         (log10_test): Likewise.
47783         (log1p_test): Likewise.
47784         (log2_test): Likewise.
47785         (logb_test_downward): Likewise.
47786         (pow_test): Likewise.
47787         (pow_test_tonearest): Likewise.
47788         (pow_test_towardzero): Likewise.
47789         (pow_test_downward): Likewise.
47790         (pow_test_upward): Likewise.
47791         (remainder_test): Likewise.
47792         (remquo_test): Likewise.
47793         (sin_test): Likewise.
47794         (sin_test_tonearest): Likewise.
47795         (sin_test_towardzero): Likewise.
47796         (sin_test_downward): Likewise.
47797         (sin_test_upward): Likewise.
47798         (sincos_test): Likewise.
47799         (sinh_test): Likewise.
47800         (sinh_test_tonearest): Likewise.
47801         (sinh_test_towardzero): Likewise.
47802         (sinh_test_downward): Likewise.
47803         (sinh_test_upward): Likewise.
47804         (sqrt_test): Likewise.
47805         (tan_test): Likewise.
47806         (tan_test_tonearest): Likewise.
47807         (tan_test_towardzero): Likewise.
47808         (tan_test_downward): Likewise.
47809         (tan_test_upward): Likewise.
47810         (tanh_test): Likewise.
47811         (tgamma_test): Likewise.
47812         (y0_test): Likewise.
47813         (y1_test): Likewise.
47814         (yn_test): Likewise.
47816         * math/gen-libm-test.pl (adjust_arg): Remove function.
47817         (special_function): Remove argument $in_func.  Only handle
47818         generating output for tables of tests, not inside functions.
47819         (parse_args): Likewise.
47820         (generate_testfile): Remove variable $in_func.  Update call to
47821         parse_args.
47822         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
47823         (MINUS_ZERO_INIT): Rename macro to minus_zero.
47824         (PLUS_INFTY_INIT): Rename macro to plus_infty.
47825         (MINUS_INFTY_INIT): Rename macro to minus_infty.
47826         (QNAN_VALUE_INIT): Rename macro to qnan_value.
47827         (MAX_VALUE_INIT): Rename macro to max_value.
47828         (MIN_VALUE_INIT): Rename macro to min_value.
47829         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
47830         (plus_zero): Remove variable.
47831         (minus_zero): Likewise.
47832         (plus_infty): Likewise.
47833         (minus_infty): Likewise.
47834         (qnan_value): Likewise.
47835         (max_value): Likewise.
47836         (min_value): Likewise.
47837         (min_subnorm_value): Likewise.
47839 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47841         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
47842         uint64_t or uint32_t usage.
47843         * crypt/sha256-block.c: Likewise.
47844         * crypt/sha256-crypt.c: Likewise.
47845         * crypt/sha256.c: Likewise.
47846         * crypt/sha512-block.c: Likewise.
47847         * crypt/sha512-crypt.c: Likewise.
47848         * crypt/sha512.c: Likewise.
47849         * debug/backtrace-tst.c: Likewise.
47850         * debug/pcprofiledump.c: Likewise.
47851         * elf/cache.c: Likewise.
47852         * elf/dl-cache.c: Likewise.
47853         * elf/dl-misc.c: Likewise.
47854         * elf/dl-profile.c: Likewise.
47855         * elf/dl-support.c: Likewise.
47856         * elf/ldconfig.c: Likewise.
47857         * elf/sprof.c: Likewise.
47858         * iconv/dummy-repertoire.c: Likewise.
47859         * iconv/iconv_charmap.c: Likewise.
47860         * iconv/skeleton.c: Likewise.
47861         * iconvdata/8bit-generic.c: Likewise.
47862         * iconvdata/cp737.h: Likewise.
47863         * iconvdata/cp775.h: Likewise.
47864         * iconvdata/ibm1008.h: Likewise.
47865         * iconvdata/ibm1025.h: Likewise.
47866         * iconvdata/ibm1046.h: Likewise.
47867         * iconvdata/ibm1097.h: Likewise.
47868         * iconvdata/ibm1112.h: Likewise.
47869         * iconvdata/ibm1122.h: Likewise.
47870         * iconvdata/ibm1123.h: Likewise.
47871         * iconvdata/ibm1124.h: Likewise.
47872         * iconvdata/ibm1129.h: Likewise.
47873         * iconvdata/ibm1130.h: Likewise.
47874         * iconvdata/ibm1132.h: Likewise.
47875         * iconvdata/ibm1133.h: Likewise.
47876         * iconvdata/ibm1137.h: Likewise.
47877         * iconvdata/ibm1140.h: Likewise.
47878         * iconvdata/ibm1141.h: Likewise.
47879         * iconvdata/ibm1142.h: Likewise.
47880         * iconvdata/ibm1143.h: Likewise.
47881         * iconvdata/ibm1144.h: Likewise.
47882         * iconvdata/ibm1145.h: Likewise.
47883         * iconvdata/ibm1146.h: Likewise.
47884         * iconvdata/ibm1147.h: Likewise.
47885         * iconvdata/ibm1148.h: Likewise.
47886         * iconvdata/ibm1149.h: Likewise.
47887         * iconvdata/ibm1153.h: Likewise.
47888         * iconvdata/ibm1154.h: Likewise.
47889         * iconvdata/ibm1155.h: Likewise.
47890         * iconvdata/ibm1156.h: Likewise.
47891         * iconvdata/ibm1157.h: Likewise.
47892         * iconvdata/ibm1158.h: Likewise.
47893         * iconvdata/ibm1160.h: Likewise.
47894         * iconvdata/ibm1161.h: Likewise.
47895         * iconvdata/ibm1162.h: Likewise.
47896         * iconvdata/ibm1163.h: Likewise.
47897         * iconvdata/ibm1164.h: Likewise.
47898         * iconvdata/ibm1166.h: Likewise.
47899         * iconvdata/ibm1167.h: Likewise.
47900         * iconvdata/ibm12712.h: Likewise.
47901         * iconvdata/ibm1390.h: Likewise.
47902         * iconvdata/ibm1399.h: Likewise.
47903         * iconvdata/ibm16804.h: Likewise.
47904         * iconvdata/ibm4517.h: Likewise.
47905         * iconvdata/ibm4899.h: Likewise.
47906         * iconvdata/ibm4909.h: Likewise.
47907         * iconvdata/ibm4971.h: Likewise.
47908         * iconvdata/ibm5347.h: Likewise.
47909         * iconvdata/ibm803.h: Likewise.
47910         * iconvdata/ibm856.h: Likewise.
47911         * iconvdata/ibm901.h: Likewise.
47912         * iconvdata/ibm902.h: Likewise.
47913         * iconvdata/ibm9030.h: Likewise.
47914         * iconvdata/ibm9066.h: Likewise.
47915         * iconvdata/ibm921.h: Likewise.
47916         * iconvdata/ibm922.h: Likewise.
47917         * iconvdata/ibm9448.h: Likewise.
47918         * iconvdata/isiri-3342.h: Likewise.
47919         * iconvdata/jis0201.h: Likewise.
47920         * include/link.h: Likewise.
47921         * include/netdb.h: Likewise.
47922         * inet/check_native.c: Likewise.
47923         * inet/check_pf.c: Likewise.
47924         * inet/getipv4sourcefilter.c: Likewise.
47925         * inet/getnameinfo.c: Likewise.
47926         * inet/getsourcefilter.c: Likewise.
47927         * inet/htonl.c: Likewise.
47928         * inet/setipv4sourcefilter.c: Likewise.
47929         * inet/setsourcefilter.c: Likewise.
47930         * inet/test-inet6_opt.c: Likewise.
47931         * inet/tst-network.c: Likewise.
47932         * locale/C-collate.c: Likewise.
47933         * locale/C-ctype.c: Likewise.
47934         * locale/C-time.c: Likewise.
47935         * locale/C-translit.h: Likewise.
47936         * locale/loadarchive.c: Likewise.
47937         * locale/programs/3level.h: Likewise.
47938         * locale/programs/charmap.c: Likewise.
47939         * locale/programs/charmap.h: Likewise.
47940         * locale/programs/ld-address.c: Likewise.
47941         * locale/programs/ld-collate.c: Likewise.
47942         * locale/programs/ld-ctype.c: Likewise.
47943         * locale/programs/ld-identification.c: Likewise.
47944         * locale/programs/ld-measurement.c: Likewise.
47945         * locale/programs/ld-messages.c: Likewise.
47946         * locale/programs/ld-monetary.c: Likewise.
47947         * locale/programs/ld-name.c: Likewise.
47948         * locale/programs/ld-numeric.c: Likewise.
47949         * locale/programs/ld-paper.c: Likewise.
47950         * locale/programs/ld-telephone.c: Likewise.
47951         * locale/programs/ld-time.c: Likewise.
47952         * locale/programs/linereader.c: Likewise.
47953         * locale/programs/locale.c: Likewise.
47954         * locale/programs/locarchive.c: Likewise.
47955         * locale/programs/locfile.h: Likewise.
47956         * locale/programs/repertoire.c: Likewise.
47957         * locale/programs/simple-hash.c: Likewise.
47958         * locale/programs/simple-hash.h: Likewise.
47959         * malloc/memusage.c: Likewise.
47960         * malloc/memusagestat.c: Likewise.
47961         * nis/nis_defaults.c: Likewise.
47962         * nis/nis_hash.c: Likewise.
47963         * nis/nis_print.c: Likewise.
47964         * nis/nis_xdr.c: Likewise.
47965         * nscd/connections.c: Likewise.
47966         * nscd/hstcache.c: Likewise.
47967         * nscd/nscd_gethst_r.c: Likewise.
47968         * nscd/nscd_getserv_r.c: Likewise.
47969         * nscd/nscd_helper.c: Likewise.
47970         * nscd/servicescache.c: Likewise.
47971         * nss/makedb.c: Likewise.
47972         * nss/nss_db/db-XXX.c: Likewise.
47973         * nss/nss_db/db-initgroups.c: Likewise.
47974         * nss/nss_db/db-netgrp.c: Likewise.
47975         * nss/nss_files/files-network.c: Likewise.
47976         * nss/nss_files/files-parse.c: Likewise.
47977         * posix/bug-regex5.c: Likewise.
47978         * posix/fnmatch_loop.c: Likewise.
47979         * posix/regcomp.c: Likewise.
47980         * posix/regexec.c: Likewise.
47981         * posix/tst-rfc3484-2.c: Likewise.
47982         * posix/tst-rfc3484-3.c: Likewise.
47983         * posix/tst-rfc3484.c: Likewise.
47984         * resolv/nss_dns/dns-canon.c: Likewise.
47985         * resolv/nss_dns/dns-network.c: Likewise.
47986         * resolv/res_init.c: Likewise.
47987         * resolv/res_mkquery.c: Likewise.
47988         * resolv/tst-aton.c: Likewise.
47989         * stdlib/cxa_atexit.c: Likewise.
47990         * stdlib/cxa_finalize.c: Likewise.
47991         * stdlib/gen-fpioconst.c: Likewise.
47992         * stdlib/strtol_l.c: Likewise.
47993         * string/tst-endian.c: Likewise.
47994         * sunrpc/auth_des.c: Likewise.
47995         * sunrpc/clnt_udp.c: Likewise.
47996         * sunrpc/rtime.c: Likewise.
47997         * sunrpc/svcauth_des.c: Likewise.
47998         * sunrpc/xdr.c: Likewise.
47999         * sunrpc/xdr_intXX_t.c: Likewise.
48000         * sunrpc/xdr_rec.c: Likewise.
48001         * sysdeps/generic/ldconfig.h: Likewise.
48002         * sysdeps/generic/ldsodefs.h: Likewise.
48003         * sysdeps/generic/memusage.h: Likewise.
48004         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48005         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
48006         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
48007         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48008         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48009         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48010         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48011         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48012         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48013         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48014         * sysdeps/posix/getaddrinfo.c: Likewise.
48015         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48016         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48017         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48018         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48019         * sysdeps/powerpc/test-gettimebase.c: Likewise.
48020         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48021         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
48022         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
48023         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48024         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
48025         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48026         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48027         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
48028         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
48029         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
48030         * sysdeps/x86_64/dl-tls.h: Likewise.
48031         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
48032         * time/alt_digit.c: Likewise.
48033         * time/era.c: Likewise.
48034         * wcsmbs/tst-c16c32-1.c: Likewise.
48036 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48038         * math/libm-test.inc (struct test_sincos_data): New type.
48039         (RUN_TEST_LOOP_sincos): New macro.
48040         (sincos_test_data): New variable.
48041         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
48043 2013-05-16  Richard Henderson  <rth@redhat.com>
48045         * math/atest-exp2.c (LIMB64): New macro.
48046         (CONSTSZ): New macro.
48047         (mp_exp1, mp_exp_m1, mp_log2): New variables.
48048         (hexdig): Move ...
48049         (print_mpn_fp): ... to function scope.
48050         (read_mpn_hex): Remove.
48051         (get_log2): Remove.
48052         (exp2_mpn): Use mp_log2.
48053         (main): Use mp_exp1.
48055 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48057         * math/libm-test.inc: Remove comment about not testing "inexact"
48058         exceptions.
48059         (INEXACT_EXCEPTION): New macro.
48060         (NO_INEXACT_EXCEPTION): Likewise.
48061         (INVALID_EXCEPTION_OK): Update value.
48062         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48063         (OVERFLOW_EXCEPTION_OK): Likewise.
48064         (UNDERFLOW_EXCEPTION_OK): Likewise.
48065         (IGNORE_ZERO_INF_SIGN): Likewise.
48066         (ERRNO_UNCHANGED): Likewise.
48067         (ERRNO_EDOM): Likewise.
48068         (ERRNO_ERANGE): Likewise.
48069         (test_exceptions): Handle testing "inexact" exceptions.
48070         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
48071         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
48072         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
48073         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
48074         INEXACT_EXCEPTION.
48075         (rint_towardzero_test_data): Likewise.
48076         (rint_downward_test_data): Likewise.
48077         (rint_upward_test_data): Likewise.
48079         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
48080         with OVERFLOW_EXCEPTION.
48081         (exp10_test_data): Likewise.
48082         (exp2_test_data): Likewise.
48083         (expm1_test_data): Likewise.
48084         (lgamma_test_data): Likewise.
48085         (pow_test_data): Likewise.
48086         (tgamma_test_data): Likewise.
48087         (yn_test_data): Remove duplicate test of overflow.
48089         * math/libm-test.inc (struct test_cc_c_data): New type.
48090         (RUN_TEST_LOOP_cc_c): New macro.
48091         (cpow_test_data): New variable.
48092         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
48094         * math/libm-test.inc (struct test_f_L_data): New type.
48095         (RUN_TEST_LOOP_f_L): New macro.
48096         (llrint_test_data): New variable.
48097         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
48098         (llrint_tonearest_test_data): New variable.
48099         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
48100         (llrint_towardzero_test_data): New variable.
48101         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
48102         (llrint_downward_test_data): New variable.
48103         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
48104         (llrint_upward_test_data): New variable.
48105         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
48106         (llround_test_data): New variable.
48107         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
48109 2013-05-13  Peter Collingbourne  <pcc@google.com>
48111         * math/atest-exp2.c (get_log2): Remove const attribute.
48113 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
48115         * math/libm-test.inc (struct test_f_l_data): New type.
48116         (RUN_TEST_LOOP_f_l): New macro.
48117         (lrint_test_data): New variable.
48118         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
48119         (lrint_tonearest_test_data): New variable.
48120         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
48121         (lrint_towardzero_test_data): New variable.
48122         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
48123         (lrint_downward_test_data): New variable.
48124         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
48125         (lrint_upward_test_data): New variable.
48126         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
48127         (lround_test_data): New variable.
48128         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
48130 2013-05-15  Peter Collingbourne  <pcc@google.com>
48132         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
48133         (EXTRACT_WORDS64) Use where appropriate.
48134         (INSERT_WORDS64) Likewise.
48136         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
48137         constraints with x constraints.
48138         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
48140         * malloc/obstack.c (_obstack_compat): Add initializer.
48142 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
48144         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
48145         si_trapno and add si_addr_lsb to _sifields.sigfault.
48146         (si_trapno): Remove macro.
48147         (si_addr_lsb): Define new macro.
48148         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48150 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
48152         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
48153         instead of TEST_f_l.
48154         (llrint_test_tonearest): Likewise.
48155         (llrint_test_towardzero): Likewise.
48156         (llrint_test_downward): Likewise.
48157         (llrint_test_upward): Likewise.
48158         (llround_test): Likewise.
48160         * math/libm-test.inc (struct test_f_i_data): Add comment.
48161         (RUN_TEST_LOOP_f_b): New macro.
48162         (RUN_TEST_LOOP_f_b_tg): Likewise.
48163         (finite_test_data): New variable.
48164         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
48165         (isfinite_test_data): New variable.
48166         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48167         (isinf_test_data): New variable.
48168         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48169         (isnan_test_data): New variable.
48170         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48171         (isnormal_test_data): New variable.
48172         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48173         (issignaling_test_data): New variable.
48174         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48175         (signbit_test_data): New variable.
48176         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48178         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
48179         with INVALID_EXCEPTION.
48180         (acosh_test_data): Likewise.
48181         (asin_test_data): Likewise.
48182         (atanh_test_data): Likewise.
48183         (fmod_test_data): Likewise.
48184         (log_test_data): Likewise.
48185         (log10_test_data): Likewise.
48186         (log2_test_data): Likewise.
48187         (pow_test_data): Likewise.
48188         (sqrt_test_data): Likewise.
48189         (y0_test_data): Likewise.
48190         (y1_test_data): Likewise.
48191         (yn_test_data): Likewise.
48193         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
48194         function contents.
48196         * math/libm-test.inc (struct test_ff_i_data): New type.
48197         (RUN_TEST_LOOP_ff_i_tg): New macro.
48198         (isgreater_test_data): New variable.
48199         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48200         (isgreaterequal_test_data): New variable.
48201         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48202         (isless_test_data): New variable.
48203         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48204         (islessequal_test_data): New variable.
48205         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48206         (islessgreater_test_data): New variable.
48207         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48208         (isunordered_test_data): New variable.
48209         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48211 2013-05-14  David S. Miller  <davem@davemloft.net>
48213         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48215 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
48217         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
48219         * math/libm-test.inc (struct test_fF_f1_data): Change type of
48220         extra_test to int.
48221         (struct test_f_i_data): Change type of max_ulp to int.
48223         * math/libm-test.inc (test_ffI_f1_data): New type.
48224         (RUN_TEST_LOOP_ffI_f1): New macro.
48225         (remquo_test_data): New variable.
48226         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
48228         * setjmp/tst-setjmp-fp.c: New file.
48229         * setjmp/Makefile (tests): Add tst-setjmp-fp.
48230         (link-libm): New variable.
48231         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
48233         * math/libm-test.inc (struct test_f_i_data): New type.
48234         (RUN_TEST_LOOP_f_i): New macro.
48235         (RUN_TEST_LOOP_f_i_tg): Likewise.
48236         (fpclassify_test_data): New variable.
48237         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
48238         (ilogb_test_data): New variable.
48239         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
48241         * math/libm-test.inc (scalbln_test): Correct function name in END
48242         call.
48244         * math/libm-test.inc (struct test_f_f1_data): Add comment.
48245         (RUN_TEST_LOOP_fI_f1): New macro.
48246         (frexp_test_data): New variable.
48247         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
48249         * math/libm-test.inc (struct test_fF_f1_data): New type.
48250         (RUN_TEST_LOOP_fF_f1): New macro.
48251         (modf_test_data): New variable.
48252         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
48254         * math/libm-test.inc (struct test_f_f1_data): New type.
48255         (RUN_TEST_LOOP_f_f1): New macro.
48256         (gamma_test_data): New variable.
48257         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48258         (lgamma_test_data): New variable.
48259         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48261 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
48263         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
48264         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
48265         (main): Comment "tls" pseudo-hwcap.
48267 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
48269         * math/libm-test.inc (struct test_fl_f_data): New type.
48270         (RUN_TEST_LOOP_fl_f): New variable.
48271         (scalbln_test_data): New variable.
48272         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
48274         * math/libm-test.inc (struct test_fi_f_data): New type.
48275         (RUN_TEST_LOOP_fi_f): New macro.
48276         (ldexp_test_data): New variable.
48277         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
48278         (scalbn_test_data): New variable.
48279         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
48281         * math/libm-test.inc (struct test_c_f_data): New type.
48282         (RUN_TEST_LOOP_c_f): New macro.
48283         (cabs_test_data): New variable.
48284         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
48285         (carg_test_data): New variable.
48286         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
48287         (cimag_test_data): New variable.
48288         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
48289         (creal_test_data): New variable.
48290         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
48292         * math/libm-test.inc (struct test_if_f_data): New type.
48293         (RUN_TEST_LOOP_if_f): New macro.
48294         (jn_test_data): New variable.
48295         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
48296         (yn_test_data): New variable.
48297         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
48299         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
48301 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48303         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
48304         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
48306 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48308         * benchtests/Makefile (CPPFLAGS-nonlib): Add
48309         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
48310         (bench-deps): Add bench-timing.h.
48311         * benchtests-bench-skeleton.c: Include bench-timing.h.
48312         (main): Use TIMING_* macros instead of clock_gettime.
48313         * benchtests/bench-timing.h: New file.
48315         [BZ #14582]
48316         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
48317         Renamed from _LIB_VERSION.
48318         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
48320 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
48322         * math/libm-test.inc (struct test_fff_f_data): New type.
48323         (RUN_TEST_LOOP_fff_f): New macro.
48324         (fma_test_data): New variable.
48325         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
48326         (fma_towardzero_test_data): New variable.
48327         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
48328         (fma_downward_test_data): New variable.
48329         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
48330         (fma_upward_test_data): New variable.
48331         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
48333         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
48334         (struct test_c_c_data): New type.
48335         (RUN_TEST_LOOP_c_c): New macro.
48336         (cacos_test_data): New variable.
48337         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
48338         (cacosh_test_data): New variable.
48339         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
48340         (casin_test_data): New variable.
48341         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
48342         (casinh_test_data): New variable.
48343         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
48344         (catan_test_data): New variable.
48345         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
48346         (catanh_test_data): New variable.
48347         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
48348         (ccos_test_data): New variable.
48349         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
48350         (ccosh_test_data): New variable.
48351         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
48352         (cexp_test_data): New variable.
48353         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
48354         (clog_test_data): New variable.
48355         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
48356         (clog10_test_data): New variable.
48357         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
48358         (conj_test_data): New variable.
48359         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
48360         (cproj_test_data): New variable.
48361         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
48362         (csin_test_data): New variable.
48363         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
48364         (csinh_test_data): New variable.
48365         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
48366         (csqrt_test_data): New variable.
48367         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
48368         (ctan_test_data): New variable.
48369         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
48370         (ctan_tonearest_test_data): New variable.
48371         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48372         (ctan_towardzero_test_data): New variable.
48373         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48374         (ctan_downward_test_data): New variable.
48375         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48376         (ctan_upward_test_data): New variable.
48377         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48378         (ctanh_test_data): New variable.
48379         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
48380         (ctanh_tonearest_test_data): New variable.
48381         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48382         (ctanh_towardzero_test_data): New variable.
48383         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48384         (ctanh_downward_test_data): New variable.
48385         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48386         (ctanh_upward_test_data): New variable.
48387         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48388         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
48389         of BUILD_COMPLEX.
48391         * math/libm-test.inc (struct test_ff_f_data): New type.
48392         (struct test_ff_f_data_nexttoward): Likewise.
48393         (RUN_TEST_LOOP_2_f): New macro.
48394         (RUN_TEST_LOOP_ff_f): Likewise.
48395         (atan2_test_data): New variable.
48396         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
48397         (copysign_test_data): New variable.
48398         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
48399         (fdim_test_data): New variable.
48400         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
48401         (fmax_test_data): New variable.
48402         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
48403         (fmin_test_data): New variable.
48404         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
48405         (fmod_test_data): New variable.
48406         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
48407         (hypot_test_data): New variable.
48408         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
48409         (nextafter_test_data): New variable.
48410         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
48411         (nexttoward_test_data): New variable.
48412         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
48413         (pow_test_data): New variable.
48414         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
48415         (pow_tonearest_test_data): New variable.
48416         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
48417         (pow_towardzero_test_data): New variable.
48418         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
48419         (pow_downward_test_data): New variable.
48420         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
48421         (pow_upward_test_data): New variable.
48422         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
48423         (remainder_test_data): New variable.
48424         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
48425         (scalb_test_data): New variable.
48426         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
48427         * sysdeps/i386/fpu/libm-test-ulps: Update.
48429 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
48431         * math/libm-test.inc (fma_test): Use max_value instead of local
48432         variable fltmax.
48433         (nextafter_test): Likewise.
48435         * math/libm-test.inc (acos_towardzero_test_data): New variable.
48436         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48437         (acos_downward_test_data): New variable.
48438         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48439         (acos_upward_test_data): New variable.
48440         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48441         (acosh_test_data): New variable.
48442         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
48443         (asin_test_data): New variable.
48444         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
48445         (asin_tonearest_test_data): New variable.
48446         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48447         (asin_towardzero_test_data): New variable.
48448         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48449         (asin_downward_test_data): New variable.
48450         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48451         (asin_upward_test_data): New variable.
48452         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48453         (asinh_test_data): New variable.
48454         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
48455         (atan_test_data): New variable.
48456         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
48457         (atanh_test_data): New variable.
48458         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
48459         (cbrt_test_data): New variable.
48460         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
48461         (ceil_test_data): New variable.
48462         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
48463         (cos_test_data): New variable.
48464         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
48465         (cos_tonearest_test_data): New variable.
48466         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48467         (cos_towardzero_test_data): New variable.
48468         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48469         (cos_downward_test_data): New variable.
48470         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48471         (cos_upward_test_data): New variable.
48472         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48473         (cosh_test_data): New variable.
48474         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
48475         (cosh_tonearest_test_data): New variable.
48476         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48477         (cosh_towardzero_test_data): New variable.
48478         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48479         (cosh_downward_test_data): New variable.
48480         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48481         (cosh_upward_test_data): New variable.
48482         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48483         (erf_test_data): New variable.
48484         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
48485         (erfc_test_data): New variable.
48486         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
48487         (exp_test_data): New variable.
48488         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
48489         (exp_tonearest_test_data): New variable.
48490         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48491         (exp_towardzero_test_data): New variable.
48492         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48493         (exp_downward_test_data): New variable.
48494         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48495         (exp_upward_test_data): New variable.
48496         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48497         (exp10_test_data): New variable.
48498         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
48499         (exp2_test_data): New variable.
48500         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
48501         (expm1_test_data): New variable.
48502         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
48503         (fabs_test_data): New variable.
48504         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
48505         (floor_test_data): New variable.
48506         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
48507         (j0_test_data): New variable.
48508         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
48509         (j1_test_data): New variable.
48510         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
48511         (log_test_data): New variable.
48512         (log_test): Run tests with RUN_TEST_LOOP_f_f.
48513         (log10_test_data): New variable.
48514         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
48515         (log1p_test_data): New variable.
48516         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
48517         (log2_test_data): New variable.
48518         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
48519         (logb_test_data): New variable.
48520         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
48521         (logb_downward_test_data): New variable.
48522         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48523         (nearbyint_test_data): New variable.
48524         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
48525         (rint_test_data): New variable.
48526         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
48527         (rint_tonearest_test_data): New variable.
48528         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48529         (rint_towardzero_test_data): New variable.
48530         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48531         (rint_downward_test_data): New variable.
48532         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48533         (rint_upward_test_data): New variable.
48534         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48535         (round_test_data): New variable.
48536         (round_test): Run tests with RUN_TEST_LOOP_f_f.
48537         (sin_test_data): New variable.
48538         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
48539         (sin_tonearest_test_data): New variable.
48540         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48541         (sin_towardzero_test_data): New variable.
48542         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48543         (sin_downward_test_data): New variable.
48544         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48545         (sin_upward_test_data): New variable.
48546         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48547         (sinh_test_data): New variable.
48548         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
48549         (sinh_tonearest_test_data): New variable.
48550         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48551         (sinh_towardzero_test_data): New variable.
48552         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48553         (sinh_downward_test_data): New variable.
48554         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48555         (sinh_upward_test_data): New variable.
48556         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48557         (sqrt_test_data): New variable.
48558         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
48559         (tan_test_data): New variable.
48560         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
48561         (tan_tonearest_test_data): New variable.
48562         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48563         (tan_towardzero_test_data): New variable.
48564         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48565         (tan_downward_test_data): New variable.
48566         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48567         (tan_upward_test_data): New variable.
48568         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48569         (tanh_test_data): New variable.
48570         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
48571         (tgamma_test_data): New variable.
48572         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
48573         (trunc_test_data): New variable.
48574         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
48575         (y0_test_data): New variable.
48576         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
48577         (y1_test_data): New variable.
48578         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
48579         (significand_test_data): New variable.
48580         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
48582 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
48584         [BZ #12387]
48585         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
48587 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48589         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
48591 2013-05-10  Andreas Jaeger  <aj@suse.de>
48593         [BZ #15448]
48594         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
48595         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
48597 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
48599         * math/gen-libm-test.pl (adjust_arg): New function.
48600         (special_functions): Handle generating output in both functions
48601         and arrays.
48602         (parse_args): Likewise.
48603         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
48604         $in_func argument to parse_args.
48605         * math/libm-test.inc (struct test_f_f_data): New type.
48606         (IF_ROUND_INIT_): New macro.
48607         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
48608         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48609         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48610         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48611         (ROUND_RESTORE_): Likewise.
48612         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
48613         (ROUND_RESTORE_FE_TONEAREST): Likewise.
48614         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
48615         (ROUND_RESTORE_FE_UPWARD): Likewise.
48616         (RUN_TEST_LOOP_f_f): New macro.
48617         (acos_test_data): New variable.
48618         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
48619         (acos_tonearest_test_data): New variable.
48620         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48622 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48624         * benchtests/bench-skeleton.c (startup): Fix coding style.
48626 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
48628         [BZ #6809]
48629         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
48630         negative infinity argument.
48631         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
48632         negative infinity argument.
48633         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
48634         negative infinity argument.
48635         * math/libm-test.inc (tgamma_test): Expect errno to be set for
48636         domain errors.
48638 2013-05-10  Florian Weimer  <fweimer@redhat.com>
48640         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
48641         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
48642         * iconv/iconv_prog.c (main): Likewise.
48643         * locale/programs/charmap-dir.c (charmap_readdir)
48644         (fopen_uncompressed): Likewise.
48645         * locale/programs/locfile.c (siblings_uncached)
48646         (write_locale_data): Use lstat64 instead of lstat.
48647         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
48648         stat.
48650 2013-05-10  Andreas Jaeger  <aj@suse.de>
48652         [BZ #15395]
48653         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
48654         localization.
48655         Include <locale.h>.
48657 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
48659         * elf/dl-close.c (_dl_close_worker): Add comments.
48661 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
48663         [BZ #15359]
48664         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
48665         high part of pi/2.
48666         (__ieee754_rem_pio2l): Update comments.
48668         [BZ #15429]
48669         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
48670         high part of pi/2.
48671         (__ieee754_rem_pio2l): Update comments.
48673         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
48674         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
48676         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
48677         M_PI_4l.
48679         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
48680         (M_PI_34_LOG10El): Likewise.
48681         (M_PI2_LOG10El): Likewise.
48682         (M_PI4_LOG10El): Likewise.
48683         (M_PI_LOG10El): Likewise.
48685 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48687         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48689 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
48691         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
48692         (MINUS_ZERO_INIT): Likewise.
48693         (PLUS_INFTY_INIT): Likewise.
48694         (MINUS_INFTY_INIT): Likewise.
48695         (QNAN_VALUE_INIT): Likewise.
48696         (MAX_VALUE_INIT): Likewise.
48697         (MIN_VALUE_INIT): Likewise.
48698         (MIN_SUBNORM_VALUE_INIT): Likewise.
48699         (plus_zero): Initialize with PLUS_ZERO_INIT.
48700         (minus_zero): Initialize with MINUS_ZERO_INIT.
48701         (plus_infty): Initialize with PLUS_INFTY_INIT.
48702         (minus_infty): Initialize with MINUS_INFTY_INIT.
48703         (qnan_value): Initialize with QNAN_VALUE_INIT.
48704         (max_value): Initialize with MAX_VALUE_INIT.
48705         (min_value): Initialize with MIN_VALUE_INIT.
48706         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
48708         * math/libm-test.inc (RUN_TEST_if_f): New macro.
48709         (jn_test): Use TEST_if_f instead of TEST_ff_f.
48710         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
48711         (yn_test): Use TEST_if_f instead of TEST_ff_f.
48713         * math/libm-test.inc (RUN_TEST_f_f): New macro.
48714         (RUN_TEST_2_f): Likewise.
48715         (RUN_TEST_ff_f): Likewise.
48716         (RUN_TEST_fi_f): Likewise.
48717         (RUN_TEST_fl_f): Likewise.
48718         (RUN_TEST_fff_f): Likewise.
48719         (RUN_TEST_c_f): Likewise.
48720         (RUN_TEST_f_f1): Likewise.
48721         (RUN_TEST_fF_f1): Likewise.
48722         (RUN_TEST_fI_f1): Likewise.
48723         (RUN_TEST_ffI_f1): Likewise.
48724         (RUN_TEST_c_c): Likewise.
48725         (RUN_TEST_cc_c): Likewise.
48726         (RUN_TEST_f_i): Likewise.
48727         (RUN_TEST_f_i_tg): Likewise.
48728         (RUN_TEST_ff_i_tg): Likewise.
48729         (RUN_TEST_f_b): Likewise.
48730         (RUN_TEST_f_b_tg): Likewise.
48731         (RUN_TEST_f_l): Likewise.
48732         (RUN_TEST_f_L): Likewise.
48733         (RUN_TEST_sincos): Likewise.
48734         * math/gen-libm-test.pl (new_test): Take new argument to indicate
48735         whether to show exceptions.  Do not include ");\n" in return
48736         value.
48737         (special_functions): Output call to RUN_TEST_sincos instead of
48738         check_float calls.  Update calls to new_test.
48739         (parse_args): Output call to single RUN_TEST_* macro instead of
48740         check_* calls and other assignments.  Update calls to new_test.
48742         [BZ #2546]
48743         [BZ #2560]
48744         [BZ #5159]
48745         [BZ #15426]
48746         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
48747         input to result for tgamma overflow.
48748         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
48749         (gamma_coeff): New variable.
48750         (NCOEFF): New macro.
48751         (gamma_positive): New function.
48752         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
48753         underflow here.  Use gamma_positive instead of exp (lgamma) for
48754         other arguments.
48755         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
48756         (gamma_coeff): New variable.
48757         (NCOEFF): New macro.
48758         (gammaf_positive): New function.
48759         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
48760         underflow here.  Use gamma_positive instead of exp (lgamma) for
48761         other arguments.
48762         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
48763         (gamma_coeff): New variable.
48764         (NCOEFF): New macro.
48765         (gammal_positive): New function.
48766         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
48767         underflow here.  Use gamma_positive instead of exp (lgamma) for
48768         other arguments.
48769         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
48770         (gamma_coeff): New variable.
48771         (NCOEFF): New macro.
48772         (gammal_positive): New function.
48773         (__ieee754_gammal_r): Handle positive infinity, overflow and
48774         underflow here.  Handle NaN the same as positive infinity.  Remove
48775         check x < 0xffffffff for negative integers.  Use gamma_positive
48776         instead of exp (lgamma) for other arguments.
48777         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
48778         (gamma_coeff): New variable.
48779         (NCOEFF): New macro.
48780         (gammal_positive): New function.
48781         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
48782         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
48783         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
48784         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
48785         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
48786         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
48787         * sysdeps/generic/math_private.h (__gamma_productf): New
48788         prototype.
48789         (__gamma_product): Likewise.
48790         (__gamma_productl): Likewise.
48791         * math/Makefile (libm-calls): Add gamma_product.
48792         * math/libm-test.inc (tgamma_test): Add more tests.
48793         * sysdeps/i386/fpu/libm-test-ulps: Update.
48794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48796 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
48798         * benchtests/bench-skeleton.c (main): Preheat CPU.
48800 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
48802         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
48804 2013-05-07  Roland McGrath  <roland@hack.frob.com>
48806         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
48807         and _dl_skip_args_internal.
48809 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
48811         * manual/message.texi (Message Translation): Talk about users.
48812         Message to key mapping impacts design.
48814 2013-05-06  Roland McGrath  <roland@hack.frob.com>
48816         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
48818         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
48820         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
48821         * sysdeps/wordsize-64/glob64.c: ... here.
48823         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
48824         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
48825         New macros.
48827         * debug/getlogin_r_chk.c: Moved to ...
48828         * login/getlogin_r_chk.c: ... here.
48829         * debug/Makefile (routines): Move getlogin_r_chk to ...
48830         * login/Makefile (routines): ... here.
48831         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
48832         * login/Versions (libc: GLIBC_2.4): ... here.
48834         * io/poll.c (__poll): Renamed from poll.
48835         Add libc_hidden_def.
48836         (poll): Define as weak alias.
48838         * debug/ptsname_r_chk.c: Moved to ...
48839         * login/ptsname_r_chk.c: ... here.
48840         * debug/Makefile (routines): Move ptsname_r_chk to ...
48841         * login/Makefile (routines): ... here.
48842         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
48843         * login/Versions (libc: GLIBC_2.4): ... here.
48845         * posix/getlogin.c: Moved to ...
48846         * login/getlogin.c: ... here.
48847         * posix/getlogin_r.c: Moved to ...
48848         * login/getlogin_r.c: ... here.
48849         * posix/getlogin_r.c: Moved to ...
48850         * login/getlogin_r.c: ... here.
48851         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
48852         * login/Makefile (routines): ... here.
48853         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
48854         * login/Versions (libc: GLIBC_2.0): ... here.
48856         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
48857         (setrlimit): Define as weak alias.
48859         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
48860         Call __ names for open, ftruncate, and close.
48861         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
48862         (truncate): Define as weak alias.
48864 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
48866         * math/gen-libm-test.pl (parse_args): Initialize x before each
48867         test of frexp, modf and remquo.
48869         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
48870         test signgam value.
48872 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48874         [BZ #15418]
48875         [BZ #15419]
48876         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
48877         internal tests.
48878         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48880 2013-05-06  Roland McGrath  <roland@hack.frob.com>
48882         * elf/dl-writev.h: New file.
48883         * elf/dl-misc.c: Include it.
48884         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
48885         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
48887 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
48889         * math/libm-test.inc (noXFails): Remove variable.
48890         (noXPasses): Likewise.
48891         (BUILD_COMPLEX_INT): Remove macro.
48892         (print_screen): Remove xfail argument.
48893         (print_screen_max_error): Likewise.
48894         (update_stats): Likewise.
48895         (print_max_error): Likewise.  Update calls to other affected
48896         functions.
48897         (print_complex_max_error): Likewise.
48898         (test_single_exception): Update calls to print_screen.
48899         (test_single_errno): Likewise.
48900         (check_float_internal): Remove xfail argument.  Update calls to
48901         other affected functions.
48902         (check_float): Likewise.
48903         (check_complex): Likewise.
48904         (check_int): Likewise.
48905         (check_long): Likewise.
48906         (check_bool): Likewise.
48907         (check_longlong): Likewise.
48908         (main): Don't print noXFails and noXPasses.
48909         * math/gen-libm-test.pl (top level): Don't mention expected
48910         failure handling in comment.
48911         (new_test): Don't handle expected failures.
48912         (parse_args): Don't mention expected failure handling in comment.
48913         (generate_testfile): Don't handle expected failures.
48914         (parse_ulps): Likewise.
48915         (print_ulps_file): Likewise.
48916         (get_failure): Remove function.
48917         (output_test): Don't handle expected failures.
48918         * make/README.libm-test: Don't mention expected failure handling.
48920         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
48921         (minus_zero): Likewise.
48922         (plus_infty): Likewise.
48923         (minus_infty): Likewise.
48924         (qnan_value): Likewise.
48925         (max_value): Likewise.
48926         (min_value): Likewise.
48927         (min_subnorm_value): Likewise.
48928         (initialize): Do not initialize those variables dynamically.
48930 2013-05-03  Roland McGrath  <roland@hack.frob.com>
48932         * io/open.c (__open_2): Moved to ...
48933         * io/open_2.c: ... this new file.
48934         * io/open64.c (__open64_2): Moved to ...
48935         * io/open64_2.c: ... this new file.
48936         * io/openat.c (__openat_2): Moved to ...
48937         * io/openat_2.c: ... this new file.
48938         * io/openat64.c (__openat64_2): Moved to ...
48939         * io/openat64_2.c: ... this new file.
48940         * io/Makefile (routines): Add them.
48941         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
48942         * sysdeps/unix/sysv/linux/open_2.c: File removed.
48943         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
48944         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
48945         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
48946         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
48947         (__openat64): Add hidden_ver.
48948         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
48949         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
48951         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
48952         Separately conditionalize setting of GLRO(dl_sysinfo) so
48953         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
48954         as well, but the actual setting is only under [NEED_DL_SYSINFO].
48956 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48958         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
48959         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
48960         definition.
48961         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
48962         * sysdeps/unix/sysv/linux/powerpc/init-first.c
48963         (_libc_vdso_platform_setup): Add __vdso_time initialization.
48964         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
48965         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
48967 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
48969         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
48970         test signgam value.
48972         * math/libm-test.inc (hypot_test): Do not use
48973         IGNORE_ZERO_INF_SIGN.
48975 2013-05-03  Andreas Jaeger  <aj@suse.de>
48977         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
48978         Linux 3.9.
48979         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
48980         (PF_MAX): Adjust for VSOCK change.
48982 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48984         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48986 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
48988         [BZ #15264]
48989         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
48990         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
48991         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
48993 2013-05-02  David S. Miller  <davem@davemloft.net>
48995         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48997 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
48999         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
49001 2013-05-01  Roland McGrath  <roland@hack.frob.com>
49003         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
49005 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
49007         [BZ #14952]
49008         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
49009         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49010         Use __attribute__ ((__gnu_inline__)).
49011         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49012         Don't use __attribute__ ((__gnu_inline__)).
49014 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
49016         [BZ #15423]
49017         * math/s_catan.c (__catan): Handle small real or imaginary part of
49018         input specially to avoid spurious underflow.
49019         * math/s_catanf.c (__catanf): Likewise.
49020         * math/s_catanh.c (__catanh): Likewise.
49021         * math/s_catanhf.c (__catanhf): Likewise.
49022         * math/s_catanhl.c (__catanhl): Likewise.
49023         * math/s_catanl.c (__catanl): Likewise.
49024         * math/libm-test.inc (catan_test): Add more tests.
49025         (catanh_test): Likewise.
49026         * sysdeps/i386/fpu/libm-test-ulps: Update.
49027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49029 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49031         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49033 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
49035         [BZ #15416]
49036         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
49037         accurately for denominator in atan2.
49038         * math/s_catanf.c (__catanf): Likewise.
49039         * math/s_catanh.c (__catanh): Likewise.
49040         * math/s_catanhf.c (__catanhf): Likewise.
49041         * math/s_catanhl.c (__catanhl): Likewise.
49042         * math/s_catanl.c (__catanl): Likewise.
49043         * math/libm-test.inc (catan_test): Add more tests.
49044         (catanh_test): Likewise.
49045         * sysdeps/i386/fpu/libm-test-ulps: Update.
49046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49048 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49050         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
49052         * benchtests/Makefile (bench): Remove slow benchmarks.
49053         * benchtests/atan-inputs: Add slow benchmark inputs.
49054         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
49055         (BENCH_FUNC): Accept variant offset.
49056         (VARIANT): Define.
49057         * benchtests/bench-skeleton.c (main): Run benchmark for each
49058         variant.
49059         * benchtests/cos-inputs: Add slow benchmark inputs.
49060         * benchtests/exp-inputs: Likewise.
49061         * benchtests/pow-inputs: Likewise.
49062         * benchtests/sin-inputs: Likewise.
49063         * benchtests/slowatan-inputs: Remove.
49064         * benchtests/slowatan.c: Remove.
49065         * benchtests/slowcos-inputs: Remove.
49066         * benchtests/slowcos.c: Remove.
49067         * benchtests/slowexp-inputs: Remove.
49068         * benchtests/slowexp.c: Remove.
49069         * benchtests/slowpow-inputs: Remove.
49070         * benchtests/slowpow.c: Remove.
49071         * benchtests/slowsin-inputs: Remove.
49072         * benchtests/slowsin.c: Remove.
49073         * benchtests/slowtan-inputs: Remove.
49074         * benchtests/slowtan.c: Remove.
49075         * benchtests/tan-inputs: Add slow benchmark inputs.
49076         * scripts/bench.pl: Parse comments and directives.
49078         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
49079         in CPPFLAGS.
49080         ($(objpfx)bench-%.c): Remove *-ITER.
49081         * benchtests/bench-modf.c: Remove definition of ITER.
49082         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
49083         (main): Loop for DURATION seconds instead of fixed number of
49084         iterations.
49085         * scripts/bench.pl: Don't expect iterations in parameters.
49087 2013-04-29  Roland McGrath  <roland@hack.frob.com>
49089         * io/fchdir.c (__fchdir): Renamed from fchdir.
49090         (fchdir): Define as weak alias.
49092 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
49094         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
49095         (ERRNO_EDOM): Likewise.
49096         (ERRNO_ERANGE): Likewise.
49097         (noErrnoTests): New variable.
49098         (init_max_error): Set errno to 0.
49099         (test_single_errno): New function.
49100         (test_errno): Likewise.
49101         (check_float_internal): Call test_errno.  Set errno to 0.
49102         (check_complex): Refer to errno tests in comment.
49103         (check_int): Call test_errno.  Set errno to 0.
49104         (check_long): Likewise.
49105         (check_bool): Likewise.
49106         (check_longlong): Likewise.
49107         (cos_test): Use ERRNO_* flags for errno tests instead of
49108         check_int.
49109         (expm1_test): Likewise.
49110         (fmod_test): Likewise.
49111         (ilogb_test): Likewise.
49112         (lgamma_test): Likewise.
49113         (pow_test): Likewise.
49114         (remainder_test): Likewise.
49115         (sin_test): Likewise.
49116         (tan_test): Likewise.
49117         (yn_test): Likewise.
49118         (initialize): Set errno to 0.
49119         (main): Print number of errno tests.
49120         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
49122 2013-04-29  Andreas Jaeger  <aj@suse.de>
49124         [BZ #15084]
49125         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
49126         and RES_USEVC.
49128         [BZ #15085]
49129         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
49130         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
49131         unimplemented.
49133         [BZ #15380]
49134         * stdlib/random.c (__initstate): Return NULL if
49135         __initstate fails.
49137         [BZ #15086]
49138         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
49139         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
49140         RES_SNGLKUPREOP.
49142 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49146 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
49148         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
49149         of individual tests.
49150         (casin_test): Likewise.
49151         (casinh_test): Likewise.
49153 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
49155         [BZ #15409]
49156         * math/s_catan.c (__catan): Handle arguments with large real or
49157         imaginary part separately without squaring.
49158         * math/s_catanf.c (__catanf): Likewise.
49159         * math/s_catanh.c (__catanh): Likewise.
49160         * math/s_catanhf.c (__catanhf): Likewise.
49161         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49162         and redefine.
49163         (__catanhl): Handle arguments with large real or imaginary part
49164         separately without squaring.
49165         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49166         and redefine.
49167         (__catanl): Handle arguments with large real or imaginary part
49168         separately without squaring.
49169         * math/libm-test.inc (catan_test): Add more tests.
49170         (catanh_test): Likewise.
49171         * sysdeps/i386/fpu/libm-test-ulps: Update.
49172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49174 2013-04-27  Andreas Jaeger  <aj@suse.de>
49176         [BZ #15007]
49177         * stdlib/stdlib.h: Update guards for qecvt.
49178         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
49179         <stdlib.h>.
49181 2013-04-27  Allan McRae  <allan@archlinux.org>
49183         * sysdeps/i386/fpu/libm-test-ulps: Update.
49185 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
49187         [BZ #15406]
49188         * math/s_catan.c: Include <float.h>.
49189         (__catan): Ensure underflow exception occurs for underflowed
49190         result.
49191         * math/s_catanf.c: Include <float.h>.
49192         (__catanf): Ensure underflow exception occurs for underflowed
49193         result.
49194         * math/s_catanh.c: Include <float.h>.
49195         (__catanh): Ensure underflow exception occurs for underflowed
49196         result.
49197         * math/s_catanhf.c: Include <float.h>.
49198         (__catanhf): Ensure underflow exception occurs for underflowed
49199         result.
49200         * math/s_catanhl.c: Include <float.h>.
49201         (__catanhl): Ensure underflow exception occurs for underflowed
49202         result.
49203         * math/s_catanl.c: Include <float.h>.
49204         (__catanl): Ensure underflow exception occurs for underflowed
49205         result.
49206         * math/libm-test.inc (catan_test): Add more tests.
49207         (catanh_test): Likewise.
49209         [BZ #15405]
49210         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
49211         underflowed result.
49212         * math/s_ccoshf.c (__ccoshf): Likewise.
49213         * math/s_ccoshl.c (__ccoshl): Likewise.
49214         * math/s_csin.c (__csin): Likewise.
49215         * math/s_csinf.c (__csinf): Likewise.
49216         * math/s_csinh.c (__csinh): Likewise.
49217         * math/s_csinhf.c (__csinhf): Likewise.
49218         * math/s_csinhl.c (__csinhl): Likewise.
49219         * math/s_csinl.c (__csinl): Likewise.
49220         * math/libm-test.inc (ccos_test): Add more tests.
49221         (ccosh_test): Likewise.
49222         (csin_test): Likewise.
49223         (csinh_test): Likewise.
49225 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49227         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
49228         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
49229         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
49230         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
49231         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
49232         powerpc/power5+/fpu folders.
49233         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
49236 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
49238         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49240 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
49242         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
49243         additions to variable.
49244         [$(config-machine) = x86_64] (modules-names): Likewise.
49245         ($(objpfx)tst-audit3): Remove dependency.
49246         ($(objpfx)tst-audit3.out): Likewise.
49247         ($(objpfx)tst-audit4): Likewise.
49248         ($(objpfx)tst-audit4.out): Likewise.
49249         ($(objpfx)tst-audit5): Likewise.
49250         ($(objpfx)tst-audit5.out): Likewise.
49251         ($(objpfx)tst-audit6): Likewise.
49252         ($(objpfx)tst-audit6.out): Likewise.
49253         ($(objpfx)tst-audit7): Likewise.
49254         ($(objpfx)tst-audit7.out): Likewise.
49255         (tst-audit3-ENV): Remove variable.
49256         (tst-audit4-ENV): Likewise.
49257         (tst-audit5-ENV): Likewise.
49258         (tst-audit6-ENV): Likewise.
49259         (tst-audit7-ENV): Likewise.
49260         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
49261         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
49262         addition to variable.
49263         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
49264         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
49265         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
49266         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
49267         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
49268         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
49269         tst-audit3, tst-audit4 and tst-audit5.
49270         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
49271         tst-audit6 and tst-audit7.
49272         [$(subdir) = elf] (modules-names): Add audit modules for those
49273         tests.
49274         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
49275         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
49276         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
49277         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
49278         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
49279         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
49280         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
49281         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
49282         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
49283         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
49284         [$(subdir) = elf] (tst-audit3-ENV): New variable.
49285         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
49286         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
49287         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
49288         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
49289         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
49290         Likewise.
49291         [$(subdir) = elf && $(config-cflags-avx) = yes]
49292         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
49293         [$(subdir) = elf && $(config-cflags-avx) = yes]
49294         (CFLAGS-tst-auditmod4a.c): Likewise.
49295         [$(subdir) = elf && $(config-cflags-avx) = yes]
49296         (CFLAGS-tst-auditmod4b.c): Likewise.
49297         [$(subdir) = elf && $(config-cflags-avx) = yes]
49298         (CFLAGS-tst-auditmod6b.c): Likewise.
49299         [$(subdir) = elf && $(config-cflags-avx) = yes]
49300         (CFLAGS-tst-auditmod6c.c): Likewise.
49301         [$(subdir) = elf && $(config-cflags-avx) = yes]
49302         (CFLAGS-tst-auditmod7b.c): Likewise.
49303         * elf/tst-audit3.c: Move to ...
49304         * sysdeps/x86_64/tst-audit3.c: ... here.
49305         * elf/tst-audit4.c: Move to ...
49306         * sysdeps/x86_64/tst-audit4.c: ... here.
49307         * elf/tst-audit5.c: Move to ...
49308         * sysdeps/x86_64/tst-audit5.c: ... here.
49309         * elf/tst-audit6.c: Move to ...
49310         * sysdeps/x86_64/tst-audit6.c: ... here.
49311         * elf/tst-audit7.c: Move to ...
49312         * sysdeps/x86_64/tst-audit7.c: ... here.
49313         * elf/tst-auditmod3a.c: Move to ...
49314         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
49315         * elf/tst-auditmod3b.c: Move to ...
49316         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
49317         * elf/tst-auditmod4a.c: Move to ...
49318         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
49319         * elf/tst-auditmod4b.c: Move to ...
49320         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
49321         * elf/tst-auditmod5a.c: Move to ...
49322         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
49323         * elf/tst-auditmod5b.c: Move to ...
49324         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
49325         * elf/tst-auditmod6a.c: Move to ...
49326         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
49327         * elf/tst-auditmod6b.c: Move to ...
49328         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
49329         * elf/tst-auditmod6c.c: Move to ...
49330         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
49331         * elf/tst-auditmod7a.c: Move to ...
49332         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
49333         * elf/tst-auditmod7b.c: Move to ...
49334         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
49336 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
49338         [BZ #15366]
49339         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
49340         define unconditionally.
49341         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
49342         define unconditionally.
49343         (INT8_C, INT16_C, etc.): Likewise.
49345 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
49347         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
49348         __ehdr_start with hidden visibility.
49350         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
49352 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
49354         * math/libm-test.inc (cos_test): Use accurate hex constants.
49355         (sincost_test): Likewise.
49357 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
49359         * math/libm-test.inc (catan_test): Add more tests.
49360         (catanh_test): Likewise.
49362         * math/s_catanf.c (__catanf): Use suffixed floating-point
49363         constants.
49364         * math/s_catanhf.c (__catanhf): Likewise.
49365         * math/s_catanhl.c (__catanhl): Likewise.
49366         * math/s_catanl.c (__catanl): Likewise.
49368         [BZ #15394]
49369         * math/s_catan.c (__catan): Calculate imaginary part of result
49370         with log1p not log unless computing log of number close to 0.
49371         * math/s_catanf.c (__catanf): Likewise.
49372         * math/s_catanl.c (__catanl): Likewise.
49373         * math/s_catanh.c (__catanh): Calculate real part of result with
49374         log1p not log unless computing log of number close to 0.
49375         * math/s_catanhf.c (__catanhf): Likewise.
49376         * math/s_catanhl.c (__catanhl): Likewise.
49377         * math/libm-test.inc (catan_test): Add more tests.
49378         (catanh_test): Likewise.
49379         * sysdeps/i386/fpu/libm-test-ulps: Update.
49380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49382 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49384         * benchtests/Makefile: Mention files in which fast and slow
49385         paths of math functions are implemented.
49387 2013-04-23  Roland McGrath  <roland@hack.frob.com>
49389         * sysdeps/posix/timespec_get.c: New file.
49391 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49393         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
49394         POWER.
49395         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
49396         for POWER.
49397         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
49398         powerpc/power5/fpu folders.
49399         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
49400         * benchtests/Makefile: Add modf testcase.
49401         * benchtests/bench-modf.c: New file: Benchmark test for mo
49403 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49405         [BZ #14888]
49406         * time/Makefile (tests): Add tst-strptime-whitespace.
49407         * time/strptime_l.c (get_number): Use ISSPACE.
49408         (__strptime_internal): Likewise.
49409         * time/tst-strptime-whitespace.c: New test case.
49411 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
49413         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
49414         member.
49415         (_nss_files_init): Set it here.
49417 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
49419         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
49420         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
49421         unsigned.
49423 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
49425         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
49427 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49429         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
49430         size just once.
49432 2013-04-21  David S. Miller  <davem@davemloft.net>
49434         * po/ru.po: Update Russion translation from translation project.
49436 2013-04-17  Adam Conrad  <adconrad@0c3.net>
49438         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
49439         and setfsgid.
49441 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
49443         * configure.in: Remove i386 configure warning. Remove i386 case.
49444         * configure: Regenerate.
49445         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
49446         Add example to error message.
49447         * sysdeps/i386/configure: Regenerate.
49449 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49451         * benchtests/Makefile (bench): Add cos, tan, slowcos and
49452         slowtan.
49453         * benchtests/cos-inputs: New file.
49454         * benchtests/slowcos-inputs: New file.
49455         * benchtests/slowcos.c: New file.
49456         * benchtests/slowtan-inputs: New file.
49457         * benchtests/slowtan.c: New file.
49458         * benchtests/tan-inputs: New file.
49460 2013-04-16  Roland McGrath  <roland@hack.frob.com>
49462         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
49463         considered kosher.
49465 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49467         * benchtests/Makefile: Include cppflags-iterator.mk to add
49468         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
49470         * Makefile.in (bench-clean): New target.
49471         * benchtests/Makefile (bench-clean): Likewise.
49473 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
49475         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
49477 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
49479         * stdio-common/tstdiomisc.c: Fix coding-style violation.
49481 2013-04-15  Andreas Schwab  <schwab@suse.de>
49483         * nscd/grpcache.c (cache_addgr): Properly check for short write.
49484         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49485         * nscd/pwdcache.c (cache_addpw): Likewise.
49486         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
49487         more than recsize.
49489 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49491         * benchtests/Makefile (bench): Write all output to
49492         bench-out.tmp together.
49494 2013-04-15  Andreas Schwab  <schwab@suse.de>
49496         * nscd/nscd.c (main): Don't fork again after closing files.
49498 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49500         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
49502         * benchtests/Rules (bench-deps): Collect dependencies into a
49503         single variable.  Add Makefile to dependencies.
49504         ($(objpfx)bench-%.c): Depend on bench-deps.
49506 2013-04-12  Roland McGrath  <roland@hack.frob.com>
49507             Xavier Roche  <roche+kml2@exalead.com>
49509         [BZ #15361]
49510         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
49511         just that it's a file descriptor.
49512         * manual/llio.texi (Synchronizing AIO Operations): Update description
49513         for EBADF error from aio_fsync.
49515 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49517         * Rules (bench): Move target definition...
49518         * benchtests/Makefile: ... here.
49520 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
49522         * math/libm-test.inc (cos_test): Fix PI/2 test.
49523         (sincos_test): Likewise.
49524         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
49525         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
49527 2013-04-11  Andreas Schwab  <schwab@suse.de>
49529         [BZ #13988]
49530         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
49531         accept exponent character only when digits were seen.
49532         * stdio-common/Makefile (tests): Add bug26.
49533         * stdio-common/bug26.c: New file.
49535         [BZ #14293]
49536         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
49537         non-freeable.
49539 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49541         * Makeconfig (rtld-prefix): Define built linker prefix.
49542         * Rules (run-bench): Use it.
49543         * math/Makefile (run-regen-ulps): Likewise.
49545         * Rules (bench): Remove eval.
49547 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49548             Roland McGrath  <roland@hack.frob.com>
49549             Ondrej Bilka  <neleai@seznam.cz>
49551         [BZ #15346]
49552         * time/getdate.c: Include ctype.h and alloca.h.
49553         (__getdate_r): Trim leading and trailing spaces of input.
49554         * time/tst-getdate.c (tests): Add tests with leading and
49555         trailing spaces.
49557 2013-04-08  Roland McGrath  <roland@hack.frob.com>
49559         [BZ #14280]
49560         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
49561         when computing value.
49563 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49565         * math/README.libm-test (How can I generate "libm-test-ulps"?):
49566         Use testrun.sh to run libm tests.
49568         [BZ #15309]
49569         * elf/dl-open.c (dl_open_worker): memset all of seen array.
49571 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
49573         [BZ #15264]
49574         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
49576 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49578         * Makefile.in (regen-ulps): New target.
49579         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
49580         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
49581         [ifneq (no,$(PERL)] (regen-ulps): New target.
49582         [ifeq (no,$(PERL)] (regen-ulps): New target.
49583         * math/libm-test.inc (ulps_file_name): Define.
49584         (output_dir): New variable.
49585         (options): Add "output-dir" option.
49586         (parse_opt): Handle 'o' case.
49587         (main): If output_dir is non-NULL use it as a prefix
49588         otherwise use "".
49589         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
49591 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49593         [BZ #10060, #10062]
49594         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
49595         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
49596         fail configure if __sync_val_compare_and_swap is not inlined.
49597         * sysdeps/i386/configure: Regenerate.
49598         * configure.in: Build for i686 when configured for i386.
49599         * configure: Regenerate.
49600         * README: Remove i386 reference.
49602 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49604         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
49605         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49607 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
49609         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
49610         (lmsnanval): New variables.
49611         (F): Add conversion tests.
49612         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
49613         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
49615         * stdio-common/tstdiomisc.c (F): Properly collect individual
49616         tests' results.
49618         [BZ #14686, #15336]
49619         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
49620         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
49621         Instead, use input NaN values or generate a qNaN by arithmetic
49622         operation.  Also fix bugs to comply with the standard.
49623         * math/libm-test.inc (remainder_test): Add more tests.
49625         [BZ #15335, #15342]
49626         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
49627         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
49628         input NaN values or generate a qNaN by arithmetic operation.
49630         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
49631         unreachable code.
49633         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
49634         definitions.
49636 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
49638         [BZ #14478]
49639         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
49640         underflowed result.
49641         * math/s_cexpf.c (__cexpf): Likewise.
49642         * math/s_cexpl.c (__cexpl): Likewise.
49643         * math/libm-test.inc (cexp_test): Add more tests.
49645 2013-04-03  Andreas Schwab  <schwab@suse.de>
49647         [BZ #15330]
49648         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
49649         order arrays from heap if bigger than alloca cutoff.
49651 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
49653         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
49654         (SNAN_TESTS_double): Refer to GCC PR56831.
49655         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
49656         GCC PR56828.
49658 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49660         * Rules (bench): Move bench.out after the run is complete.
49662         * Rules (bench): Echo currently running benchmark.
49664         * benchtests/Makefile (bench): Add atan and slowatan.
49665         * benchtests/atan-inputs: New file.
49666         * benchtests/slowatan-inputs: New file.
49667         * benchtests/slowatan.c: New file.
49669         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
49670         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
49671         its value.
49673         [BZ #15305]
49674         * sysdeps/unix/sysv/linux/kernel-features.h
49675         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
49676         __ASSUME_XFS_RESTRICTED_CHOWN.
49677         * sysdeps/unix/sysv/linux/pathconf.c
49678         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
49679         Save and restore errno.
49681 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
49683         [BZ #15327]
49684         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
49685         arguments using __kernel_casinh.
49686         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
49687         arguments using __kernel_casinhf.
49688         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
49689         arguments using __kernel_casinhl.
49690         * math/libm-test.inc (cacosh_test): Add more tests.
49691         * sysdeps/i386/fpu/libm-test-ulps: Update.
49692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49694 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49696         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
49697         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
49699         * bench/Makefile (bench): Add sin and slowsin.
49700         * benchtests/sin-inputs: New file.
49701         * benchtests/slowsin-inputs: New file.
49702         * benchtests/slowsin.c: New file.
49704         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
49705         (bench): Add slowexp and slowpow.
49706         (exp-ITER): Increase iterations.
49707         (pow-ITER): Likewise.
49708         * benchtests/exp-inputs: Change input.
49709         * benchtests/pow-inputs: Likewise.
49710         * benchtests/slowexp-inputs: New file.
49711         * benchtests/slowexp.c: New file.
49712         * benchtests/slowpow-inputs: New file.
49713         * benchtests/slowpow.c: New file.
49715 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49717         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
49718         instructions.
49719         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49720         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
49721         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
49722         * benchtests/Makefile: Add rint benchtest.
49723         * benchtests/rint-inputs: Input for rint benchtest.
49725 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
49727         * Versions.def (libm): Add GLIBC_2.18.
49728         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
49729         hidden libm prototypes.
49730         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
49731         * math/Makefile (libm-calls): Add s_issignaling.
49732         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
49733         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
49734         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
49735         declaration.
49736         * math/math.h [__USE_GNU] (issignaling): New macro.
49737         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
49738         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
49739         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
49740         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
49741         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
49742         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
49743         * manual/arith.texi (issignaling): New section.
49744         * manual/libm-err-tab.pl (@all_functions): Update comment.
49745         * math/gen-libm-test.pl (parse_args): Apply special handling for
49746         issignaling.
49747         * math/libm-test.inc (print_float, issignaling_test): New
49748         functions.
49749         (check_float_internal): Add issignaling checks.
49750         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
49751         default definition.
49752         * sysdeps/powerpc/math-tests.h: New file.
49753         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
49754         tests.
49755         * math/test-snan.c (TEST_FUNC): Likewise.
49757 2013-03-30  David S. Miller  <davem@davemloft.net>
49759         * po/de.po: Update from translation team.
49761 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
49763         [BZ #10357]
49764         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49765         imaginary part less than 1.0 and real part less than 0.5
49766         specially.
49767         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49768         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49769         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
49770         (cacos_test): Add more tests.
49771         (casin_test): Likewise.
49772         (casinh_test): Likewise.
49773         * sysdeps/i386/fpu/libm-test-ulps: Update.
49774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49776 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49778         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
49779         ONE with its value.
49781         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
49782         (__pow_mp): Replace ONE and MONE with their values.
49783         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49784         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
49785         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49786         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
49787         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49788         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49790         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
49792         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
49793         (__pow_mp): Replace ZERO and MZERO with their values.
49794         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49795         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49796         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49797         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
49798         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49799         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
49800         (__sqr): Likewise.
49802         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
49804         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
49806 2013-03-28  Roland McGrath  <roland@hack.frob.com>
49808         * include/stdlib.h [!SHARED] (__call_tls_dtors):
49809         Declare with __attribute__ ((weak)).
49810         * stdlib/exit.c (__libc_atexit) [!SHARED]:
49811         Call __call_tls_dtors only if it's not NULL.
49813 2013-03-28  Roland McGrath  <roland@hack.frob.com>
49815         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
49816         didn't do it already, then set _dl_phdr and _dl_phnum based on the
49817         magic __ehdr_start linker symbol if it's defined.
49818         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
49819         them up here if it was already done.
49821         * elf/dl-support.c (_dl_phdr): Make pointer to const.
49822         (_dl_aux_init): Use const in cast when setting it.
49823         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
49824         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
49825         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
49827         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
49828         Declare them here.
49829         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
49830         * csu/libc-tls.c: Nor here.
49831         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
49833         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
49834         (__libc_message): Never call vsyslog.
49836 2013-03-28  Alan Modra  <amodra@gmail.com>
49838         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
49839         Define as empty.
49840         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
49841         Likewise.
49843 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49845         [BZ #15214]
49846         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
49847         underflow.
49848         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49850 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49852         [BZ #15304]
49853         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
49854         Don't add gid passed as argument.
49856         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
49858 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
49860         [BZ #15307]
49861         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49862         imaginary part between 1.0 and 1.5 and real part less than 0.5
49863         specially.
49864         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49865         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49866         * math/libm-test.inc (cacos_test): Add more tests.
49867         (casin_test): Likewise.
49868         (casinh_test): Likewise.
49869         * sysdeps/i386/fpu/libm-test-ulps: Update.
49870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49872 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49874         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
49875         constants.
49876         (norm): Likewise.
49877         (denorm): Likewise.
49878         (__dbl_mp): Likewise.
49879         (add_magnitudes): Likewise.
49880         (sub_magnitudes): Likewise.
49881         (__add): Likewise.
49882         (__sub): Likewise.
49883         (__mul): Likewise.
49884         (__sqr): Likewise.
49885         (__inv): Likewise.
49886         (__dvd): Likewise.
49888         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
49889         commented code.
49890         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
49891         (__dubcos): Likewise.
49892         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
49893         (__ieee754_acos): Likewise.
49894         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49895         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
49896         (__exp1): Likewise.
49897         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49898         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49899         (log1): Likewise.
49900         (my_log2): Likewise.
49901         (checkint): Likewise.
49902         * sysdeps/ieee754/dbl-64/e_remainder.c
49903         (__ieee754_remainder): Likewise.
49904         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49905         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
49906         (bsloww): Likewise.
49907         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49909         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
49910         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
49911         MANTISSA_STORE_T to store computations on mantissa.  Use
49912         macros for rounding and division.
49913         (denorm): Likewise.
49914         (__dbl_mp): Likewise.
49915         (add_magnitudes): Likewise.
49916         (sub_magnitudes): Likewise.
49917         (__mul): Likewise.
49918         (__sqr): Likewise.
49919         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
49920         powers of two in terms of TWOPOW macro.
49921         (mp_no): Make type of mantissa as MANTISSA_T.
49922         [!RADIXI]: Define RADIXI.
49923         [!TWO52]: Define TWO52.
49924         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
49926 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49928         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
49929         llroundl symbol when building for PPC32.
49931 2013-03-24  Mark H Weaver  <mhw@netris.org>
49933         * manual/arith.texi (Normalization Functions): Fix prototypes for
49934         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
49936 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49938         [BZ #13889]
49939         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
49940         high value to check if expl overflow.
49941         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
49942         to check for underflow and overflow.
49943         * math/libm-test.inc: Add exp test.
49945 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
49947         [BZ #11120]
49948         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
49949         with NOT_IN_libc.
49951 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49953         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
49954         symbol.
49956 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
49958         * math/gen-libm-test.pl (parse_args, special_functions): Properly
49959         wrap blocks consisting of several statements.
49961         * sysdeps/generic/math-tests.h: New file.
49962         * sysdeps/i386/fpu/math-tests.h: Likewise.
49963         * math/test-snan.c: Include it.
49964         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
49966 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
49968         [BZ #15285]
49969         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
49970         (__ieee754_j0l): Do not improve calculations using cos of twice
49971         input for inputs above LDBL_MAX / 2.0L.
49972         (__ieee754_y0l): Likewise.
49973         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
49974         (__ieee754_j1l): Do not improve calculations using cos of twice
49975         input for inputs above LDBL_MAX / 2.0L.
49976         (__ieee754_y1l): Likewise.
49977         * math/libm-test.inc (j0_test): Add another test.
49978         (j1_test): Likewise.
49979         (y0_test): Likewise.
49980         (y1_test): Likewise.
49981         * sysdeps/i386/fpu/libm-test-ulps: Update.
49983 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49985         * Rules ($(objpfx)bench-%.c): Include code from a C source
49986         file.
49988 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
49990         [BZ #15287]
49991         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49992         imaginary part 1.0 and real part less than 0.5 specially.
49993         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49994         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49995         * math/libm-test.inc (cacos_test): Add more tests.
49996         (casin_test): Likewise.
49997         (casinh_test): Likewise.
49998         * sysdeps/i386/fpu/libm-test-ulps: Update.
49999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50001 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50003         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
50004         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
50006 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
50008         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
50009         * config.make.in (config-cflags-sse4): Remove variable.
50010         (config-cflags-avx): Likewise.
50011         (config-cflags-sse2avx): Likewise.
50012         (config-cflags-novzeroupper): Likewise.
50013         (config-asflags-i686): Likewise.
50014         (have-mfma4): Likewise.
50015         (have-as-vis3): Likewise.
50016         (MIG): Likewise.
50017         * configure.in (MIG): Do not AC_SUBST.
50018         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
50019         (libc_cv_cc_sse4): Do not AC_SUBST.
50020         (libc_cv_cc_avx): Likewise.
50021         (libc_cv_cc_sse2avx): Likewise.
50022         (libc_cv_cc_novzeroupper): Likewise.
50023         (libc_cv_cc_fma4): Likewise.
50024         (libc_cv_as_i686): Likewise.
50025         (libc_cv_sparc_as_vis3): Likewise.
50026         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
50027         LIBC_CONFIG_VAR.
50028         (config-asflags-i686): Likewise.
50029         (config-cflags-avx): Likewise.
50030         (config-cflags-sse2avx): Likewise.
50031         (have-mfma4): Likewise.
50032         (config-cflags-novzeroupper): Likewise.
50033         * sysdeps/mach/configure.in (MIG): Likewise.
50034         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
50035         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
50036         LIBC_CONFIG_VAR.
50037         (config-cflags-avx): Likewise.
50038         (config-cflags-sse2avx): Likewise.
50039         (have-mfma4): Likewise.
50040         (config-cflags-novzeroupper): Likewise.
50041         * configure: Regenerated.
50042         * sysdeps/i386/configure: Likewise.
50043         * sysdeps/mach/configure: Likewise.
50044         * sysdeps/sparc/configure: Likewise.
50045         * sysdeps/x86_64/configure: Likewise.
50047 2013-03-20  Roland McGrath  <roland@hack.frob.com>
50049         [BZ #14812]
50050         * locale/programs/localedef.c (options): Put N_ translation marker
50051         on argument names, not just descriptions.
50053 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50055         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
50057 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
50059         [BZ #14176]
50060         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
50062 2013-03-19  Roland McGrath  <roland@hack.frob.com>
50064         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
50065         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
50066         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
50067         [!BEFORE_ABORT] (before_abort): New function.
50068         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
50069         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
50070         (writev_for_fatal): New function.
50071         (WRITEV_FOR_FATAL): New macro; call that.
50072         (backtrace_and_maps): New function.
50073         (BEFORE_ABORT): New macro; call that.
50074         (struct str_list): Type removed.
50075         (__libc_message, __libc_fatal): Functions removed.
50076         Include <sysdeps/posix/libc_fatal.c> instead.
50078 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
50080         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
50081         constants.
50082         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
50083         double constants.
50085 2013-03-19  Andreas Schwab  <schwab@suse.de>
50087         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
50088         * sysdeps/gnu/configure: Regenerate.
50090         * configure.in: Substitute libc_cv_rtlddir.
50091         * configure: Regenerate.
50092         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
50093         * Makeconfig (rtlddir, inst_rtlddir): New variables.
50094         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
50095         * elf/Makefile (install-others, CFLAGS-interp.c)
50096         (ldso_install, common-ldd-rewrite): Likewise.
50097         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
50098         $(inst_slibdir)/$(rtld-installed-name).
50099         * scripts/rellns-sh: Add -p option.
50100         * Makerules (make-shlib-link): Use rellns-sh to get relative name
50101         for source.
50103 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50105         * manual/nptl.texi: Renamed to ...
50106         * manual/threads.texi: ... this.
50107         * manual/Makefile (chapters): Update.
50109 2013-03-18  Roland McGrath  <roland@hack.frob.com>
50111         [BZ #14812]
50112         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
50113         on argument names, not just descriptions.
50114         * malloc/memusagestat.c (options): Likewise.
50115         * nss/getent.c (options): Likewise.
50117 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
50119         [BZ #14812]
50120         * iconv/iconv_prog.c (options): Put N_ translation marker
50121         on argument names, not just descriptions.
50122         * iconv/iconvconfig.c (options): Likewise.
50124 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
50126         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
50127         implementation which is faster on all x86_64 architectures.
50128         Tested on AMD, Intel Nehalem, SNB, IVB.
50129         * sysdeps/x86_64/strnlen.S: Likewise.
50131         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50132         Remove all multiarch strlen and strnlen versions.
50133         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
50134         Remove strlen and strnlen related parts.
50136         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
50137         Inline strlen part.
50138         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
50140         * sysdeps/x86_64/multiarch/strlen.S: Remove.
50141         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
50142         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
50143         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
50144         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
50145         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
50147 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
50149         * manual/memory.texi (Malloc Tunable Parameters):
50150         Sort parameters alphabetically. Add comments for missing entries.
50152 2013-03-17  David S. Miller  <davem@davemloft.net>
50154         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50156 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
50158         [BZ #15283]
50159         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
50160         for arguments at most half maximum finite value.
50161         * math/libm-test.inc (j0_test): Add more tests.
50162         (j1_test): Likewise.
50163         (y0_test): Likewise.
50164         (y1_test): Likewise.
50165         * sysdeps/i386/fpu/libm-test-ulps: Update.
50166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50168         [BZ #14155]
50169         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
50170         1 / x and functions P and Q for arguments above 0x1p256L.
50171         (__ieee754_y0l): Likewise.
50172         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
50173         (__ieee754_y1l): Likewise.
50174         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
50175         (j1_test): Likewise.
50176         (y0_test): Likewise.
50177         (y1_test): Likewise.
50179 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
50181         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
50182         variable.
50184 2013-03-15  Roland McGrath  <roland@hack.frob.com>
50186         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
50187         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
50188         zero since it's initialized to EXEC_PAGESIZE.
50190         * sysdeps/unix/sysv/linux/ldsodefs.h
50191         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
50192         * sysdeps/generic/ldsodefs.h: ... here.
50194 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
50196         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
50198         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
50199         math/test-snan.c.
50200         * math/test-snan.c: Renamed from
50201         sysdeps/powerpc/fpu/test-powerpc-snan.c.
50202         * math/Makefile (tests): Add test-snan.
50203         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
50204         test-powerpc-snan.
50206         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
50207         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
50208         functions.
50209         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
50210         __builtin_nan family of functions.
50211         * math/libm-test.inc (initialize): Initialize qnan_value with
50212         __builtin_nan family of functions.
50213         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
50214         Remove variables.
50215         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
50216         Remove functions.
50217         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
50218         storage class.  Initialize qNaN_var and sNaN_var with
50219         __builtin_nan and __builtin_nans families of functions,
50220         respectively.
50222         * math/libm-test.inc (acosh_test): Also test with qNaN input.
50223         (sqrt_test): Remove duplicate test with qNaN input.
50224         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
50225         (round_test, signbit_test, significand_test): Note missing +/-Inf
50226         as well as qNaN tests.
50228         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
50229         qNaN_var.  Fix a few strings, too.
50230         * math/libm-test.inc (nan_value): Rename to qnan_value.
50231         * math/gen-libm-test.pl (%beautify): Adjust to that.
50232         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
50233         * math/test-misc.c (main): Likewise.
50234         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
50235         to __qnan_bytes, and __qnan_union, respectively.
50236         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
50237         Likewise.
50238         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
50239         and lqnanval, respectively.
50240         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
50241         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
50242         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
50243         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
50245         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
50246         * math/test-misc.c (main) [__x86_64__]: Enable test for long
50247         doubles.
50249         * math/test-misc.c (main): Fix copy'n'pastos.
50250         * misc/tst-efgcvt.c (special): Likewise.
50252         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
50253         Remove declarations.
50255 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50257         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
50258         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
50259         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
50260         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
50262 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50264         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
50265         macro to return vdso values correctly in IFUNC implementations.
50266         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50267         Optimization by using IFUNC.
50269 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50270             Richard Henderson  <rth@redhat.com>
50271             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50273         * Makefile.in (bench): New target.
50274         * NEWS: Mention the benchmark framework.
50275         * Rules (bench): Likewise.
50276         (binaries-bench): Generate binaries for functions to
50277         benchmark.
50278         * benchtests/Makefile: New makefile for benchmark tests.
50279         * benchtests/bench-skeleton.c: New skeleton file for benchmark
50280         programs.
50281         * benchtests/exp-inputs: New input file for EXP function.
50282         * benchtests/pow-inputs: New input file for POW function.
50283         * scripts/bench.pl: New script to generate source files for
50284         benchmark programs.
50286 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50288         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50289         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
50290         computations on mantissa.  Use macros for rounding and
50291         division.
50292         (denorm): Likewise.
50293         (__dbl_mp): Likewise.
50294         (add_magnitudes): Likewise.
50295         (sub_magnitudes): Likewise.
50296         (__mul): Likewise.
50297         (__sqr): Likewise.
50298         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
50299         powers of two in terms of TWOPOW macro.
50300         (mp_no): Make type of mantissa as MANTISSA_T.
50301         [!RADIXI]: Define RADIXI.
50302         [!TWO52]: Define TWO52.
50303         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50305         * manual/nptl.texi (cindex): Modify threads to pthreads.
50307 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
50309         * sysdeps/x86_64/preconfigure: Regenerated.
50311 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
50313         [BZ #14155]
50314         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
50315         0x1p28 and above.
50316         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
50317         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
50318         0x1p28 and above.
50319         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
50320         * math/libm-test.inc (j0_test): Do not allow one spurious
50321         underflow exception.
50322         (y1_test): Likewise.
50324 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50326         * manual/Makefile (chapters): Add nptl.
50327         * manual/debug.texi (Debugging Support): Add link to Threads
50328         chapter.
50329         * manual/nptl.texi: New file.
50331         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
50333 2013-03-14  Petr Baudis  <pasky@ucw.cz>
50335         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
50336         for non-NULL pointer before the memory validity test. Pointed
50337         out by Holger Brunck <holger.brunck@keymile.com>.
50339 2013-03-13  Andreas Schwab  <schwab@suse.de>
50341         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
50342         instead of .os.
50344 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
50346         * timezone/zic.c: Update from tzcode 2013b.
50348 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
50350         * manual/install.texi (Configuring and compiling):
50351         Mention i686 and i586.
50352         * INSTALL: Regenerate.
50354 2013-03-12  Roland McGrath  <roland@hack.frob.com>
50356         * sysdeps/init_array/elf-init.c: New file.
50357         * csu/elf-init.c
50358         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
50359         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
50361         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
50362         __gmon_start__ as global, but as static with a .preinit_array pointer.
50363         * sysdeps/init_array/gmon-start.c: New file.  Use that.
50364         * sysdeps/init_array/crti.S: New file, empty except for comments.
50365         * sysdeps/init_array/crtn.S: Likewise.
50367 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
50369         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
50370         definining bcopy.
50371         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50372         Remove Prefer_SSE_for_memop.
50373         * sysdeps/x86_64/multiarch/init-arch.h: Remove
50374         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
50375         HAS_PREFER_SSE_FOR_MEMOP.
50376         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
50377         memset-x86-64.
50378         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50379         Remove bzero, memset ifunc support.
50380         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
50381         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
50382         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50383         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50385 2013-03-11  Andreas Schwab  <schwab@suse.de>
50387         [BZ #15234]
50388         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
50389         by SHLIB_COMPAT.
50390         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
50391         (GLIBC_2.16): Remove pthread_atfork.
50393 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
50395         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
50396         (ptestcases.h): Likewise.
50398 2013-03-08  Roland McGrath  <roland@hack.frob.com>
50400         * Makeconfig ($(common-objpfx)config.status): Depend on
50401         sysdeps/*/preconfigure{,.in} too.
50403 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
50405         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
50406         (__free_hook): Use void * instead of __malloc_ptr_t.
50407         (__malloc_hook): Likewise.
50408         (__realloc_hook): Likewise.
50409         (__memalign_hook): Likewise.
50410         (__after_morecore_hook): Likewise.
50411         * malloc/arena.c (save_malloc_hook): Likewise.
50412         (save_free_hook): Likewise.
50413         * malloc/hooks.c (malloc_hook_ini): Likewise.
50414         (realloc_hook_ini): Likewise.
50415         (memalign_hook_ini): Likewise.
50416         * malloc/malloc.c (malloc_hook_ini): Likewise.
50417         (realloc_hook_ini): Likewise.
50418         (memalign_hook_ini): Likewise.
50419         (__free_hook): Likewise.
50420         (__malloc_hook): Likewise.
50421         (__realloc_hook): Likewise.
50422         (__memalign_hook): Likewise.
50423         (__libc_malloc): Likewise.
50424         (__libc_free): Likewise.
50425         (__libc_realloc): Likewise.
50426         (__libc_memalign): Likewise.
50427         (__libc_valloc): Likewise.
50428         (__libc_pvalloc): Likewise.
50429         (__libc_calloc): Likewise.
50430         (__posix_memalign): Likewise.
50431         * malloc/morecore.c (__sbrk): Likewise.
50432         (__default_morecore): Likewise.
50434         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
50436         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
50437         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
50438         __malloc_ptrdiff_t.
50440         * malloc/malloc.h (__malloc_size_t): Remove macro.
50441         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
50442         __malloc_size_t.
50443         (old_memalign_hook): Likewise.
50444         (old_realloc_hook): Likewise.
50445         (struct hdr): Likewise.
50446         (flood): Likewise.
50447         (mallochook): Likewise.
50448         (memalignhook): Likewise.
50449         (reallochook): Likewise.
50450         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
50451         (tr_old_realloc_hook): Likewise.
50452         (tr_old_memalign_hook): Likewise.
50453         (tr_mallochook): Likewise.
50454         (tr_reallochook): Likewise.
50455         (tr_memalignhook): Likewise.
50457 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50459         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
50460         default_ldbl_pack and using as default implementation.
50461         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
50462         implementation.
50463         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
50464         redundant definition.
50465         (ldbl_insert_mantissa): Likewise.
50466         (ldbl_canonicalize): Likewise.
50467         (ldbl_nearbyint): Likewise.
50468         (ldbl_pack): Rename to ldbl_pack_ppc.
50469         (ldbl_unpack): Rename to ldbl_unpack_ppc.
50470         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
50471         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
50473 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
50475         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
50476         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
50477         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
50478         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
50479         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
50480         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
50481         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
50482         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
50484 2013-03-07  Andreas Jaeger  <aj@suse.de>
50486         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50487         bits/mman-linux.h.
50489 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
50491         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
50492         Include mpa.h and declare __MPEXP.
50493         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
50494         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50495         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50496         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
50497         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50498         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50499         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
50501         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
50502         (__slowpow): Use long double EXPL and LOGL functions to
50503         compute POW.
50504         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50505         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50506         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
50507         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50508         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50509         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
50511         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
50512         intermediate variable to calculate exponent.
50513         (__sqr): Likewise.
50514         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
50515         Likewise.
50516         (__sqr): Likewise.
50518         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
50519         [!NO__SQR]: Define __sqr.
50520         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
50521         and NO__SQR.  Remove all code except __mul and __sqr.  Include
50522         sysdeps/ieee754/dbl-64/mpa.c.
50523         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50525         [BZ #12723]
50526         * posix/Makefile (tests): Add tst-pathconf.
50527         * posix/tst-pathconf.c: New test case.
50528         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
50529         _PC_PIPE_BUF.
50530         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
50532 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
50534         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
50536 2013-03-06  Andreas Jaeger  <aj@suse.de>
50538         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
50539         definition via __MAP_ANONYMOUS.
50541         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
50542         it's not part of Linux headers.
50544         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
50545         (MAP_HUGE_MASK): Define.
50547         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50548         Define.
50549         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50550         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50551         Define.
50552         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50553         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50554         Define.
50555         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50556         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
50557         Define.
50558         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50560         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
50561         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
50562         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
50563         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
50564         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
50565         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
50567         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50568         Handle f2fs.
50570         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50571         Handle f2fs and efivarfs.
50573         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
50574         f2fs.
50576         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
50577         (EFIVARFS_MAGIC): Add.
50578         (F2FS_LINK_MAX): Add.
50580 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50582         * stdio-common/vfprintf.c: Replace __builtin_expect with
50583         __glibc_unlikely.
50585 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
50587         [BZ #13550]
50588         * sysdeps/generic/bp-sym.h: Remove file.
50589         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
50590         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
50591         <bp-sym.h> and <bp-asm.h>.
50592         (__longjmp): Don't use BP_SYM.
50593         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
50594         and <bp-asm.h>.
50595         (memcpy): Don't use BP_SYM.
50596         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
50597         <bp-sym.h> and <bp-asm.h>.
50598         (memcpy): Don't use BP_SYM.
50599         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
50600         <bp-asm.h>.
50601         (memcpy): Don't use BP_SYM.
50602         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
50603         <bp-asm.h>.
50604         (memset): Don't use BP_SYM.
50605         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50606         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50607         (__bzero): Don't use BP_SYM.
50608         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50609         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50610         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
50611         <bp-sym.h> and <bp-asm.h>.
50612         (memcmp): Don't use BP_SYM.  Remove comment about bounded
50613         pointers.
50614         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
50615         <bp-sym.h> and <bp-asm.h>.
50616         (memcpy): Don't use BP_SYM.
50617         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
50618         <bp-sym.h> and <bp-asm.h>.
50619         (memset): Don't use BP_SYM.
50620         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50621         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50622         (__bzero): Don't use BP_SYM.
50623         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50624         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50625         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
50626         <bp-sym.h> and <bp-asm.h>.
50627         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50628         pointers.
50629         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
50630         <bp-sym.h> and <bp-asm.h>.
50631         (memcpy): Don't use BP_SYM.
50632         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
50633         <bp-sym.h> and <bp-asm.h>.
50634         (memset): Don't use BP_SYM.
50635         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50636         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50637         (__bzero): Don't use BP_SYM.
50638         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50639         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50640         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
50641         <bp-sym.h> and <bp-asm.h>.
50642         (__memchr): Don't use BP_SYM.
50643         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
50644         <bp-sym.h> and <bp-asm.h>.
50645         (memcmp): Don't use BP_SYM.  Remove comment about bounded
50646         pointers.
50647         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
50648         <bp-sym.h> and <bp-asm.h>.
50649         (memcpy): Don't use BP_SYM.
50650         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
50651         <bp-sym.h> and <bp-asm.h>.
50652         (__mempcpy): Don't use BP_SYM.
50653         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
50654         <bp-sym.h> and <bp-asm.h>.
50655         (__memrchr): Don't use BP_SYM.
50656         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
50657         <bp-sym.h> and <bp-asm.h>.
50658         (memset): Don't use BP_SYM.
50659         (__bzero): Likewise.
50660         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
50661         <bp-sym.h> and <bp-asm.h>.
50662         (__rawmemchr): Don't use BP_SYM.
50663         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
50664         <bp-sym.h> and <bp-asm.h>.
50665         (__STRCMP): Don't use BP_SYM.
50666         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
50667         <bp-sym.h> and <bp-asm.h>.
50668         (strchr): Don't use BP_SYM.
50669         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
50670         <bp-sym.h> and <bp-asm.h>.
50671         (__strchrnul): Don't use BP_SYM.
50672         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
50673         <bp-sym.h> and <bp-asm.h>.
50674         (strlen): Don't use BP_SYM.
50675         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
50676         <bp-sym.h> and <bp-asm.h>.
50677         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50678         pointers.
50679         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
50680         <bp-sym.h> and <bp-asm.h>.
50681         (__strnlen): Don't use BP_SYM.
50682         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
50683         <bp-sym.h> and <bp-asm.h>.
50684         (__GI__setjmp): Don't use BP_SYM.
50685         (_setjmp): Likewise.
50686         (__sigsetjmp): Likewise.
50687         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
50688         (L(start_addresses)): Don't use BP_SYM.
50689         (_start): Likewise.
50690         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
50691         <bp-asm.h>.
50692         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
50693         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
50694         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50695         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50696         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
50697         <bp-asm.h>.
50698         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
50699         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
50700         about bounded pointers.
50701         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50702         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50703         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
50704         <bp-asm.h>.
50705         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
50706         about bounded pointers.  Remove GKM FIXME comments.
50707         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50708         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
50709         <bp-asm.h>.
50710         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
50711         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
50712         Remove GKM FIXME comments.
50713         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50714         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50715         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
50716         <bp-asm.h>.
50717         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
50718         about bounded pointers.  Remove GKM FIXME comment.
50719         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
50720         and <bp-asm.h>.
50721         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50722         pointers.
50723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
50724         <bp-sym.h> and <bp-asm.h>.
50725         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
50726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
50727         <bp-sym.h> and <bp-asm.h>.
50728         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
50729         comment.
50731 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
50733         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
50734         call free(NULL).
50736 2013-03-05  David S. Miller  <davem@davemloft.net>
50738         * po/es.po: Update from translation team.
50740 2013-03-05  Andreas Jaeger  <aj@suse.de>
50742         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
50743         <bits/mman-linux.h>.
50744         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50745         is fine.
50746         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
50747         <bits/mman-linux.h> to end of file.
50748         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50749         is fine.
50750         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
50751         <bits/mman-linux.h> to end of file.
50752         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50753         is fine.
50754         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
50755         <bits/mman-linux.h> to end of file.
50757         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
50758         (MCL_CURRENT, MCL_FUTURE): Define here.
50760 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50762         [BZ #15232]
50763         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
50764         attribute_hidden.
50765         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
50767 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50769         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
50770         fourth parameter needed for rt_sigprocmask syscall.
50771         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
50772         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
50773         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
50774         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
50775         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
50776         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
50778 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
50780         [BZ #13550]
50781         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
50782         comment about bounded pointers.
50783         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
50784         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
50786 2013-03-04  Andreas Jaeger  <aj@suse.de>
50788         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
50789         common definitions.
50791         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
50792         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
50793         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
50794         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50795         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50796         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50798 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50800         [BZ #15055]
50801         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
50802         __ieee754_sqrl instead of __sqrl.
50804 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
50806         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
50807         * sysdeps/powerpc/fpu_control.h: ... here.
50808         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
50809         * sysdeps/powerpc/bits/fenvinline.h: ... here.
50810         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
50811         * sysdeps/powerpc/bits/mathinline.h: ... here.
50813 2013-03-01  Roland McGrath  <roland@hack.frob.com>
50815         * elf/dl-hwcaps.c (_dl_important_hwcaps):
50816         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
50817         to just [NEED_DL_SYSINFO_DSO].
50818         * elf/dl-support.c: Likewise.
50819         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
50820         * elf/rtld.c (dl_main): Likewise.
50821         * elf/setup-vdso.h (setup_vdso): Likewise.
50822         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
50823         * sysdeps/unix/sysv/linux/dl-sysdep.c
50824         (_dl_discover_osversion): Likewise.
50826 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
50828         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
50829         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50831 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
50833         * NEWS: Mention libm performance improvements and non-x86 PI
50834         futex support.
50836         * csu/libc-start.c (__pthread_initialize_minimal): Change
50837         function arguments.
50838         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50840 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
50842         [BZ #13550]
50843         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
50844         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
50845         <bp-sym.h> and <bp-asm.h>.
50846         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50847         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
50848         and <bp-asm.h>.
50849         (memcpy): Don't use BP_SYM.
50850         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
50851         <bp-asm.h>.
50852         (__mpn_add_n): Don't use BP_SYM.
50853         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
50854         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
50855         and <bp-asm.h>.
50856         (__mpn_addmul_1): Don't use BP_SYM.
50857         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50858         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
50859         <bp-sym.h>.
50860         (_setjmp): Don't use BP_SYM.
50861         (__novmx_setjmp): Likewise.
50862         (__GI__setjmp): Likewise.
50863         (__vmx_setjmp): Likewise.
50864         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
50865         <bp-sym.h>.
50866         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
50867         (__bzero): Don't use BP_SYM.
50868         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50869         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50870         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
50871         <bp-sym.h> and <bp-asm.h>.
50872         (memcpy): Don't use BP_SYM.
50873         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
50874         <bp-sym.h> and <bp-asm.h>.
50875         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50876         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
50877         <bp-sym.h> and <bp-asm.h>.
50878         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50879         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
50880         <bp-asm.h>.
50881         (__mpn_lshift): Don't use BP_SYM.
50882         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50883         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
50884         <bp-asm.h>.
50885         (memset): Don't use BP_SYM.
50886         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50887         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50888         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
50889         <bp-asm.h>.
50890         (__mpn_mul_1): Don't use BP_SYM.
50891         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50892         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
50893         <bp-sym.h> and <bp-asm.h>.
50894         (memcmp): Don't use BP_SYM.
50895         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
50896         <bp-sym.h> and <bp-asm.h>.
50897         (memcpy): Don't use BP_SYM.
50898         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
50899         <bp-sym.h> and <bp-asm.h>.
50900         (memset): Don't use BP_SYM.
50901         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
50902         <bp-sym.h> and <bp-asm.h>.
50903         (strncmp): Don't use BP_SYM.
50904         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
50905         <bp-sym.h> and <bp-asm.h>.
50906         (memcpy): Don't use BP_SYM.
50907         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
50908         <bp-sym.h> and <bp-asm.h>.
50909         (memset): Don't use BP_SYM.
50910         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
50911         <bp-sym.h> and <bp-asm.h>.
50912         (__memchr): Don't use BP_SYM.
50913         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
50914         <bp-sym.h> and <bp-asm.h>.
50915         (memcmp): Don't use BP_SYM.
50916         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
50917         <bp-sym.h> and <bp-asm.h>.
50918         (memcpy): Don't use BP_SYM.
50919         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
50920         <bp-sym.h> and <bp-asm.h>.
50921         (__mempcpy): Don't use BP_SYM.
50922         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
50923         <bp-sym.h> and <bp-asm.h>.
50924         (__memrchr): Don't use BP_SYM.
50925         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
50926         <bp-sym.h> and <bp-asm.h>.
50927         (memset): Don't use BP_SYM.
50928         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
50929         <bp-sym.h> and <bp-asm.h>.
50930         (__rawmemchr): Don't use BP_SYM.
50931         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
50932         <bp-sym.h> and <bp-asm.h>.
50933         (__STRCMP): Don't use BP_SYM.
50934         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
50935         <bp-sym.h> and <bp-asm.h>.
50936         (strchr): Don't use BP_SYM.
50937         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
50938         <bp-sym.h> and <bp-asm.h>.
50939         (__strchrnul): Don't use BP_SYM.
50940         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
50941         <bp-sym.h> and <bp-asm.h>.
50942         (strlen): Don't use BP_SYM.
50943         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
50944         <bp-sym.h> and <bp-asm.h>.
50945         (strncmp): Don't use BP_SYM.
50946         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
50947         <bp-sym.h> and <bp-asm.h>.
50948         (__strnlen): Don't use BP_SYM.
50949         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
50950         <bp-asm.h>.
50951         (__mpn_rshift): Don't use BP_SYM.
50952         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50953         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
50954         <bp-sym.h> and <bp-asm.h>.
50955         (__sigsetjmp): Don't use BP_SYM.
50956         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
50957         (L(start_addresses)): Don't use BP_SYM.
50958         (_start): Likewise.
50959         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
50960         <bp-asm.h>.
50961         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
50962         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50963         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50964         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
50965         <bp-asm.h>.
50966         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
50967         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50968         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50969         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
50970         <bp-asm.h>.
50971         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
50972         comments.
50973         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50974         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
50975         <bp-asm.h>.
50976         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
50977         FIXME comments.
50978         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50979         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50980         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
50981         <bp-asm.h>.
50982         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
50983         comment.
50984         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
50985         and <bp-asm.h>.
50986         (strncmp): Don't use BP_SYM,
50987         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
50988         <bp-asm.h>.
50989         (__mpn_sub_n): Don't use BP_SYM.
50990         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50991         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
50992         and <bp-asm.h>.
50993         (__mpn_submul_1): Don't use BP_SYM.
50994         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
50996         <bp-sym.h> and <bp-asm.h>.
50997         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
50998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
50999         <bp-sym.h> and <bp-asm.h>.
51000         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
51001         comment.
51003 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51005         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
51006         Use ZK to minimize writes to Z.
51007         (sub_magnitudes): Simplify code a bit.
51008         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
51009         Use ZK to minimize writes to Z.
51010         (sub_magnitudes): Simplify code a bit.
51012 2013-02-27  Roland McGrath  <roland@hack.frob.com>
51014         * csu/gmon-start.c: Add special exception to license text.
51016 2013-02-27  Richard Henderson  <rth@redhat.com>
51018         * scripts/config.guess: Update from config.git.
51019         * scripts/config.sub: Likewise.
51021 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51023         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
51025         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
51027         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
51029         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
51031         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
51033 2013-02-26  Roland McGrath  <roland@hack.frob.com>
51035         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
51036         [$(build-shared = yes].
51038 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51040         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
51041         (__mul): Reduce iterations for calculating mantissa.
51043         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
51044         MPTWO.
51045         (__mpranred): Likewise.
51047         [BZ #15160]
51048         * malloc/memusagestat.c (main): Draw graphs for heap and stack
51049         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
51051 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
51053         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
51054         Define __attribute__.
51056 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51058         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
51059         unused.
51060         * posix/regex_internal.h (__attribute): Remove.
51061         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
51062         (re_string_context_at): Likewise.
51063         (bitset_not): Use __attribute__ and mark function as possibly
51064         unused.
51065         (bitset_merge): Likewise.
51066         (bitset_mask): Likewise.
51067         (re_string_char_size_at): Likewise.
51068         (re_string_wchar_at): Likewise.
51069         (re_string_elem_size_at): Likewise.
51071 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51073         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
51074         code.
51075         (cc32): Likewise.
51077         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
51078         (__acr): Likewise.
51079         (__cpy): Likewise.
51080         (norm): Likewise.
51081         (denorm): Likewise.
51082         (__dbl_mp): Likewise.
51083         (add_magnitudes): Likewise.
51084         (sub_magnitudes): Likewise.
51085         (__mul): Likewise.
51086         (__inv): Likewise.
51088         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
51089         style.
51091         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
51092         style.
51094         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
51095         code.
51097         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
51098         up changes with default code.
51099         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
51100         Likewise.
51102 2013-02-24  Allan McRae  <allan@archlinux.org>
51104         * manual/socket.texi (The Internet Namespace): Order menu items
51105         to match that in the file.
51107         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
51108         node listing of the info page menu.
51110 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
51112         [BZ #13550]
51113         * sysdeps/i386/bp-asm.h: Remove file.
51114         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51115         (PARMS): Do not use macros from bp-asm.h.
51116         (S1): Likewise.
51117         (S2): Likewise.
51118         (SIZE): Likewise.
51119         (__mpn_add_n): Do not use BP_SYM
51120         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
51121         "bp-asm.h".
51122         (PARMS): Do not use macros from bp-asm.h.
51123         (S1): Likewise.
51124         (SIZE): Likewise.
51125         (__mpn_addmul_1): Do not use BP_SYM
51126         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
51127         "bp-asm.h".
51128         (PARMS): Do not use macros from bp-asm.h.
51129         (SIGMSK): Likewise.
51130         (_setjmp): Likewise.  Do not use BP_SYM.
51131         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
51132         "bp-asm.h".
51133         (PARMS): Do not use macros from bp-asm.h.
51134         (SIGMSK): Likewise.
51135         (setjmp): Likewise.  Do not use BP_SYM.
51136         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
51137         "bp-asm.h".
51138         (PARMS): Do not use macros from bp-asm.h.
51139         (__frexp): Do not use BP_SYM.
51140         (frexp): Likewise.
51141         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
51142         "bp-asm.h".
51143         (PARMS): Do not use macros from bp-asm.h.
51144         (__frexpf): Do not use BP_SYM.
51145         (frexpf): Likewise.
51146         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
51147         "bp-asm.h".
51148         (PARMS): Do not use macros from bp-asm.h.
51149         (__frexpl): Do not use BP_SYM.
51150         (frexpl): Likewise.
51151         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
51152         "bp-asm.h".
51153         (PARMS): Do not use macros from bp-asm.h.
51154         (__remquo): Do not use BP_SYM.
51155         (remquo): Likewise.
51156         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
51157         "bp-asm.h".
51158         (PARMS): Do not use macros from bp-asm.h.
51159         (__remquof): Do not use BP_SYM.
51160         (remquof): Likewise.
51161         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
51162         "bp-asm.h".
51163         (PARMS): Do not use macros from bp-asm.h.
51164         (__remquol): Do not use BP_SYM.
51165         (remquol): Likewise.
51166         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
51167         "bp-asm.h".
51168         (PARMS): Do not use macros from bp-asm.h.
51169         (DEST): Likewise.
51170         (SRC): Likewise.
51171         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
51172         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
51173         "bp-asm.h".
51174         (PARMS): Do not use macros from bp-asm.h.
51175         (strlen): Do not use BP_SYM.
51176         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
51177         "bp-asm.h".
51178         (PARMS): Do not use macros from bp-asm.h.
51179         (S1): Likewise.
51180         (S2): Likewise.
51181         (SIZE): Likewise.
51182         (__mpn_add_n): Do not use BP_SYM.
51183         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
51184         "bp-asm.h".
51185         (PARMS): Do not use macros from bp-asm.h.
51186         (S1): Likewise.
51187         (SIZE): Likewise.
51188         (__mpn_addmul_1): Do not use BP_SYM.
51189         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
51190         weak_alias.
51191         (bzero): Likewise.
51192         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
51193         "bp-asm.h".
51194         (PARMS): Do not use macros from bp-asm.h.
51195         (S): Likewise.
51196         (SIZE): Likewise.
51197         (__mpn_lshift): Do not use BP_SYM.
51198         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
51199         "bp-asm.h".
51200         (PARMS): Do not use macros from bp-asm.h.
51201         (DEST): Likewise.
51202         (SRC): Likewise.
51203         (LEN): Likewise.
51204         (memcpy): Likewise.  Do not use BP_SYM.
51205         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
51206         libc_hidden_def and weak_alias.
51207         (mempcpy): Do not use BP_SYM in weak_alias.
51208         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
51209         "bp-asm.h".
51210         (PARMS): Do not use macros from bp-asm.h.
51211         (DEST): Likewise.
51212         (LEN): Likewise.
51213         [!BZERO_P] (CHR): Likewise.
51214         (memset): Likewise.  Do not use BP_SYM.
51215         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
51216         "bp-asm.h".
51217         (PARMS): Do not use macros from bp-asm.h.
51218         (S1): Likewise.
51219         (SIZE): Likewise.
51220         (__mpn_mul_1): Do not use BP_SYM.
51221         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
51222         "bp-asm.h".
51223         (PARMS): Do not use macros from bp-asm.h.
51224         (S): Likewise.
51225         (SIZE): Likewise.
51226         (__mpn_rshift): Do not use BP_SYM.
51227         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
51228         "bp-asm.h".
51229         (PARMS): Do not use macros from bp-asm.h.
51230         (STR): Likewise.
51231         (CHR): Likewise.
51232         (strchr): Likewise.  Do not use BP_SYM.
51233         (index): Do not use BP_SYM in weak_alias.
51234         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
51235         "bp-asm.h".
51236         (PARMS): Do not use macros from bp-asm.h.
51237         (DEST): Likewise.
51238         (SRC): Likewise.
51239         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
51240         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
51241         "bp-asm.h".
51242         (PARMS): Do not use macros from bp-asm.h.
51243         (strlen): Do not use BP_SYM.
51244         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
51245         "bp-asm.h".
51246         (PARMS): Do not use macros from bp-asm.h.
51247         (S1): Likewise.
51248         (S2): Likewise.
51249         (SIZE): Likewise.
51250         (__mpn_sub_n): Do not use BP_SYM.
51251         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
51252         "bp-asm.h".
51253         (PARMS): Do not use macros from bp-asm.h.
51254         (S1): Likewise.
51255         (SIZE): Likewise.
51256         (__mpn_submul_1): Do not use BP_SYM.
51257         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
51258         "bp-asm.h".
51259         (PARMS): Do not use macros from bp-asm.h.
51260         (S1): Likewise.
51261         (S2): Likewise.
51262         (SIZE): Likewise.
51263         (__mpn_add_n): Do not use BP_SYM.
51264         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
51265         weak_alias.
51266         (bzero): Likewise.
51267         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
51268         "bp-asm.h".
51269         (PARMS): Do not use macros from bp-asm.h.
51270         (BLK2): Likewise.
51271         (LEN): Likewise.
51272         (memcmp): Do not use BP_SYM.
51273         (bcmp): Do not use BP_SYM in weak_alias.
51274         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
51275         "bp-asm.h".
51276         (PARMS): Do not use macros from bp-asm.h.
51277         (DEST): Likewise.
51278         (SRC): Likewise.
51279         (LEN): Likewise.
51280         (memcpy): Likewise.  Do not use BP_SYM.
51281         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
51282         "bp-asm.h".
51283         (PARMS): Do not use macros from bp-asm.h.
51284         (DEST): Likewise.
51285         (SRC): Likewise.
51286         (LEN): Likewise.
51287         (memmove): Likewise.  Do not use BP_SYM.
51288         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
51289         "bp-asm.h".
51290         (PARMS): Do not use macros from bp-asm.h.
51291         (DEST): Likewise.
51292         (SRC): Likewise.
51293         (LEN): Likewise.
51294         (__mempcpy): Likewise.  Do not use BP_SYM.
51295         (mempcpy): Do not use BP_SYM in weak_alias.
51296         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
51297         "bp-asm.h".
51298         (PARMS): Do not use macros from bp-asm.h.
51299         (DEST): Likewise.
51300         (LEN): Likewise.
51301         [!BZERO_P] (CHR): Likewise.
51302         (memset): Likewise.  Do not use BP_SYM.
51303         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
51304         "bp-asm.h".
51305         (PARMS): Do not use macros from bp-asm.h.
51306         (STR2): Likewise.
51307         (strcmp): Do not use BP_SYM.
51308         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
51309         "bp-asm.h".
51310         (PARMS): Do not use macros from bp-asm.h.
51311         (STR): Likewise.
51312         (DELIM): Likewise.
51313         [USE_AS_STRTOK_R] (SAVE): Likewise.
51314         (FUNCTION): Likewise.  Do not use BP_SYM.
51315         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
51316         aliases.
51317         (strtok_r): Likewise.
51318         (__GI___strtok_r): Likewise.
51319         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51320         (PARMS): Do not use macros from bp-asm.h.
51321         (S): Likewise.
51322         (SIZE): Likewise.
51323         (__mpn_lshift): Do not use BP_SYM.
51324         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51325         (PARMS): Do not use macros from bp-asm.h.
51326         (STR): Likewise.
51327         (CHR): Likewise.
51328         (__memchr): Do not use BP_SYM.
51329         (memchr): Do not use BP_SYM in weak_alias.
51330         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51331         (PARMS): Do not use macros from bp-asm.h.
51332         (BLK2): Likewise.
51333         (LEN): Likewise.
51334         (memcmp): Do not use BP_SYM.
51335         (bcmp): Do not use BP_SYM in weak_alias.
51336         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
51337         (PARMS): Do not use macros from bp-asm.h.
51338         (S1): Likewise.
51339         (SIZE): Likewise.
51340         (__mpn_mul_1): Do not use BP_SYM.
51341         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
51342         "bp-asm.h".
51343         (PARMS): Do not use macros from bp-asm.h.
51344         (STR): Likewise.
51345         (CHR): Likewise.
51346         (__rawmemchr): Do not use BP_SYM.
51347         (rawmemchr): Do not use BP_SYM in weak_alias.
51348         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51349         (PARMS): Do not use macros from bp-asm.h.
51350         (S): Likewise.
51351         (SIZE): Likewise.
51352         (__mpn_rshift): Do not use BP_SYM.
51353         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51354         (PARMS): Do not use macros from bp-asm.h.
51355         (SIGMSK): Likewise.
51356         (__sigsetjmp): Likewise.  Do not use BP_SYM.
51357         * sysdeps/i386/start.S: Do not include "bp-sym.h".
51358         (_start): Do not use BP_SYM.
51359         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
51360         (PARMS): Do not use macros from bp-asm.h.
51361         (DEST): Likewise.
51362         (SRC): Likewise.
51363         (__stpcpy): Likewise.  Do not use BP_SYM.
51364         (stpcpy): Do not use BP_SYM in weak_alias.
51365         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
51366         "bp-asm.h".
51367         (PARMS): Do not use macros from bp-asm.h.
51368         (DEST): Likewise.
51369         (SRC): Likewise.
51370         (LEN): Likewise.
51371         (__stpncpy): Likewise.  Do not use BP_SYM.
51372         (stpncpy): Do not use BP_SYM in weak_alias.
51373         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51374         (PARMS): Do not use macros from bp-asm.h.
51375         (STR): Likewise.
51376         (CHR): Likewise.
51377         (strchr): Likewise.  Do not use BP_SYM.
51378         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
51379         "bp-asm.h".
51380         (PARMS): Do not use macros from bp-asm.h.
51381         (STR): Likewise.
51382         (CHR): Likewise.
51383         (__strchrnul): Likewise.  Do not use BP_SYM.
51384         (strchrnul): Do not use BP_SYM in weak_alias.
51385         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
51386         "bp-asm.h".
51387         (PARMS): Do not use macros from bp-asm.h.
51388         (STOP): Likewise.
51389         (strcspn): Do not use BP_SYM.
51390         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
51391         "bp-asm.h".
51392         (PARMS): Do not use macros from bp-asm.h.
51393         (STR): Likewise.
51394         (STOP): Likewise.
51395         (strpbrk): Likewise.  Do not use BP_SYM.
51396         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
51397         "bp-asm.h".
51398         (PARMS): Do not use macros from bp-asm.h.
51399         (STR): Likewise.
51400         (CHR): Likewise.
51401         (strrchr): Likewise.  Do not use BP_SYM.
51402         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
51403         (PARMS): Do not use macros from bp-asm.h.
51404         (SKIP): Likewise.
51405         (strspn): Do not use BP_SYM.
51406         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
51407         (PARMS): Do not use macros from bp-asm.h.
51408         (STR): Likewise.
51409         (DELIM): Likewise.
51410         (SAVE): Likewise.
51411         (FUNCTION): Likewise.  Do not use BP_SYM.
51412         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
51413         aliases.
51414         (strtok_r): Likewise.
51415         (__GI___strtok_r): Likewise.
51416         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51417         (PARMS): Do not use macros from bp-asm.h.
51418         (S1): Likewise.
51419         (S2): Likewise.
51420         (SIZE): Likewise.
51421         (__mpn_sub_n): Do not use BP_SYM.
51422         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
51423         "bp-asm.h".
51424         (PARMS): Do not use macros from bp-asm.h.
51425         (S1): Likewise.
51426         (SIZE): Likewise.
51427         (__mpn_submul_1): Do not use BP_SYM.
51428         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
51429         <bp-sym.h>.
51430         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
51431         and <bp-asm.h>.
51432         (PARMS): Do not use macros from bp-asm.h.
51433         (FLAGS): Likewise.
51434         (PTID): Likewise.
51435         (TLS): Likewise.
51436         (CTID): Likewise.
51437         (__clone): Do not use BP_SYM.
51438         (clone): Do not use BP_SYM in weak_alias.
51439         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
51440         and <bp-asm.h>.
51441         (PARMS): Do not use macros from bp-asm.h.
51442         (LEN): Likewise.
51443         (__mmap64): Do not use BP_SYM.
51444         (mmap64): Do not use BP_SYM in weak_alias.
51445         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
51446         <bp-sym.h> and <bp-asm.h>.
51447         (PARMS): Do not use macros from bp-asm.h.
51448         (__posix_fadvise64_l64): Do not use BP_SYM.
51449         * sysdeps/unix/sysv/linux/i386/semtimedop.S
51450         (PARMS): Do not use macros from bp-asm.h.
51451         (NSOPS): Likewise.
51452         (semtimedop): Do not use BP_SYM.
51453         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
51454         and <bp-asm.h>.
51456 2013-02-21  Allan McRae  <allan@archlinux.org>
51458         * manual/message.texi (Charset conversion in gettext):
51459         Move @end statement to beginning of line.
51461 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51463         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
51464         static.
51465         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
51466         Likewise.
51468         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
51469         (denorm): Likewise.
51470         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
51471         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
51473 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51475         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
51476         tail-call to the resolved function if pltexit isn't needed.
51478 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51480         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
51481         or Y being zero as being unlikely.
51482         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51483         Likewise.
51485 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
51487         * manual/nss.texi (System Databases and Name Service Switch):
51488         Remove frobnicate @pxref.
51490 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
51492         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51493         __attribute__ ((unused)) to __attribute__ ((__unused__)).
51495 2013-02-20  Petr Machata  <pmachata@redhat.com>
51497         * elf/elf.h (R_ARM_TARGET1): New macro.
51498         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
51499         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
51500         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
51501         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
51502         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
51503         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
51504         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
51505         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
51506         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
51507         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
51508         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
51509         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
51510         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
51511         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
51512         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
51513         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
51514         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
51515         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
51516         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
51517         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
51518         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
51519         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
51520         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
51521         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
51522         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
51523         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
51524         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
51525         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
51526         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
51527         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
51528         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
51529         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
51530         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
51531         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
51532         (R_ARM_THM_GOT_BREL12): Likewise.
51533         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
51534         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
51535         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
51536         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
51537         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
51538         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
51539         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
51540         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
51541         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
51543 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
51545         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51546         __attribute_used__ to __attribute__ ((unused)).
51548 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51550         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
51551         powerpc mpa.c.
51552         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
51553         comment formatting.
51554         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
51556 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
51558         [BZ #13550]
51559         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
51560         Remove macro.
51561         (ENTER): Remove both macro definitions.
51562         (LEAVE): Likewise.
51563         (CHECK_BOUNDS_LOW): Likewise.
51564         (CHECK_BOUNDS_HIGH): Likewise.
51565         (CHECK_BOUNDS_BOTH): Likewise.
51566         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
51567         (RETURN_BOUNDED_POINTER): Likewise.
51568         (RETURN_NULL_BOUNDED_POINTER): Likewise.
51569         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
51570         (POP_ERRNO_LOCATION_RETURN): Likewise.
51571         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
51572         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51573         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
51574         macros.
51575         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51576         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
51577         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
51578         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
51579         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
51580         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
51581         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
51582         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
51583         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
51584         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
51585         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
51586         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
51587         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51588         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
51589         removed macros.
51590         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51591         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
51592         macros.
51593         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51594         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
51595         * sysdeps/i386/i586/memset.S (memset): Likewise.
51596         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
51597         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51598         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
51599         macros.
51600         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51601         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
51602         Change uses of L(2) to L(out).
51603         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
51604         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
51605         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
51606         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51607         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
51608         removed macros.
51609         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51610         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
51611         macros.
51612         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51613         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
51614         (RETURN): Do not use macro LEAVE.
51615         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
51616         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
51617         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
51618         * sysdeps/i386/i686/memset.S (memset): Likewise.
51619         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
51620         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
51621         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51622         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
51623         Likewise.
51624         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51625         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
51626         L(1_2) and L(1_3) into L(1).
51627         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51628         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
51629         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51630         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
51631         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51632         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
51633         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
51634         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51635         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
51636         macros.
51637         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
51638         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51639         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
51640         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
51641         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
51642         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51643         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
51644         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
51645         * sysdeps/i386/strcspn.S (strcspn): Likewise.
51646         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
51647         * sysdeps/i386/strrchr.S (strrchr): Likewise.
51648         * sysdeps/i386/strspn.S (strspn): Likewise.
51649         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
51650         conditional code.
51651         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51652         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
51653         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51654         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
51655         L(1_3) into L(1_1).
51656         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
51657         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51658         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
51659         macros.
51660         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51662 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
51664         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
51665         macro.
51667 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51669         * math/atest-exp.c (exp_mpn): Remove ROUND.
51670         * math/atest-exp2.c (exp_mpn): Likewise.
51671         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
51673         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
51674         * stdlib/tst-tls-atexit-lib.c: Likewise.
51675         * stdlib/tst-tls-atexit.c: Likewise.
51677 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51679         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
51680         and __attribute_alloc_size__.
51682 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51684         * include/programs/xmalloc.h: Change __attribute_alloc_size to
51685         __attribute_alloc_size__.
51686         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
51687         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
51689 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51691         * include/programs/xmalloc.h: New file.
51692         * catgets/gencat.c: Include it.
51693         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
51694         * elf/pldd.c: Likewise.
51695         * iconv/iconv_charmap.c: Likewise.
51696         * iconv/iconvconfig.c: Likewise.
51697         * iconv/strtab.c: Likewise.
51698         * locale/programs/locale.c: Likewise.
51699         * locale/programs/localedef.h: Likewise.
51700         * locale/programs/simple-hash.c: Likewise.
51701         * nscd/nscd.h: Likewise.
51702         * nss/makedb.c: Likewise.
51703         * sysdeps/generic/ldconfig.h: Likewise.
51705 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51707         * Versions.def: Add GLIBC_2.18.
51708         * include/link.h (struct link_map): New member l_tls_dtor_count.
51709         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
51710         (__call_tls_dtors): Likewise.
51711         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
51712         __cxa_thread_atexit_impl.
51713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51714         Likewise.
51715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51716         Likewise.
51717         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51718         Likewise.
51719         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51720         Likewise.
51721         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51722         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
51723         Likewise.
51724         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
51725         Likewise.
51726         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51727         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
51728         Likewise.
51729         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
51730         (tests): Add test case tst-tls-atexit.
51731         (modules-names): Add shared library for tst-tls-atexit.
51732         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
51733         (GLIBC_PRIVATE): Add __call_tls_dtors.
51734         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
51735         for libstdc++.
51736         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
51737         * stdlib/tst-tls-atexit.c: New test case.
51738         * stdlib/tst-tls-atexit-lib.c: New test case.
51740         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
51742         * elf/Versions (ld): Add _dl_find_dso_for_object.
51743         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
51744         * elf/dl-open.c (_dl_find_dso_for_object): New function.
51745         (dl_open_worker): Use _dl_find_dso_for_object.
51746         * elf/dl-sym.c (do_sym): Likewise.
51747         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
51749 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51751         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
51752         Syntactic changes only.
51753         (_dl_runtime_profile): Do a tail-call to the resolved function.
51755 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
51757         [BZ #13550]
51758         * sysdeps/x86_64/bp-asm.h: Remove file.
51759         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
51760         <bp-sym.h> and <bp-asm.h>.
51761         (__clone): Do not use BP_SYM.
51762         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
51763         <bp-sym.h> and <bp-asm.h>.
51764         * sysdeps/unix/x86_64/sysdep.S: Likewise.
51765         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
51766         "bp-asm.h".
51767         (_setjmp): Do not use BP_SYM.
51768         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
51769         "bp-asm.h".
51770         (setjmp): Do not use BP_SYM.
51771         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
51772         libc_hidden_def.
51773         (mempcpy): Do not use BP_SYM in weak_alias.
51774         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
51775         "bp-asm.h".
51776         (strchr): Do not use BP_SYM.
51777         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
51778         "bp-asm.h".
51779         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
51780         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
51781         (_start): Do not use BP_SYM.
51782         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
51783         "bp-asm.h".
51784         (strcat): Do not use BP_SYM.
51785         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
51786         "bp-asm.h".
51787         (STRCMP): Do not use BP_SYM.
51788         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
51789         "bp-asm.h".
51790         (STRCPY): Do not use BP_SYM.
51791         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
51792         "bp-asm.h".
51793         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
51794         "bp-asm.h".
51795         (FUNCTION): Do not use BP_SYM.
51796         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
51797         weak_alias.
51798         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
51800 2013-02-17  Andreas Jaeger  <aj@suse.de>
51802         * time/Versions: Sort entries.
51803         * string/Versions: Likewise.
51804         * resolv/Versions: Likewise.
51805         * posix/Versions: Likewise.
51806         * iconv/Versions: Likewise.
51807         * elf/Versions: Likewise.
51808         * wcsmbs/Versions: Likewise.
51810 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51812         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
51813         loop termination condition.
51815         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
51816         variable to calculate EZ.
51817         (__sqr): Likewise.
51819         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
51820         the lower precision input.
51822 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
51824         [BZ #13550]
51825         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
51826         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
51827         (run-via-rtld-prefix): Do not handle %-bp tests.
51828         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
51829         (all-object-suffixes): Remove .ob.
51830         (bppfx): Remove variable.
51831         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
51832         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
51833         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
51834         [$(build-bounded) = yes] (libtype.ob): Likewise.
51835         * Makerules (elide-routines.ob): Remove variable.
51836         (do-tests-clean): Do not handle *-bp.out.
51837         (common-mostlyclean): Do not handle *-bp and *-bp.out.
51838         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
51839         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
51840         (tests): Do not include $(tests-bp.out).
51841         (xtests): Do not include $(xtests-bp.out).
51842         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
51843         [$(build-bounded) = yes] ($(addprefix
51844         $(objpfx),$(binaries-bounded))): Remove rule.
51845         ($(objpfx)%-bp.out): Remove rule.
51846         * config.make.in (build-bounded): Remove variable.
51847         * crypt/Makefile [$(build-bounded) = yes]
51848         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
51849         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
51850         append to variable.
51851         [$(build-bounded) = yes] (install-lib): Likewise.
51852         [$(build-bounded) = yes] (generated): Likewise.
51853         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
51854         Remove rule.
51855         * intl/Makefile [$(build-bounded) = yes]
51856         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
51857         * math/Makefile [$(build-bounded) = yes]
51858         ($(tests:%=$(objpfx)%-bp): Likewise.
51859         * misc/Makefile [$(build-bounded) = yes]
51860         ($(objpfx)tst-tsearch-bp): Likewise.
51861         * nptl/Makeconfig (bounded-thread-library): Remove variable.
51862         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
51863         Remove dependency.
51864         * string/Makefile (o-objects.ob): Remove variable.
51865         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
51866         (CFLAGS-.ob): Remove variable.
51867         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
51868         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
51869         both definitions of variable.
51870         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
51871         (ASFLAGS-.ob): Remove variable.
51873 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
51875         [BZ #13550]
51876         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
51877         Remove __BOUNDED_POINTERS__ from condition.
51878         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
51879         * string/bits/string2.h [!__NO_STRING_INLINES &&
51880         !__BOUNDED_POINTERS__]: Likewise.
51881         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
51882         Likewise.
51883         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
51884         Remove conditional code.
51885         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
51886         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
51887         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
51888         condition.
51890         [BZ #13550]
51891         * csu/libc-start.c: Do not include <bp-sym.h>.
51892         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
51893         * elf/dl-open.c: Do not include <bp-sym.h>.
51894         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
51895         * math/fegetenv.c: Do not include <bp-sym.h>.
51896         (fegetenv): Do not use BP_SYM in versioned symbols.
51897         * nptl/sysdeps/pthread/bits/libc-lockP.h
51898         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
51899         <bp-sym.h>.
51900         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51901         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
51902         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51903         (__pthread_mutex_destroy): Likewise.
51904         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51905         (__pthread_mutex_lock): Likewise.
51906         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51907         (__pthread_mutex_trylock): Likewise.
51908         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51909         (__pthread_mutex_unlock): Likewise.
51910         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51911         (__pthread_mutexattr_init): Likewise.
51912         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51913         (__pthread_mutexattr_destroy): Likewise.
51914         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51915         (__pthread_mutexattr_settype): Likewise.
51916         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51917         (__pthread_rwlock_init): Likewise.
51918         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51919         (__pthread_rwlock_destroy): Likewise.
51920         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51921         (__pthread_rwlock_rdlock): Likewise.
51922         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51923         (__pthread_rwlock_tryrdlock): Likewise.
51924         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51925         (__pthread_rwlock_wrlock): Likewise.
51926         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51927         (__pthread_rwlock_trywrlock): Likewise.
51928         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51929         (__pthread_rwlock_unlock): Likewise.
51930         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51931         (__pthread_key_create): Likewise.
51932         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51933         (__pthread_setspecific): Likewise.
51934         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51935         (__pthread_getspecific): Likewise.
51936         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
51937         Likewise.
51938         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51939         (_pthread_cleanup_push_defer): Likewise.
51940         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51941         (_pthread_cleanup_pop_restore): Likewise.
51942         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51943         (pthread_setcancelstate): Likewise.
51944         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
51945         <bp-sym.h>.
51946         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
51947         (memchr): Do not use BP_SYM in weak_alias.
51948         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
51949         (fegetenv): Do not use BP_SYM in versioned symbols.
51950         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
51951         (fesetenv): Do not use BP_SYM in versioned symbols.
51952         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
51953         (feupdateenv): Do not use BP_SYM in versioned symbols.
51954         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
51955         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
51956         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
51957         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
51958         (open64): Do not use BP_SYM in weak_alias.
51959         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
51960         (fegetenv): Do not use BP_SYM in versioned symbols.
51961         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
51962         (fesetenv): Do not use BP_SYM in versioned symbols.
51963         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
51964         (feupdateenv): Do not use BP_SYM in versioned symbols.
51965         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
51966         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
51967         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
51968         (feraiseexcept): Do not use BP_SYM in versioned symbols.
51969         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
51970         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
51971         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
51972         <bp-sym.h>.
51973         (__libc_start_main): Do not use BP_SYM.
51975 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51977         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
51978         redundant return line.
51979         (norm): Likewise.
51980         (denorm): Likewise.
51981         (dbl_mp): Likewise.
51982         (sub_magnitudes): Likewise.
51983         (__add): Likewise.
51984         (__sub): Likewise.
51985         (__mul): Likewise.
51986         (__inv): Likewise.
51987         (__dvd): Likewise.
51988         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
51989         (norm): Likewise.
51990         (denorm): Likewise.
51991         (dbl_mp): Likewise.
51992         (sub_magnitudes): Likewise.
51993         (__add): Likewise.
51994         (__sub): Likewise.
51995         (__mul): Likewise.
51996         (__inv): Likewise.
51997         (__dvd): Likewise.
51999         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
52000         instead of __mul.
52001         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52002         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
52003         (cc32): Likewise.
52005         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
52006         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
52007         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
52008         of __mul for squares.
52009         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
52010         function
52011         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
52012         Likewise.
52013         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
52014         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52016 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
52018         [BZ #13550]
52019         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
52020         code.
52021         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
52022         prototype or function definition.  Rename ubp_* variables and
52023         parameters.  Remove argv definitions conditional on
52024         [__BOUNDED_POINTERS__].
52025         * debug/backtrace.c (__backtrace): Do not use __unbounded.
52026         * elf/dl-runtime.c (_dl_fixup): Likewise.
52027         * include/set-hooks.h (RUN_HOOK): Likewise.
52028         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
52029         definition.
52030         * string/strcpy.c (strcpy): Do not use __unbounded.
52031         * sysdeps/generic/frame.h (struct layout): Likewise.
52032         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
52033         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
52034         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
52035         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
52036         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
52037         (__backtrace): Likewise.
52038         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
52039         use __ptrvalue.
52040         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
52041         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
52042         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
52043         Likewise.
52044         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
52045         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
52046         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
52047         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52048         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
52049         Do not use __unbounded.
52050         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
52051         Rename __unboundedrlimits parameter to rlimits in prototype.
52052         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
52053         Do not use __unbounded.
52054         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
52055         not use __ptrvalue.
52056         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52057         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
52058         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52059         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
52060         __ptrvalue or __unbounded.
52061         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
52062         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
52063         use __unbounded.
52064         (__new_msgctl): Do not use __ptrvalue.
52065         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
52066         __unbounded.
52067         (__libc_msgrcv): Do not use __ptrvalue.
52068         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
52069         startup_info): Do not use __unbounded.
52070         (__libc_start_main): Likewise.  Rename ubp_* variables and
52071         parameters.  Remove argv definitions conditional on
52072         [__BOUNDED_POINTERS__].
52073         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
52074         __ptrvalue.
52075         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
52076         use __unbounded.
52077         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
52078         or __ptrvalue.
52079         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
52080         use __unbounded.
52081         (__new_shmctl): Do not use __ptrvalue.
52082         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
52083         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
52084         Likewise.
52085         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
52086         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
52087         (__libc_sigaction): Likewise.
52088         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
52089         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
52090         Likewise.
52091         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52093 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
52095         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
52097         * string/mempcpy.c: Implement by calling memcpy.
52099 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52101         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
52103         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
52104         evaluation.
52106         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
52107         values in the mantissa.
52109         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
52110         minimize writes to Z.
52111         (sub_magnitudes): Simplify code a bit.
52113 2013-02-12  Roland McGrath  <roland@hack.frob.com>
52115         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
52116         from the message.  The linker prefixes all warnings with that already.
52118 2013-02-12  Andreas Schwab  <schwab@suse.de>
52120         [BZ #15078]
52121         * posix/regexec.c (extend_buffers): Add parameter min_len.
52122         (check_matching): Pass minimum needed length.
52123         (clean_state_log_if_needed): Likewise.
52124         (get_subexp): Likewise.
52125         * posix/Makefile (tests): Add bug-regex34.
52126         (bug-regex34-ENV): Define.
52127         * posix/bug-regex34.c: New file.
52129         [BZ #11561]
52130         * posix/regcomp.c (parse_bracket_exp): When looking up collating
52131         elements compare against the byte sequence of it, not its name.
52132         * posix/Makefile (tests): Add bug-regex35.
52133         (bug-regex35-ENV): Define.
52134         * posix/bug-regex35.c: New file.
52136 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52138         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
52139         comment.
52140         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
52141         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
52142         (CHECK_EOL): Add undef.
52144 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
52146         * bits/stdlib-bsearch.h: New file.
52147         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
52148         * stdlib/stdlib.h: Likewise.
52150 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52152         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
52153         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
52154         declaration.
52155         * manual/search.texi (Array Search Function): Add missing const in
52156         lfind prototype.
52157         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
52158         declaration to use rlim_t.
52159         (Basic Scheduling Functions): Remove erroneous const from
52160         sched_getparam prototype.  Remove erroneous * from
52161         sched_get_priority_max and sched_get_priority_min prototypes.
52162         (Resource Usage): Fix summary @comment on vtimes to refer to
52163         sys/vtimes.h rather than vtimes.h.
52164         Add missing *s in vtimes prototype.
52165         (Limits on Resources): Fix ulimit prototype to return long int.
52166         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
52167         prototypes to use long int rather than double.
52168         (BSD Random): Fix initstate and setstate to use char *, not void *.
52169         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
52170         prototype to make second argument 'struct aiocb64 *const[]'.
52171         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
52172         (Status of AIO Operations): Remove erroneous const in aio_return and
52173         aio_return64 prototypes.
52174         (Synchronizing I/O): Fix sync prototype to return void.
52175         * manual/startup.texi (Suboptions): Remove an erroneous const in
52176         getsubopt prototype.
52177         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
52178         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
52179         use size_t rather than int.
52180         (Scanning All Users): Likewise for getpwent_r.
52181         (Setting Groups): Add missing const to setgroups prototype.
52182         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
52183         * manual/socket.texi (Host Names): Fix gethostbyaddr and
52184         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
52185         'const void *' rather than 'const char *'.
52186         (Host Address Functions): Likewise for inet_ntop.
52187         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
52188         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
52189         ssize_t for return value.
52190         (Sending Data): Likewise for send, sendto, sendmsg.
52191         (Socket Option Functions): Add a missing const in setsockopt prototype.
52192         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
52193         use wchar_t for the argument.
52194         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
52195         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
52196         take no arguments.
52197         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
52198         double/float/long double for second argument.
52199         Fix return types of significand, significandf, significandl.
52200         * manual/filesys.texi (Setting Permissions): Use mode_t for second
52201         argument in fchmod prototype.
52202         (File Owner): Use uid_t and gid_t in fchown prototype.
52203         (File Times): Add const to utimes, futimes, and lutimes prototypes.
52204         (Making Special Files): Use mode_t and dev_t in mknod prototype.
52205         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
52206         use 'const struct dirent **' as argument types to CMP function pointer
52207         argument.
52208         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
52209         (File Times): Fix summary magic @comment for struct utimbuf and utime
52210         to refer to utime.h, not time.h.
52211         * manual/string.texi (Argz Functions): Add missing const in
52212         argz_extract and argz_next prototypes.
52213         (Finding Tokens in a String): Likewise for basename.
52214         (String/Array Comparison): Fix typo in wcscasecmp prototype.
52215         (Copying and Concatenation): Fix typo in wmemmove prototype.
52216         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
52217         (Signal Stack): Remove erroneous const in sigstack prototype.
52218         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
52219         prototype.
52220         (Simple Calendar Time): Likewise for stime.
52221         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
52222         prototype.
52223         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
52224         say sys/sysctl.h instead.
52225         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
52226         and vsyslog prototypes.
52228 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52230         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
52231         Remove.
52233 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52235         * misc/sys/mman.h: Fix typo in mremap comment.
52237 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52239         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
52240         the '\0' terminator.
52242 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52244         [BZ #13550]
52245         * debug/segfault.c: Don't include <bp-checks.h>.
52246         * sysdeps/generic/bp-checks.h: Remove file.
52247         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
52248         (__GETDENTS): Don't use CHECK_N.
52249         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
52250         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
52251         (__getgroups): Don't use CHECK_N.
52252         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
52253         (setgroups): Don't use CHECK_N.
52254         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
52255         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
52256         (__libc_msgrcv): Don't use CHECK_N.
52257         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
52258         (__libc_msgsnd): Don't use CHECK_N.
52259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
52260         <bp-checks.h>.
52261         (__libc_pread): Don't use CHECK_N.
52262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
52263         include <bp-checks.h>.
52264         (__libc_pread64): Don't use CHECK_N.
52265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
52266         include <bp-checks.h>.
52267         (__libc_pwrite): Don't use CHECK_N.
52268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
52269         include <bp-checks.h>.
52270         (__libc_pwrite64): Don't use CHECK_N.
52271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
52272         <bp-checks.h>.
52273         (__libc_pread): Don't use CHECK_N.
52274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
52275         include <bp-checks.h>.
52276         (__libc_pread64): Don't use CHECK_N.
52277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
52278         include <bp-checks.h>.
52279         (__libc_pwrite): Don't use CHECK_N.
52280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
52281         include <bp-checks.h>.
52282         (__libc_pwrite64): Don't use CHECK_N.
52283         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
52284         (do_pread): Don't use CHECK_N.
52285         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
52286         (do_pread64): Don't use CHECK_N.
52287         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
52288         (do_pwrite): Don't use CHECK_N.
52289         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
52290         (do_pwrite64): Don't use CHECK_N.
52291         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
52292         (__libc_readv): Don't use CHECK_N.
52293         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
52294         (semop): Don't use CHECK_N.
52295         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
52296         <bp-checks.h>.
52297         (semtimedop): Don't use CHECK_N.
52298         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
52299         (__libc_pread): Don't use CHECK_N.
52300         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
52301         <bp-checks.h>.
52302         (__libc_pread64): Don't use CHECK_N.
52303         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
52304         <bp-checks.h>.
52305         (__libc_pwrite): Don't use CHECK_N.
52306         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
52307         <bp-checks.h>.
52308         (__libc_pwrite64): Don't use CHECK_N.
52309         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
52310         <bp-checks.h>.
52311         (__libc_msgrcv): Don't use CHECK_N.
52312         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
52313         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
52314         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
52315         (__libc_writev): Don't use CHECK_N.
52317 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52319         * string/strcpy.c: Removed unused variable.
52321         * Makeconfig (+sysdep-includes): Define with := rather than =.
52322         Use an existing include/ subdir of each sysdeps dir before it.
52324 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52326         * nscd/connection.c (register_traced_file): Comment function.
52327         [HAVE_INOTIFY] (union __inev): Define.
52328         [HAVE_INOTIFY] (inotify_check_files): New function.
52329         [HAVE_INOTIFY] (clear_db_cache): Likewise.
52330         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
52331         clear_db_cache.
52332         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
52334 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52336         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
52337         loaded if not already and that a failure is permanent.
52339 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52341         [BZ #15006]
52342         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
52343         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
52345 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52347         [BZ #13550]
52348         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
52349         (CHECK_1_NULL_OK): Likewise.
52350         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
52351         (__fxstat): Do not use CHECK_1.
52352         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
52353         <bp-checks.h>.
52354         (___fxstat64): Do not use CHECK_1.
52355         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
52356         <bp-checks.h>.
52357         (__fxstatat): Do not use CHECK_1.
52358         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
52359         <bp-checks.h>.
52360         (__fxstatat64): Do not use CHECK_1.
52361         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
52362         <bp-checks.h>.
52363         (__fxstat): Do not use CHECK_1.
52364         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
52365         <bp-checks.h>.
52366         (__fxstatat): Do not use CHECK_1.
52367         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
52368         <bp-checks.h>.
52369         (__getresgid): Do not use CHECK_1.
52370         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
52371         <bp-checks.h>.
52372         (__getresuid): Do not use CHECK_1.
52373         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
52374         <bp-checks.h>.
52375         (__lxstat): Do not use CHECK_1.
52376         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
52377         <bp-checks.h>.
52378         (__old_msgctl): Do not use CHECK_1.
52379         (__new_msgctl): Likewise.
52380         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
52381         <bp-checks.h>.
52382         (__new_setrlimit): Do not use CHECK_1.
52383         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
52384         <bp-checks.h>.
52385         (__old_shmctl): Do not use CHECK_1.
52386         (__new_shmctl): Likewise.
52387         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
52388         <bp-checks.h>.
52389         (__xstat): Do not use CHECK_1.
52390         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
52391         (__lxstat): Do not use CHECK_1.
52392         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
52393         <bp-checks.h>.
52394         (___lxstat64): Do not use CHECK_1.
52395         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
52396         (__old_msgctl): Do not use CHECK_1.
52397         (__new_msgctl): Likewise.
52398         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
52399         <bp-checks.h>.
52400         (__gettimeofday): Do not use CHECK_1.
52401         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
52402         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
52403         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
52404         <bp-checks.h>.
52405         (__gettimeofday): Do not use CHECK_1.
52406         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
52407         (__old_shmctl): Do not use CHECK_1_NULL_OK.
52408         (__new_shmctl): Do not use CHECK_1.
52409         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
52410         <bp-checks.h>.
52411         (do_sigtimedwait): Do not use CHECK_1.
52412         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
52413         <bp-checks.h>.
52414         (do_sigwaitinfo): Do not use CHECK_1.
52415         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
52416         <bp-checks.h>.
52417         (msgctl): Do not use CHECK_1.
52418         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
52419         <bp-checks.h>.
52420         (shmctl): Do not use CHECK_1.
52421         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
52422         (ustat): Do not use CHECK_1.
52423         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
52424         <bp-checks.h>.
52425         (__fxstat): Do not use CHECK_1.
52426         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
52427         <bp-checks.h>.
52428         (__fxstatat): Do not use CHECK_1.
52429         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
52430         <bp-checks.h>.
52431         (__lxstat): Do not use CHECK_1.
52432         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
52433         <bp-checks.h>.
52434         (__xstat): Do not use CHECK_1.
52435         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
52436         (__xstat): Do not use CHECK_1.
52437         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
52438         (___xstat64): Do not use CHECK_1.
52440         [BZ #13550]
52441         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
52442         definitions.
52443         (CHECK_BOUNDS_HIGH): Likewise.
52444         * string/strcpy.c: Do not include <bp-checks.h>.
52445         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
52447 2013-02-07  Roland McGrath  <roland@hack.frob.com>
52449         * nscd/nscd-client.h (__nscd_drop_map_ref):
52450         Add __attribute__ ((unused)).
52451         * nis/nss-nisplus.h (niserr2nss): Likewise.
52453         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
52454         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
52456         * csu/libc-tls.c (init_static_tls, init_slotinfo):
52457         Remove inline keyword.
52458         * include/rounding-mode.h (round_away): Likewise.
52459         * libio/wfileops.c (adjust_wide_data): Likewise.
52460         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
52461         (__m128i_strloadu_tolower): Likewise.
52462         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
52463         (__m128i_strloadu_tolower): Likewise.
52464         * time/mktime.c (ydhms_diff): Likewise.
52465         * locale/elem-hash.h (elem_hash): Likewise.
52466         * locale/setlocale.c (setdata): Likewise.
52467         * posix/regex_internal.h (re_string_char_size_at): Likewise.
52468         (re_string_wchar_at): Likewise.
52469         (bitset_not, bitset_merge, bitset_mask): Likewise.
52470         [!(__GNUC__ > 3)] (inline): Remove macro.
52471         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
52472         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
52473         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
52474         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
52475         * string/memcmp.c (memcmp_bytes): Likewise.
52476         * locale/programs/locarchive.c (compute_hashval): Likewise.
52477         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
52478         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
52479         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
52480         * nss/getent.c (print_rpc, print_protocols): Likewise.
52481         (print_passwd, print_group, print_aliases): Likewise.
52482         * nis/nss-nisplus.h (niserr2nss): Likewise.
52483         * nscd/connections.c (restart_p): Likewise.
52484         Change return type to bool.
52486 2013-02-05  Roland McGrath  <roland@hack.frob.com>
52488         * Makeconfig (all-Depend-files): Add existing
52489         $(sorted-subdirs:=/Depend) files.
52490         (all-subdirs): Remove nss.
52491         * sysdeps/unix/inet/Subdirs: Add it here instead.
52492         * hesiod/Depend: New file.
52494         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
52495         instead of calling alloca.
52497         * io/lseek.c (__lseek): Rename to __libc_lseek.
52498         Define __lseek as an alias.
52500         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
52502 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
52504         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
52505         else clause and remove check for non-standard endianness.
52507 2013-02-04  David S. Miller  <davem@davemloft.net>
52509         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52511 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
52513         [BZ #13550]
52514         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
52515         (__ubp_memchr): Remove prototype.
52516         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
52517         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52518         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
52519         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52520         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
52521         Remove alias.
52522         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
52523         (__ubp_memchr): Likewise.
52524         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
52525         (__ubp_memchr): Likewise.
52526         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
52527         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
52528         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
52529         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
52530         CHECK_STRING.
52531         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
52532         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
52533         (__getcwd): Do not use CHECK_STRING.
52534         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
52535         <bp-checks.h>.
52536         (__real_chown): Do not use CHECK_STRING.
52537         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
52538         <bp-checks.h>.
52539         (fchownat): Do not use CHECK_STRING.
52540         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
52541         CHECK_STRING.
52542         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
52543         <bp-checks.h>.
52544         (__lchown): Do not use CHECK_STRING.
52545         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52546         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52547         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52548         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
52549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
52550         include <bp-checks.h>.
52551         (truncate64): Do not use CHECK_STRING.
52552         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
52553         <bp-checks.h>.
52554         (__real_chown): Do not use CHECK_STRING.
52555         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
52556         <bp-checks.h>.
52557         (__lchown): Do not use CHECK_STRING.
52558         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
52559         <bp-checks.h>.
52560         (__chown): Do not use CHECK_STRING.
52561         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
52562         <bp-checks.h>.
52563         (truncate64): Do not use CHECK_STRING.
52564         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
52565         Likewise.
52566         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
52567         (__xmknod): Do not use CHECK_STRING.
52568         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
52569         <bp-checks.h>.
52570         (__xmknodat): Do not use CHECK_STRING.
52571         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52572         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
52574 2013-02-04  Andreas Schwab  <schwab@suse.de>
52576         [BZ #14142]
52577         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
52578         * include/netdb.h: Likewise for h_errno.
52579         * elf/tst-stackguard1.c: Include <tls.h>.
52581 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
52583         * elf/link.h (struct link_map): Extend the l_addr comment.
52584         * include/link.h (struct link_map): Likewise.
52586 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
52588         [BZ #13550]
52589         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
52590         (BOUNDED_1): Remove macro.
52591         * debug/backtrace.c: Don't include <bp-checks.h>.
52592         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
52593         (__backtrace): Likewise.
52594         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
52595         <bp-checks.h>.
52596         (__backtrace): Don't use BOUNDED_1.
52597         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
52598         <bp-checks.h>.
52599         (__backtrace): Don't use BOUNDED_1.
52600         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
52601         (__backtrace): Don't use BOUNDED_1.
52602         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
52603         (shmat): Don't use BOUNDED_N.
52605 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
52607         [BZ #13550]
52608         * sysdeps/generic/bp-start.h: Remove file.
52609         * csu/libc-start.c: Don't include <bp-start.h>.
52610         (LIBC_START_MAIN): Set up __environ directly instead of using
52611         INIT_ARGV_and_ENVIRON.
52612         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
52613         <bp-start.h>.
52615         [BZ #13550]
52616         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
52617         definitions.
52618         (CHECK_FCNTL): Likewise.
52619         (CHECK_N_PAGES): Likewise.
52621         [BZ #13550]
52622         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
52623         definitions.
52624         (CHECK_SIGSET_NULL_OK): Likewise.
52625         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
52626         <bp-checks.h>.
52627         (sigpending): Don't use CHECK_SIGSET.
52628         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
52629         <bp-checks.h>.
52630         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52631         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
52632         <bp-checks.h>.
52633         (do_sigsuspend): Don't use CHECK_SIGSET.
52634         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
52635         use CHECK_SIGSET.
52636         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
52637         (do_sigwait): Don't use CHECK_SIGSET.
52638         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
52639         use CHECK_SIGSET.
52640         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
52641         include <bp-checks.h>.
52642         (sigpending): Don't use CHECK_SIGSET.
52643         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
52644         include <bp-checks.h>.
52645         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52646         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
52647         <bp-checks.h>.
52648         (sigpending): Don't use CHECK_SIGSET.
52649         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
52650         <bp-checks.h>.
52651         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52653         [BZ #13550]
52654         * sysdeps/generic/bp-semctl.h: Remove file.
52655         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
52656         <bp-checks.h> and <bp-semctl.h>.
52657         (__old_semctl): Don't use CHECK_SEMCTL.
52658         (__new_semctl): Likewise.
52659         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
52660         and <bp-semctl.h>.
52661         (__old_semctl): Don't use CHECK_SEMCTL.
52662         (__new_semctl): Likewise.
52663         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
52664         <bp-checks.h> and <bp-semctl.h>.
52665         (__old_semctl): Don't use CHECK_SEMCTL.
52666         (__new_semctl): Likewise.
52667         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
52668         <bp-checks.h> and <bp-semctl.h>.
52669         (semctl): Don't use CHECK_SEMCTL.
52671         [BZ #13550]
52672         * Makerules (elide-bp-thunks): Remove variable.
52673         (elide-routines.oS): Don't use $(elide-bp-thunks).
52674         (elide-routines.os): Likewise.
52675         (elide-routines.o): Likewise.
52676         (elide-routines.op): Likewise.
52677         (elide-routines.og): Likewise.
52678         (objects): Don't use $(bp-thunks).
52679         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
52680         include.
52681         (common-generated): Do not add s-proto-bp.d.
52682         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
52683         (int): Likewise.
52684         (typ): Likewise.
52685         Do not generate makefile rules for bounded-pointer thunks.
52686         * sysdeps/generic/bp-thunks.h: Remove file.
52687         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
52688         * sysdeps/unix/s-proto-bp.S: Likewise.
52690         [BZ #15062]
52691         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
52692         parts of result separately when argument is not close to line from
52693         -i to i and one part of argument is small.
52694         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52695         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52696         * math/libm-test.inc (cacos_test): Add more tests.
52697         (casin_test): Likewise.
52698         (casinh_test): Likewise.
52699         * sysdeps/i386/fpu/libm-test-ulps: Update.
52700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52702 2013-01-31  David S. Miller  <davem@davemloft.net>
52704         * po/de.po: Update from translation team.
52706 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
52708         * time/tzfile.c: Include stdint.h for SIZE_MAX.
52710 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
52712         * configure.in (_AC_PROG_CC_C89): New definition.
52713         * configure: Regenerate.
52715         * configure.in (AC_PROG_CPP): New definition.
52716         * configure: Regenerate.
52718 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
52720         * debug/tst-backtrace.h: New file.
52721         * debug/tst-backtrace2.c: Include tst-backtrace.h.
52722         (ret): Remove variable.
52723         (x): Likewise.
52724         (FAIL): Remove macro.
52725         (NO_INLINE): Likewise.
52726         (fn1): Use match function instead of strstr.
52727         * debug/tst-backtrace3.c: Include tst-backtrace.h.
52728         (ret): Remove variable.
52729         (x): Likewise.
52730         (FAIL): Remove macro.
52731         (NO_INLINE): Likewise.
52732         (fn): Use match function instead of strstr.
52733         * debug/tst-backtrace4.c: Include tst-backtrace.h.
52734         (ret): Remove variable.
52735         (x): Likewise.
52736         (FAIL): Remove macro.
52737         (NO_INLINE): Likewise.
52738         (handle_signal): Use match function instead of strstr.
52739         * debug/tst-backtrace5.c: Include tst-backtrace.h.
52740         (ret): Remove variable.
52741         (x): Likewise.
52742         (FAIL): Remove macro.
52743         (NO_INLINE): Likewise.
52744         (handle_signal): Use match function instead of strstr.
52746 2013-01-23  Roland McGrath  <roland@hack.frob.com>
52748         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
52750 2013-01-23  David S. Miller  <davem@davemloft.net>
52752         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
52753         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
52754         argument of CAS if possible.
52755         * sysdeps/sparc/sparc64/bits/atomic.h
52756         (__arch_compare_and_exchange_val_32_acq): Likewise.
52757         (__arch_compare_and_exchange_val_64_acq): Likewise.
52759 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
52761         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
52762         * sysdeps/posix/ulimit.c: ... this.
52763         Include <limits.h>.
52764         * sysdeps/unix/bsd/ulimit.c: Remove file.
52766 2013-01-23  Adam Conrad  <adconrad@0c3.net>
52768         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
52769         (LDFLAGS-tst-array5): Likewise.
52771 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
52773         [BZ #15036]
52774         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
52775         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
52776         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
52777         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
52779 2013-01-21  David S. Miller  <davem@davemloft.net>
52781         * sysdeps/sparc/backtrace.c: New file.
52782         * sysdeps/sparc/sparc32/backtrace.h: New file.
52783         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
52784         * sysdeps/sparc/sparc64/backtrace.h: New file.
52785         * sysdeps/sparc/sparc64/backtrace.c: Delete.
52786         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
52787         -funwind-tables.
52789 2013-01-21  Andreas Schwab  <schwab@suse.de>
52791         [BZ #15020]
52792         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
52793         closed its stdout.
52795 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
52797         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
52798         "mpa2.h".
52799         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52801 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
52802             Mark Mitchell  <mark@codesourcery.com>
52803             Tom de Vries  <tom@codesourcery.com>
52804             Paul Pluzhnikov  <ppluzhnikov@google.com>
52806         * debug/tst-backtrace2.c: New file.
52807         * debug/tst-backtrace3.c: Likewise.
52808         * debug/tst-backtrace4.c: Likewise.
52809         * debug/tst-backtrace5.c: Likewise.
52810         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
52811         (CFLAGS-tst-backtrace3.c): Likewise.
52812         (CFLAGS-tst-backtrace4.c): Likewise.
52813         (CFLAGS-tst-backtrace5.c): Likewise.
52814         (LDFLAGS-tst-backtrace2): Likewise.
52815         (LDFLAGS-tst-backtrace3): Likewise.
52816         (LDFLAGS-tst-backtrace4): Likewise.
52817         (LDFLAGS-tst-backtrace5): Likewise.
52818         (tests): Add new tests tst-backtrace2, tst-backtrace3,
52819         tst-backtrace4 and tst-backtrace5.
52821 2013-01-18  Anton Blanchard  <anton@samba.org>
52822             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52824         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
52825         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
52826         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
52827         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
52828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
52829         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
52830         "+r" and remove output regs list as redundant.  Add explicit inline
52831         asm to specify register of return val to work around compiler codegen
52832         bug.  Remove (int) cast on return value.  Add return type parameter to
52833         use in macro so that this macro does not truncate return value for
52834         64-bit values.
52835         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
52836         pass to INTERNAL_VSYSCALL_NCS.
52837         (INLINE_VSYSCALL): Add 'long int' as return type to
52838         INTERNAL_VSYSCALL_NCS macro invocation.
52839         (INTERNAL_VSYSCALL): Add 'long int' as return type to
52840         INTERNAL_VSYSCALL_NCS macro invocation.
52841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52843 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52845         [BZ #14496]
52846         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
52847         Fix application of SIMD FP exception mask.
52849         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
52850         mp_no from a power of two.
52851         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
52852         __mpexp_twomm1.  Use __pow_mp.
52854         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
52855         multiplication.
52857 2013-01-17  David S. Miller  <davem@davemloft.net>
52859         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52861 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
52863         [BZ #15023]
52864         * include/complex.h: Condition contents on [!_COMPLEX_H].
52865         (__kernel_casinhf): New prototype.
52866         (__kernel_casinh): Likewise.
52867         (__kernel_casinhl): Likewise.
52868         * math/Makefile (libm_calls): Add k_casinh.
52869         * math/k_casinh.c: New file.
52870         * math/k_casinhf.c: Likewise.
52871         * math/k_casinhl.c: Likewise.
52872         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
52873         finite nonzero arguments.
52874         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
52875         finite nonzero arguments.
52876         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
52877         finite nonzero arguments.
52878         * math/s_casinh.c: Do not include <float.h>.
52879         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
52880         * math/s_casinhf.c: Do not include <float.h>.
52881         (__casinhf): Move code for finite nonzero arguments to
52882         k_casinhf.c.
52883         * math/s_casinhl.c: Do not include <float.h>.
52884         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
52885         redefine.
52886         (__casinhl): Move code for finite nonzero arguments to
52887         k_casinhl.c.
52888         * math/libm-test.inc (cacos_test): Add more tests.
52889         * sysdeps/i386/fpu/libm-test-ulps: Update.
52890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52892 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
52894         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
52895         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
52896         [!HAVE_MREMAP]: Remove [defined linux] case.
52897         * malloc/arena.c: Do not include <malloc-sysdep.h>.
52899 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52901         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
52903 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
52905         * elf/elf.h (R_386_SIZE32): New relocation.
52906         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
52907         R_386_SIZE32.
52908         (elf_machine_rela): Likewise.
52909         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
52910         R_X86_64_SIZE64 and R_X86_64_SIZE32.
52912 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
52914         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
52915         (FP_FAST_FMA): Do not define.
52916         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
52917         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
52918         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
52919         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
52920         !_SOFT_FLOAT]: Likewise.
52921         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
52922         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
52923         value.
52924         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
52925         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
52926         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
52927         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
52928         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
52929         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
52930         file.
52932 2013-01-16  Andreas Schwab  <schwab@suse.de>
52934         [BZ #14327]
52935         * include/stdlib.h (__mktemp): Add declaration.
52936         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
52937         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
52939 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52941         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
52942         definitions.
52943         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
52944         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
52945         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
52946         definitions here.
52947         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
52948         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
52949         definitions.
52950         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
52951         and ONE.
52952         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
52953         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
52954         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
52955         definitions.
52956         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
52957         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
52958         definitions.
52959         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
52961         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
52963 2013-01-15  David S. Miller  <davem@davemloft.net>
52965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52966         trunc{,f} to libm-sysdep_routes.
52967         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
52969         file.
52970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
52971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
52972         file.
52973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
52974         file.
52975         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
52976         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
52977         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
52978         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
52979         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
52980         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
52981         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
52982         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
52984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52985         nearbyint{,f} to libm-sysdep_routes.
52986         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
52988         New file.
52989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
52990         file.
52991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
52992         New file.
52993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
52994         file.
52995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
52996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
52997         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
52998         file.
52999         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
53000         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
53001         file.
53002         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
53003         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
53004         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
53006         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53007         libc_feholdexcept and libc_fesetenv.
53009 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
53011         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
53013 2013-01-14  David S. Miller  <davem@davemloft.net>
53015         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
53016         (SPARC_ASM_VIS2_IFUNC): Likewise.
53017         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
53018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
53019         use of 'siam' instruction.
53020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
53021         Likewise.
53022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
53023         Likewise.
53024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
53025         Likewise.
53026         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
53027         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
53028         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
53029         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
53030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
53031         file.
53032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
53033         file.
53034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
53035         file.
53036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
53037         file.
53038         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
53039         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
53040         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
53041         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
53042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
53043         new VIS2 routines.
53044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53047         Likewise.
53048         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53049         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53050         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53051         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
53053         routines to libm-sysdep_routines.
53054         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53057         fdim/fdimf to libm-sysdep_routines.
53058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
53059         file.
53060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
53061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
53062         file.
53063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
53064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
53065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
53066         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
53067         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
53068         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
53069         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
53071 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53073         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
53074         to optimize copies.
53076         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
53077         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53078         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53080         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
53081         local variable MPTWO.
53082         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53083         Likewise.
53085 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53087         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
53088         GLOB_NOESCAPE.
53090 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53092         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
53094 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53096         * manual/pattern.texi (glob_t): Document gl_flags.
53097         (glob64_t): Likewise.
53099 2013-01-11  David S. Miller  <davem@davemloft.net>
53101         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
53102         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
53103         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
53104         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
53105         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
53106         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
53107         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
53108         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
53109         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
53110         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
53111         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
53112         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
53113         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
53115         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53116         sparc V9 rather than using V8 code.
53117         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53118         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53120         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53121         Move to...
53122         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
53123         Here.
53125 2013-01-11  Roland McGrath  <roland@hack.frob.com>
53127         [BZ #14941]
53128         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
53129         not in the main loop.
53130         * configure: Regenerated.
53132 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
53134         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
53135         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
53136         to just #else.
53137         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
53138         [!__GLIBC_HAVE_LONG_LONG] case.
53139         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
53140         condition to just #else.
53141         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
53142         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
53143         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
53144         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
53145         unconditional.
53146         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
53147         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53148         #elif condition to just #else.
53149         * sysdeps/unix/sysv/linux/sys/sysmacros.h
53150         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
53151         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53152         #elif condition to just #else.
53154 2013-01-11  Steve Ellcey  <sellcey@mips.com>
53156         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
53157         (EF_MIPS_ARCH_64): Fix value.
53158         (EF_MIPS_ARCH_32R2): New.
53159         (EF_MIPS_ARCH_64R2): New.
53161 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
53163         * Makeconfig (+link-pie-before-libc): New.
53164         (+link-pie-after-libc): Likewise.
53165         (+link-pie-tests): Likewise.
53166         (+link-pie): Rewritten.
53167         (link-before-libc): Remove $(config-LDFLAGS).
53168         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
53169         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
53170         (config-LDFLAGS): Renamed to ...
53171         (rtld-LDFLAGS): This.
53172         (rtld-tests-LDFLAGS): New macro.
53173         (link-libc-rpath-link): Likewise.
53174         (link-libc-tests-rpath-link): Likewise.
53175         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
53176         (link-libc): Prepand $(link-libc-rpath-link).
53177         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
53178         (test-program-prefix): New macro.
53179         (test-via-rtld-prefix): Likewise.
53180         (test-program-cmd): Likewise.
53181         (host-test-program-cmd): Likewise.
53182         * Makefile ($(common-objpfx)testrun.sh): Replace
53183         $(run-program-prefix) with $(test-program-prefix).
53184         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
53185         $(rtld-LDFLAGS).
53186         ($(common-objpfx)shlib.lds): Likewise.
53187         (build-module-helper): Likewise.
53188         ($(common-objpfx)format.lds): Likewise.
53189         * Rules (binaries-pie-tests): New.
53190         (binaries-pie-notests): Likewise.
53191         (binaries-pie): Rewritten.
53192         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
53193         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
53194         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
53195         (make-test-out): Replace $(host-built-program-cmd) with
53196         $(host-test-program-cmd).
53197         * config.make.in (build-hardcoded-path-in-tests): New variable.
53198         * configure.in (--enable-hardcoded-path-in-tests): New configure
53199         option.
53200         (hardcoded_path_in_tests): New AC_SUBST.
53201         * configure: Regenerated.
53202         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
53203         $(built-program-cmd) with $(test-program-cmd).
53204         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
53205         (test_program_cmd): This.
53206         * elf/Makefile ($(objpfx)order.out): Run test with
53207         $(test-program-prefix).
53208         ($(objpfx)order2.out): Likewise.
53209         ($(objpfx)tst-initorder.out): Likewise.
53210         ($(objpfx)tst-initorder2.out): Likewise.
53211         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
53212         $(test-program-cmd).
53213         ($(objpfx)tst-array1-static.out): Likewise.
53214         ($(objpfx)tst-array2.out): Likewise.
53215         ($(objpfx)tst-array3.out): Likewise.
53216         ($(objpfx)tst-array4.out): Likewise.
53217         ($(objpfx)tst-array5.out): Likewise.
53218         ($(objpfx)tst-array5-static.out): Likewise.
53219         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
53220         $(test-program-cmd).
53221         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
53222         $(run-program-prefix) with $(test-program-prefix).
53223         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
53224         (test_program_prefix): This.
53225         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
53226         $(run-program-prefix) with $(test-program-prefix).
53227         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
53228         (test_program_prefix): This.
53229         * iconvdata/tst-tables.sh: Likewise.
53230         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
53231         $(run-program-prefix) with $(test-program-prefix).
53232         ($(objpfx)tst-translit.out): Likewise.
53233         ($(objpfx)tst-gettext2.out): Likewise.
53234         ($(objpfx)tst-gettext4.out): Likewise.
53235         ($(objpfx)tst-gettext6.out): Likewise.
53236         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
53237         (test_program_prefix): This.
53238         * intl/tst-gettext2.sh: Likewise.
53239         * intl/tst-gettext4.sh  Likewise.
53240         * intl/tst-gettext6.sh: Likewise.
53241         * intl/tst-translit.sh: Likewise.
53242         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
53243         with $(test-program-cmd).
53244         * libio/Makefile ($(objpfx)test-freopen.out): Replace
53245         $(run-program-prefix) with $(test-program-prefix).
53246         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
53247         (test_program_prefix): This.
53248         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
53249         $(run-program-prefix) with $(test-program-prefix).
53250         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
53251         (test_program_prefix): This.
53252         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
53253         * posix/Makefile ($(objpfx)globtest.out): Replace
53254         $(run-via-rtld-prefix) and $(test-wrapper) with
53255         $(test-program-prefix) and $(test-via-rtld-prefix).
53256         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
53257         $(test-program-prefix).
53258         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
53259         $(host-test-program-cmd).
53260         (tst-spawn-ARGS): Likewise.
53261         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
53262         $(test-program-prefix).
53263         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
53264         (test_via_rtld_prefix): This.
53265         (test_wrapper): Renamed to ...
53266         (test_program_prefix): This.
53267         (run_program_prefix): Replaced by test_program_prefix.
53268         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
53269         (test_program_prefix): This.
53270         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
53271         with $(host-test-program-cmd).
53272         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
53273         $(run-program-prefix) with $(test-program-prefix).
53274         ($(objpfx)tst-printf.out): Likewise.
53275         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
53276         $(test-program-cmd).
53277         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
53278         (test_program_prefix): This.
53279         * stdio-common/tst-unbputc.sh: Likewise.
53280         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
53281         $(run-program-prefix) with $(test-program-prefix).
53282         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
53283         (test_program_prefix): This.
53284         * string/Makefile ($(objpfx)tst-svc.out):  Replace
53285         $(built-program-cmd) with $(test-program-cmd).
53287 2013-01-11  Andreas Jaeger  <aj@suse.de>
53289         [BZ #15003]
53290         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
53291         value. Sync with Linux 3.7.
53293 2013-01-10  David S. Miller  <davem@davemloft.net>
53295         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
53296         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53297         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53299 2013-01-10  Roland McGrath  <roland@hack.frob.com>
53301         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
53302         never set.
53303         * configure: Regenerated.
53305 2013-01-10  David S. Miller  <davem@davemloft.net>
53307         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53308         sparc V9 rather than using V8 code.
53309         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53310         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53312 2013-01-10  Roland McGrath  <roland@hack.frob.com>
53314         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
53315         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
53316         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
53317         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
53318         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
53319         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
53320         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
53321         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
53322         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
53323         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
53324         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
53325         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
53326         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
53327         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
53328         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
53329         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
53330         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
53331         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
53332         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
53333         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
53334         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
53335         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
53336         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
53337         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
53338         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
53339         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
53340         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
53342 2013-01-10  David S. Miller  <davem@davemloft.net>
53344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53346 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
53348         * posix/Makefile (tests-static): New variable.
53349         (tests): Add $(tests-static).
53350         (tst-exec-static-ARGS): New variable.
53351         (tst-spawn-static-ARGS): Likewise.
53352         * posix/tst-exec-static.c: New file.
53353         * posix/tst-spawn-static.c: Likewise.
53354         * posix/tst-exec.c: Support run directly.
53355         * posix/tst-spawn.c: Likewise.
53357 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
53359         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
53360         long.
53361         * math/bits/mathcalls.h (llrint): Likewise.
53362         (llround): Likewise.
53363         * stdlib/stdlib.h (struct drand48_data): Likewise.
53364         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
53365         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
53366         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
53367         Likewise.
53368         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
53369         Likewise.
53370         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
53371         (elf_greg_t): Likewise.
53372         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
53373         (__jmp_buf): Likewise.
53374         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
53375         definitions.
53376         (llrint): Likewise, for all definitions.
53377         (llrintl): Likewise.
53379         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
53380         Remove [__GNUC__] condition.
53381         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
53382         condition to just [__USE_ISOC99].
53383         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
53385 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
53387         [BZ #14200]
53388         * sysdeps/unix/sysv/linux/x86/bits/environments.h
53389         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
53390         defined.
53391         (_POSIX_V6_ILP32_OFF32): Likewise.
53392         (_XBS5_ILP32_OFF32): Likewise.
53393         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
53394         (__ILP32_OFFBIG_LDFLAGS): Likewise.
53396 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53398         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
53400         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
53401         doubles __mpexp_twomm1.  Adjust usage.
53402         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
53403         Remove.
53405 2013-01-10  Andreas Schwab  <schwab@suse.de>
53407         [BZ #14964]
53408         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
53409         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
53411 2013-01-09  David S. Miller  <davem@davemloft.net>
53413         [BZ #15003]
53414         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
53415         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
53416         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
53417         (TCP_FASTOPEN): Define.
53418         (tcp_repair_opt): New structure.
53419         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
53420         enum values.
53421         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
53422         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
53423         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
53424         (tcp_cookie_transactions): New structure.
53426 2013-01-09  Anton Blanchard  <anton@samba.org>
53428         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
53429         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
53430         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
53431         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
53433 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
53435         * include/features.h (__USE_ANSI): Remove.
53437 2013-01-09  Roland McGrath  <roland@hack.frob.com>
53439         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
53441         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
53443 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
53445         * sysdeps/s390/fpu/libm-test-ulps: Update.
53447         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53449         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
53450         (__acr): Likewise.
53451         (__cpy): Likewise.
53452         (norm): Likewise.
53453         (denorm): Likewise.
53454         (__mp_dbl): Likewise.
53455         (__dbl_mp): Likewise.
53456         (add_magnitudes): Likewise.
53457         (sub_magnitudes): Likewise.
53458         (__add): Likewise.
53459         (__sub): Likewise.
53460         (__mul): Likewise.
53461         (__inv): Likewise.
53462         (__dvd): Likewise.
53463         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
53464         (__acr): Likewise.
53465         (__cpy): Likewise.
53466         (norm): Likewise.
53467         (denorm): Likewise.
53468         (__mp_dbl): Likewise.
53469         (__dbl_mp): Likewise.
53470         (add_magnitudes): Likewise.
53471         (sub_magnitudes): Likewise.
53472         (__add): Likewise.
53473         (__sub): Likewise.
53474         (__mul): Likewise.
53475         (__inv): Likewise.
53476         (__dvd): Likewise.
53477         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
53478         (__acr): Likewise.
53479         (__cpy): Likewise.
53480         (norm): Likewise.
53481         (denorm): Likewise.
53482         (__mp_dbl): Likewise.
53483         (__dbl_mp): Likewise.
53484         (add_magnitudes): Likewise.
53485         (sub_magnitudes): Likewise.
53486         (__add): Likewise.
53487         (__sub): Likewise.
53488         (__mul): Likewise.
53489         (__inv): Likewise.
53490         (__dvd): Likewise.
53492 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
53494         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
53495         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
53496         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
53497         2 && __USE_EXTERN_INLINES]: Likewise.
53499 2013-01-08  Andreas Jaeger  <aj@suse.de>
53501         [BZ# 14985]
53502         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
53503         Remove.
53504         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53505         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53507 2013-01-07  Anton Blanchard  <anton@samba.org>
53509         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
53510         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
53511         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
53512         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
53513         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53514         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53515         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
53516         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53517         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53518         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53519         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53520         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53521         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53522         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53523         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
53524         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53525         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53526         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53527         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
53528         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53529         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
53530         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
53531         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53532         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
53533         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
53534         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53535         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53536         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
53537         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
53538         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53539         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
53540         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53541         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53542         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
53543         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
53544         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53545         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53546         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
53547         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
53548         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
53549         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
53550         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53551         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
53553 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
53555         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
53556         (__MALLOC_PMT): Likewise.
53557         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
53558         [__GNUC__], only on [_LIBC].
53559         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53560         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
53561         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53562         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
53563         forward declaration.
53564         (realloc_hook_ini): Likewise.
53565         (memalign_hook_ini): Likewise.
53566         (__libc_memalign): Do not use __MALLOC_PMT in variable
53567         declaration.
53568         (__libc_valloc): Likewise.
53569         (__libc_pvalloc): Likewise.
53570         (__libc_calloc): Likewise.
53571         (__posix_memalign): Likewise.
53573         [BZ #14996]
53574         * math/s_casinh.c: Include <float.h>.
53575         (__casinh): Do not do computation with squaring and square root
53576         for large arguments.
53577         * math/s_casinhf.c: Include <float.h>.
53578         (__casinhf): Do not do computation with squaring and square root
53579         for large arguments.
53580         * math/s_casinhl.c: Include <float.h>.
53581         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
53582         (__casinhl): Do not do computation with squaring and square root
53583         for large arguments.
53584         * math/libm-test.inc (casin_test): Add more tests.
53585         (casinh_test): Likewise.
53586         * sysdeps/i386/fpu/libm-test-ulps: Update.
53587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53589 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
53591         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
53592         (__x86_64_raw_data_cache_size): Likewise.
53593         (__x86_64_data_cache_size_half): Likewise.
53594         (__x86_64_raw_data_cache_size_half): Likewise.
53595         (__x86_64_shared_cache_size): Likewise.
53596         (__x86_64_raw_shared_cache_size): Likewise.
53597         (__x86_64_shared_cache_size_half): Likewise.
53598         (__x86_64_raw_shared_cache_size_half): Likewise.
53599         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
53600         to ...
53601         (__x86_data_cache_size): This.
53602         (__x86_64_raw_data_cache_size): Renamed to ...
53603         (__x86_raw_data_cache_size): This.
53604         (__x86_64_data_cache_size_half): Renamed to ...
53605         (__x86_data_cache_size_half): This.
53606         (__x86_64_raw_data_cache_size_half): Renamed to ...
53607         (__x86_raw_data_cache_size_half): This.
53608         (__x86_64_shared_cache_size): Renamed to ...
53609         (__x86_shared_cache_size): This.
53610         (__x86_64_raw_shared_cache_size): Renamed to ...
53611         (__x86_raw_shared_cache_size): This.
53612         (__x86_64_shared_cache_size_half): Renamed to ...
53613         (__x86_shared_cache_size_half): This.
53614         (__x86_64_raw_shared_cache_size_half): Renamed to ...
53615         (__x86_raw_shared_cache_size_half): This.
53616         * sysdeps/x86_64/memcpy.S: Updated.
53617         * sysdeps/x86_64/memset.S: Likewise.
53618         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
53619         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53620         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53622 2013-01-04  David S. Miller  <davem@davemloft.net>
53624         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53626 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
53628         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
53629         1 to avoid redefinition warning.
53630         (__USE_GNU): Don't define.
53631         (init_signaling_nan): Protoize.
53633         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53635 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53637         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
53638         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
53639         (__cpymn): Likewise.
53640         (norm): Remove commented code.
53641         (denorm): Likewise.
53642         (__mp_dbl): Likewise.
53643         (__inv): Likewise.
53644         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
53645         (__cpymn): Likewise.
53646         (norm): Remove commented code.
53647         (denorm): Likewise.
53648         (__mp_dbl): Likewise.
53649         (__inv): Likewise.
53651         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
53652         mp_no value for 1.0 and 2.0.
53653         (norm): Use RADIXI instead of radixi.d.
53654         (denorm): Likewise.
53655         (__mul): Use 0.0 instead of zero.d.
53656         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
53657         mp_no value for 1.0 and 2.0.
53658         (norm): Use RADIXI instead of radixi.d.
53659         (denorm): Likewise.
53660         (__mul): Use 0.0 instead of zero.d.
53662 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
53664         [BZ #14994]
53665         * math/s_casinh.c (__casinh): Reduce finite argument to first
53666         quadrant then set signs of results at the end.
53667         * math/s_casinhf.c (__casinhf): Likewise.
53668         * math/s_casinhl.c (__casinhl): Likewise.
53669         * math/libm-test.inc (casin_test): Add more tests.
53670         (casinh_test): Likewise.
53671         * sysdeps/i386/fpu/libm-test-ulps: Update.
53672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53674 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53676         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
53678         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
53680         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
53681         declarations.
53682         (denorm): Likewise.
53683         (__mp_dbl): Likewise.
53684         (__inv): Likewise.
53686         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
53687         and adjust the header comment.
53689         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
53690         variable name from declaration.
53692 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
53694         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53695         Initialize COMMON_CPUID_INDEX_7 element.
53696         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
53697         (CPUID_RTM): Likewise.
53698         (HAS_RTM): Likewise.
53699         (COMMON_CPUID_INDEX_7): New enum.
53701 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
53703         [BZ #14981]
53704         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
53705         size is zero, record memory as freed.
53707 2013-01-03  Andreas Jaeger  <aj@suse.de>
53709         * po/ia.po: Add new Interlingua translation.
53711 2012-01-03  Allan McRae  <allan@archlinux.org>
53713         * locale/programs/localedef.c: Fix description of '--posix' flag.
53715 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
53717         * NEWS: Update dates in second copyright notice.
53718         * README: Update copyright dates in example.
53719         * manual/libc.texinfo: Update copyright dates.
53720         * scripts/test-installation.pl: Update copyright date in --version
53721         output.
53723         * hurd/ctty-input.c: Fix copyright notice formatting.
53724         * hurd/ctty-output.c: Likewise.
53725         * hurd/dtable.c: Likewise.
53726         * hurd/hurd-raise.c: Likewise.
53727         * hurd/hurdprio.c: Likewise.
53728         * hurd/msgportdemux.c: Likewise.
53729         * misc/sys/file.h: Likewise.
53730         * misc/sys/ioctl.h: Likewise.
53731         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
53732         * sysdeps/mach/hurd/chdir.c: Likewise.
53733         * sysdeps/mach/hurd/fchdir.c: Likewise.
53734         * sysdeps/mach/hurd/rename.c: Likewise.
53735         * sysdeps/mach/hurd/rmdir.c: Likewise.
53736         * sysdeps/mach/hurd/seekdir.c: Likewise.
53737         * sysdeps/mach/hurd/setsid.c: Likewise.
53738         * sysdeps/posix/wait3.c: Likewise.
53740         * All files with FSF copyright notices: Update copyright dates
53741         using scripts/update-copyrights.
53742         * intl/plural.c: Regenerated.
53743         * locale/programs/charmap-kw.h: Likewise.
53744         * locale/programs/locfile-kw.h: Likewise.
53746 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53748         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
53749         four values.
53751         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
53752         calculation loop and add branch prediction.
53754         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
53755         check access beyond bounds of m1np.
53757         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
53758         MPTWO.
53759         (__inv): Remove local variable MPTWO to use the global
53760         constant.
53761         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
53762         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
53763         variable MPTWO.
53764         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
53765         MP3HALFS static const.
53767 2013-01-01  David S. Miller  <davem@davemloft.net>
53769         * po/ca.po: Update from translation team.
53771 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
53773         * scripts/update-copyrights: New file.
53774         * Makeconfig: Reformat copyright notice.
53775         * ctype/ctype.h: Likewise.
53776         * debug/swprintf_chk.c: Likewise.
53777         * elf/dl-cache.c: Likewise.
53778         * elf/dl-debug.c: Likewise.
53779         * elf/dl-object.c: Likewise.
53780         * grp/initgroups.c: Likewise.
53781         * hurd/Makefile: Likewise.
53782         * hurd/hurd/signal.h: Likewise.
53783         * hurd/hurdfault.c: Likewise.
53784         * hurd/hurdioctl.c: Likewise.
53785         * hurd/hurdlookup.c: Likewise.
53786         * hurd/intr-msg.c: Likewise.
53787         * iconv/gconv_open.c: Likewise.
53788         * libio/swprintf.c: Likewise.
53789         * locale/lc-ctype.c: Likewise.
53790         * locale/nl_langinfo.c: Likewise.
53791         * mach/Machrules: Likewise.
53792         * mach/Makefile: Likewise.
53793         * malloc/obstack.h: Likewise.
53794         * manual/Makefile: Likewise.
53795         * manual/tsort.awk: Likewise.
53796         * misc/bits/stab.def: Likewise.
53797         * nis/nis_print_group_entry.c: Likewise.
53798         * nis/nis_table.c: Likewise.
53799         * nis/nss_compat/compat-pwd.c: Likewise.
53800         * nis/nss_compat/compat-spwd.c: Likewise.
53801         * po/Makefile: Likewise.
53802         * posix/fnmatch.c: Likewise.
53803         * posix/regex.h: Likewise.
53804         * resolv/Makefile: Likewise.
53805         * resolv/nss_dns/dns-network.c: Likewise.
53806         * resolv/res_hconf.c: Likewise.
53807         * scripts/gen-sorted.awk: Likewise.
53808         * soft-fp/soft-fp.h: Likewise.
53809         * stdio-common/printf.h: Likewise.
53810         * stdlib/monetary.h: Likewise.
53811         * stdlib/random.c: Likewise.
53812         * stdlib/random_r.c: Likewise.
53813         * sysdeps/generic/Makefile: Likewise.
53814         * sysdeps/gnu/Makefile: Likewise.
53815         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53816         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53817         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53818         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53819         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53820         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53821         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53822         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53823         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53824         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53825         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53826         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53827         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
53828         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
53829         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
53830         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
53831         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53832         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53833         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53834         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53835         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53836         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53837         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53838         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
53839         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
53840         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53841         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
53842         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
53843         * sysdeps/mach/hurd/errnos.awk: Likewise.
53844         * sysdeps/mach/hurd/fork.c: Likewise.
53845         * sysdeps/mach/hurd/getcwd.c: Likewise.
53846         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
53847         * sysdeps/mach/hurd/mmap.c: Likewise.
53848         * sysdeps/mach/hurd/utimes.c: Likewise.
53849         * sysdeps/mach/hurd/xmknod.c: Likewise.
53850         * sysdeps/posix/profil.c: Likewise.
53851         * sysdeps/posix/readdir_r.c: Likewise.
53852         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53853         * sysdeps/powerpc/bits/setjmp.h: Likewise.
53854         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
53855         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53856         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53857         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53858         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53859         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53860         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53861         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53862         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53863         * sysdeps/pthread/lio_listio.c: Likewise.
53864         * sysdeps/sparc/dl-procinfo.h: Likewise.
53865         * sysdeps/unix/i386/sysdep.S: Likewise.
53866         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
53867         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
53868         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
53869         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
53870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53871         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
53872         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
53873         * sysdeps/unix/sysv/linux/speed.c: Likewise.
53874         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
53875         * sysdeps/wordsize-32/divdi3.c: Likewise.
53876         * time/sys/time.h: Likewise.
53877         * wcsmbs/Makefile: Likewise.
53879 2013-01-01  David S. Miller  <davem@davemloft.net>
53881         * po/fr.po: Update from translation team.
53883         * catgets/gencat.c: Update copyright year.
53884         * csu/version.c: Likewise.
53885         * debug/catchsegv.sh: Likewise.
53886         * debug/pcprofiledump.c: Likewise.
53887         * debug/xtrace.sh: Likewise.
53888         * elf/ldconfig.c: Likewise.
53889         * elf/ldd.bash.in: Likewise.
53890         * elf/pldd.c: Likewise.
53891         * elf/sotruss.ksh: Likewise.
53892         * elf/sprof.c: Likewise.
53893         * iconv/iconv_prog.c: Likewise.
53894         * iconv/iconvconfig.c: Likewise.
53895         * locale/programs/locale.c: Likewise.
53896         * locale/programs/localedef.c: Likewise.
53897         * login/programs/pt_chown.c: Likewise.
53898         * malloc/memusage.sh: Likewise.
53899         * malloc/memusagestat.c: Likewise.
53900         * malloc/mtrace.pl: Likewise.
53901         * nscd/nscd.c: Likewise.
53902         * nss/getent.c: Likewise.
53903         * nss/makedb.c: Likewise.
53904         * posix/getconf.c: Likewise.
53906 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53908         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
53909         numbers.
53911 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
53913         * math/bits/mathcalls.h (modf): Use __nonnull.
53915 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53917         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
53918         (split): Use macro CN instead of the bare value.
53919         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
53920         could be used.
53921         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
53922         instead of the bare value.
53923         (power1): Likewise.
53925 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53927         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
53928         __ATAN_TWOM.
53929         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53931         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
53932         their values.
53933         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53934         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53935         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
53936         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53938 2012-12-28  Andreas Jaeger  <aj@suse.de>
53940         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
53941         values are from Linux 3.7.
53943         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
53944         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
53946 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53948         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
53949         TRUE case.
53951         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
53952         (norm): Likewise.
53953         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
53954         variables with preprocessor constants.
53955         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53956         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
53957         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
53959 2012-12-27  Bruno Haible  <bruno@clisp.org>
53961         [BZ #14317]
53962         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
53963         only if needed.
53965 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53967         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
53968         and use variable directly.
53969         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
53971         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
53972         MPONE.
53973         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
53974         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
53975         variable MPONE.
53976         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53977         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
53978         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
53979         include directive.  Remove local variable MPONE.
53980         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
53981         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
53982         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53984 2012-12-25  David S. Miller  <davem@davemloft.net>
53986         * version.h (RELEASE): Set to "development".
53987         (VERSION): Set to "2.17.90".
53988         * NEWS: Add 2.18 section.
53990 2012-12-21  David S. Miller  <davem@davemloft.net>
53992         * po/hr.po: Update from translation team.
53994 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53996         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
53998 2012-12-19  Steve Ellcey  <sellcey@mips.com>
54000         * NEWS:  Mention new memcpy for MIPS.
54002 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54004         * manual/contrib.texi (Contributors): Spelling correction.
54006 2012-12-15  David S. Miller  <davem@davemloft.net>
54008         * po/ru.po: Update from translation team.
54010 2012-12-13  David S. Miller  <davem@davemloft.net>
54012         * NEWS: Mention IFUNC testsuite enhancements.
54014         * po/pl.po: Update from translation team.
54015         * po/bg.po: Likewise.
54017         * manual/contrib.texi (Contributors): Update entries for Hongjiu
54018         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
54020 2012-12-11  David S. Miller  <davem@davemloft.net>
54022         * po/sv.po: Update from translation team.
54024         * po/vi.po: Update from translation team.
54026         * po/cs.po: Update from translation team.
54028         * po/de.po: Update from translation team.
54029         * po/eo.po: Likewise.
54030         * po/nl.po: Likewise.
54032 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54034         [BZ #14246]
54035         * manual/argp.texi (Argp Helper Functions): Move node to follow
54036         Argp Parsing State.
54038         [BZ #14872]
54039         * manual/conf.texi (Limits on File System Capacity): Mention if
54040         terminating null is included in the max size.
54042 2012-12-10  Andreas Jaeger  <aj@suse.de>
54044         * po/cs.po: Update from translation team.
54046 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54048         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
54049         void pointer and cast to uintptr_t.
54050         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
54051         path.
54052         * sysdeps/s390/s390-64/memcpy.S: Likewise.
54053         * sysdeps/s390/s390-64/memset.S: Likewise.
54055 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
54057         [BZ #14833]
54058         * menual/message.texi (Message Translation): Fix typos.
54059         (Helper programs for gettext): Likewise.
54061 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
54063         [BZ #14898]
54064         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
54065         Change to -1.
54067 2012-12-07  David S. Miller  <davem@davemloft.net>
54069         * po/libc.pot: Update.
54071 2012-12-07  Richard Henderson  <rth@redhat.com>
54073         [BZ #10114]
54074         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
54075         normal/normal case to before the switch.
54076         (_FP_DIV): Likewise.
54078 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
54079             Mike Frysinger  <vapier@gentoo.org>
54081         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
54082         check for __NR_fadvise64_64.
54084 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
54086         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
54087         0, not just to plain "0" as a statement.
54088         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
54089         with cw.
54091 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
54093         * NEWS: Use sourceware.org in Bugzilla URL.
54095 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
54098         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54100         * stdio-common/tst-put-error.c (do_test): Add newline to the
54101         padded test to ensure flush.
54103 2012-12-05  Jeff Law  <law@redhat.com>
54105         * sunrpc/etc.rpc (fedfs_admin): Add entry.
54107 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
54109         * README: Don't refer to ports add-on as distributed separately.
54110         Mention AArch64 in list of systems supported in the ports add-on.
54112         * LICENSES: Add more non-FSF copyright and license notices.
54114         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
54115         ((unused)).
54117         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
54119         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
54120         10000 as width of padded output.
54122 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54124         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
54126         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
54127         variable LX with __attribute__ ((unused)).
54128         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
54129         Likewise.
54130         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
54131         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54132         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
54133         with __attribute__ ((unused)).
54135 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
54137         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
54139 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54141         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
54142         (CFLAGS-nldbl-acos.c): New variable.
54143         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
54144         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
54145         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
54146         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
54147         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
54148         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
54149         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
54150         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
54151         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
54152         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
54153         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
54154         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
54155         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
54156         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
54157         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
54158         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
54159         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
54160         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
54161         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
54162         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
54163         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
54164         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
54165         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
54166         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
54167         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
54168         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
54169         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
54170         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
54171         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
54172         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
54173         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
54174         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
54175         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
54176         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
54177         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
54178         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
54179         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
54180         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
54181         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
54182         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
54183         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
54184         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
54185         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
54186         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
54187         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
54188         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
54189         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
54190         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
54191         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
54192         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
54193         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
54194         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
54195         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
54196         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
54197         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
54198         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
54199         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
54200         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
54201         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
54202         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
54203         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
54204         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
54205         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
54206         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
54207         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
54208         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
54209         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
54210         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
54211         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
54212         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
54213         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
54214         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
54215         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
54216         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
54217         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
54218         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
54219         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
54220         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
54221         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
54222         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
54223         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
54224         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
54225         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
54226         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
54227         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
54228         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
54229         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
54230         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
54231         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
54232         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
54233         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
54234         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
54235         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
54236         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
54237         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
54238         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
54239         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
54241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54242         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54244         [BZ #14914]
54245         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
54246         whole low double instead of just low 47 bits when splitting values
54247         into two parts.
54249 2012-12-03  Allan McRae  <allan@archlinux.org>
54251         * manual/stdio.texi (Predefined Printf Handlers): Remove
54252         @hsep and @vsep usage.
54254 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
54256         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
54257         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
54259 2012-12-03  Jeff Law  <law@redhat.com>
54261         * time/sys/time.h (settimeofday): Do not mark TV argument
54262         as __nonnull.
54264 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
54266         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
54267         when currently writing and seek to current position when not.
54268         * libio/Makefile (tests): Remove bug-fclose1.
54269         * libio/bug-fclose1.c: Delete.
54271 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
54273         * manual/arith.texi (feenableexcept): Fix typo.
54274         (fedisableexcept): Likewise.
54276 2012-11-30  Roland McGrath  <roland@hack.frob.com>
54278         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
54279         second, differently-typed declaration, rather than a cast.
54281 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54283         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
54284         * include/rpc/svc.h: ... here.
54286 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
54288         [BZ #13013]
54289         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
54290         depending n and resplen2 to catch cases where answer
54291         equals answerp2.
54293 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
54295         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
54296         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
54298 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
54300         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
54302 2012-11-29  Roland McGrath  <roland@hack.frob.com>
54304         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
54306 2012-11-28  Jeff Law  <law@redhat.com>
54308         [BZ #13761]
54309         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
54310         dataset_temporary.  Track alloca usage into alloca_used.
54311         If dataset is large allocate and release it via malloc/free.
54313 2012-06-04  Florian Weimer  <fweimer@redhat.com>
54315         [BZ #14197]
54316         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
54318 2012-11-28  David S. Miller  <davem@davemloft.net>
54320         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54322 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
54324         [BZ #14803]
54325         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
54326         of pi/2 rounded to nearest to 64 bits.
54327         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
54328         nearest to 64 bits.
54329         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
54330         bits.
54332 2012-11-28  Jeff Law <law@redhat.com>
54333             Martin Osvald <mosvald@redhat.com>
54335         [BZ #14889]
54336         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
54337         * sunrpc/svc.c: Include time.h.
54338         (__svc_accept_failed): New function.
54339         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
54340         any reason other than EINTR, call __svc_accept_failed.
54341         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
54342         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
54344 2012-11-28  Andreas Schwab  <schwab@suse.de>
54346         * scripts/abilist.awk: Also handle indirect functions in .opd
54347         section.
54349 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
54351         [BZ #13881]
54352         * sysdeps/x86/fpu/powl_helper.c: New file.
54353         * sysdeps/x86/fpu/Makefile: Likewise.
54354         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
54355         (p3): New object.
54356         (__ieee754_powl): Use __powl_helper for finite arguments except
54357         integer exponents below 8.
54358         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
54359         (p3): New object.
54360         (__ieee754_powl): Use __powl_helper for finite arguments except
54361         integer exponents below 8.
54362         * math/libm-test.inc (pow_test): Add more tests and enable some
54363         previously disabled tests.
54364         * sysdeps/i386/fpu/libm-test-ulps: Update.
54365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54367 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54368             Carlos O'Donell  <carlos_odonell@mentor.com>
54370         * nss/makedb.c (is_prime): Assert that input is odd and greater
54371         than 4.  Note that fact in a comment too.
54372         (next_prime): Add 4 to input.
54374 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54376         [BZ #11741]
54377         * libio/Makefile (tests): Add test case tst-fwrite-error.
54378         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
54379         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
54380         * libio/tst-fwrite-error.c: New test case.
54382 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
54384         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
54385         before casting to void *.
54386         * include/libc-internal.h (__pointer_type): New macro.
54387         (__integer_if_pointer_type_sub): Likewise.
54388         (__integer_if_pointer_type): Likewise.
54389         (cast_to_integer): Likewise.
54390         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
54391         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
54392         before casting to atomic64_t.
54393         (atomic_exchange_acq): Likewise.
54394         (__arch_exchange_and_add_body): Likewise.
54395         (__arch_add_body): Likewise.
54396         (atomic_add_negative): Likewise.
54397         (atomic_add_zero): Likewise.
54399 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
54401         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
54402         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
54403         (add_fdes): Likewise.
54404         (linear_search_fdes): Likewise.
54405         (binary_search_unencoded_fdes): Likewise.
54407 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
54409         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
54411 2012-11-24  Adam Conrad  <adconrad@0c3.net>
54413         * configure.in: Autodetect C++ header directories.
54414         * configure: Regenerated.
54416 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
54418         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
54420 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
54422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54424 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
54426         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
54427         LDBL_MANT_DIG == 106]: Disable some tests.
54428         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54429         Likewise.
54430         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54431         Likewise.
54433         [BZ #14871]
54434         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
54435         input for small inputs.  Return +/- pi/2 for large inputs.
54436         * math/libm-test.inc (atan_test): Add more tests.
54438         * sysdeps/generic/unwind-dw2-fde-glibc.c
54439         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
54440         __attribute__ ((unused)).
54442         [BZ #14645]
54443         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
54444         x * y if x and y are nonzero and z is zero.
54446         [BZ #14811]
54447         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
54448         nonzero exponents with absolute value below 0x1p-117 to +/-
54449         0x1p-117.
54451         [BZ #14869]
54452         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
54453         up arguments below 2**-450, not just those below 2**-500.
54454         * math/libm-test.inc (hypot_test): Add another test.
54456         [BZ #14868]
54457         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
54458         Return a+b for ratio over 2**120, not 2**60.
54459         * math/libm-test.inc (hypot_test): Add another test.
54461         * math/libm-test.inc (clog_test): Use
54462         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
54463         (clog10_test): Likewise.
54465         [BZ #6778]
54466         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
54468 2012-11-22  Andreas Schwab  <schwab@suse.de>
54470         * sysdeps/i386/fpu/libm-test-ulps: Update.
54472 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
54474         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
54475         printf output with newline.
54477 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
54479         [BZ #14865]
54480         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
54481         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
54482         -z nodlopen, -z initfirst and -z execstack support.
54483         * configure: Regenerated.
54485         * elf/elf.h (DF_1_NODIRECT): New macro.
54486         (DF_1_IGNMULDEF): Likewise.
54487         (DF_1_NOKSYMS): Likewise.
54488         (DF_1_NOHDR): Likewise.
54489         (DF_1_EDITED): Likewise.
54490         (DF_1_NORELOC): Likewise.
54491         (DF_1_SYMINTPOSE): Likewise.
54492         (DF_1_GLOBAUDIT): Likewise.
54493         (DF_1_SINGLETON): Likewise.
54494         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
54495         DT_1_SUPPORTED_MASK bits.
54496         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
54498 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
54500         * sysdeps/unix/make-syscalls.sh: Document prefixes.
54502 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
54504         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
54505         macro.
54507         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
54508         (sendmmsg): Move declarations...
54509         * socket/sys/socket.h: ... here.
54510         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
54511         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
54512         include it from...
54513         * socket/recvmmsg.c: ... this new file.
54514         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
54515         (sendmmsg): Rename to __sendmmsg, create weak alias and make
54516         definition of __sendmmsg hidden.
54517         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
54518         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
54519         Move ENOSYS stub into and include it from...
54520         * socket/sendmmsg.c: ... this new file.
54521         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
54522         (sysdep_routines): Move recvmmsg and sendmmsg...
54523         * socket/Makefile (routines): ... here.
54524         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
54525         (GLIBC_PRIVATE): Add __sendmmsg.
54526         * include/sys/socket.h (__sendmmsg): Add declarations.
54527         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
54528         sendmmsg.
54530 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
54532         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
54533         variable I1 with __attribute__ ((unused)).
54534         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54536 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
54538         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
54539         DUMMY variables with __attribute__ ((unused)).
54541         * bits/byteswap.h: Include <bits/types.h>.
54542         (__bswap_64): Use __uint64_t instead of unsigned long long int.
54544 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
54546         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
54547         string_t.  Do not manually set errno.
54548         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
54549         length with __strnlen.  Make sure to both set errno and return it on
54550         failure.
54552 2012-11-19  David S. Miller  <davem@davemloft.net>
54554         With help from Joseph Myers.
54555         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
54556         very large arguments properly.
54557         * math/libm-test.inc (atan_test): New tests.
54558         (atan2_test): New tests.
54559         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54560         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54562 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
54564         [BZ #14856]
54565         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
54566         Define to 3.
54568         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
54569         [POSIX] (EADDRNOTAVAIL): Likewise.
54570         [POSIX] (EAFNOSUPPORT): Likewise.
54571         [POSIX] (EALREADY): Likewise.
54572         [POSIX] (ECONNABORTED): Likewise.
54573         [POSIX] (ECONNREFUSED): Likewise.
54574         [POSIX] (ECONNRESET): Likewise.
54575         [POSIX] (EDESTADDRREQ): Likewise.
54576         [POSIX] (EDQUOT): Likewise.
54577         [POSIX] (EHOSTUNREACH): Likewise.
54578         [POSIX] (EIDRM): Likewise.
54579         [POSIX] (EISCONN): Likewise.
54580         [POSIX] (ELOOP): Likewise.
54581         [POSIX] (EMULTIHOP): Likewise.
54582         [POSIX] (ENETDOWN): Likewise.
54583         [POSIX] (ENETUNREACH): Likewise.
54584         [POSIX] (ENOBUFS): Likewise.
54585         [POSIX] (ENODATA): Likewise.
54586         [POSIX] (ENOLINK): Likewise.
54587         [POSIX] (ENOMSG): Likewise.
54588         [POSIX] (ENOPROTOOPT): Likewise.
54589         [POSIX] (ENOSR): Likewise.
54590         [POSIX] (ENOSTR): Likewise.
54591         [POSIX] (ENOTCONN): Likewise.
54592         [POSIX] (ENOTSOCK): Likewise.
54593         [POSIX] (EOPNOTSUPP): Likewise.
54594         [POSIX] (EOVERFLOW): Likewise.
54595         [POSIX] (EPROTO): Likewise.
54596         [POSIX] (EPROTONOSUPPORT): Likewise.
54597         [POSIX] (EPROTOTYPE): Likewise.
54598         [POSIX] (ESTALE): Likewise.
54599         [POSIX] (ETIME): Likewise.
54600         [POSIX] (ETXTBSY): Likewise.
54601         [POSIX] (EWOULDBLOCK): Likewise.
54602         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
54603         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
54604         [POSIX] (SEEK_CUR): Likewise.
54605         [POSIX] (SEEK_END): Likewise.
54606         [POSIX || UNIX98] (mode_t): Do not require.
54607         [POSIX] (off_t): Likewise.
54608         [POSIX] (pid_t): Likewise.
54609         [POSIX] (sys/stat.h): Do not allow header.
54610         [POSIX] (unistd.h): Likewise.
54611         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
54612         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
54613         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
54614         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
54615         require.
54616         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
54617         sigevent): Specify elements.
54618         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
54619         entry.
54620         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
54621         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
54623         * conform/data/cpio.h-data [POSIX]: Disable whole file.
54624         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
54625         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
54626         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
54627         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
54628         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
54629         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
54630         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
54631         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
54632         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
54633         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
54634         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
54635         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
54636         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
54637         Likewise.
54638         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
54639         Likewise.
54640         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
54641         Likewise.
54642         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
54643         Likewise.
54644         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
54645         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
54646         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
54647         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
54648         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
54649         Specify lower bound on value.
54650         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
54651         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
54652         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
54653         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
54654         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
54655         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
54656         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
54657         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
54658         value.
54659         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
54660         as optional.
54661         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
54662         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
54663         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
54664         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
54665         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
54666         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
54667         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
54668         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
54669         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
54670         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
54671         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
54672         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
54673         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
54674         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
54675         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
54676         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
54677         entry.
54678         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
54679         optional.
54680         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
54681         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
54682         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
54683         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
54684         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
54685         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
54686         Likewise.
54687         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
54688         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
54689         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
54690         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
54691         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
54692         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
54693         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
54694         as optional.
54695         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
54696         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
54697         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
54698         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
54699         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
54700         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
54701         specify as optional.
54702         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
54703         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
54704         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
54705         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
54706         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
54707         [XPG3] (NL_LANGMAX): Likewise.
54708         [POSIX || XPG3] (NL_MSGMAX): Likewise.
54709         [POSIX || XPG3] (NL_NMAX): Likewise.
54710         [POSIX || XPG3] (NL_SETMAX): Likewise.
54711         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
54712         [XPG3] (NZERO): Likewise.
54713         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
54714         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
54715         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
54716         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
54717         (REG_ERANGE): Expect.
54718         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
54719         optional-constant.
54720         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
54721         Use (void) in prototype.
54722         [POSIX] (*_t): Allow.
54723         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
54724         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
54725         (WRDE_BADVAL): Expect.
54727         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
54728         expect.
54729         [XPG3 || XPG4] (O_RSYNC): Likewise.
54730         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
54731         Likewise.
54732         [XPG3 || XPG4] (pthread_sigmask): Likewise.
54733         [XPG3 || XPG4] (sigqueue): Likewise.
54734         [XPG3 || XPG4] (sigtimedwait): Likewise.
54735         [XPG3 || XPG4] (sigwaitinfo): Likewise.
54736         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
54737         [XPG3 || XPG4] (vsnprintf): Likewise.
54738         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
54739         Likewise.
54740         [XPG3 || XPG4] (blksize_t): Likewise.
54741         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
54742         Likewise.
54743         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
54744         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
54745         [XPG3 || XPG4] (struct itimerspec): Likewise.
54746         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
54747         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
54748         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
54749         [XPG3 || XPG4] (clockid_t): Likewise.
54750         [XPG3 || XPG4] (timer_t): Likewise.
54751         [XPG3 || XPG4] (clock_getres): Likewise.
54752         [XPG3 || XPG4] (clock_gettime): Likewise.
54753         [XPG3 || XPG4] (clock_settime): Likewise.
54754         [XPG3 || XPG4] (nanosleep): Likewise.
54755         [XPG3 || XPG4] (timer_create): Likewise.
54756         [XPG3 || XPG4] (timer_delete): Likewise.
54757         [XPG3 || XPG4] (timer_gettime): Likewise.
54758         [XPG3 || XPG4] (timer_getoverrun): Likewise.
54759         [XPG3 || XPG4] (timer_settime): Likewise.
54760         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
54761         [XPG3 || XPG4] (getlogin_r): Likewise.
54762         [XPG3 || XPG4] (pread): Likewise.
54763         [XPG3 || XPG4] (pthread_atfork): Likewise.
54764         [XPG3 || XPG4] (pwrite): Likewise.
54766         [BZ #14835]
54767         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
54768         <bits/siginfo.h>.
54770 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
54772         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
54773         finalizing MALLSTREAM.
54775         * sysdeps/mach/hurd/syncfs.c: New file.
54777 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54779         [BZ #14719]
54780         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
54781         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
54782         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
54783         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
54784         (_nss_dns_gethostbyname4_r): Likewise.
54785         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
54786         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
54788 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
54790         [BZ #13763]
54791         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
54793 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
54795         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
54796         * elf/cache.c (print_entry): Print ",AArch64" for
54797         FLAG_AARCH64_LIB64
54799         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
54800         * elf/cache.c (print_entry): Print ",hard-float" for
54801         FLAG_ARM_LIBHF.
54803 2012-11-18  David S. Miller  <davem@davemloft.net>
54805         With help from Joseph Myers.
54806         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
54807         cutoff to 2**-13.
54808         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
54809         cutoff to 2**-25.
54810         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
54811         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
54812         small.
54813         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
54814         * math/libm-test.inc (y0_test): New tests.
54815         (y1_test): New tests.
54816         * sysdeps/i386/fpu/libm-test-ulps: Update.
54817         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54818         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54820 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
54822         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
54823         64-bit targets.
54824         * configure: Regenerated.
54826 2012-11-17  David S. Miller  <davem@davemloft.net>
54828         [BZ #14811]
54829         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
54830         nonzero exponents with absolute value below 0x1p-128 to +/-
54831         0x1p-128.
54833 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
54835         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
54837         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
54839         * posix/getconf-speclist.c: New file.
54840         * posix/posix-envs.def: Likewise.
54841         * posix/confstr.c (START_ENV_GROUP): New macro.
54842         (END_ENV_GROUP): Likewise.
54843         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54844         (KNOWN_PRESENT_ENV_STRING): Likewise.
54845         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54846         (UNKNOWN_ENVIRONMENT): Likewise.
54847         (confstr): Include posix-envs.def instead of handling
54848         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
54849         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
54850         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
54851         (END_ENV_GROUP): Likewise.
54852         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54853         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54854         (UNKNOWN_ENVIRONMENT): Likewise.
54855         (__sysconf): Include posix-envs.def instead of handling associated
54856         cases directly here.
54857         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
54858         preprocessing getconf-speclist.c rather than running getconf or
54859         generating empty file.
54861 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
54863         * scripts/check-local-headers.sh: Ignore 'mach' headers.
54865 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
54867         [BZ #14672]
54868         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
54870 2012-11-16  David S. Miller  <davem@davemloft.net>
54872         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
54873         smaller than LDBL_EPSILON/2.0L, just return xm1.
54875 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
54877         * elf/tst-array1.c (init): Set constructor priority to 1000.
54878         (fini): Set destructor priority to 1000.
54879         * elf/tst-array2dep.c: Likewise.
54881 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54883         [BZ #11741]
54884         * libio/fileops.c (_IO_new_file_write): Correctly return error.
54885         (_IO_new_file_xsputn): Also return EOF if none of the input
54886         data was written when overflow failed.
54887         * libio/iopadn.c (_IO_padn): Likewise.
54888         * libio/iowpadn.c (_IO_wpadn): Likewise.
54889         * stdio-common/tst-put-error.c: Add copyright notice.
54890         (do_test): Add case for printing padded string.
54891         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
54892         _IO_padn returned error.
54893         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
54894         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
54895         return EOF.
54897 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54899         * libio/libioP.h: Add comment note that the references to C++
54900         bits are now obsolete.
54902 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54904         * math/libm-test.inc (check_complex): Use asprintf.
54906 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
54908         * debug/pcprofiledump.c (print_version): Update copyright year.
54909         * malloc/memusagestat.c (print_version): Likewise.
54911 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
54913         [BZ #14831]
54914         * elf/Makefile (tests): Add tst-audit8.
54915         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
54916         ($(objpfx)tst-audit8.out): New target.
54917         (tst-audit8-ENV): New variable.
54918         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
54919         audit if l_reloc_result is NULL.
54920         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
54921         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
54922         * elf/tst-audit8.c: New file.
54924 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54926         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
54927         * misc/Makefile (CFLAGS-select.c): Define.
54928         * posix/Makefile (CFLAGS-pause.c): Define.
54930 2012-11-13  David S. Miller  <davem@davemloft.net>
54932         * crypt/Makefile: Move test targets after toplevel Rules
54933         inclusion.  Grab any necessary sysdep routines when linking.
54934         * crypt/md5.c (md5_process_block): Remove define, we will always
54935         name it __md5_process_block.
54936         (md5_finish_ctx): Update md5_process_block call.
54937         (md5_stream): Likewise.
54938         (md5_process_bytes): Likewise.
54939         (md5_process_block): Rename to __md5_process_block and move to ...
54940         * crypt/md5-block.c: ... here.
54941         * crypt/sha256.c (sha256_process_block): Move to ...
54942         * crypt/sha256-block.c: ... here.
54943         * crypt/sha512.c (sha512_process_block): Move to ...
54944         * crypt/sha512-block.c: ... here.
54945         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
54946         path.
54947         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
54948         * sysdeps/sparc/sparc64/multiarch/Makefile
54949         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
54950         crypt subdir.
54951         (localedef-aux): Add md5 crypto assembler when in locale subdir.
54952         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
54953         multiarch changes.
54954         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
54955         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
54956         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
54957         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
54958         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
54959         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
54960         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
54961         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
54962         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
54963         file.
54964         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
54965         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
54966         file.
54967         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
54969 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
54971         * timezone/tzselect.ksh: Update from tzcode git revision
54972         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
54973         * timezone/zdump.c: Likewise.
54974         * timezone/zic.c: Likewise.
54975         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
54976         in TZVERSION setting, not $(PKGVERSION).
54977         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
54978         REPORT_BUGS_TO settings.
54980         [BZ #14838]
54981         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
54982         macro.
54984 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54986         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
54987         detection to immediately after _FP_ROUND().
54988         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
54989         bits are 0.
54991 2012-11-11  David S. Miller  <davem@davemloft.net>
54993         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
54994         inttypes.h
54995         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
54996         __close rather than their public counterparts.
54998 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
55000         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
55001         file.
55002         [UNIX98] (sem_timedwait): Do not expect.
55003         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
55004         [XPG4 || UNIX98] (sockatmark): Do not expect.
55005         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
55006         (clock_getcpuclockid): Do not expect.
55007         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
55008         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
55009         Do not expect.
55010         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
55011         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
55012         [UNIX98] (vwscanf): Likewise.
55013         [UNIX98] (vswscanf): Likewise.
55015 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
55017         * timezone/version.h: Remove file.
55018         * timezone/README: Do not refer to version.h.
55019         * timezone/Makefile ($(objpfx)zic.o): New dependency on
55020         $(objpfx)version.h.
55021         ($(objpfx)zdump.o): Likewise.
55022         ($(objpfx)version.h): New target.
55024         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
55025         2012i.
55026         * timezone/README: Don't mention modification to tzselect.ksh.
55027         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
55028         work on unmodified tzselect.ksh.  Substitute version numbers in
55029         tzselect.ksh.
55031         * Makefile (format-me): Remove.
55032         (INSTALL): Adjust indentation.  Use commands directly instead of
55033         using $(format-me).
55035         * aclocal.m4 (ACX_PKGVERSION): New macro.
55036         (ACX_BUGURL): Likewise.
55037         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
55038         (PKGVERSION): New AC_DEFINE_UNQUOTED.
55039         (REPORT_BUGS_TO): Likewise.
55040         * configure: Regenerated.
55041         * config.h.in (PKGVERSION): New macro.
55042         (REPORT_BUGS_TO): Likewise.
55043         * config.make.in (PKGVERSION): New variable.
55044         (PKGVERSION_TEXI): Likewise.
55045         (REPORT_BUGS_TO): Likewise.
55046         (REPORT_BUGS_TEXI): Likewise.
55047         * Makefile (format-me): Use -I$(common-objpfx)manual.
55048         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
55049         ($(common-objpfx)manual/%): New target.
55050         (manual/%): Remove target.
55051         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
55052         (print_version): Use PKGVERSION.
55053         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
55054         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
55055         and REPORT_BUGS_TO.
55056         ($(objpfx)xtrace): Likewise.
55057         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
55058         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
55059         (print_version): Use PKGVERSION.
55060         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
55061         (do_version): Use PKGVERSION.
55062         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
55063         REPORT_BUGS_TO.
55064         (common-ldd-rewrite): Likewise.
55065         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
55066         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
55067         (print_version): Use PKGVERSION.
55068         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
55069         * elf/pldd.c (argp_program_bug_address): Remove variable.
55070         (more_help): New function.
55071         (argp): Use more_help.
55072         (print_version): Use PKGVERSION.
55073         * elf/sln.c (main): Use PKGVERSION.
55074         (usage): Use REPORT_BUGS_TO.
55075         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
55076         (top level): Use PKGVERSION.
55077         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
55078         (print_version): Use PKGVERSION.
55079         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
55080         (print_version): Use PKGVERSION.
55081         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
55082         (print_version): Use PKGVERSION.
55083         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
55084         (print_version): Use PKGVERSION.
55085         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
55086         (print_version): Use PKGVERSION.
55087         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
55088         (print_version): Use PKGVERSION.
55089         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
55090         and BUGURL.
55091         ($(objpfx)memusage): Likewise.
55092         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
55093         (do_version): Use PKGVERSION.
55094         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
55095         (print_version): Use PKGVERSION.
55096         * malloc/mtrace.pl ($PACKAGE): Remove variable.
55097         ($PKGVERSION): New variable.
55098         ($REPORT_BUGS_TO): Likewise.
55099         (usage): Use $REPORT_BUGS_TO.
55100         (top level): Use $PKGVERSION.
55101         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
55102         ($(objpfx)pkgvers.texi): New rule.
55103         ($(objpfx)stamp-pkgvers): Likewise.
55104         * manual/install.texi: Include pkgvers.texi.
55105         (--with-pkgversion): Document new configure option.
55106         (--with-bugurl): Likewise.
55107         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
55108         than necessarily for this particular distribution.  Use
55109         REPORT_BUGS_TO for where to report bugs.
55110         * INSTALL: Regenerated.
55111         * manual/libc.texinfo: Include pkgvers.texi.
55112         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
55113         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
55114         (print_version): Use PKGVERSION.
55115         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
55116         (print_version): Use PKGVERSION.
55117         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
55118         (print_version): Use PKGVERSION.
55119         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
55120         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
55121         macro.
55122         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
55123         (print_version): Use PKGVERSION.
55124         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
55125         (print_version): Use PKGVERSION.
55126         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
55127         and PKGVERSION.
55129         * timezone/checktab.awk: Update from tzcode 2012i.
55130         * timezone/ialloc.c: Likewise.
55131         * timezone/private.h: Likewise.
55132         * timezone/scheck.c: Likewise.
55133         * timezone/tzfile.h: Likewise.
55134         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
55135         (TZVERSION): Hardcode tzcode version number.
55136         * timezone/zdump.c: Update from tzcode 2012i.
55137         * timezone/zic.c: Likewise.
55138         * timezone/version.h: New file.
55139         * timezone/README: Describe version.h.  Update upstream location.
55141         [BZ #14824]
55142         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
55143         (mktemp): Enable declaration.
55144         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
55145         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
55146         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
55147         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
55148         Likewise.
55149         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
55150         Likewise.
55151         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
55152         Likewise.
55153         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
55154         Likewise.
55155         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
55156         Likewise.
55157         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
55158         Likewise.
55160         [BZ #14821]
55161         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
55162         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
55163         for copies of such integer values.
55164         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55165         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55167 2012-11-09  Andreas Jaeger  <aj@suse.de>
55169         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
55170         definitions and declarations that are provided by
55171         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55173 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55175         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
55176         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
55177         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
55178         definition.
55180 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55182         * elf/elf.h: Update comment before AArch64 relocations.
55184 2012-11-07  David S. Miller  <davem@davemloft.net>
55186         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
55187         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55188         (__start_context): Declare.
55189         (__makecontext_ret): Delete.
55190         (__makecontext): Hook up __start_context instead of
55191         __makecontext_ret.
55192         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
55193         (sysdep_routines): Add __start_context when in stdlib.
55195 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55197         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
55198         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
55199         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
55200         hardcoded "nm".
55201         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
55202         (READELF): New variable.  Use it instead of hardcoded "readelf".
55204 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
55206         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
55207         * sysdeps/x86/Makefile: Here.
55208         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
55209         * sysdeps/x86/tst-xmmymm.sh: This.
55211 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55213         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
55214         expectations.
55215         [UNIX98] (pthread_barrier_t): Do not expect.
55216         [UNIX98] (pthread_barrierattr_t): Likewise.
55217         [UNIX98] (pthread_spinlock_t): Likewise.
55218         [UNIX98] (pthread_barrier_destroy): Likewise.
55219         [UNIX98] (pthread_barrier_init): Likewise.
55220         [UNIX98] (pthread_barrier_wait): Likewise.
55221         [UNIX98] (pthread_barrierattr_destroy): Likewise.
55222         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
55223         [UNIX98] (pthread_barrierattr_init): Likewise.
55224         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
55225         [UNIX98] (pthread_getcpuclockid): Likewise.
55226         [UNIX98] (pthread_mutex_timedlock): Likewise.
55227         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
55228         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
55229         [UNIX98] (pthread_sigmask): Likewise.
55230         [UNIX98] (pthread_spin_destroy): Likewise.
55231         [UNIX98] (pthread_spin_init): Likewise.
55232         [UNIX98] (pthread_spin_lock): Likewise.
55233         [UNIX98] (pthread_spin_trylock): Likewise.
55234         [UNIX98] (pthread_spin_unlock): Likewise.
55235         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
55236         Do not expect.
55237         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
55238         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
55239         [XPG3 || XPG4] (pthread_cond_t): Likewise.
55240         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
55241         [XPG3 || XPG4] (pthread_key_t): Likewise.
55242         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
55243         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
55244         [XPG3 || XPG4] (pthread_once_t): Likewise.
55245         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
55246         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
55247         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
55248         [XPG3 || XPG4] (pthread_t): Likewise.
55250         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
55251         not expect.
55252         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
55254         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
55255         Change function return type to int.
55257         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
55258         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
55259         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
55260         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
55261         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
55262         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
55263         [!POSIX] (posix_madvise): Likewise.
55264         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
55265         && !UNIX98].
55266         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
55267         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
55268         (mode_t): Likewise.
55269         (posix_mem_offset): Likewise.
55270         (posix_typed_mem_get_info): Likewise.
55271         (posix_typed_mem_open): Likewise.
55273         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
55274         Change condition to [XOPEN2K8].
55276         * conform/conformtest.pl: Preprocess allow-header data with -x c
55277         instead of from stdin.
55278         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
55279         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
55280         [C99-based standards] (cerfc): Likewise.
55281         [C99-based standards] (cexp2): Likewise.
55282         [C99-based standards] (cexpm1): Likewise.
55283         [C99-based standards] (clog10): Likewise.
55284         [C99-based standards] (clog1p): Likewise.
55285         [C99-based standards] (clog2): Likewise.
55286         [C99-based standards] (clgamma): Likewise.
55287         [C99-based standards] (ctgamma): Likewise.
55288         [C99-based standards] (cerff): Likewise.
55289         [C99-based standards] (cerfcf): Likewise.
55290         [C99-based standards] (cexp2f): Likewise.
55291         [C99-based standards] (cexpm1f): Likewise.
55292         [C99-based standards] (clog10f): Likewise.
55293         [C99-based standards] (clog1pf): Likewise.
55294         [C99-based standards] (clog2f): Likewise.
55295         [C99-based standards] (clgammaf): Likewise.
55296         [C99-based standards] (ctgammaf): Likewise.
55297         [C99-based standards] (cerfl): Likewise.
55298         [C99-based standards] (cerfcl): Likewise.
55299         [C99-based standards] (cexp2l): Likewise.
55300         [C99-based standards] (cexpm1l): Likewise.
55301         [C99-based standards] (clog10l): Likewise.
55302         [C99-based standards] (clog1pl): Likewise.
55303         [C99-based standards] (clog2l): Likewise.
55304         [C99-based standards] (clgammal): Likewise.
55305         [C99-based standards] (ctgammal): Likewise.
55306         * conform/data/inttypes.h-data [C99-based standards]: Include
55307         stdint.h-data.  Remove all expectations for stdint.h contents.
55308         [C99-based standards] (PRI*): Do not allow.
55309         [C99-based standards] (SCN*): Likewise.
55310         [C99-based standards] (*_t): Likewise.
55311         [C99-based-standards] (PRId8): Expect macro.
55312         [C99-based-standards] (PRIi8): Likewise.
55313         [C99-based-standards] (PRIo8): Likewise.
55314         [C99-based-standards] (PRIu8): Likewise.
55315         [C99-based-standards] (PRIx8): Likewise.
55316         [C99-based-standards] (PRIX8): Likewise.
55317         [C99-based-standards] (SCNd8): Likewise.
55318         [C99-based-standards] (SCNi8): Likewise.
55319         [C99-based-standards] (SCNo8): Likewise.
55320         [C99-based-standards] (SCNu8): Likewise.
55321         [C99-based-standards] (SCNx8): Likewise.
55322         [C99-based-standards] (PRIdLEAST8): Likewise.
55323         [C99-based-standards] (PRIiLEAST8): Likewise.
55324         [C99-based-standards] (PRIoLEAST8): Likewise.
55325         [C99-based-standards] (PRIuLEAST8): Likewise.
55326         [C99-based-standards] (PRIxLEAST8): Likewise.
55327         [C99-based-standards] (PRIXLEAST8): Likewise.
55328         [C99-based-standards] (SCNdLEAST8): Likewise.
55329         [C99-based-standards] (SCNiLEAST8): Likewise.
55330         [C99-based-standards] (SCNoLEAST8): Likewise.
55331         [C99-based-standards] (SCNuLEAST8): Likewise.
55332         [C99-based-standards] (SCNxLEAST8): Likewise.
55333         [C99-based-standards] (PRIdFAST8): Likewise.
55334         [C99-based-standards] (PRIiFAST8): Likewise.
55335         [C99-based-standards] (PRIoFAST8): Likewise.
55336         [C99-based-standards] (PRIuFAST8): Likewise.
55337         [C99-based-standards] (PRIxFAST8): Likewise.
55338         [C99-based-standards] (PRIXFAST8): Likewise.
55339         [C99-based-standards] (SCNdFAST8): Likewise.
55340         [C99-based-standards] (SCNiFAST8): Likewise.
55341         [C99-based-standards] (SCNoFAST8): Likewise.
55342         [C99-based-standards] (SCNuFAST8): Likewise.
55343         [C99-based-standards] (SCNxFAST8): Likewise.
55344         [C99-based-standards] (PRId16): Likewise.
55345         [C99-based-standards] (PRIi16): Likewise.
55346         [C99-based-standards] (PRIo16): Likewise.
55347         [C99-based-standards] (PRIu16): Likewise.
55348         [C99-based-standards] (PRIx16): Likewise.
55349         [C99-based-standards] (PRIX16): Likewise.
55350         [C99-based-standards] (SCNd16): Likewise.
55351         [C99-based-standards] (SCNi16): Likewise.
55352         [C99-based-standards] (SCNo16): Likewise.
55353         [C99-based-standards] (SCNu16): Likewise.
55354         [C99-based-standards] (SCNx16): Likewise.
55355         [C99-based-standards] (PRIdLEAST16): Likewise.
55356         [C99-based-standards] (PRIiLEAST16): Likewise.
55357         [C99-based-standards] (PRIoLEAST16): Likewise.
55358         [C99-based-standards] (PRIuLEAST16): Likewise.
55359         [C99-based-standards] (PRIxLEAST16): Likewise.
55360         [C99-based-standards] (PRIXLEAST16): Likewise.
55361         [C99-based-standards] (SCNdLEAST16): Likewise.
55362         [C99-based-standards] (SCNiLEAST16): Likewise.
55363         [C99-based-standards] (SCNoLEAST16): Likewise.
55364         [C99-based-standards] (SCNuLEAST16): Likewise.
55365         [C99-based-standards] (SCNxLEAST16): Likewise.
55366         [C99-based-standards] (PRIdFAST16): Likewise.
55367         [C99-based-standards] (PRIiFAST16): Likewise.
55368         [C99-based-standards] (PRIoFAST16): Likewise.
55369         [C99-based-standards] (PRIuFAST16): Likewise.
55370         [C99-based-standards] (PRIxFAST16): Likewise.
55371         [C99-based-standards] (PRIXFAST16): Likewise.
55372         [C99-based-standards] (SCNdFAST16): Likewise.
55373         [C99-based-standards] (SCNiFAST16): Likewise.
55374         [C99-based-standards] (SCNoFAST16): Likewise.
55375         [C99-based-standards] (SCNuFAST16): Likewise.
55376         [C99-based-standards] (SCNxFAST16): Likewise.
55377         [C99-based-standards] (PRId32): Likewise.
55378         [C99-based-standards] (PRIi32): Likewise.
55379         [C99-based-standards] (PRIo32): Likewise.
55380         [C99-based-standards] (PRIu32): Likewise.
55381         [C99-based-standards] (PRIx32): Likewise.
55382         [C99-based-standards] (PRIX32): Likewise.
55383         [C99-based-standards] (SCNd32): Likewise.
55384         [C99-based-standards] (SCNi32): Likewise.
55385         [C99-based-standards] (SCNo32): Likewise.
55386         [C99-based-standards] (SCNu32): Likewise.
55387         [C99-based-standards] (SCNx32): Likewise.
55388         [C99-based-standards] (PRIdLEAST32): Likewise.
55389         [C99-based-standards] (PRIiLEAST32): Likewise.
55390         [C99-based-standards] (PRIoLEAST32): Likewise.
55391         [C99-based-standards] (PRIuLEAST32): Likewise.
55392         [C99-based-standards] (PRIxLEAST32): Likewise.
55393         [C99-based-standards] (PRIXLEAST32): Likewise.
55394         [C99-based-standards] (SCNdLEAST32): Likewise.
55395         [C99-based-standards] (SCNiLEAST32): Likewise.
55396         [C99-based-standards] (SCNoLEAST32): Likewise.
55397         [C99-based-standards] (SCNuLEAST32): Likewise.
55398         [C99-based-standards] (SCNxLEAST32): Likewise.
55399         [C99-based-standards] (PRIdFAST32): Likewise.
55400         [C99-based-standards] (PRIiFAST32): Likewise.
55401         [C99-based-standards] (PRIoFAST32): Likewise.
55402         [C99-based-standards] (PRIuFAST32): Likewise.
55403         [C99-based-standards] (PRIxFAST32): Likewise.
55404         [C99-based-standards] (PRIXFAST32): Likewise.
55405         [C99-based-standards] (SCNdFAST32): Likewise.
55406         [C99-based-standards] (SCNiFAST32): Likewise.
55407         [C99-based-standards] (SCNoFAST32): Likewise.
55408         [C99-based-standards] (SCNuFAST32): Likewise.
55409         [C99-based-standards] (SCNxFAST32): Likewise.
55410         [C99-based-standards] (PRId64): Likewise.
55411         [C99-based-standards] (PRIi64): Likewise.
55412         [C99-based-standards] (PRIo64): Likewise.
55413         [C99-based-standards] (PRIu64): Likewise.
55414         [C99-based-standards] (PRIx64): Likewise.
55415         [C99-based-standards] (PRIX64): Likewise.
55416         [C99-based-standards] (SCNd64): Likewise.
55417         [C99-based-standards] (SCNi64): Likewise.
55418         [C99-based-standards] (SCNo64): Likewise.
55419         [C99-based-standards] (SCNu64): Likewise.
55420         [C99-based-standards] (SCNx64): Likewise.
55421         [C99-based-standards] (PRIdLEAST64): Likewise.
55422         [C99-based-standards] (PRIiLEAST64): Likewise.
55423         [C99-based-standards] (PRIoLEAST64): Likewise.
55424         [C99-based-standards] (PRIuLEAST64): Likewise.
55425         [C99-based-standards] (PRIxLEAST64): Likewise.
55426         [C99-based-standards] (PRIXLEAST64): Likewise.
55427         [C99-based-standards] (SCNdLEAST64): Likewise.
55428         [C99-based-standards] (SCNiLEAST64): Likewise.
55429         [C99-based-standards] (SCNoLEAST64): Likewise.
55430         [C99-based-standards] (SCNuLEAST64): Likewise.
55431         [C99-based-standards] (SCNxLEAST64): Likewise.
55432         [C99-based-standards] (PRIdFAST64): Likewise.
55433         [C99-based-standards] (PRIiFAST64): Likewise.
55434         [C99-based-standards] (PRIoFAST64): Likewise.
55435         [C99-based-standards] (PRIuFAST64): Likewise.
55436         [C99-based-standards] (PRIxFAST64): Likewise.
55437         [C99-based-standards] (PRIXFAST64): Likewise.
55438         [C99-based-standards] (SCNdFAST64): Likewise.
55439         [C99-based-standards] (SCNiFAST64): Likewise.
55440         [C99-based-standards] (SCNoFAST64): Likewise.
55441         [C99-based-standards] (SCNuFAST64): Likewise.
55442         [C99-based-standards] (SCNxFAST64): Likewise.
55443         [C99-based-standards] (PRIdMAX): Likewise.
55444         [C99-based-standards] (PRIiMAX): Likewise.
55445         [C99-based-standards] (PRIoMAX): Likewise.
55446         [C99-based-standards] (PRIuMAX): Likewise.
55447         [C99-based-standards] (PRIxMAX): Likewise.
55448         [C99-based-standards] (PRIXMAX): Likewise.
55449         [C99-based-standards] (SCNdMAX): Likewise.
55450         [C99-based-standards] (SCNiMAX): Likewise.
55451         [C99-based-standards] (SCNoMAX): Likewise.
55452         [C99-based-standards] (SCNuMAX): Likewise.
55453         [C99-based-standards] (SCNxMAX): Likewise.
55454         [C99-based-standards] (PRIdPTR): Likewise.
55455         [C99-based-standards] (PRIiPTR): Likewise.
55456         [C99-based-standards] (PRIoPTR): Likewise.
55457         [C99-based-standards] (PRIuPTR): Likewise.
55458         [C99-based-standards] (PRIxPTR): Likewise.
55459         [C99-based-standards] (PRIXPTR): Likewise.
55460         [C99-based-standards] (SCNdPTR): Likewise.
55461         [C99-based-standards] (SCNiPTR): Likewise.
55462         [C99-based-standards] (SCNoPTR): Likewise.
55463         [C99-based-standards] (SCNuPTR): Likewise.
55464         [C99-based-standards] (SCNxPTR): Likewise.
55465         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
55466         allow.
55467         * conform/data/stdint.h-data: Update comments to clarify
55468         requirements.
55469         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
55470         type.
55471         [C99-based standards] (INT8_MAX): Likewise.
55472         [C99-based standards] (INT16_MIN): Likewise.
55473         [C99-based standards] (INT16_MAX): Likewise.
55474         [C99-based standards] (INT32_MIN): Likewise.
55475         [C99-based standards] (INT32_MAX): Likewise.
55476         [C99-based standards] (INT64_MIN): Likewise.
55477         [C99-based standards] (INT64_MAX): Likewise.
55478         [C99-based standards] (UINT8_MAX): Likewise.
55479         [C99-based standards] (UINT16_MAX): Likewise.
55480         [C99-based standards] (UINT32_MAX): Likewise.
55481         [C99-based standards] (UINT64_MAX): Likewise.
55482         [C99-based standards] (INT_LEAST8_MIN): Likewise.
55483         [C99-based standards] (INT_LEAST8_MAX): Likewise.
55484         [C99-based standards] (INT_LEAST16_MIN): Likewise.
55485         [C99-based standards] (INT_LEAST16_MAX): Likewise.
55486         [C99-based standards] (INT_LEAST32_MIN): Likewise.
55487         [C99-based standards] (INT_LEAST32_MAX): Likewise.
55488         [C99-based standards] (INT_LEAST64_MIN): Likewise.
55489         [C99-based standards] (INT_LEAST64_MAX): Likewise.
55490         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
55491         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
55492         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
55493         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
55494         [C99-based standards] (INT_FAST8_MIN): Likewise.
55495         [C99-based standards] (INT_FAST8_MAX): Likewise.
55496         [C99-based standards] (INT_FAST16_MIN): Likewise.
55497         [C99-based standards] (INT_FAST16_MAX): Likewise.
55498         [C99-based standards] (INT_FAST32_MIN): Likewise.
55499         [C99-based standards] (INT_FAST32_MAX): Likewise.
55500         [C99-based standards] (INT_FAST64_MIN): Likewise.
55501         [C99-based standards] (INT_FAST64_MAX): Likewise.
55502         [C99-based standards] (UINT_FAST8_MAX): Likewise.
55503         [C99-based standards] (UINT_FAST16_MAX): Likewise.
55504         [C99-based standards] (UINT_FAST32_MAX): Likewise.
55505         [C99-based standards] (UINT_FAST64_MAX): Likewise.
55506         [C99-based standards] (INTPTR_MIN): Likewise.
55507         [C99-based standards] (INTPTR_MAX): Likewise.
55508         [C99-based standards] (UINTPTR_MAX): Likewise.
55509         [C99-based standards] (INTMAX_MIN): Likewise.
55510         [C99-based standards] (INTMAX_MAX): Likewise.
55511         [C99-based standards] (UINTMAX_MAX): Likewise.
55512         [C99-based standards] (PTRDIFF_MIN): Likewise.
55513         [C99-based standards] (PTRDIFF_MAX): Likewise.
55514         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
55515         [C99-based standards] (SIZE_MAX): Likewise.
55516         [C99-based standards] (WCHAR_MAX): Likewise.
55517         [C99-based standards] (WINT_MAX): Likewise.
55518         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
55519         constraint on value.
55520         [C99-based standards] (WCHAR_MIN): Likewise.
55521         [C99-based standards] (WINT_MIN): Likewise.
55522         [C99-based standards] (*_t): Allow.
55523         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
55524         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
55525         Include math.h-data and complex.h-data.  Remove all expectations
55526         of math.h and complex.h contents.
55527         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
55528         at end of line.
55529         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
55530         (struct tm): Expect tag.
55531         [C99-based-standards] (wcstof): Expect function.
55532         [C99-based-standards] (wcstold): Likewise.
55533         [C99-based-standards] (wcstoll): Likewise.
55534         [C99-based-standards] (wcstoull): Likewise.
55535         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
55536         macro-int-constant.  Specify type.
55537         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
55538         constraint on value.
55539         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55540         Specify type.
55541         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
55542         Specify value.
55543         [ISO C standards]: Do not allow headers.
55544         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
55545         wcs[abcdefghijklmnopqrstuvwxyz]*.
55546         [ISO C standards] (*_t): Do not allow.
55547         * conform/data/wctype.h-data [C99-based standards] (iswblank):
55548         Expect function.
55549         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
55550         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55551         Specify type.
55552         [ISO C standards]: Do not allow headers.
55553         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
55554         is[abcdefghijklmnopqrstuvwxyz]*.
55555         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
55556         to[abcdefghijklmnopqrstuvwxyz]*.
55557         [ISO C standards] (*_t): Do not allow.
55558         * conform/data/stdalign.h-data: New file.
55559         * conform/data/stdbool.h-data: Likewise.
55560         * conform/data/stdnoreturn.h-data: Likewise.
55562 2012-11-07  Roland McGrath  <roland@hack.frob.com>
55564         [BZ #14815]
55565         * manual/filesys.texi (Directory Entries): Typo fix.
55566         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
55568 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55570         * elf/elf.h (EM_AARCH64): New macro.
55571         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
55572         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
55573         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
55574         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
55575         (R_AARCH64_TLSDESC): Likewise.
55576         (NT_ARM_TLS): Likewise.
55577         (NT_ARM_HW_BREAK): Likewise.
55578         (NT_ARM_HW_WATCH): Likewise.
55580 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55582         [BZ #14811]
55583         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
55584         (__ieee754_powl): Saturate nonzero exponents with absolute value
55585         below 0x1p-79 to +/- 0x1p-79.
55586         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
55587         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
55588         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
55589         nonzero exponents with absolute value below 0x1p-32 to +/-
55590         0x1p-32.
55591         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
55592         (__ieee754_powl): Saturate nonzero exponents with absolute value
55593         below 0x1p-79 to +/- 0x1p-79.
55594         * math/libm-test.inc (pow_test): Add more tests.
55596 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55598         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
55599         _dl_s390_cap_flags with kernel. Increase string length.
55600         (_dl_s390_platforms): Add z196 and zEC12.
55602 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55604         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
55605         Change XOPEN21K to XOPEN2K.
55607 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
55609         * string/memmove.c: Use memcpy when possible.
55611 2012-11-06  Andreas Jaeger  <aj@suse.de>
55613         * po/eo.po: Update from translation team.
55615 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
55617         [BZ #14793]
55618         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
55619         exponent and small x and y exponents, scale x or y up.  Increase
55620         by 2 the exponent used in scaling up.
55621         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55622         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55623         * math/libm-test.inc (fma_test): Add more tests.
55624         (fma_test_towardzero): Likewise.
55625         (fma_test_downward): Likewise.
55626         (fma_test_upward): Likewise.
55628 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
55630         [BZ #14805]
55631         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
55632         fenv_t *.
55634         [BZ #14801]
55635         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
55636         namespace for names of struct fields.
55637         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
55638         fenv_t fields.
55639         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
55640         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
55642 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55644         [BZ #3665]
55645         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
55647 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
55649         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
55650         PTR_DEMANGLE.
55652         [BZ #5246]
55653         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
55654         PTR_DEMANGLE.
55656 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
55658         [BZ #14797]
55659         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
55660         definitely overflow as x * y not x * y + z.
55661         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55662         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55663         * math/libm-test.inc (fma_test): Add more tests.
55664         (fma_test_towardzero): Likewise.
55665         (fma_test_downward): Likewise.
55666         (fma_test_upward): Likewise.
55668 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
55670         [BZ #157]
55672         * include/stub-tag.h: Remove file.
55673         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
55674         '#include' of it.
55675         * manual/maint.texi (Porting): Don't reference it.
55676         * Makerules ($(objpfx)stubs): Likewise.
55677         * dirent/closedir.c: Don't include <stub-tag.h>.
55678         * dirent/dirfd.c: Likewise.
55679         * dirent/fdopendir.c: Likewise.
55680         * dirent/getdents.c: Likewise.
55681         * dirent/getdents64.c: Likewise.
55682         * dirent/opendir.c: Likewise.
55683         * dirent/readdir.c: Likewise.
55684         * dirent/readdir64.c: Likewise.
55685         * dirent/readdir64_r.c: Likewise.
55686         * dirent/readdir_r.c: Likewise.
55687         * dirent/rewinddir.c: Likewise.
55688         * dirent/seekdir.c: Likewise.
55689         * dirent/telldir.c: Likewise.
55690         * gmon/profil.c: Likewise.
55691         * grp/setgroups.c: Likewise.
55692         * inet/if_index.c: Likewise.
55693         * io/access.c: Likewise.
55694         * io/chdir.c: Likewise.
55695         * io/chmod.c: Likewise.
55696         * io/chown.c: Likewise.
55697         * io/close.c: Likewise.
55698         * io/dup.c: Likewise.
55699         * io/dup2.c: Likewise.
55700         * io/dup3.c: Likewise.
55701         * io/euidaccess.c: Likewise.
55702         * io/faccessat.c: Likewise.
55703         * io/fchdir.c: Likewise.
55704         * io/fchmod.c: Likewise.
55705         * io/fchmodat.c: Likewise.
55706         * io/fchown.c: Likewise.
55707         * io/fchownat.c: Likewise.
55708         * io/fcntl.c: Likewise.
55709         * io/flock.c: Likewise.
55710         * io/fstatfs.c: Likewise.
55711         * io/fstatfs64.c: Likewise.
55712         * io/fstatvfs.c: Likewise.
55713         * io/fstatvfs64.c: Likewise.
55714         * io/futimens.c: Likewise.
55715         * io/fxstat.c: Likewise.
55716         * io/fxstat64.c: Likewise.
55717         * io/fxstatat.c: Likewise.
55718         * io/fxstatat64.c: Likewise.
55719         * io/getcwd.c: Likewise.
55720         * io/isatty.c: Likewise.
55721         * io/lchmod.c: Likewise.
55722         * io/lchown.c: Likewise.
55723         * io/link.c: Likewise.
55724         * io/linkat.c: Likewise.
55725         * io/lseek.c: Likewise.
55726         * io/lseek64.c: Likewise.
55727         * io/lxstat64.c: Likewise.
55728         * io/mkdir.c: Likewise.
55729         * io/mkdirat.c: Likewise.
55730         * io/mkfifo.c: Likewise.
55731         * io/mkfifoat.c: Likewise.
55732         * io/open.c: Likewise.
55733         * io/open64.c: Likewise.
55734         * io/openat.c: Likewise.
55735         * io/openat64.c: Likewise.
55736         * io/pipe.c: Likewise.
55737         * io/pipe2.c: Likewise.
55738         * io/poll.c: Likewise.
55739         * io/posix_fadvise.c: Likewise.
55740         * io/posix_fadvise64.c: Likewise.
55741         * io/posix_fallocate.c: Likewise.
55742         * io/posix_fallocate64.c: Likewise.
55743         * io/read.c: Likewise.
55744         * io/readlink.c: Likewise.
55745         * io/readlinkat.c: Likewise.
55746         * io/rmdir.c: Likewise.
55747         * io/sendfile.c: Likewise.
55748         * io/sendfile64.c: Likewise.
55749         * io/statfs.c: Likewise.
55750         * io/statfs64.c: Likewise.
55751         * io/statvfs.c: Likewise.
55752         * io/statvfs64.c: Likewise.
55753         * io/symlink.c: Likewise.
55754         * io/symlinkat.c: Likewise.
55755         * io/ttyname.c: Likewise.
55756         * io/ttyname_r.c: Likewise.
55757         * io/umask.c: Likewise.
55758         * io/unlink.c: Likewise.
55759         * io/unlinkat.c: Likewise.
55760         * io/utime.c: Likewise.
55761         * io/utimensat.c: Likewise.
55762         * io/write.c: Likewise.
55763         * io/xmknod.c: Likewise.
55764         * io/xmknodat.c: Likewise.
55765         * io/xstat.c: Likewise.
55766         * io/xstat64.c: Likewise.
55767         * login/getpt.c: Likewise.
55768         * login/grantpt.c: Likewise.
55769         * login/unlockpt.c: Likewise.
55770         * math/e_acoshl.c: Likewise.
55771         * math/e_acosl.c: Likewise.
55772         * math/e_asinl.c: Likewise.
55773         * math/e_atan2l.c: Likewise.
55774         * math/e_atanhl.c: Likewise.
55775         * math/e_coshl.c: Likewise.
55776         * math/e_expl.c: Likewise.
55777         * math/e_fmodl.c: Likewise.
55778         * math/e_gammal_r.c: Likewise.
55779         * math/e_hypotl.c: Likewise.
55780         * math/e_j0l.c: Likewise.
55781         * math/e_j1l.c: Likewise.
55782         * math/e_jnl.c: Likewise.
55783         * math/e_lgammal_r.c: Likewise.
55784         * math/e_log10l.c: Likewise.
55785         * math/e_log2l.c: Likewise.
55786         * math/e_logl.c: Likewise.
55787         * math/e_powl.c: Likewise.
55788         * math/e_rem_pio2l.c: Likewise.
55789         * math/e_sinhl.c: Likewise.
55790         * math/e_sqrtl.c: Likewise.
55791         * math/fclrexcpt.c: Likewise.
55792         * math/fedisblxcpt.c: Likewise.
55793         * math/feenablxcpt.c: Likewise.
55794         * math/fegetenv.c: Likewise.
55795         * math/fegetexcept.c: Likewise.
55796         * math/fegetround.c: Likewise.
55797         * math/feholdexcpt.c: Likewise.
55798         * math/fesetenv.c: Likewise.
55799         * math/fesetround.c: Likewise.
55800         * math/feupdateenv.c: Likewise.
55801         * math/fgetexcptflg.c: Likewise.
55802         * math/fraiseexcpt.c: Likewise.
55803         * math/fsetexcptflg.c: Likewise.
55804         * math/ftestexcept.c: Likewise.
55805         * math/k_cosl.c: Likewise.
55806         * math/k_rem_pio2l.c: Likewise.
55807         * math/k_sinl.c: Likewise.
55808         * math/k_tanl.c: Likewise.
55809         * math/s_asinhl.c: Likewise.
55810         * math/s_atanl.c: Likewise.
55811         * math/s_cbrtl.c: Likewise.
55812         * math/s_erfl.c: Likewise.
55813         * math/s_expm1l.c: Likewise.
55814         * math/s_log1pl.c: Likewise.
55815         * math/s_tanhl.c: Likewise.
55816         * misc/acct.c: Likewise.
55817         * misc/brk.c: Likewise.
55818         * misc/chflags.c: Likewise.
55819         * misc/chroot.c: Likewise.
55820         * misc/fchflags.c: Likewise.
55821         * misc/fgetxattr.c: Likewise.
55822         * misc/flistxattr.c: Likewise.
55823         * misc/fremovexattr.c: Likewise.
55824         * misc/fsetxattr.c: Likewise.
55825         * misc/fsync.c: Likewise.
55826         * misc/ftruncate.c: Likewise.
55827         * misc/futimes.c: Likewise.
55828         * misc/futimesat.c: Likewise.
55829         * misc/getdomain.c: Likewise.
55830         * misc/getdtsz.c: Likewise.
55831         * misc/gethostid.c: Likewise.
55832         * misc/gethostname.c: Likewise.
55833         * misc/getloadavg.c: Likewise.
55834         * misc/getpagesize.c: Likewise.
55835         * misc/getsysstats.c: Likewise.
55836         * misc/getxattr.c: Likewise.
55837         * misc/gtty.c: Likewise.
55838         * misc/ioctl.c: Likewise.
55839         * misc/lgetxattr.c: Likewise.
55840         * misc/listxattr.c: Likewise.
55841         * misc/llistxattr.c: Likewise.
55842         * misc/lremovexattr.c: Likewise.
55843         * misc/lsetxattr.c: Likewise.
55844         * misc/lutimes.c: Likewise.
55845         * misc/madvise.c: Likewise.
55846         * misc/mincore.c: Likewise.
55847         * misc/mlock.c: Likewise.
55848         * misc/mlockall.c: Likewise.
55849         * misc/mmap.c: Likewise.
55850         * misc/mprotect.c: Likewise.
55851         * misc/msync.c: Likewise.
55852         * misc/munlock.c: Likewise.
55853         * misc/munlockall.c: Likewise.
55854         * misc/munmap.c: Likewise.
55855         * misc/preadv.c: Likewise.
55856         * misc/preadv64.c: Likewise.
55857         * misc/ptrace.c: Likewise.
55858         * misc/pwritev.c: Likewise.
55859         * misc/pwritev64.c: Likewise.
55860         * misc/readv.c: Likewise.
55861         * misc/reboot.c: Likewise.
55862         * misc/remap_file_pages.c: Likewise.
55863         * misc/removexattr.c: Likewise.
55864         * misc/revoke.c: Likewise.
55865         * misc/select.c: Likewise.
55866         * misc/setdomain.c: Likewise.
55867         * misc/setegid.c: Likewise.
55868         * misc/seteuid.c: Likewise.
55869         * misc/sethostid.c: Likewise.
55870         * misc/sethostname.c: Likewise.
55871         * misc/setregid.c: Likewise.
55872         * misc/setreuid.c: Likewise.
55873         * misc/setxattr.c: Likewise.
55874         * misc/sstk.c: Likewise.
55875         * misc/stty.c: Likewise.
55876         * misc/swapoff.c: Likewise.
55877         * misc/swapon.c: Likewise.
55878         * misc/sync.c: Likewise.
55879         * misc/syncfs.c: Likewise.
55880         * misc/syscall.c: Likewise.
55881         * misc/truncate.c: Likewise.
55882         * misc/ualarm.c: Likewise.
55883         * misc/usleep.c: Likewise.
55884         * misc/ustat.c: Likewise.
55885         * misc/utimes.c: Likewise.
55886         * misc/vhangup.c: Likewise.
55887         * misc/writev.c: Likewise.
55888         * posix/_exit.c: Likewise.
55889         * posix/alarm.c: Likewise.
55890         * posix/execve.c: Likewise.
55891         * posix/fexecve.c: Likewise.
55892         * posix/fork.c: Likewise.
55893         * posix/fpathconf.c: Likewise.
55894         * posix/getaddrinfo.c: Likewise.
55895         * posix/getegid.c: Likewise.
55896         * posix/geteuid.c: Likewise.
55897         * posix/getgid.c: Likewise.
55898         * posix/getgroups.c: Likewise.
55899         * posix/getlogin.c: Likewise.
55900         * posix/getlogin_r.c: Likewise.
55901         * posix/getpgid.c: Likewise.
55902         * posix/getpid.c: Likewise.
55903         * posix/getppid.c: Likewise.
55904         * posix/getresgid.c: Likewise.
55905         * posix/getresuid.c: Likewise.
55906         * posix/getsid.c: Likewise.
55907         * posix/getuid.c: Likewise.
55908         * posix/glob64.c: Likewise.
55909         * posix/nanosleep.c: Likewise.
55910         * posix/pathconf.c: Likewise.
55911         * posix/pause.c: Likewise.
55912         * posix/posix_madvise.c: Likewise.
55913         * posix/pread.c: Likewise.
55914         * posix/pread64.c: Likewise.
55915         * posix/pwrite.c: Likewise.
55916         * posix/pwrite64.c: Likewise.
55917         * posix/sched_getaffinity.c: Likewise.
55918         * posix/sched_getp.c: Likewise.
55919         * posix/sched_gets.c: Likewise.
55920         * posix/sched_primax.c: Likewise.
55921         * posix/sched_primin.c: Likewise.
55922         * posix/sched_rr_gi.c: Likewise.
55923         * posix/sched_setaffinity.c: Likewise.
55924         * posix/sched_setp.c: Likewise.
55925         * posix/sched_sets.c: Likewise.
55926         * posix/sched_yield.c: Likewise.
55927         * posix/setgid.c: Likewise.
55928         * posix/setlogin.c: Likewise.
55929         * posix/setpgid.c: Likewise.
55930         * posix/setresgid.c: Likewise.
55931         * posix/setresuid.c: Likewise.
55932         * posix/setsid.c: Likewise.
55933         * posix/setuid.c: Likewise.
55934         * posix/sleep.c: Likewise.
55935         * posix/spawni.c: Likewise.
55936         * posix/sysconf.c: Likewise.
55937         * posix/times.c: Likewise.
55938         * posix/wait.c: Likewise.
55939         * posix/wait3.c: Likewise.
55940         * posix/wait4.c: Likewise.
55941         * posix/waitpid.c: Likewise.
55942         * resolv/gai_sigqueue.c: Likewise.
55943         * resource/getpriority.c: Likewise.
55944         * resource/getrlimit.c: Likewise.
55945         * resource/getrusage.c: Likewise.
55946         * resource/nice.c: Likewise.
55947         * resource/setpriority.c: Likewise.
55948         * resource/setrlimit.c: Likewise.
55949         * resource/ulimit.c: Likewise.
55950         * rt/aio_cancel.c: Likewise.
55951         * rt/aio_fsync.c: Likewise.
55952         * rt/aio_read.c: Likewise.
55953         * rt/aio_sigqueue.c: Likewise.
55954         * rt/aio_suspend.c: Likewise.
55955         * rt/aio_write.c: Likewise.
55956         * rt/clock_getres.c: Likewise.
55957         * rt/clock_gettime.c: Likewise.
55958         * rt/clock_nanosleep.c: Likewise.
55959         * rt/clock_settime.c: Likewise.
55960         * rt/lio_listio.c: Likewise.
55961         * rt/mq_close.c: Likewise.
55962         * rt/mq_getattr.c: Likewise.
55963         * rt/mq_notify.c: Likewise.
55964         * rt/mq_open.c: Likewise.
55965         * rt/mq_receive.c: Likewise.
55966         * rt/mq_send.c: Likewise.
55967         * rt/mq_setattr.c: Likewise.
55968         * rt/mq_timedreceive.c: Likewise.
55969         * rt/mq_timedsend.c: Likewise.
55970         * rt/mq_unlink.c: Likewise.
55971         * rt/shm_open.c: Likewise.
55972         * rt/shm_unlink.c: Likewise.
55973         * rt/timer_create.c: Likewise.
55974         * rt/timer_delete.c: Likewise.
55975         * rt/timer_getoverr.c: Likewise.
55976         * rt/timer_gettime.c: Likewise.
55977         * rt/timer_settime.c: Likewise.
55978         * setjmp/__longjmp.c: Likewise.
55979         * setjmp/setjmp.c: Likewise.
55980         * signal/kill.c: Likewise.
55981         * signal/killpg.c: Likewise.
55982         * signal/raise.c: Likewise.
55983         * signal/sigaction.c: Likewise.
55984         * signal/sigaltstack.c: Likewise.
55985         * signal/sigblock.c: Likewise.
55986         * signal/sigignore.c: Likewise.
55987         * signal/sigintr.c: Likewise.
55988         * signal/signal.c: Likewise.
55989         * signal/sigpause.c: Likewise.
55990         * signal/sigpending.c: Likewise.
55991         * signal/sigqueue.c: Likewise.
55992         * signal/sigreturn.c: Likewise.
55993         * signal/sigset.c: Likewise.
55994         * signal/sigsetmask.c: Likewise.
55995         * signal/sigstack.c: Likewise.
55996         * signal/sigsuspend.c: Likewise.
55997         * signal/sigtimedwait.c: Likewise.
55998         * signal/sigvec.c: Likewise.
55999         * signal/sigwait.c: Likewise.
56000         * signal/sigwaitinfo.c: Likewise.
56001         * signal/sysv_signal.c: Likewise.
56002         * socket/accept.c: Likewise.
56003         * socket/accept4.c: Likewise.
56004         * socket/bind.c: Likewise.
56005         * socket/connect.c: Likewise.
56006         * socket/getpeername.c: Likewise.
56007         * socket/getsockname.c: Likewise.
56008         * socket/getsockopt.c: Likewise.
56009         * socket/isfdtype.c: Likewise.
56010         * socket/listen.c: Likewise.
56011         * socket/recv.c: Likewise.
56012         * socket/recvfrom.c: Likewise.
56013         * socket/recvmsg.c: Likewise.
56014         * socket/send.c: Likewise.
56015         * socket/sendmsg.c: Likewise.
56016         * socket/sendto.c: Likewise.
56017         * socket/setsockopt.c: Likewise.
56018         * socket/shutdown.c: Likewise.
56019         * socket/sockatmark.c: Likewise.
56020         * socket/socket.c: Likewise.
56021         * socket/socketpair.c: Likewise.
56022         * stdio-common/ctermid.c: Likewise.
56023         * stdio-common/cuserid.c: Likewise.
56024         * stdio-common/remove.c: Likewise.
56025         * stdio-common/rename.c: Likewise.
56026         * stdio-common/renameat.c: Likewise.
56027         * stdio-common/tempname.c: Likewise.
56028         * stdlib/getcontext.c: Likewise.
56029         * stdlib/makecontext.c: Likewise.
56030         * stdlib/setcontext.c: Likewise.
56031         * stdlib/swapcontext.c: Likewise.
56032         * stdlib/system.c: Likewise.
56033         * streams/fattach.c: Likewise.
56034         * streams/fdetach.c: Likewise.
56035         * streams/getmsg.c: Likewise.
56036         * streams/getpmsg.c: Likewise.
56037         * streams/putmsg.c: Likewise.
56038         * streams/putpmsg.c: Likewise.
56039         * sysdeps/unix/bsd/getpt.c: Likewise.
56040         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
56041         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
56042         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
56043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56044         Likewise.
56045         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
56046         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56047         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
56048         * sysvipc/msgctl.c: Likewise.
56049         * sysvipc/msgget.c: Likewise.
56050         * sysvipc/msgrcv.c: Likewise.
56051         * sysvipc/msgsnd.c: Likewise.
56052         * sysvipc/semctl.c: Likewise.
56053         * sysvipc/semget.c: Likewise.
56054         * sysvipc/semop.c: Likewise.
56055         * sysvipc/semtimedop.c: Likewise.
56056         * sysvipc/shmat.c: Likewise.
56057         * sysvipc/shmctl.c: Likewise.
56058         * sysvipc/shmdt.c: Likewise.
56059         * sysvipc/shmget.c: Likewise.
56060         * termios/tcdrain.c: Likewise.
56061         * termios/tcflow.c: Likewise.
56062         * termios/tcflush.c: Likewise.
56063         * termios/tcgetattr.c: Likewise.
56064         * termios/tcgetpgrp.c: Likewise.
56065         * termios/tcsendbrk.c: Likewise.
56066         * termios/tcsetattr.c: Likewise.
56067         * termios/tcsetpgrp.c: Likewise.
56068         * time/adjtime.c: Likewise.
56069         * time/clock.c: Likewise.
56070         * time/getitimer.c: Likewise.
56071         * time/gettimeofday.c: Likewise.
56072         * time/setitimer.c: Likewise.
56073         * time/settimeofday.c: Likewise.
56074         * time/stime.c: Likewise.
56075         * time/time.c: Likewise.
56077 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
56079         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
56080         /usr/old/bin.
56082         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
56083         instead of spaces.
56084         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
56086 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
56088         [BZ #14796]
56089         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
56090         FE_TONEAREST before applying Dekker multiplication and Knuth
56091         addition.  Clear inexact exceptions and check for exact zero
56092         results afterwards.
56093         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56094         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56095         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56096         * math/libm-test.inc (fma_test): Add more tests.
56097         (fma_test_towardzero): Likewise.
56098         (fma_test_downward): Likewise.
56099         (fma_test_upward): Likewise.
56100         * sysdeps/generic/math_private.h (default_libc_fesetround): New
56101         function.
56102         (libc_fesetround): New macro.
56103         (libc_fesetroundf): Likewise.
56104         (libc_fesetroundl): Likewise.
56105         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
56106         function.
56107         (libc_fesetround_387): Likewise.
56108         (libc_fesetroundf): New macro.
56109         (libc_fesetround): Likewise.
56110         (libc_fesetroundl): Likewise.
56111         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
56112         function.
56113         (libc_fesetroundf): New macro.
56114         (libc_fesetround): Likewise.
56115         (libc_fesetroundl): Likewise.
56116         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
56117         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
56118         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
56119         libm_hidden_ver.
56120         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
56121         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
56122         libm_hidden_def.
56123         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
56124         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
56125         libm_hidden_ver.
56126         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
56127         libm_hidden_def.
56129         [BZ #3439]
56130         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
56131         integer constant usable in #if and use that to give value to enum
56132         constant.
56133         (FE_DIVBYZERO): Likewise.
56134         (FE_UNDERFLOW): Likewise.
56135         (FE_OVERFLOW): Likewise.
56136         (FE_INVALID): Likewise.
56137         (FE_INVALID_SNAN): Likewise.
56138         (FE_INVALID_ISI): Likewise.
56139         (FE_INVALID_IDI): Likewise.
56140         (FE_INVALID_ZDZ): Likewise.
56141         (FE_INVALID_IMZ): Likewise.
56142         (FE_INVALID_COMPARE): Likewise.
56143         (FE_INVALID_SOFTWARE): Likewise.
56144         (FE_INVALID_SQRT): Likewise.
56145         (FE_INVALID_INTEGER_CONVERSION): Likewise.
56146         (FE_TONEAREST): Likewise.
56147         (FE_TOWARDZERO): Likewise.
56148         (FE_UPWARD): Likewise.
56149         (FE_DOWNWARD): Likewise.
56150         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
56151         (FE_DIVBYZERO): Likewise.
56152         (FE_OVERFLOW): Likewise.
56153         (FE_UNDERFLOW): Likewise.
56154         (FE_INEXACT): Likewise.
56155         (FE_TONEAREST): Likewise.
56156         (FE_DOWNWARD): Likewise.
56157         (FE_UPWARD): Likewise.
56158         (FE_TOWARDZERO): Likewise.
56159         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
56160         (FE_UNDERFLOW): Likewise.
56161         (FE_OVERFLOW): Likewise.
56162         (FE_DIVBYZERO): Likewise.
56163         (FE_INVALID): Likewise.
56164         (FE_TONEAREST): Likewise.
56165         (FE_TOWARDZERO): Likewise.
56166         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
56167         (FE_OVERFLOW): Likewise.
56168         (FE_UNDERFLOW): Likewise.
56169         (FE_DIVBYZERO): Likewise.
56170         (FE_INEXACT): Likewise.
56171         (FE_TONEAREST): Likewise.
56172         (FE_TOWARDZERO): Likewise.
56173         (FE_UPWARD): Likewise.
56174         (FE_DOWNWARD): Likewise.
56175         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
56176         (FE_DIVBYZERO): Likewise.
56177         (FE_OVERFLOW): Likewise.
56178         (FE_UNDERFLOW): Likewise.
56179         (FE_INEXACT): Likewise.
56180         (FE_TONEAREST): Likewise.
56181         (FE_DOWNWARD): Likewise.
56182         (FE_UPWARD): Likewise.
56183         (FE_TOWARDZERO): Likewise.
56185 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
56187         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
56189 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
56191         * scripts/cross-test-ssh.sh (command): Use newlines to separate
56192         commands.  Quote $PWD.
56193         (blacklist_exports): Don't use remove_newlines.  Replace "declare
56194         -x" by "export".
56195         (remove_newlines): Remove.
56197 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
56199         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
56200         * stdlib/stdlib.h (atof): Moved to ...
56201         * include/bits/stdlib-float.h: Here.  New file.
56202         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
56203         * stdlib/bits/stdlib-float.h: New file.
56204         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
56205         -mno-sse -mno-mmx.
56206         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
56207         <xmmintrin.h>.
56209 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56211         * conform/conformtest.pl (@headers): Add fenv.h.
56212         * conform/data/fenv.h-data: New file.
56213         * include/fenv.h [_ISOMAC]: Disable all contents of file except
56214         include of <math/fenv.h>.
56216         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
56217         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
56218         && !UNIX98].  Enables tests for XOPEN2K8.
56219         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
56220         POSIX2008]: Likewise.
56222         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
56223         (struct rusage): Do not expect type or its members.
56225         [BZ #3439]
56226         * math/math.h (FP_NAN): Define macro to integer constant usable in
56227         #if and use that to give value to enum constant.
56228         (FP_INFINITE): Likewise.
56229         (FP_ZERO): Likewise.
56230         (FP_SUBNORMAL): Likewise.
56231         (FP_NORMAL): Likewise.
56233 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
56235         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
56236         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
56237         arguments.
56239 2012-11-02  Roland McGrath  <roland@hack.frob.com>
56241         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
56242         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
56243         autoconf-time if not.
56244         * configure.in: Remove AC_PREREQ.
56246 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56248         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
56249         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
56250         of the internal implementation.
56252 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56254         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
56255         except include of <misc/sys/syslog.h>.
56257 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
56260         function returns with a NULL context exit with zero.
56262 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56264         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
56266 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
56268         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
56269         (run_program_cmd): This.
56270         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
56271         (tst_langinfo): New variable.  Use it.
56273 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
56275         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
56276         floating point opcodes.
56278 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56280         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
56281         variable.
56283         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
56285         * sysdeps/mach/hurd/powerpc: Remove directory.
56286         * sysdeps/mach/powerpc: Likewise.
56288 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56290         * scripts/check-local-headers.sh: Ignore c++ headers.
56292 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56294         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
56295         __libc_cleanup_region_start argument.
56297 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
56299         [BZ #14784]
56300         [BZ #14785]
56301         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
56302         x * y using scaling, not as x * y + z.
56303         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56304         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56305         * math/libm-test.inc (fma_test): Add more tests.
56306         (fma_test_towardzero): Likewise.
56307         (fma_test_downward): Likewise.
56308         (fma_test_upward): Likewise.
56310 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56312         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
56314 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56316         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
56317         New variable.
56319 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
56321         * rt/tst-shm.c (worker): Correct checking for mmap failure.
56323 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56326         Fix sort order.
56327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56328         Likewise.
56330 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56333         Fix the order of the list for glibc 2.17.
56334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56335         Likewise.
56337 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56339         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56341 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56343         [BZ #14610]
56344         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
56345         for low part of x being zero before using __atanl (y).
56346         * math/libm-test.inc (atan2_test): Add another test.
56348         * manual/install.texi (Configuring and compiling): Document
56349         general use of test-wrapper and test-wrapper-env.
56350         * INSTALL: Regenerated.
56352         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
56353         (__fma): Do not extract and scale down low bits on after-rounding
56354         systems when result rounded to normal precision would have normal
56355         exponent.
56356         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
56357         (__fmal): Do not extract and scale down low bits on after-rounding
56358         systems when result rounded to normal precision would have normal
56359         exponent.
56360         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
56361         (__fmal): Do not extract and scale down low bits on after-rounding
56362         systems when result rounded to normal precision would have normal
56363         exponent.
56364         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
56365         macro.
56366         (fma_test): Add more tests.
56367         (fma_test_towardzero): Likewise.
56368         (fma_test_downward): Likewise.
56369         (fma_test_upward): Likewise.
56371 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
56373         * sysdeps/i386/tininess.h: Renamed to ...
56374         * sysdeps/x86/tininess.h: This.
56375         * sysdeps/x86_64/tininess.h: Removed.
56377 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
56379         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
56380         input.  Use $(build-program-cmd).
56381         ($(objpfx)tst-array1-static.out): Likewise.
56382         ($(objpfx)tst-array2.out): Likewise.
56383         ($(objpfx)tst-array3.out): Likewise.
56384         ($(objpfx)tst-array4.out): Likewise.
56385         ($(objpfx)tst-array5.out): Likewise.
56386         ($(objpfx)tst-array5-static.out): Likewise.
56388 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
56390         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
56391         if defined.
56393         * nss/nsswitch.h (nss_interface_function): Provide new
56394         macro for use with NSS functions.
56395         * grp/initgroups.c: Use new macro.
56396         * nss/getXXbyYY.c: Likewise.
56397         * nss/getXXbyYY_r.c: Likewise.
56398         * nss/getXXent.c: Likewise.
56399         * nss/getXXent_r.c: Likewise.
56400         * sysdeps/posix/getaddrinfo.c: Likewise.
56402 2012-10-30  Andreas Jaeger  <aj@suse.de>
56404         * po/ru.po: Update Russion translation from translation project.
56406 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
56408         [BZ #14152]
56409         [BZ #14783]
56410         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
56411         result and shift together with sticky bit instead of replicating
56412         round-to-nearest rounding.
56413         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56414         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56415         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
56416         missing underflow exceptions.
56417         (fma_test_towardzero): Add more tests.
56418         (fma_test_downward): Likewise.
56419         (fma_test_upward): Likewise.
56421         [BZ #14047]
56422         * sysdeps/generic/tininess.h: New file.
56423         * sysdeps/i386/tininess.h: Likewise.
56424         * sysdeps/sh/tininess.h: Likewise.
56425         * sysdeps/x86_64/tininess.h: Likewise.
56426         * stdlib/tst-strtod-underflow.c: Likewise.
56427         * stdlib/tst-tininess.c: Likewise.
56428         * stdlib/strtod_l.c: Include <tininess.h>.
56429         (round_and_return): Do not set errno for exact underflow cases.
56430         Force an underflow exception when setting errno for underflow.
56431         Determine underflow based on rounding to normal precision if
56432         TININESS_AFTER_ROUNDING.
56433         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
56434         ERANGE for exact underflow cases.
56435         * stdlib/Makefile (tests): Add tst-tininess and
56436         tst-strtod-underflow.
56437         ($(objpfx)tst-tininess): Use $(link-libm).
56438         ($(objpfx)tst-strtod-underflow): Likewise.
56440 2012-10-30  Andreas Jaeger  <aj@suse.de>
56442         [BZ#14767]
56443         * elf/Makefile (tests): Remove conditional for have-initfini-array
56444         since this is now always required and the variable does not exist
56445         anymore.
56446         (tests-static): Likewise.
56447         (modules-names): Likewise.
56449         * po/eo.po: Add Esperanto translation from translation project.
56451         * elf/tst-array1.c (fini_array): Make writeable so that it can be
56452         merged with constructor/destructor.
56453         (init_array): Likewise.
56454         * elf/tst-array2dep.c (fini_array): Likewise.
56455         (init_array): Likewise.
56457 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
56459         * manual/message.texi: Delete @cartouche tags.
56461 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
56463         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
56464         EOPNOTSUPP.
56465         * sysdeps/mach/hurd/fsync.c: Likewise.
56467         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
56468         [_POSIX_REALTIME_SIGNALS]: Change condition to
56469         [_POSIX_REALTIME_SIGNALS > 0].
56471 2012-10-27  Andreas Jaeger  <aj@suse.de>
56473         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
56474         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
56475         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
56476         [__WORDSIZE != 64]: Likewise.
56478 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
56480         *  iconvdata/tst-table.sh: Remove ${SHELL}.
56481         *  iconvdata/tst-tables.sh: Likewise.
56483 2012-10-25  David S. Miller  <davem@davemloft.net>
56485         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56486         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
56487         of strtoull.
56489         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
56490         ifunc-impl-list.c
56491         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56492         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
56493         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
56494         file.
56496 2012-10-25  Roland McGrath  <roland@hack.frob.com>
56498         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56499         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
56500         __getdirentries.
56502 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
56503             Jim Blandy  <jimb@codesourcery.com>
56505         * scripts/cross-test-ssh.sh: New file.
56506         * manual/install.texi (Configuring and compiling): Document use of
56507         cross-test-ssh.sh.
56508         * INSTALL: Regenerated.
56510 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
56512         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
56513         EOPNOTSUPP.
56515 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
56517         * Makeconfig (run-program-prefix): Fix comment.
56519 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
56520             Jim Blandy  <jimb@codesourcery.com>
56522         * Makeconfig (test-wrapper): New variable,
56523         (test-wrapper-env): Likewise.
56524         [$(cross-compiling) = yes && $(test-wrapper) != ""]
56525         (run-built-tests): Define to yes.
56526         (run-program-prefix): Use $(test-wrapper).
56527         (built-program-cmd): Likewise.
56528         * Rules (make-test-out): Use $(test-wrapper-env) and
56529         $(host-built-program-cmd).
56530         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
56531         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
56532         tst-pathopt.sh.
56533         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
56534         $(test-wrapper-env) to tst-rtld-load-self.sh.
56535         ($(objpfx)order2.out): Use $(test-wrapper).
56536         ($(objpfx)tst-initorder.out): Likewise.
56537         ($(objpfx)tst-initorder2.out): Likewise.
56538         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
56539         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
56540         (test_wrapper_env): New variable.  Use it to run ld.so.
56541         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
56542         Use it to run ld.so.
56543         (test_wrapper_env): Likewise.
56544         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
56545         $(test-wrapper) to run-iconv-test.sh.
56546         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
56547         (ICONV): Use $test_wrapper.
56548         * posix/Makefile ($(objpfx)globtest.out): Pass
56549         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
56550         globtest.sh, not $(run-program-prefix).
56551         * posix/globtest.sh (run_via_rtld_prefix): New variable.
56552         (test_wrapper): Likewise.
56553         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
56554         set together with run_via_rtld_prefix.
56555         (run_program_prefix): Define in terms of test_wrapper and
56556         run_via_rtld_prefix.
56558 2012-10-24  Roland McGrath  <roland@hack.frob.com>
56560         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
56561         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
56562         Targets removed.
56564         [BZ #14743]
56565         * include/time.h: Remove librt_hidden_proto (clock_gettime).
56566         Declare __clock_getres, __clock_gettime, __clock_settime,
56567         __clock_nanosleep, and __clock_getcpuclockid.
56568         * rt/clock_gettime.c: Define __clock_gettime as an alias.
56569         Remove librt_hidden_def (clock_gettime).
56570         * sysdeps/unix/clock_gettime.c: Likewise.
56571         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
56572         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
56573         * rt/clock_getres.c: Define __clock_getres as an alias.
56574         * sysdeps/posix/clock_getres.c: Likewise.
56575         * rt/clock_settime.c: Define __clock_settime as an alias.
56576         * sysdeps/unix/clock_settime.c: Likewise.
56577         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
56578         * sysdeps/unix/clock_nanosleep.c: Likewise.
56579         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
56580         * rt/clock-compat.c: New file.
56581         * rt/Makefile (librt-routines): Add clock-compat and move
56582         $(clock-routines) to ...
56583         (routines): ... here, new variable.
56584         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
56585         Don't add get_clockfreq here.
56586         * rt/Versions (libc: GLIBC_2.17): New version set.
56587         Add clock_* symbols here.
56588         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
56589         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
56590         (GLIBC_2.17): Add clock_* symbols.
56591         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
56592         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
56593         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56595         Likewise.
56596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56597         Likewise.
56598         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56599         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
56600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
56601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
56602         * NEWS: Mention the move.
56604         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
56605         Use __open, __read, __close rather than their public counterparts.
56606         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56607         (__get_clockfreq_via_cpuinfo): Likewise.
56608         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
56609         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
56611         * config.h.in (HAVE_IFUNC): New #undef.
56612         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
56613         was successful.
56614         * configure: Regenerated.
56616 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
56618         * configure.in: Move READELF check to start of file.
56619         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
56620         libc_cv_asm_gnu_indirect_function in the process.
56621         * configure: Regenerated.
56623 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
56625         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
56626         send the output to /dev/null.
56627         (libc_cv_cc_with_libunwind): Likewise.
56628         (libc_cv_as_noexecstack): Likewise.
56629         * configure: Regenerate.
56631 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
56633         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
56635         * posix/globtest.sh (TMPDIR): Do not set.
56636         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
56637         (testout): Likewise.
56639 2012-10-24  Andreas Jaeger  <aj@suse.de>
56641         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
56642         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
56643         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
56644         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
56645         posix_fadvise64, posix_fallocate64.
56647         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
56648         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
56649         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
56650         Likewise.
56651         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
56652         Likewise.
56653         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
56655         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
56656         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
56657         <bits/fcntl-linux.h>.
56658         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
56660         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
56661         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
56662         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
56663         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
56664         [__WORDSIZE != 64]: Likewise.
56666 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
56668         * Makeconfig (run-built-tests): New variable.
56669         * Rules [$(cross-compiling) = yes]: Change condition to
56670         [$(run-built-tests) = no].
56671         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
56672         to [$(run-built-tests) = yes].
56673         * elf/Makefile [$(cross-compiling) = no]: Likewise.
56674         * grp/Makefile [$(cross-compiling) = no]: Likewise.
56675         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
56676         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
56677         * intl/Makefile [$(cross-compiling) = no]: Likewise.
56678         * io/Makefile [$(cross-compiling) = no]: Likewise.
56679         * libio/Makefile [$(cross-compiling) = no]: Likewise.
56680         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
56681         * misc/Makefile [$(cross-compiling) = no]: Likewise.
56682         * posix/Makefile [$(cross-compiling) = no]: Likewise.
56683         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
56684         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
56685         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
56686         * string/Makefile [$(cross-compiling) = no]: Likewise.
56688         * posix/Makefile ($(objpfx)globtest.out): Pass
56689         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
56690         $(rtld-installed-name).
56691         * posix/globtest.sh (elf_objpfx): Remove variable.
56692         (rtld_installed_name): Likewise.
56693         (library_path): Likewise.
56694         (run_program_prefix): New variable.  Use for running globtest
56695         binary.
56697 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
56698             Joseph Myers  <joseph@codesourcery.com>
56700         * Makeconfig (host-built-program-cmd): New variable.
56701         * elf/Makefile (tst-stackguard1-ARGS): Use
56702         $(host-built-program-cmd).
56703         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
56704         (tst-spawn-ARGS): Likewise.
56705         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
56707 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
56708             Jim Blandy  <jimb@codesourcery.com>
56710         * Makeconfig (run-via-rtld-prefix): New variable.
56711         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
56712         (built-program-cmd): Likewise.
56714 2012-10-22  Andreas Jaeger  <aj@suse.de>
56716         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
56717         __O_RSYNC if it exists, otherwise to O_SYNC.
56719 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
56720             Joseph Myers  <joseph@codesourcery.com>
56722         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
56723         /dev/null.
56724         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
56725         from /dev/null
56726         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
56727         /dev/null.
56729 2012-10-22  Andreas Jaeger  <aj@suse.de>
56731         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
56732         Define always.
56733         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
56735         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56736         bits/fcntl-linux.h.
56738         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
56739         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
56741         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
56742         to __O_LARGEFILE.
56743         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
56744         to __O_LARGEFILE.
56746 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
56747             Joseph Myers  <joseph@codesourcery.com>
56749         * config.make.in (NM): New variable.
56751 2012-10-21  Andreas Jaeger  <aj@suse.de>
56753         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
56754         definitions and declarations that are provided by
56755         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
56757 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
56759         [BZ #14683]
56760         * elf/Makefile (tests-static): Add tst-leaks1-static.
56761         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
56762         ($(objpfx)tst-leaks1-static): New rule.
56763         ($(objpfx)tst-leaks1-static-mem): Likewise.
56764         (tst-leaks1-static-ENV): New macro.
56765         * elf/dl-open.c (dl_open_worker): Check the main application
56766         only if SHARED is defined.
56767         * elf/tst-leaks1-static.c: New file.
56769 2012-10-20  Andreas Jaeger  <aj@suse.de>
56771         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
56772         generic values for Linux.
56773         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
56774         and declarations that are provided by <bits/fcntl-linux.h> and
56775         include <bits/fcntl-linux.h>.
56776         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56777         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56779 2012-10-20  Roland McGrath  <roland@hack.frob.com>
56781         * io/fcntl.h: Move include of <bits/types.h> to the top and
56782         include it unconditionally.
56784 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
56786         * wcsmbs/Makefile (tests-ifunc): New variable.
56787         (tests): Add $(tests-ifunc).
56788         * wcsmbs/test-wcschr-ifunc.c: New file.
56789         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
56790         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
56791         * wcsmbs/test-wcslen-ifunc.c: Likewise.
56792         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
56793         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
56795         * string/Makefile (tests-ifunc): New variable.
56796         (tests): Add $(tests-ifunc).
56797         * string/test-memccpy.c (TEST_NAME): New macro.
56798         * string/test-memchr.c (TEST_NAME): Likewise.
56799         * string/test-memcmp.c (TEST_NAME): Likewise.
56800         * string/test-memcpy.c (TEST_NAME): Likewise.
56801         * string/test-memmem.c (TEST_NAME): Likewise.
56802         * string/test-memmove.c (TEST_NAME): Likewise.
56803         * string/test-memset.c (TEST_NAME): Likewise.
56804         * string/test-rawmemchr.c (TEST_NAME): Likewise.
56805         * string/test-stpcpy.c (TEST_NAME): Likewise.
56806         * string/test-stpncpy.c (TEST_NAME): Likewise.
56807         * string/test-strcasecmp.c (TEST_NAME): Likewise.
56808         * string/test-strcasestr.c (TEST_NAME): Likewise.
56809         * string/test-strcat.c (TEST_NAME): Likewise.
56810         * string/test-strchr.c (TEST_NAME): Likewise.
56811         * string/test-strcmp.c(TEST_NAME): Likewise.
56812         * string/test-strcpy.c (TEST_NAME): Likewise.
56813         * string/test-strcspn.c (TEST_NAME): Likewise.
56814         * string/test-strlen.c (TEST_NAME): Likewise.
56815         * string/test-strncasecmp.c (TEST_NAME): Likewise.
56816         * string/test-strncmp.c (TEST_NAME): Likewise.
56817         * string/test-strncpy.c (TEST_NAME): Likewise.
56818         * string/test-strnlen.c (TEST_NAME): Likewise.
56819         * string/test-strpbrk.c (TEST_NAME): Likewise.
56820         * string/test-strrchr.c (TEST_NAME): Likewise.
56821         * string/test-strspn.c (TEST_NAME): Likewise.
56822         * string/test-strstr.c (TEST_NAME): Likewise.
56823         * string/test-bcopy-ifunc.c: New file.
56824         * string/test-bzero-ifunc.c: Likewise.
56825         * string/test-memccpy-ifunc.c: Likewise.
56826         * string/test-memchr-ifunc.c: Likewise.
56827         * string/test-memcmp-ifunc.c: Likewise.
56828         * string/test-memcpy-ifunc.c: Likewise.
56829         * string/test-memmem-ifunc.c: Likewise.
56830         * string/test-memmove-ifunc.c: Likewise.
56831         * string/test-mempcpy-ifunc.c: Likewise.
56832         * string/test-memset-ifunc.c: Likewise.
56833         * string/test-rawmemchr-ifunc.c: Likewise.
56834         * string/test-stpcpy-ifunc.c: Likewise.
56835         * string/test-stpncpy-ifunc.c: Likewise.
56836         * string/test-strcasecmp-ifunc.c: Likewise.
56837         * string/test-strcasestr-ifunc.c: Likewise.
56838         * string/test-strcat-ifunc.c: Likewise.
56839         * string/test-strchr-ifunc.c: Likewise.
56840         * string/test-strchrnul-ifunc.c: Likewise.
56841         * string/test-strcmp-ifunc.c: Likewise.
56842         * string/test-strcpy-ifunc.c: Likewise.
56843         * string/test-strcspn-ifunc.c: Likewise.
56844         * string/test-strlen-ifunc.c: Likewise.
56845         * string/test-strncasecmp-ifunc.c: Likewise.
56846         * string/test-strncat-ifunc.c: Likewise.
56847         * string/test-strncmp-ifunc.c: Likewise.
56848         * string/test-strncpy-ifunc.c: Likewise.
56849         * string/test-strnlen-ifunc.c: Likewise.
56850         * string/test-strpbrk-ifunc.c: Likewise.
56851         * string/test-strrchr-ifunc.c: Likewise.
56852         * string/test-strspn-ifunc.c: Likewise.
56853         * string/test-strstr-ifunc.c: Likewise.
56855         * debug/Makefile (tests-ifunc): New variable.
56856         (tests): Add $(tests-ifunc).
56857         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
56858         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
56859         * debug/test-stpcpy_chk-ifunc.c: New file.
56860         * debug/test-strcpy_chk-ifunc.c: Likewise.
56862 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56864         [BZ #13601]
56865         * elf/dl-load.c (open_verify): Retry read if the entire ELF
56866         header is not read in.
56868 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
56870         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
56871         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
56872         directly.  Pass built executable to script as
56873         $(built-program-cmd).
56874         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
56875         $testprogram without using LD_LIBRARY_PATH and $ldso.
56877         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
56878         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
56879         $(rtld-installed-name).
56880         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
56881         (rtld_installed_name): Likewise.
56882         (library_path): Likewise.
56883         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
56884         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
56885         $(run-program-prefix) to tst-tables.sh.
56886         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
56887         it to run tst-table-from and tst-table-to.
56888         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
56889         Pass it to tst-table.sh.
56890         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
56891         $(run-program-prefix) to tst-gettext.sh.
56892         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
56893         tst-translit.sh.
56894         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
56895         tst-gettext2.sh.
56896         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
56897         to run tst-gettext.
56898         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
56899         to run tst-gettext2.
56900         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
56901         to run tst-translit.
56902         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
56903         $(run-program-prefix) to tst-mtrace.sh.
56904         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
56905         to run tst-mtrace.
56906         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
56907         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
56908         $(rtld-installed-name).
56909         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
56910         (rtld_installed_name): Likewise.
56911         (run_program_prefix): New variable.  Use it to run wordexp-test.
56913         * Makeconfig (ARCH): Remove all definitions.
56914         (machine): Likewise.
56915         [ARCH]: Remove conditional code.
56916         [!objdir]: Give error.
56917         [!objdir] (objpfx): Remove.
56918         [!objdir] (common-objpfx): Likewise.
56919         [!objdir] (common-objdir): Likewise.
56920         * configure.in (config_makefile): Remove.  Hardcode Makefile in
56921         AC_CONFIG_FILES call.
56922         * configure: Regenerated.
56924         [BZ #13888]
56925         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
56926         or TMPDIR.
56927         (testout): Likewise.
56929         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
56930         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
56931         $(rtld-installed-name).
56932         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
56933         (rtld_installed_name): Likwise.
56934         (runit): Remove function.
56935         (run_getconf): New variable,  Use it for running getconf binary.
56937 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
56939         [BZ #14716]
56940         * string/test-memmem.c (check_result): New function.
56941         (do_one_test): Use it.
56942         (check1): New function.
56943         (test_main): Use it.
56945 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
56947         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
56949 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
56951         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
56952         (_G_LSEEK64): Likewise.
56953         (_G_MMAP64): Likewise.
56954         (_G_FSTAT64): Likewise.
56955         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
56956         (_G_LSEEK64): Likewise.
56957         (_G_MMAP64): Likewise.
56958         (_G_FSTAT64): Likewise.
56959         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
56960         unconditional.  Call __mmap64 directly.
56961         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
56962         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
56963         __lseek64 directly.
56964         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
56965         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
56966         __mmap64 directly.
56967         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
56968         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
56969         __lseek64 directly.
56970         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
56971         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
56972         __lseek64 directly.
56973         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
56974         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
56975         __lseek64 directly.
56976         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
56977         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
56978         __fxstat64 directly.
56979         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
56980         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
56981         unconditional.
56982         (freopen64) [!_G_OPEN64]: Remove conditional code.
56983         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
56984         unconditional.
56985         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
56986         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
56987         unconditional.
56988         (ftello64) [!_G_LSEEK64]: Remove conditional code.
56989         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
56990         unconditional.
56991         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
56992         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
56993         unconditional.
56994         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
56995         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
56996         unconditional.
56997         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
56998         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
56999         unconditional.
57000         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57001         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
57002         unconditional.
57003         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57005 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57007         [BZ #12140]
57008         * manual/memory.texi (Malloc Tunable Parameters): Add note
57009         about free list pointers overwriting some perturb bytes.
57010         Wording suggested by Roland McGrath.
57012 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
57014         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
57015         (lgamma_test): Likewise.
57016         (tgamma_test): Likewise.
57018 2012-10-16  Florian Weimer  <fweimer@redhat.com>
57020         [BZ #14700]
57021         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
57022         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
57024 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
57026         * NEWS: Mention BZ #14716.
57027         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
57028         when removing AVAILABLE1_USES_J macro.
57030 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
57032         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
57033         (__bswap_64): __uint64_t for unsigned 64-bit int.
57035 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
57037         * include/string.h (memmem): Declare libc hidden alias.
57038         * string/memmem.c (memmem): Define libc hidden alias.
57039         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
57040         __read, __close instead of open, read, close.
57042 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
57044         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
57045         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
57046         global and hidden.
57047         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
57048         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
57049         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
57050         Likewise.
57051         (__rawmemchr_sse2): Likewise.
57052         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
57053         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
57054         (__strchr_sse2): Likewise.
57055         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
57056         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
57057         (__strcasecmp_sse2): Likewise.
57058         (__strncasecmp_sse2): Likewise.
57059         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
57060         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
57061         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
57062         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
57063         (__strrchr_sse2): Likewise.
57064         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
57065         ifunc-impl-list.c.
57066         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
57067         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
57068         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
57069         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57070         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
57071         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
57072         * sysdeps/x86_64/multiarch/memset.S: Likewise.
57073         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
57074         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
57075         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
57076         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
57077         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
57078         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
57079         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
57080         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
57081         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57082         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
57083         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
57084         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
57085         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
57086         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
57087         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
57088         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
57089         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
57090         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
57091         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57092         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
57093         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57094         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
57095         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
57097         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
57098         global and hidden.
57099         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
57100         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
57101         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
57102         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
57103         Likewise.
57104         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
57105         Likewise.
57106         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
57107         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
57108         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
57109         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
57110         ifunc-impl-list.c.
57111         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57112         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57113         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57114         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57115         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57116         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57117         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57118         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57119         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57120         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57121         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57122         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57123         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57124         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
57125         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
57126         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57127         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
57128         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
57129         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57130         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57131         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57132         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57133         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57134         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57135         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57136         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
57137         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
57138         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
57139         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
57140         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57141         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
57142         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57143         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57144         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
57145         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57146         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57147         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57148         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57149         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57150         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57151         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
57153         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
57154         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
57155         * include/ifunc-impl-list.h: New file.
57156         * misc/ifunc-impl-list.c: Likewise.
57157         * misc/Makefile (routines): Add ifunc-impl-list.
57158         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
57159         * string/test-string.h: Include <ifunc-impl-list.h>.
57160         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
57161         TEST_NAME]: New variables.
57162         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
57163         are defined.
57164         (test_init): Call __libc_ifunc_impl_list to initialize
57165         func_list if TEST_IFUNC and TEST_NAME are defined.
57167         * string/Makefile (strop-tests): Add bcopy and bzero.
57168         * string/test-bcopy.c: New file.
57169         * string/test-bzero.c: Likewise.
57170         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
57171         defined.
57172         * string/test-memset.c: Support bzero test if TEST_BZERO is
57173         defined.
57174         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
57175         __libc_memmove.
57176         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
57177         __libc_memset.
57178         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
57179         of memset.
57181 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
57183         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
57184         * configure: Regenerated.
57186         * Makeconfig (+link-static-before-libc): Don't include
57187         $(link-static-libc).
57189         * libio/libio.h (_IO_pos_t): Remove.
57191 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57193         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
57194         McGrath.
57196 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57198         * crypt/crypt-entry.c: Include fips-private.h.
57199         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
57200         * crypt/md5c-test.c (main): Tolerate disabled MD5.
57201         * sysdeps/unix/sysv/linux/fips-private.h: New file.
57202         * sysdeps/generic/fips-private.h: New file, dummy fallback.
57204 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57206         * crypt/crypt-private.h: Include stdbool.h.
57207         (_ufc_setup_salt_r): Return bool.
57208         * crypt/crypt-entry.c: Include errno.h.
57209         (__crypt_r): Return NULL with EINVAL for bad salt.
57210         * crypt/crypt_util.c (bad_for_salt): New.
57211         (_ufc_setup_salt_r): Check that salt is long enough and within
57212         the specified alphabet.
57213         * crypt/badsalttest.c: New file.
57214         * crypt/Makefile (tests): Add it.
57215         ($(objpfx)badsalttest): New.
57217 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
57219         * NEWS: Add entry for BZ #14602.
57221 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57223         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
57224         type-generic.
57225         * math/libm-test.inc: Update comment listing what functions and
57226         macros are tested.
57227         (isgreater_test): New function.
57228         (isgreaterequal_test): Likewise.
57229         (isless_test): Likewise.
57230         (islessequal_test): Likewise.
57231         (islessgreater_test): Likewise.
57232         (isunordered_test): Likewise.
57233         (main): Call the new functions.
57235 2012-10-09  Roland McGrath  <roland@hack.frob.com>
57237         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
57238         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
57239         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
57240         * sysdeps/i386/configure: Regenerated.
57241         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
57242         * sysdeps/mach/configure: Regenerated.
57243         * sysdeps/mach/hurd/configure: Regenerated.
57244         * sysdeps/powerpc/configure: Regenerated.
57245         * sysdeps/powerpc/powerpc32/configure: Regenerated.
57246         * sysdeps/powerpc/powerpc64/configure: Regenerated.
57247         * sysdeps/s390/s390-32/configure: Regenerated.
57248         * sysdeps/s390/s390-64/configure: Regenerated.
57249         * sysdeps/sh/configure: Regenerated.
57250         * sysdeps/sparc/configure: Regenerated.
57251         * sysdeps/unix/sysv/linux/configure: Regenerated.
57252         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
57253         * sysdeps/x86_64/configure: Regenerated.
57255         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
57256         defined.  Don't check if MAP is NULL.
57258 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57260         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
57261         (_G_stat64): Likewise.
57262         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
57263         (_G_stat64): Likewise.
57264         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
57265         instead of struct _G_stat64.
57266         * libio/fileops.c (mmap_remap_check): Likewise.
57267         (decide_maybe_mmap): Likewise.
57268         (_IO_new_file_seekoff): Likewise.
57269         (_IO_file_stat): Likewise.
57270         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
57271         _G_off64_t.
57272         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
57273         instead of struct _G_stat64.
57274         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57276 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
57278         [BZ #14602]
57279         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57280         Replace with ...
57281         (CHECK_EOL): New macro.
57282         (two_way_short_needle): Check beginning of haystack for EOL.  Use
57283         CHECK_EOL.
57284         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57285         Replace with CHECK_EOL.
57286         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57287         Replace with CHECK_EOL.
57289 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
57291         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
57292         type-generic.
57293         * math/libm-test.inc: Update comment listing what functions and
57294         macros are tested.
57295         (finite_test): New function.
57296         (isinf_test): Likewise.
57297         (isnan_test): Likewise.
57298         (fpclassify_test): Test subnormal input.
57299         (isfinite_test): Likewise.
57300         (isnormal_test): Likewise.
57301         (main): Call the new functions.
57303 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
57305         [BZ #14660]
57306         * Makerules (%.dynsym): Force C locale when running
57307         $(OBJDUMP) --dynamic-syms.
57309 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
57311         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
57312         <stdint.h>.
57314 2012-10-06  David S. Miller  <davem@davemloft.net>
57316         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
57317         upper 32-bits of the length value in %o2 since we use branch-on-register
57318         tests which consider the entire 64-bit register.
57320 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
57322         * string/test-strstr.c (check2): Add a test for page boundary.
57324 2012-10-05  David S. Miller  <davem@davemloft.net>
57326         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
57327         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
57328         file.
57329         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57330         sysdep_routines.
57331         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57332         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
57333         and bzero when HWCAP_SPARC_CRYPTO is present.
57335 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
57337         [BZ #14602]
57338         * string/test-strstr.c (check2): New function.
57339         (test_main): Call check2.
57341         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
57342         and bug-strchr1.
57343         * string/bug-strcasestr1.c (do_test): Moved to ...
57344         * string/test-strcasestr.c (check1): Here.  New function.
57345         (do_one_test): Break out result checking code into ...
57346         (check_result): This.  New function.
57347         (do_one_test): Call check_result.
57348         (test_main): Call check1.
57349         * string/bug-strchr1.c (do_test): Moved to ...
57350         * string/test-strchr.c (check1): Here.  New function.
57351         (do_one_test): Break out result checking code into ...
57352         (check_result): This.  New function.
57353         (do_one_test): Call check_result.
57354         (test_main): Call check1.
57355         * string/bug-strstr1.c (main): Moved to ...
57356         * string/test-strstr.c (check1): Here.  New function.
57357         (do_one_test): Break out result checking code into ...
57358         (check_result): This.  New function.
57359         (do_one_test): Call check_result.
57360         (test_main): Call check1.
57361         * string/bug-strcasestr1.c: Removed.
57362         * string/bug-strchr1.c: Likewise.
57363         * string/bug-strstr1.c: Likewise.
57365         * elf/Makefile (dl-routines): Add hwcaps.
57366         * elf/dl-support.c (_dl_important_hwcaps): Removed.
57367         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
57368         (_dl_important_hwcaps): Moved to ...
57369         * elf/dl-hwcaps.c: Here.  New file.
57370         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
57372         [BZ #14557]
57373         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
57374         if IS_IN_rtld isn't defined.
57376         * elf/dl-support.c (_dl_sysinfo_map): New.
57377         Include "get-dynamic-info.h" and "setup-vdso.h".
57378         (_dl_non_dynamic_init): Call setup_vdso.
57379         * elf/dynamic-link.h: Don't include <assert.h>.
57380         (elf_get_dynamic_info): Moved to ...
57381         * elf/get-dynamic-info.h: Here.  New file.
57382         * elf/dynamic-link.h: Include "get-dynamic-info.h".
57383         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
57384         * elf/setup-vdso.h: Here.  New file.
57385         * elf/rtld.c: Include "setup-vdso.h".
57386         (dl_main): Call setup_vdso.
57388 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
57390         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
57391         creal in comment listing functions tested.  List finite, isinf,
57392         isnan, isless, islessequal, isgreater, isgreaterequal,
57393         islessgreater, isunordered, lgamma_r and pow10 as functions and
57394         macros not tested.  Mention which functions not tested are aliases
57395         for other functions.  Fix typo.  Note that signs of NaNs are not
57396         tested.
57398         * scripts/config.guess: Update from config.git.
57399         * scripts/config.sub: Likewise.
57401 2012-10-04  Roland McGrath  <roland@hack.frob.com>
57403         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
57404         * misc/madvise.c (madvise): Renamed to __madvise.
57405         Make madvise a weak alias.
57406         * include/sys/mman.h: Declare __madvise.
57407         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
57408         * sysdeps/unix/syscalls.list
57409         (madvise): Make __madvise the strong name, and madvise a weak alias.
57410         * sysdeps/unix/sysv/linux/syscalls.list
57411         (madvise, mmap): Remove redundant entries.
57412         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
57413         * malloc/malloc.c (mtrim): Likewise.
57414         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
57416 2012-10-03  Roland McGrath  <roland@hack.frob.com>
57418         * sysdeps/mach/hurd/dl-cache.c: File removed.
57419         * config.h.in (USE_LDCONFIG): New #undef.
57420         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
57421         * configure: Regenerated.
57422         * elf/Makefile (dl-routines): Add dl-cache only under
57423         [$(use-ldconfig) = yes].
57424         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
57425         cache on [USE_LDCONFIG].
57426         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
57427         [USE_LDCONFIG].
57428         * elf/rtld.c (dl_main): Likewise.
57430 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
57432         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
57433         _SC_LEVEL4_CACHE_LINESIZE.
57435 2012-10-03  Roland McGrath  <roland@hack.frob.com>
57437         * sysdeps/unix/bsd/confstr.h: File removed.
57439 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
57441         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
57442         sys/sdt-config.h.
57444 2012-10-02  Roland McGrath  <roland@hack.frob.com>
57446         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
57447         Make 'mapoff' field ElfW(Off) rather than off_t.
57449 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
57451         * nscd/Makefile: Remove nscd-cflags and all its users.
57452         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
57453         (CFLAGS-nonlib): Add compiler flags for nscd modules.
57455         [BZ #10631]
57456         * malloc.c (malloc_printerr): Clarify error message.
57458 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
57460         [BZ #14648]
57461         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57462         Set bit_FMA_Usable if FMA is supported.
57463         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
57464         macro.
57465         (bit_FMA4_Usable): Updated.
57466         (index_FMA_Usable): New macro.
57467         (CPUID_FMA): Likewise.
57468         (HAS_FMA): Defined with bit_FMA_Usable.
57470 2012-10-01  Roland McGrath  <roland@hack.frob.com>
57472         * bits/types.h (__swblk_t): Type removed.
57473         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
57474         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
57475         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57476         (__SWBLK_T_TYPE): Likewise.
57477         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57478         (__SWBLK_T_TYPE): Likewise.
57479         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57480         (__SWBLK_T_TYPE): Likewise.
57481         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57482         (__SWBLK_T_TYPE): Likewise.
57484 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
57485             Honza Horak <hhorak@redhat.com>
57487         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
57488         (xdr_mapname): Use YPMAXMAP as maxsize.
57489         (xdr_peername): Use YPMAXPEER as maxsize.
57490         (xdr_keydat): Use YPAXRECORD as maxsize.
57491         (xdr_valdat): Use YPMAXRECORD as maxsize.
57493 2012-10-01  Roland McGrath  <roland@hack.frob.com>
57495         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
57497         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
57498         * csu/init-first.c: ... here.
57499         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
57500         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
57501         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
57502         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
57503         * sysdeps/i386/init-first.c: File removed.
57504         * sysdeps/sh/init-first.c: File removed.
57506 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
57508         [BZ #14645]
57509         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
57510         if x * y might underflow to zero and z is zero.
57511         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57512         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57513         * math/libm-test.inc (min_subnorm_value): New variable.
57514         (fma_test): Add more tests.
57515         (fma_test_towardzero): Likewise.
57516         (fma_test_downward): Likewise.
57517         (fma_test_upward): Likewise.
57518         (initialize): Set min_subnorm_value.
57520 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
57522         [BZ #14638]
57523         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
57524         0 + 0.
57525         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
57526         mode for addition resulting in exact zero.
57527         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
57528         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
57529         exact 0 + 0.
57530         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57531         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57532         * math/libm-test.inc (fma_test): Add more tests.
57533         (fma_test_towardzero): New function.
57534         (fma_test_downward): Likewise.
57535         (fma_test_upward): Likewise.
57536         (main): Call the new functions.
57538 2012-09-28  David S. Miller  <davem@davemloft.net>
57540         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
57542 2012-09-28  Roland McGrath  <roland@hack.frob.com>
57544         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
57545         instead of SIGALRM.
57547         * sysdeps/gnu/_G_config.h: Moved to ...
57548         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
57549         * sysdeps/mach/hurd/_G_config.h: Moved to ...
57550         * sysdeps/generic/_G_config.h: ... here.
57552         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
57554         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
57556         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
57557         Conditionalize target on [libnss_test1.so-version].
57559         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
57561         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
57562         (elfobjdir): Move out of conditionals.
57564         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
57565         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
57566         (__nss_lookup_function): Conditionalize label remove_from_tree on
57567         [!DO_STATIC_NSS || SHARED], matching its only use.
57569 2012-09-28  David S. Miller  <davem@davemloft.net>
57571         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
57572         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
57573         file.
57574         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57575         sysdep_routines.
57576         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57577         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
57578         when HWCAP_SPARC_CRYPTO is present.
57580 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57582         * io/tst-mknodat.c: Create a FIFO instead of a socket.
57584 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
57586         [BZ #6530]
57587         * stdio-common/vfprintf.c (process_string_arg): Revert
57588         2000-07-22 change.
57590 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
57592         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
57593         for testcase.
57594         * stdio-common/tst-sprintf.c: Include <locale.h>
57595         (main): Test sprintf's handling of incomplete multibyte
57596         characters.
57598 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
57600         * elf/dl-runtime.c (VERSYMIDX): Removed.
57601         * elf/dl-version.c (VERSYMIDX): Likewise.
57602         * elf/do-rel.h (VERSYMIDX): Likewise.
57603         (VALIDX): Likewise.
57604         * elf/dynamic-link.h (VERSYMIDX): Likewise.
57605         * elf/rtld.c (VALIDX): Likewise.
57606         (ADDRIDX): Likewise.
57607         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
57608         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
57609         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
57610         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
57611         (VALIDX): Likewise.
57612         (ADDRIDX): Likewise.
57614 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57616         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
57618 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
57620         [BZ #11438]
57621         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
57622         to global scope.
57623         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
57624         addresses are in the same scope as 192.0.2/24.
57625         * posix/gai.conf: Document new scope table defaults.
57627 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57629         [BZ #5298]
57630         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
57631         for ftell.  Compute offsets from write pointers instead.
57632         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57634 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57636         [BZ #14543]
57637         * libio/Makefile (tests): New test case tst-fseek.
57638         * libio/tst-fseek.c: New test case to verify that fseek/ftell
57639         combination works in wide mode.
57640         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
57641         state when the external buffer state changes.
57643 2012-09-27  David S. Miller  <davem@davemloft.net>
57645         [BZ #14376]
57646         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
57647         pass reloc->r_addend in as the 'high' argument to
57648         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
57650         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57652 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57654         * rt/tst-aio2.c: Include <pthread.h>.
57655         * rt/tst-aio3.c: Likewise.
57657 2012-09-27  Steve Ellcey  <sellcey@mips.com>
57659         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
57661 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
57663         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
57664         contents on [SHARED].
57666 2012-09-26  Marek Polacek  <polacek@redhat.com>
57668         [BZ #14530]
57669         [BZ #13741]
57670         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
57671         for C++ and GCC <4.3 as well as for non GCC compilers.
57673 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
57675         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57677 2012-09-25  Roland McGrath  <roland@hack.frob.com>
57679         * Makefile.in (all, install): Declare with .PHONY.
57680         Reported by Michael Hope <michael.hope@linaro.org>.
57682 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57684         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
57685         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
57686         system header.
57687         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
57688         Likewise.
57689         (sydep_routines): Add the new and the internal functions.
57690         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
57691         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
57692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
57693         (GLIBC_2.17): Add the new function.
57694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
57695         (GLIBC_2.17): Likewise.
57696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
57697         (GLIBC_2.17): Likewise.
57698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
57699         (GLIBC_2.17): Likewise.
57700         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
57702 2012-09-25  Alan Modra  <amodra@gmail.com>
57704         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
57705         Add release barrier before setting once_control to say
57706         initialisation is done.  Add hints on lwarx.  Use macro in
57707         place of isync.
57708         (clear_once_control): Add release barrier.
57710 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
57712         [BZ #13629]
57713         * math/s_clog.c (__clog): Handle more values close to |z| = 1
57714         specially.
57715         * math/s_clog10.c (__clog10): Likewise.
57716         * math/s_clog10f.c (__clog10f): Likewise.
57717         * math/s_clog10l.c (__clog10l): Likewise.
57718         * math/s_clogf.c (__clogf): Likewise.
57719         * math/s_clogl.c (__clogl): Likewise.
57720         * math/Makefile (libm-calls): Add x2y2m1.
57721         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
57722         (__x2y2m1): Likewise.
57723         (__x2y2m1l): Likewise.
57724         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
57725         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
57726         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
57727         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
57728         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
57729         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
57730         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
57731         * sysdeps/i386/fpu/libm-test-ulps: Update.
57732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57734         [BZ #14621]
57735         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
57736         int as type of variable DEPTH.
57737         (glob): Use size_t instead of int as type of variables NEWCOUNT
57738         and OLD_PATHC.
57740 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57742         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
57743         Add s_sincosf-sse2.
57744         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
57745         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
57746         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
57747         macros for using routine as __sincosf_ia32.
57748         Use macro for function declaration and weak_alias.
57749         * sysdeps/i386/fpu/libm-test-ulps: Update.
57751         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
57752         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57754         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
57755         subnormal argument.
57756         * math/s_cexpf.c (__cexpf): Likewise.
57757         * math/s_csinf.c (__csinf): Likewise.
57758         * math/s_csinhf.c (__csinhf): Likewise.
57759         * math/s_ctanf.c (__ctanf): Likewise.
57760         * math/s_ctanhf.c (__ctanhf): Likewise.
57761         * math/s_ccosh.c (__ccoshf): Likewise.
57762         * math/s_cexp.c (__cexpl): Likewise.
57763         * math/s_csin.c (__csin): Likewise.
57764         * math/s_csinh.c (__csinh): Likewise.
57765         * math/s_ctan.c (__ctan): Likewise.
57766         * math/s_ctanh.c (ctanh): Likewise.
57767         * math/s_ccoshl.c (__ccoshl): Likewise.
57768         * math/s_cexpl.c (__cexpl): Likewise.
57769         * math/s_csinl.c (__csinl): Likewise.
57770         * math/s_csinhl.c (__csinhl): Likewise.
57771         * math/s_ctanl.c (__ctanl): Likewise.
57772         * math/s_ctanhl.c (__ctanhl): Likewise.
57774 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
57776         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
57777         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
57778         (_IO_off_t): Define to __off_t, not _G_off_t.
57779         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
57780         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
57781         (_IO_wint_t): Define to wint_t, not _G_wint_t.
57782         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
57783         type of __dummy and __dummy2 fields.
57784         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
57785         (_G_ssize_t): Likewise.
57786         (_G_off_t): Likewise.
57787         (_G_pid_t): Likewise.
57788         (_G_uid_t): Likewise.
57789         (_G_wchar_t): Likewise.
57790         (_G_wint_t): Likewise.
57791         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
57792         (_G_ssize_t): Likewise.
57793         (_G_off_t): Likewise.
57794         (_G_pid_t): Likewise.
57795         (_G_uid_t): Likewise.
57796         (_G_wchar_t): Likewise.
57797         (_G_wint_t): Likewise.
57798         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
57799         (_G_ssize_t): Likewise.
57800         (_G_off_t): Likewise.
57801         (_G_pid_t): Likewise.
57802         (_G_uid_t): Likewise.
57803         (_G_wchar_t): Likewise.
57804         (_G_wint_t): Likewise.
57806 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57808         * malloc/arena.c: Include malloc-sysdep.h.
57809         (shrink_heap): Use check_may_shrink_heap to decide if madvise
57810         is sufficient to shrink the heap or an unmap is needed.
57811         * sysdeps/generic/malloc-sysdep.h: New file.  Define
57812         new function check_may_shrink_heap.
57813         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
57814         new function check_may_shrink_heap.
57816 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57818         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
57819         comments.
57821 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
57823         * catgets/test-gencat.sh: Add "set -e".
57824         * elf/tst-pathopt.sh: Likewise.
57825         * grp/tst_fgetgrent.sh: Likewise.
57826         * iconvdata/run-iconv-test.sh: Likewise.
57827         * intl/tst-gettext.sh: Likewise.
57828         * intl/tst-gettext2.sh: Likewise.
57829         * intl/tst-gettext4.sh: Likewise.
57830         * intl/tst-gettext6.sh: Likewise.
57831         * intl/tst-translit.sh: Likewise.
57832         * io/ftwtest-sh: Likewise.
57833         * libio/test-freopen.sh: Likewise.
57834         * malloc/tst-mtrace.sh: Likewise.
57835         * posix/globtest.sh: Likewise.
57836         * posix/tst-getconf.sh: Likewise.
57837         * posix/wordexp-tst.sh: Likewise.
57838         * stdio-common/tst-printf.sh: Likewise.
57839         * stdio-common/tst-unbputc.sh: Likewise.
57840         * stdlib/tst-fmtmsg.sh: Likewise.
57841         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57842         * catgets/Makefile: Do not specify -e option when running
57843         testsuite shell scripts.
57844         * elf/Makefile: Likewise.
57845         * grp/Makefile: Likewise.
57846         * iconvdata/Makefile: Likewise.
57847         * intl/Makefile: Likewise.
57848         * io/Makefile: Likewise.
57849         * libio/Makefile: Likewise.
57850         * malloc/Makefile: Likewise.
57851         * posix/Makefile: Likewise.
57852         * stdio-common/Makefile: Likewise.
57853         * stdlib/Makefile: Likewise.
57854         * sysdeps/x86_64/Makefile: Likewise.
57856         * io/ftwtest-sh: Add copyright header.
57857         * posix/globtest.sh: Likewise.
57858         * posix/tst-getconf.sh: Likewise.
57859         * posix/wordexp-tst.sh: Likewise.
57860         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57862 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
57864         [BZ #13679]
57865         * Makeconfig (+link): Defined as $(+link-static) if
57866         $(build-shared) isn't yes.
57867         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
57868         isn't yes.
57869         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
57871         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
57873         [BZ #14562]
57874         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
57875         new chunk size with MALLOC_ALIGN_MASK.
57877 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
57879         [BZ #5044]
57880         * stdio-common/printf_fphex.c: Include <stdbool.h> and
57881         <rounding-mode.h>.
57882         (__printf_fphex): Determine rounding using get_rounding_mode and
57883         round_away.
57884         * stdio-common/tst-printf-round.c (struct hex_test): New
57885         structure.
57886         (hex_tests): New variable.
57887         (test_hex_in_one_mode): New function.
57888         (do_test): Also run tests for hex float output.
57890 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
57892         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57893         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57894         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
57895         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57896         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57897         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
57898         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
57899         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
57901 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
57903         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
57904         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
57905         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
57906         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
57908 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
57910         [BZ #14579]
57911         * elf/rtld.c (dl_main): Limit the check for self loading to normal
57912         mode only.
57913         * elf/tst-rtld-load-self.sh: New test.
57914         * elf/Makefile: Run it.
57916 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
57918         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
57919         (tst-writev-ENV): Remove.
57920         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
57922 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
57924         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
57926 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
57928         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
57929         unconditional.
57930         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
57931         Likewise.
57932         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
57933         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
57934         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
57935         Likewise.
57937 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
57939         [BZ #14587]
57940         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
57941         * config.make.in (have-cpp-asm-debuginfo): Removed.
57942         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
57943         * configure: Regenerated.
57945 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
57947         [BZ #5044]
57948         * stdio-common/printf_fp.c: Include <stdbool.h> and
57949         <rounding-mode.h>.
57950         (___printf_fp): Determine rounding using get_rounding_mode and
57951         round_away.
57952         * stdio-common/tst-printf-round.c: New file.
57953         * stdio-common/Makefile (tests): Add tst-printf-round.
57954         (link-libm): New variable.
57955         ($(objpfx)tst-printf-round): Depend in $(link-libm).
57957 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
57959         [BZ #14576]
57960         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
57961         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
57962         Likewise.
57963         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
57964         Likewise.
57966 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
57968         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
57969         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57970         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57971         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57973 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
57975         [BZ #14518]
57976         * include/rounding-mode.h: New file.
57977         * sysdeps/generic/get-rounding-mode.h: Likewise.
57978         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
57979         * stdlib/strtod_l.c: Include <rounding-mode.h>.
57980         (MAX_VALUE): New macro.
57981         (MIN_VALUE): Likewise.
57982         (overflow_value): New function.
57983         (underflow_value): Likewise.
57984         (round_and_return): Use overflow_value and underflow_value to
57985         determine return values in overflow and underflow cases.  Use
57986         round_away to determine rounding depending on rounding mode.
57987         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
57988         determine return values in overflow and underflow cases.
57989         * stdlib/tst-strtod-round.c: Include <fenv.h>.
57990         (struct test_results): New structure.
57991         (struct test): Use struct test_results to store expected results
57992         for all rounding modes.
57993         (TEST): Include expected results for all rounding modes.
57994         (test_in_one_mode): New function.
57995         (do_test): Use test_in_one_mode to compute and check results.
57996         Check results for all rounding modes.
57997         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
57998         $(link-libm).
58000 2012-12-09  Allan McRae  <allan@archlinux.org>
58002         * sysdeps/i386/fpu/libm-test-ulps: Update
58004 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
58006         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
58007         (_G_int32_t): Likewise.
58008         (_G_uint16_t): Likewise.
58009         (_G_uint32_t): Likewise.
58010         (_G_HAVE_BOOL): Likewise.
58011         (_G_HAVE_ATEXIT): Likewise.
58012         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58013         (_G_HAVE_IO_FILE_OPEN): Likewise.
58014         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
58015         (_G_int32_t): Likewise.
58016         (_G_uint16_t): Likewise.
58017         (_G_uint32_t): Likewise.
58018         (_G_HAVE_BOOL): Likewise.
58019         (_G_HAVE_ATEXIT): Likewise.
58020         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58021         (_G_HAVE_IO_FILE_OPEN): Likewise.
58022         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
58023         (_G_int32_t): Likewise.
58024         (_G_uint16_t): Likewise.
58025         (_G_uint32_t): Likewise.
58026         (_G_HAVE_BOOL): Likewise.
58027         (_G_HAVE_ATEXIT): Likewise.
58028         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58029         (_G_HAVE_IO_FILE_OPEN): Likewise.
58031 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
58033         * csu/libc-tls.c: Update copyright years.
58035 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
58037         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
58038         [!_G_USING_THUNKS]: Remove conditional code.
58039         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
58040         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
58042         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
58043         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
58044         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58045         (_G_VTABLE_LABEL_PREFIX): Likewise.
58046         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58047         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58048         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58049         (_G_VTABLE_LABEL_PREFIX): Likewise.
58050         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58051         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58052         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58053         (_G_VTABLE_LABEL_PREFIX): Likewise.
58054         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58056 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
58058         * libio/Makefile: Include ../Makeconfig before tests.
58059         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
58060         only if $(build-shared) is yes.
58062         * iconv/gconv_db.c: Update copyright years.
58064 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58066         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
58067         unwind info if defined PIC. Fix special cases description.
58068         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
58070         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
58071         DP_HI_MASK entry.
58072         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
58074 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
58076         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
58078         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
58079         is NULL.
58081         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
58082         (LDLIBS-tst-chk4): This.
58083         (LDFLAGS-tst-chk5): Renamed to ...
58084         (LDLIBS-tst-chk5): This.
58085         (LDFLAGS-tst-chk6): Renamed to ...
58086         (LDLIBS-tst-chk6): This.
58087         (LDFLAGS-tst-lfschk4): Renamed to ...
58088         (LDLIBS-tst-lfschk4): This.
58089         (LDFLAGS-tst-lfschk5): Renamed to ...
58090         (LDLIBS-tst-lfschk5): This.
58091         (LDFLAGS-tst-lfschk6): Renamed to ...
58092         (LDLIBS-tst-lfschk6): This.
58094         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
58095         on $(common-objpfx)soversions.mk.
58097 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
58099         [BZ #10014]
58100         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
58101         example host name.
58103 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
58105         * malloc/arena.c (arena_get_retry): New function that gets
58106         another arena for the caller to try its request on.
58107         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
58108         current arena cannot fulfill the request.
58109         (__libc_memalign): Likewise.
58110         (__libc_memalign): Likewise.
58111         (__libc_pvalloc): Likewise.
58112         (__libc_calloc): Likewise.
58114 2012-09-05  John Tobey  <john.tobey@gmail.com>
58116         [BZ #13542]
58117         * manual/arith.texi (Operations on Complex): Fix description
58118         of carg branch cut.
58120 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
58122         [BZ #10014]
58123         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
58124         host name.
58126         [BZ #10038]
58127         * manual/memory.texi (Memory): Make order of menu items match
58128         order of sections.
58130 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58132         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
58133         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
58134         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
58136 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58138         * csu/libc-tls.c (static_dtv): Renamed to ...
58139         (_dl_static_dtv): This.  Make it global.
58140         (_dl_initial_dtv): Removed.
58141         (__libc_setup_tls): Updated.
58142         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
58143         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
58144         DL_INITIAL_DTV.
58146 2012-09-06  Petr Machata  <pmachata@redhat.com>
58148         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
58149         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
58150         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
58151         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
58153 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58155         [BZ #14545]
58156         * csu/libc-tls.c (_dl_initial_dtv): New variable.
58157         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
58158         freeing dtv[-1].
58160 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58162         [BZ #14544]
58163         * Makeconfig (link-static-before-libc): Replace $(+prector)
58164         with $(+prectorT).
58165         (link-static-after-libc): Replace $(+postctor) with
58166         $(+postctorT).
58167         (link-bounded): Replace $(+prector)/$(+postctor) with
58168         $(+prectorT)/$(+postctorT).
58169         (+prectorT): New macro.
58170         (+postctorT): Likewise.
58172 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
58174         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
58175         (round_str): Handle values above the maximum for IBM long double
58176         as inexact.
58177         * stdlib/tst-strtod-round.c (tests): Regenerated.
58179 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58181         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
58182         assembler flag.
58183         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
58184         zarch_nohighgprs around the zarch optimized routines.
58185         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
58186         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
58187         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
58188         for zarch.
58190 2012-09-05  David S. Miller  <davem@davemloft.net>
58192         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58194         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
58195         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
58196         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
58197         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58198         entries.
58200 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58202         * malloc/arena.c: Fold copyright years.
58203         * malloc/mcheck.c, malloc/memusage.c: Likewise.
58205 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58207         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
58209 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58211         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
58213 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58215         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
58216         change internal state upon failure.
58218 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58220         * malloc/mcheck.c (mcheck_check_all): Fix typo.
58221         * malloc/memusage.c (mmap): Likewise.
58222         (mmap64, mremap): Likewise.  Adjust name in comment.
58224 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58226         * libio/fileops.c: Fix typos in comments.
58227         * libio/oldfileops.c: Likewise.
58228         * libio/wfileops.c: Likewise.
58230 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58232         [BZ #1349]
58233         * malloc/Makefile (tests): Add tst-malloc-usable test case.
58234         (tst-malloc-usable-ENV): Set environment for test case.
58235         * malloc/hooks.c (malloc_check_get_size): New function to get
58236         requested size.
58237         * malloc/malloc.c (musable): Use malloc_check_get_size.
58238         * malloc/tst-malloc-usable.c: New test case.
58240 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58242         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
58244 2012-09-05  Allan McRae  <allan@archlinux.org>
58246         [BZ #13966]
58247         * configure.in (CXX_SYSINCLUDES): Use compiler output to
58248         determine header location.
58249         * configure: Regenerated.
58251 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58253         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
58254         float format.
58255         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
58256         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
58257         format.
58258         (test): Regenerate.
58260 2012-09-04  David S. Miller  <davem@davemloft.net>
58262         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
58263         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
58264         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
58266 2012-09-04  Florian Weimer  <fweimer@redhat.com>
58268         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
58269         failures.
58271         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
58273 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
58275         [BZ #9914]
58276         * libio/iogetdelim.c: Include <limits.h>.
58277         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
58278         + len + 1 would overflow.
58280 2012-09-03  Andreas Jaeger  <aj@suse.de>
58282         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58283         * sysdeps/i386/fpu/libm-test-ulps: Update.
58285 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58287         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58288         Add s_sinf-sse2, s_conf-sse2.
58290         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
58291         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
58292         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
58293         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
58295         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
58296         for using routine as __sinf_ia32.
58297         Use macro for function declaration and weak_alias.
58298         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
58299         for using routine as __cosf_ia32.
58300         Use macro for function declaration and weak_alias.
58302         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
58303         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
58305         * sysdeps/x86_64/fpu/s_sinf.S: New file.
58306         * sysdeps/x86_64/fpu/s_cosf.S: New file.
58307         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58309         * math/libm-test.inc (cos_test): Add more test cases.
58310         (sin_test): Likewise.
58311         (sincos_test): Likewise.
58313 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58315         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
58316         (IFUNC_RESOLVE): Make pointers to the specialized implementations
58317         hidden.
58318         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
58320 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
58322         [BZ #14538]
58323         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
58324         first element of the GOT.
58325         (elf_machine_load_address): Return the difference between
58326         the runtime address of _DYNAMIC and elf_machine_dynamic ().
58328 2012-09-01  Allan McRae  <allan@archlinux.org>
58330         [BZ #13412]
58331         * configure.in (AWK): Require gawk version 3.0 or later.
58332         * configure: Regenerated.
58334 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
58336         * sysdeps/unix/sysv/linux/kernel-features.h
58337         (__ASSUME_POSIX_CPU_TIMERS): Remove.
58338         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58339         [__NR_clock_getres]: Make code unconditional.
58340         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
58341         (clock_getcpuclockid): Remove code left unreachable by removal of
58342         conditionals.
58343         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
58344         code unconditional.
58345         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58346         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58347         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
58348         Make code unconditional.
58349         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58350         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58351         * sysdeps/unix/sysv/linux/clock_settime.c
58352         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
58353         conditional code.
58354         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
58355         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58357 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
58359         [BZ #14476]
58360         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
58361         scripts/test-installation.pl.
58363         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
58364         and $ld_so_version if it is set.
58366 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58368         [BZ #14516]
58369         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
58370         failure if reading from procfs failed.
58371         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
58373 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
58375         * sysdeps/unix/sysv/linux/kernel-features.h
58376         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
58377         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58378         Remove conditional code.
58379         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58380         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
58381         Remove conditional code.
58382         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58383         * sysdeps/unix/sysv/linux/i386/fxstat.c
58384         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58385         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58386         * sysdeps/unix/sysv/linux/i386/fxstatat.c
58387         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58388         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58389         * sysdeps/unix/sysv/linux/i386/lxstat.c
58390         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58391         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58392         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
58393         Remove conditional code.
58394         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58395         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58396         Remove conditional code.
58397         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58398         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
58399         <kernel-features.h>.
58400         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
58401         Remove.
58402         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
58403         Remove conditional code.
58404         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58405         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
58406         Remove conditional.
58408 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
58410         [BZ #5400]
58411         * NEWS: Add fixed bug number.
58413 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
58415         [BZ #14519]
58416         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
58417         underflowing exponent in case of negative sign.
58418         * stdlib/tst-strtod-round-data: Add more tests.
58419         * stdlib/tst-strtod-round.c (tests): Regenerated.
58421         [BZ #3479]
58422         * stdlib/strtod_l.c (NDIG): Remove.
58423         (HEXNDIG): Likewise.
58424         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
58425         smallest representable value.
58426         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
58427         lie within an exact representation of 1/2 ulp of the result.
58428         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
58429         unconditionally.
58430         (TENS_P9_IDX): Define unconditionally.
58431         (TENS_P9_SIZE): Likewise.
58432         (TENS_P10_IDX): Likewise.
58433         (TENS_P10_SIZE): Likewise.
58434         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
58435         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
58436         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
58437         entries for 10^2^13 and 10^2^14.
58438         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
58439         (TENS_P13_IDX): Define.
58440         (TENS_P13_SIZE): Likewise.
58441         (TENS_P14_IDX): Likewise.
58442         (TENS_P14_SIZE): Likewise.
58443         (_fpioconst_pow10): Change array size to
58444         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
58445         unconditional.
58446         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
58447         1024]: Add entries for 10^2^13 and 10^2^14.
58448         [LAST_POW10 > _LAST_POW10]: Remove #error.
58449         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
58450         (_fpioconst_pow10): Change array size to
58451         FPIOCONST_POW10_ARRAY_SIZE.
58452         * stdlib/gen-fpioconst.c: New file.
58453         * stdlib/gen-tst-strtod-round.c: Likewise.
58454         * stdlib/tst-strtod-round-data: Likewise.
58455         * stdlib/tst-strtod-round.c: Likewise.
58456         * stdlib/Makefile (tests): Add tst-strtod-round.
58458         [BZ #14459]
58459         * stdlib/strtod_l.c: Include <stdint.h>.
58460         (NDEBUG): Do not define.
58461         (round_and_return): Change EXPONENT parameter to type intmax_t.
58462         Rearrange calculations to avoid internal overflow possibilities.
58463         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
58464         Rearrange calculations to avoid internal overflow possibilities.
58465         Assert that number fits inside MPNSIZE limbs.
58466         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
58467         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
58468         calculations and add assertions to avoid internal overflow
58469         possibilities.  Add casts to avoid signed/unsigned operations.
58470         * stdlib/tst-strtod-overflow.c: New file.
58471         * stdlib/Makefile (tests): Add tst-strtod-overflow.
58473 2012-08-25  Marek Polacek  <polacek@redhat.com>
58475         * time/time.h: Fix some typos in comments.
58477 2012-08-23  Roland McGrath  <roland@hack.frob.com>
58479         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
58480         * posix/tst-rfc3484-2.c: Likewise.
58481         * posix/tst-rfc3484-3.c: Likewise.
58483 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
58485         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
58486         (EF_ARM_ABI_FLOAT_HARD): Likewise.
58488 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
58490         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
58491         #include of fxstatat64.c.
58493 2012-08-22  Roland McGrath  <roland@hack.frob.com>
58495         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
58496         * shadow/getspent_r.c: Likewise.
58497         * shadow/getspnam.c: Likewise.
58498         * shadow/getspnam_r.c: Likewise.
58499         * gshadow/getsgent.c: Likewise.
58500         * gshadow/getsgent_r.c: Likewise.
58501         * gshadow/getsgnam.c: Likewise.
58502         * gshadow/getsgnam_r.c: Likewise.
58503         * inet/getnetbyad.c: Likewise.
58504         * inet/getnetbyad_r.c: Likewise.
58505         * inet/getnetbynm.c: Likewise.
58506         * inet/getnetbynm_r.c: Likewise.
58507         * inet/getnetent.c: Likewise.
58508         * inet/getnetent_r.c: Likewise.
58509         * inet/getproto.c: Likewise.
58510         * inet/getproto_r.c: Likewise.
58511         * inet/getprtent.c: Likewise.
58512         * inet/getprtent_r.c: Likewise.
58513         * inet/getprtname.c: Likewise.
58514         * inet/getprtname_r.c: Likewise.
58515         * inet/getrpcbyname.c: Likewise.
58516         * inet/getrpcbyname_r.c: Likewise.
58517         * inet/getrpcbynumber.c: Likewise.
58518         * inet/getrpcbynumber_r.c: Likewise.
58519         * inet/getrpcent.c: Likewise.
58520         * inet/getrpcent_r.c: Likewise.
58521         * inet/getaliasent.c: Likewise.
58522         * inet/getaliasent_r.c: Likewise.
58523         * inet/getaliasname.c: Likewise.
58524         * inet/getaliasname_r.c: Likewise.
58525         * nscd/getgrgid_r.c: Likewise.
58526         * nscd/getgrnam_r.c: Likewise.
58527         * nscd/gethstbyad_r.c: Likewise.
58528         * nscd/gethstbynm3_r.c: Likewise.
58529         * nscd/getpwnam_r.c: Likewise.
58530         * nscd/getpwuid_r.c: Likewise.
58531         * nscd/getsrvbynm_r.c: Likewise.
58532         * nscd/getsrvbypt_r.c: Likewise.
58533         * nscd/gai.c: Likewise.
58535         * configure.in (build_nscd): New substituted variable, set
58536         by --disable-build-nscd and defaults to $use_nscd.
58537         * configure: Regenerated.
58538         * config.make.in (build-nscd): New substituted variable.
58539         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
58540         Change conditional to require [$(build-nscd) = yes] as well.
58541         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
58543         [BZ# 13696]
58544         * configure.in (use_nscd): New substituted variable, set by
58545         --disable-nscd.  If enabled, define USE_NSCD.
58546         * configure: Regenerated.
58547         * config.h.in: Add USE_NSCD.
58548         * config.make.in (use-nscd): New substituted variable.
58549         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
58550         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
58551         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
58552         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
58553         (CFLAGS-getgrnam_r.c): Likewise.
58554         (CFLAGS-initgroups.c): Likewise.
58555         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
58556         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
58557         Variables removed.
58558         * inet/getnetgrent_r.c
58559         (nscd_setnetgrent): New function, broken out of ...
58560         (setnetgrent): ... here.  Call it.
58561         (innetgr): Conditionalize nscd bits on [USE_NSCD].
58562         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
58563         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
58564         * nscd/Makefile (routines, aux): Move definitions after include of
58565         Makeconfig.  Conditionalize on [$(use-nscd) != no].
58566         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
58567         Conditionalize on [USE_NSCD].
58568         (is_nscd, nscd_init_cb): Likewise.
58569         (nss_load_library): Conditionalize init callback on [USE_NSCD].
58570         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
58571         * nss/nss_db/db-init.c: Likewise.
58572         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
58573         [USE_NSCD].
58574         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
58575         (make_request): Use it.
58576         (cache_valid_p): New function.
58577         (__check_pf): Use it.
58578         * NEWS: Add item for --disable-nscd.
58580 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
58582         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
58583         to support sed >= 4.2.1-20-ga9bf076.
58584         * configure: Regenerated.
58586 2012-08-22  Roland McGrath  <roland@hack.frob.com>
58588         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
58589         Conditionalize whole body on [IREL].
58591 2012-08-22  Jeff Law <law@redhat.com>
58593         [BZ #14505]
58594         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
58595         if the family is PF_UNSPEC.
58597 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
58599         * Makerules (lib-version): Rename from V.
58600         (install-lib-nosubdir): Change V to lib-version.
58602 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
58604         [BZ #14252]
58605         * powerpc32/power6/wcschr.c: New file.
58606         * powerpc32/power6/wcscpy.c: New file.
58607         * powerpc32/power6/wcsrchr.c: New file.
58608         * powerpc64/power6/wcschr.c: New file.
58609         * powerpc64/power6/wcscpy.c: New file.
58610         * powerpc64/power6/wcsrchr.c: New file.
58612 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
58614         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
58615         (two_way_short_needle): Use it.
58616         * string/strstr.c (AVAILABLE1_USES_J): Define.
58617         * string/strcasestr.c: Likewise.
58619         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
58620         array references.
58621         * string/strcasestr.c (TOLOWER): Make side-effect safe.
58623         [BZ #11607]
58624         * NEWS: Add an entry.
58625         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
58626         define their defaults.
58627         (two_way_short_needle): Detect end-of-string on-the-fly.
58628         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
58629         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
58630         * string/bug-strcasestr1.c: New test.
58631         * string/Makefile: Run it.
58633 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
58635         [BZ #11607]
58636         * string/str-two-way.h (two_way_short_needle): Optimize matching of
58637         the first character.
58639 2012-08-21  Roland McGrath  <roland@hack.frob.com>
58641         * csu/elf-init.c (__libc_csu_irel): Function removed.
58642         * csu/libc-start.c (apply_irel): New function.
58643         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
58645 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
58647         * sysdeps/unix/sysv/linux/kernel-features.h
58648         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
58649         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
58650         <kernel-features.h>.
58651         [__NR_fadvise64_64]: Make code unconditional.
58652         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
58653         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58654         !__NR_fadvise64_64)]: Likewise.
58655         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58656         !__NR_fadvise64_64))]: Likewise.
58657         [__NR_fadvise64]: Make code unconditional.
58658         [!__NR_fadvise64]: Remove conditional code.
58659         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
58660         <kernel-features.h>.
58661         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58662         unconditional.
58663         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58664         conditional code.
58665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
58666         not include <kernel-features.h>.
58667         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58668         unconditional.
58669         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58670         conditional code.
58671         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
58672         include <kernel-features.h>.
58673         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58674         unconditional.
58675         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58676         conditional code.
58678 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
58680         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
58681         slight instruction rearrangements per scrollpipe analysis.
58682         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
58684 2012-08-20  Roland McGrath  <roland@hack.frob.com>
58686         * manual/syslog.texi (syslog; vsyslog, closelog):
58687         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
58688         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
58690         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
58691         DSOCAPS to match condition on defining it.
58693 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
58695         * sysdeps/unix/sysv/linux/kernel-features.h
58696         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
58697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
58698         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58699         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
58701         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58702         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
58704         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58705         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58707         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
58708         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
58710         * sysdeps/unix/sysv/linux/kernel-features.h
58711         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
58712         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
58713         unconditional.
58714         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58715         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
58716         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
58717         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58718         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
58719         Make code unconditional.
58720         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58721         (__mmap64) [!__NR_mmap2]: Likewise.
58722         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
58723         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
58724         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58725         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
58726         [__NR_mmap2]: Make code unconditional.
58727         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58728         (__mmap64) [!__NR_mmap2]: Likewise.
58730 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58732         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
58734 2012-08-18  Andreas Jaeger  <aj@suse.de>
58736         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
58738 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
58740         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
58741         * include/unistd.h (__have_sock_cloexec): Likewise.
58742         (__have_pipe2): Likewise.
58743         (__have_dup3): Likewise.
58745 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
58747         [BZ #9685]
58748         * include/unistd.h (__have_pipe2): Change define into an extern int.
58749         (__have_dup3): Likewise.
58750         * socket/have_sock_cloexec.c: Include fcntl.h.
58751         (__have_pipe2): New variable.
58752         (__have_dup3): Likewise.
58754 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
58756         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
58758 2012-08-17  Marek Polacek  <polacek@redhat.com>
58760         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
58761         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
58763 2012-08-17  Roland McGrath  <roland@hack.frob.com>
58765         * configure.in: Add AC_SUBST for sysheaders.
58766         * configure: Regenerated.
58767         * config.make.in (sysheaders): New substituted variable.
58769         * sysdeps/unix/mkfifo.c: Moved ...
58770         * sysdeps/posix/mkfifo.c: ... here.
58771         * sysdeps/unix/mkfifoat.c: Moved ...
58772         * sysdeps/posix/mkfifoat.c: ... here.
58774         * sysdeps/unix/utime.c: Moved ...
58775         * sysdeps/posix/utime.c: ... here.
58777         * sysdeps/unix/time.c: Moved ...
58778         * sysdeps/posix/time.c: ... here.
58779         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
58780         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
58782         * sysdeps/unix/nice.c: Moved ...
58783         * sysdeps/posix/nice.c: ... here.
58785         * sysdeps/unix/alarm.c: Moved ...
58786         * sysdeps/posix/alarm.c: ... here.
58788         * intl/Makefile ($(codeset_mo)): Depend on the input file.
58790 2012-08-17  Jeff Law <law@redhat.com>
58792         * intl/Makefile (codeset_mo): New variable.
58793         ($(codeset_mo)): New target.
58794         (tst-codeset.out): Depend on that.  Remove explicit rule.
58795         (tst-gettext3.out, tst-gettext5.out): Likewise.
58796         (LOCPATH-ENV, tst-codeset-ENV): New variables.
58797         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
58798         * intl/tst-codeset.sh: Remove.
58799         * intl/tst-gettext3.sh: Likewise.
58800         * intl/tst-gettext5.sh: Likewise.
58802 2012-08-17  Roland McGrath  <roland@hack.frob.com>
58804         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
58805         * sysdeps/unix/syscalls.list: ... here.
58807         * sysdeps/posix/getaddrinfo.c
58808         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
58809         (gaiconf_init, gaiconf_reload): Use them.
58810         [!_STATBUF_ST_NSEC]
58811         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
58812         Define using time_t rather than struct timespec.
58814         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
58815         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
58816         Macros removed.
58817         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
58818         [!NO_THREADS].
58819         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
58820         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
58821         Likewise.
58823         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
58824         __libc_cleanup_push argument.
58826         * bits/param.h: New file.
58827         * misc/sys/param.h: New file.
58828         * include/sys/param.h: New file.
58829         * misc/Makefile (headers): Add bits/param.h.
58830         * sysdeps/generic/sys/param.h: File removed.
58831         * sysdeps/unix/sysv/linux/bits/param.h: New file.
58832         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
58833         * sysdeps/mach/hurd/bits/param.h: New file.
58834         * sysdeps/mach/hurd/sys/param.h: File removed.
58836         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
58837         last change.
58839         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
58840         [_IO_MTSAFE_IO].
58841         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
58842         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
58843         New macros.
58845         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
58846         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
58847         rather than -D_IO_MTSAFE_IO conditionally.
58848         * stdio-common/Makefile (CPPFLAGS): Likewise.
58849         * wcsmbs/Makefile (CPPFLAGS): Likewise.
58850         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
58851         Use $(libio-mtsafe).
58852         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
58853         of -D_IO_MTSAFE_IO.
58854         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
58855         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
58856         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
58857         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
58858         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
58859         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
58860         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
58861         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
58862         (CFLAGS-fread_u_chk.c): Likewise.
58863         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
58864         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
58865         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
58866         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
58867         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
58868         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
58869         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
58870         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
58871         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
58873         * libio/Makefile: Test [$(libc-reentrant) = yes]
58874         instead of [$(filter %REENTRANT, $(defines)) nonempty].
58876         * Makeconfig
58877         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
58878         * sysdeps/pthread/configure: File removed.
58879         * sysdeps/pthread/Makeconfig: New file.
58880         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
58881         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
58883 2012-08-16  Gary Benson  <gbenson@redhat.com>
58885         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
58886         unmapping the first object in a namespace.
58888 2012-08-16  Roland McGrath  <roland@hack.frob.com>
58890         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
58891         (__internal_setnetgrent): ... this.  Add internal_function to
58892         definition.  Add libc_hidden_def.
58893         (setnetgrent): Update caller.
58894         (internal_endnetgrent): Renamed to ...
58895         (__internal_endnetgrent): ... this.  Add internal_function to
58896         definition.  Add libc_hidden_def.
58897         (endnetgrent): Update caller.
58898         (internal_getnetgrent_r): Renamed to ...
58899         (__internal_getnetgrent_r): ... this.  Add internal_function to
58900         definition.  Add libc_hidden_def.
58901         (__getnetgrent_r): Update caller.
58902         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
58904 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
58906         * stdlib/longlong.h: Update from GCC.
58908 2012-08-16  Roland McGrath  <roland@hack.frob.com>
58910         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
58911         on _QL, which is set by umul_ppmm but never used.
58912         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
58913         variables, which are set by GMP macros but never used.
58914         * stdio-common/_itowa.c (_itowa): Likewise.
58915         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
58916         * stdlib/mod_1.c (mpn_mod_1): Likewise.
58918 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
58920         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
58921         struct La_sh_regs is not constant.
58922         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
58923         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
58924         and struct La_sparc64_regs are not constant.
58926 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
58928         * sysdeps/unix/sysv/linux/kernel-features.h
58929         (__ASSUME_POSIX_TIMERS): Remove.
58930         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58931         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58932         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
58933         Make code unconditional.
58934         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58935         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
58936         Make code unconditional.
58937         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58938         * sysdeps/unix/sysv/linux/clock_nanosleep.c
58939         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
58940         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58941         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
58942         Make code unconditional.
58943         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58944         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
58945         (__libc_missing_posix_timers): Remove.
58947 2012-08-15  Roland McGrath  <roland@hack.frob.com>
58949         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
58950         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
58952         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
58954         * elf/dl-sym.c: Include <stdlib.h>.
58956         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
58957         constants, which avoids warnings in 32-bit builds.
58959         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
58960         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
58962         * misc/lseek.c: File moved to ...
58963         * io/lseek.c: ... here.
58965         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
58967         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
58968         shifting LEN more than 31 bits at once.
58970 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58972         [BZ #14195]
58973         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
58974         segmentation fault for a case of two empty input strings.
58975         * string/test-strncasecmp.c (check1): Renamed to...
58976         (bz12205): ...this.
58977         (bz14195): Add new testcase for two empty input strings and N > 0.
58978         (test_main): Call new testcase, adapt for renamed function.
58980 2012-08-15  Andreas Jaeger  <aj@suse.de>
58982         [BZ #14090]
58983         * crypt/md5test2.c: New test, based on test supplied by Serge
58984         Belyshev <belyshev@depni.sinp.msu.ru>.
58985         * crypt/Makefile (xtests): Add md5test-giant..
58986         * crypt/Makefile ($(objpfx)md5test-giant): Add.
58988 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
58990         [BZ #14090]
58991         * crypt/md5.c (md5_process_block): Don't assume the buffer
58992         length is less than 2**32.
58993         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
58994         length is less than 2**64.
58996 2012-08-15  Roland McGrath  <roland@hack.frob.com>
58998         * string/str-two-way.h: Include <sys/param.h>.
58999         (MAX): Macro removed.
59001         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
59002         Move #define and #undef of memmove to just before and after
59003         including <string.h>.
59005         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
59006         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
59007         and after including <string.h>.  Move declarations of
59008         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
59009         to before #include "string/memmove.c".
59011         * include/dirent.h: Declare __getdirentries.
59013         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
59014         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
59016 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
59018         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
59019         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
59020         * sysdeps/i386/configure: Regenerated.
59021         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
59022         STABS_CURRENT_FILE, and STABS_FUN.
59023         (END): Remove call to STABS_FUN_END.
59024         (STABS_CURRENT_FILE1): Delete.
59025         (STABS_CURRENT_FILE): Likewise.
59026         (STABS_FUN): Likewise.
59027         (STABS_FUN_END): Likewise.
59028         (STABS_FUN2): Likewise.
59029         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
59030         * sysdeps/x86_64/configure: Regenerated.
59032 2012-08-14  Roland McGrath  <roland@hack.frob.com>
59034         * elf/dl-open.c: Include <atomic.h>.
59035         * elf/dl-lookup.c: Likewise.
59037 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
59039         * sysdeps/unix/sysv/linux/kernel-features.h
59040         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
59041         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
59042         unconditionally.
59043         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
59044         unconditionally.
59045         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
59046         condition on __ASSUME_CLONE_THREAD_FLAGS.
59048 2012-08-14  Andreas Jaeger  <aj@suse.de>
59050         * sysdeps/i386/fpu/libm-test-ulps: Update.
59052 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
59054         * include/atomic.h (atomic_exchange_and_add): Split into ...
59055         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
59056         New atomic macros.
59058 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
59060         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59062 2012-08-13  Jeff Law <law@redhat.com>
59064         * manual/stdio.texi (snprintf): Clarify handling of the trailing
59065         null byte in the output string.
59067 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
59069         * sysdeps/unix/sysv/linux/kernel-features.h
59070         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
59071         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
59072         (__ASSUME_ARG_MAX_STACK_BASED): Define.
59073         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
59074         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
59075         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
59076         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
59078 2012-08-09  Jeff Law <law@redhat.com>
59080         [BZ #13939]
59081         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
59082         When avoid_arena is set, don't retry in the that arena.  Pick the
59083         next one, whatever it might be.
59084         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
59085         (arena_lock): Pass in new parameter to arena_get2.
59086         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
59087         arena_get2.
59088         (__libc_malloc): Unify retrying after main arena failure with
59089         __libc_memalign version.
59090         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
59092 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
59094         [BZ #14166]
59095         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
59096         to __redirect_strstr.
59097         (__strstr_sse42): Use typeof __redirect_strstr.
59098         (__strstr_ia32): Likewise.
59099         (__libc_strstr): New prototype.
59100         (strstr): Renamed to ...
59101         (__libc_strstr): This.
59102         (strstr): New strong alias of __libc_strstr.
59103         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59104         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
59105         __redirect_time.
59106         Include <time.h>.
59107         (__libc_time): New prototype.
59108         (time_ifunc): Replace time with __libc_time.
59109         (time): New strong alias and hidden definition of __libc_time.
59110         (__GI_time): Remove strong alias.
59111         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
59112         Include <stddef.h>.
59113         (memmove): Redefined to __redirect_memmove.
59114         (__memmove_sse2): Use typeof __redirect_memmove.
59115         (__memmove_ssse3): Likewise.
59116         (__memmove_ssse3_back): Likewise.
59117         (__libc_memmove): New prototype.
59118         (memmove): Renamed to ...
59119         (__libc_memmove): This.
59120         (memmove): New strong alias of __libc_memmove.
59122 2012-08-08  Mark Salter  <msalter@redhat.com>
59124         * elf/elf.h
59125         (R_MN10300_TLS_GD): Define.
59126         (R_MN10300_TLS_LD): Likewise.
59127         (R_MN10300_TLS_LDO): Likewise.
59128         (R_MN10300_TLS_GOTIE): Likewise.
59129         (R_MN10300_TLS_IE): Likewise.
59130         (R_MN10300_TLS_LE): Likewise.
59131         (R_MN10300_TLS_DTPMOD): Likewise.
59132         (R_MN10300_TLS_DTPOFF): Likewise.
59133         (R_MN10300_TLS_TPOFF): Likewise.
59134         (R_MN10300_SYM_DIFF): Likewise.
59135         (R_MN10300_ALIGN): Likewise.
59136         (R_MN10300_NUM): Update.
59138 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
59140         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
59141         Remove.
59143 2012-08-08  Roland McGrath  <roland@hack.frob.com>
59145         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
59147         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
59148         sysdeps/unix -> sysdeps/posix move.
59149         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
59151 2012-08-07      Allan McRae     <allan@archlinux.org>
59153         [BZ #14303]
59154         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
59155         (SUNOS_CPP): Likewise.
59156         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
59157         not found.
59158         (open_input): Call CPP using execvp.
59160 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59162         * sysdeps/unix/sysv/linux/kernel-features.h
59163         (__ASSUME_PROT_GROWSUPDOWN): Remove.
59164         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59165         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59166         (__ASSUME_WAITID_SYSCALL): Likewise.
59167         * sysdeps/unix/sysv/linux/dl-execstack.c
59168         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
59169         code unconditional.
59170         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
59171         conditional code.
59172         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
59173         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
59174         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
59175         code.
59176         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
59177         unconditional.
59178         [__ASSUME_WAITID_SYSCALL]: Likewise.
59179         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
59181 2012-08-07  Roland McGrath  <roland@hack.frob.com>
59183         * sysdeps/unix/closedir.c: Renamed to ...
59184         * sysdeps/posix/closedir.c: ... here.
59185         * sysdeps/unix/dirfd.c: Renamed to ...
59186         * sysdeps/posix/dirfd.c: ... here.
59187         * sysdeps/unix/dirstream.h: Renamed to ...
59188         * sysdeps/posix/dirstream.h: ... here.
59189         * sysdeps/unix/fdopendir.c: Renamed to ...
59190         * sysdeps/posix/fdopendir.c: ... here.
59191         * sysdeps/unix/opendir.c: Renamed to ...
59192         * sysdeps/posix/opendir.c: ... here.
59193         * sysdeps/unix/readdir.c: Renamed to ...
59194         * sysdeps/posix/readdir.c: ... here.
59195         * sysdeps/unix/readdir_r.c: Renamed to ...
59196         * sysdeps/posix/readdir_r.c: ... here.
59197         * sysdeps/unix/rewinddir.c: Renamed to ...
59198         * sysdeps/posix/rewinddir.c: ... here.
59199         * sysdeps/unix/seekdir.c: Renamed to ...
59200         * sysdeps/posix/seekdir.c: ... here.
59201         * sysdeps/unix/telldir.c: Renamed to ...
59202         * sysdeps/posix/telldir.c: ... here.
59203         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
59204         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
59205         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
59206         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
59208         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
59209         * bits/fcntl.h: ... here.
59211         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
59212         not 0.
59213         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
59214         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
59215         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
59216         (struct flock): Move l_start, l_len to the beginning.
59217         Use __pid_t for l_pid.
59218         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
59219         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
59220         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
59221         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
59222         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
59223         [__USE_LARGEFILE64] (struct flock64): New type.
59224         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
59226         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
59227         * bits/dirent.h: ... here.
59229         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
59230         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
59232 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59234         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59235         Change from 2.6.0 to 2.6.16.
59236         * sysdeps/unix/sysv/linux/configure: Regenerated.
59237         * sysdeps/unix/sysv/linux/kernel-features.h
59238         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
59239         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
59240         version.
59241         (__ASSUME_UTIMES): Likewise.
59242         (__ASSUME_CLONE_STOPPED): Remove.
59243         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
59244         architectures, not kernel version.
59245         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
59246         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59247         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59248         (__ASSUME_WAITID_SYSCALL): Likewise.
59249         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
59250         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
59251         * README: State 2.6.16 as minimum Linux kernel version.  Do not
59252         refer to older versions.
59254 2012-08-06  Roland McGrath  <roland@hack.frob.com>
59256         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
59257         Define alphasort64 as an alias.
59258         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
59259         Define versionsort64 as an alias.
59260         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
59261         Define scandir64 as an alias.
59262         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
59263         Define scandirat64 as an alias.
59264         * dirent/alphasort64.c (alphasort64):
59265         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
59266         * dirent/versionsort64.c: Likewise.
59267         * dirent/scandir64.c: Likewise.
59268         * dirent/scandirat64.c: Likewise.
59269         * sysdeps/wordsize-64/alphasort.c: File removed.
59270         * sysdeps/wordsize-64/alphasort64.c: File removed.
59271         * sysdeps/wordsize-64/scandir.c: File removed.
59272         * sysdeps/wordsize-64/scandir64.c: File removed.
59273         * sysdeps/wordsize-64/scandirat.c: File removed.
59274         * sysdeps/wordsize-64/scandirat64.c: File removed.
59275         * sysdeps/wordsize-64/versionsort.c: File removed.
59276         * sysdeps/wordsize-64/versionsort64.c: File removed.
59277         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
59278         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
59279         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
59280         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
59281         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
59282         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
59283         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
59284         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
59286         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
59287         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59288         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
59289         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59290         [defined __arch64__ || defined __sparcv9]
59291         (__INO_T_MATCHES_INO64_T): New macro.
59292         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59293         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
59294         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
59295         * sysdeps/unix/sysv/linux/bits/dirent.h
59296         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
59297         (_DIRENT_MATCHES_DIRENT64): New macro.
59299         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
59300         Define lockf64 as an alias.
59301         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
59302         Define fseeko64 as an alias.
59303         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
59304         Define ftello64 as an alias.
59305         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
59306         Define _IO_fgetpos64 and fgetpos64 as aliases.
59307         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
59308         Define _IO_fsetpos64 and fsetpos64 as aliases.
59309         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
59310         Conditionalize body on this.
59311         * libio/fseeko64.c: Likewise.
59312         * libio/ftello64.c: Likewise.
59313         * libio/iofgetpos64.c: Likewise.
59314         * libio/iofsetpos64.c: Likewise.
59315         * sysdeps/wordsize-64/lockf.c: File removed.
59316         * sysdeps/wordsize-64/lockf64.c: File removed.
59317         * sysdeps/wordsize-64/fseeko.c: File removed.
59318         * sysdeps/wordsize-64/fseeko64.c: File removed.
59319         * sysdeps/wordsize-64/ftello.c: File removed.
59320         * sysdeps/wordsize-64/ftello64.c: File removed.
59321         * sysdeps/wordsize-64/iofgetpos.c: File removed.
59322         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
59323         * sysdeps/wordsize-64/iofsetpos.c: File removed.
59324         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
59325         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
59326         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
59327         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
59328         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
59329         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
59330         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
59331         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
59332         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
59333         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
59334         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
59336         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59337         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59338         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
59339         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59340         [defined __arch64__ || defined __sparcv9]
59341         (__OFF_T_MATCHES_OFF64_T): New macro.
59342         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59343         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59344         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59345         (__OFF_T_MATCHES_OFF64_T): New macro.
59347 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
59349         * stdlib/secure-getenv.c (__secure_getenv): Replace
59350         GLIBC_2_16 with GLIBC_2_17.
59352 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
59354         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
59355         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
59357 2012-08-03  David S. Miller  <davem@davemloft.net>
59359         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59361 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
59363         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
59364         Remove.
59365         (__ASSUME_CORRECT_SI_PID): Likewise.
59366         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
59367         (__ASSUME_TMPFS_NAME): Likewise.
59368         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
59369         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
59370         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
59371         (HAVE_AUX_SECURE): Make definition unconditional.
59372         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
59373         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
59375 2012-08-03  Roland McGrath  <roland@hack.frob.com>
59377         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
59378         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
59379         * sysdeps/mach/hurd/eloop-threshold.h: New file.
59380         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59381         __eloop_threshold instead of SYMLOOP_MAX.
59383         * sysdeps/generic/eloop-threshold.h: New file.
59384         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
59385         of MAXSYMLINKS.
59386         * elf/chroot_canon.c (chroot_canon): Likewise.
59388 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
59390         [BZ #13717]
59391         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59392         Change to 2.6.0 everywhere.
59393         * sysdeps/unix/sysv/linux/configure: Regenerated.
59394         * sysdeps/unix/sysv/linux/kernel-features.h
59395         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
59396         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
59397         kernel versions.
59398         (__ASSUME_POSIX_TIMERS): Define unconditionally.
59399         (__ASSUME_FUTEX_REQUEUE): Remove.
59400         (__ASSUME_STATFS64): Define unconditionally.
59401         (__ASSUME_AT_SECURE): Likewise.
59402         (__ASSUME_CORRECT_SI_PID): Likewise.
59403         (__ASSUME_TGKILL): Define without depending on kernel version for
59404         i386.
59405         (__ASSUME_UTIMES): Likewise.
59406         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
59407         kernel version.
59408         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
59409         (__ASSUME_TMPFS_NAME): Likewise.
59410         * README: Update reference to Linux kernel versions.
59412 2012-08-02  Marek Polacek  <polacek@redhat.com>
59414         [BZ# 14150]
59415         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
59416         libc_cv_asm_type_prefix with %.
59417         * configure: Regenerated.
59418         * include/libc-symbols.h: Remove comment about
59419         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59420         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
59421         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
59422         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
59423         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
59424         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59425         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
59426         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
59427         * elf/tst-unique2mod1.c: Likewise.
59428         * elf/tst-unique1mod2.c: Likewise.
59429         * elf/tst-unique1mod1.c: Likewise.
59430         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
59431         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
59432         Replace ASM_TYPE_DIRECTIVE with .type.
59433         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59434         * sysdeps/i386/sysdep.h: Likewise.
59435         * sysdeps/x86_64/sysdep.h: Likewise.
59436         * sysdeps/sh/sysdep.h: Likewise.
59437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59438         Do not define ASM_TYPE_DIRECTIVE.
59439         * sysdeps/powerpc/sysdep.h: Likewise.
59440         * sysdeps/powerpc/powerpc32/sysdep.h:
59441         Replace ASM_TYPE_DIRECTIVE with .type.
59442         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
59443         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59444         * sysdeps/i386/fpu/e_powf.S: Likewise.
59445         * sysdeps/i386/fpu/e_expl.S: Likewise.
59446         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59447         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59448         * sysdeps/i386/fpu/e_pow.S: Likewise.
59449         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
59450         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59451         * sysdeps/i386/fpu/s_expm1.S: Likewise.
59452         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
59453         * sysdeps/i386/fpu/e_log2.S: Likewise.
59454         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59455         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59456         * sysdeps/i386/fpu/e_powl.S: Likewise.
59457         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59458         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
59459         * sysdeps/i386/fpu/e_logl.S: Likewise.
59460         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
59461         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
59462         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
59463         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59464         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59465         * sysdeps/i386/fpu/e_log.S: Likewise.
59466         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59467         * sysdeps/i386/fpu/e_logf.S: Likewise.
59468         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59469         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59470         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
59471         * sysdeps/i386/fpu/e_log10.S: Likewise.
59472         * sysdeps/i386/fpu/s_frexp.S: Likewise.
59473         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59474         * sysdeps/i386/fpu/s_asinh.S: Likewise.
59475         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
59476         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59477         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
59478         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
59479         * sysdeps/i386/i686/strtok.S: Likewise.
59480         * sysdeps/i386/i386-mcount.S: Likewise.
59481         * sysdeps/i386/strtok.S: Likewise.
59482         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
59483         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59484         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59485         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59486         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
59487         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59488         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
59489         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
59490         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59491         * sysdeps/x86_64/_mcount.S: Likewise.
59492         * sysdeps/x86_64/strtok.S: Likewise.
59493         * sysdeps/sh/_mcount.S: Likewise.
59495 2012-08-01  Roland McGrath  <roland@hack.frob.com>
59497         * libio/iofopen.c: Include <fcntl.h>.
59498         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
59499         (_IO_fopen64, fopen64): Define as aliases.
59500         * libio/iofopen64.c: Include <fcntl.h>.
59501         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
59502         Conditionalize body on this.
59503         * sysdeps/wordsize-64/iofopen.c: File removed.
59504         * sysdeps/wordsize-64/iofopen64.c: File removed.
59506 2012-08-01  Marek Polacek  <polacek@redhat.com>
59508         * libc/Makeconfig: Use elf in place of binfmt-subdir.
59509         Use dlfcn directly instead of a variable.
59510         (binfmt-subdir): Do not define.
59511         (dlfcn): Likewise.
59513 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
59515         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
59516         Remove all definitions.
59517         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
59518         <kernel-features.h>.
59519         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59520         (miss_F_GETOWN_EX): Remove all definitions.
59521         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
59522         macro definition.
59523         [!__ASSUME_FCNTL64]: Remove conditional code.
59524         [__ASSUME_FCNTL64]: Make code unconditional.
59525         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
59526         <kernel-features.h>.
59527         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59528         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
59529         (lockf64) [__NR_fcntl64]: Make code unconditional.
59530         (lockf64) [__ASSUME_FCNTL64]: Likewise.
59532         * sysdeps/unix/sysv/linux/kernel-features.h
59533         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
59534         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
59535         Make code unconditional.
59536         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59537         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
59539         [__NR_vfork]: Make code unconditional.
59540         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59541         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
59543         [__NR_vfork]: Make code unconditional.
59544         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59545         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59547 2012-08-01  Roland McGrath  <roland@hack.frob.com>
59549         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
59550         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
59552         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59553         Define mkstemp64 as an alias.
59554         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59555         Define mkstemps64 as an alias.
59556         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59557         Define mkostemp64 as an alias.
59558         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59559         Define mkostemps64 as an alias.
59560         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
59561         Conditionalize body on this.
59562         * misc/mkostemp64.c: Likewise.
59563         * misc/mkostemps64.c: Likewise.
59564         * misc/mkstemps64.c: Likewise.
59565         * sysdeps/wordsize-64/mkstemp64.c: File removed.
59566         * sysdeps/wordsize-64/mkostemp64.c: File removed.
59567         * sysdeps/wordsize-64/mkostemp.c: File removed.
59568         * sysdeps/wordsize-64/mkstemp.c: File removed.
59569         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
59570         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
59571         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
59572         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
59574         [BZ #14138]
59575         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
59576         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
59577         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
59578         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
59580         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
59581         compat_symbol macros from <shlib-compat.h> rather than the underlying
59582         default_symbol_version and symbol_version macros, so that DEFAULT
59583         lines in shlib-versions are respected.
59584         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
59586 2012-08-01  Florian Weimer  <fweimer@redhat.com>
59588         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
59589         Declare with warn_unused_result.
59590         (setgid, setregid, setegid, setresgid): Likewise.
59591         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
59592         Likewise.
59593         * WUR-REPORT: Remove set*id functions.
59595 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
59597         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
59599 2012-07-31  Roland McGrath  <roland@hack.frob.com>
59601         [BZ #10191]
59602         * include/sys/socket.h (__libc_accept, __libc_accept4):
59603         Add attribute_hidden.
59604         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
59606         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
59607         use of PTR_MANGLE.
59608         * inet/getnetgrent_r.c (setup): Likewise.
59610         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
59612 2012-07-31  David S. Miller  <davem@davemloft.net>
59614         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59616 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
59618         [BZ #13629]
59619         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
59620         value between 1.0 and 2.0 and smaller part has absolute value less
59621         than 1.0.
59622         * math/s_clog10.c (__clog10): Likewise.
59623         * math/s_clog10f.c (__clog10f): Likewise.
59624         * math/s_clog10l.c (__clog10l): Likewise.
59625         * math/s_clogf.c (__clogf): Likewise.
59626         * math/s_clogl.c (__clogl): Likewise.
59627         * math/libm-test.inc (clog_test): Add more tests.
59628         (clog10_test): Likewise.
59629         * sysdeps/i386/fpu/libm-test-ulps: Update.
59630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59632 2012-07-31  Florian Weimer  <fweimer@redhat.com>
59634         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
59635         Exit with zero in case no suitable GID is found, and write a
59636         message to standard error.
59638 2012-07-30  Roland McGrath  <roland@hack.frob.com>
59640         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
59641         rather than to 1.
59642         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
59643         (MAXPATHLEN): Removed.
59644         (NOGROUP, NODEV): New macros.
59645         (setbit, clrbit, isset, isclr): New macros.
59646         (howmany, roundup, powerof2): New macros.
59647         (DEV_BSIZE): New macro.
59649         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
59650         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
59652         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
59653         definition on [!__NO_LONG_DOUBLE_MATH].
59655         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
59656         PTR_MANGLE and PTR_DEMANGLE.
59658         * socket/accept4.c (accept4): Rename to __libc_accept4.
59659         Define accept4 as a weak alias.
59661         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
59662         on [_DIRENT_HAVE_D_TYPE].
59663         * io/ftw.c (ftw_dir): Likewise.
59665         * io/xmknod.c (__xmknod): Don't check PATH for being null.
59667         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
59669         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
59670         Use the BSD numbers rather than the arbitrary ones we had.
59671         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
59672         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
59673         (SIGXCPU, SIGXFSZ): New macros.
59674         (_NSIG): Now 32.
59676         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
59677         initializer on [_LIBC_REENTRANT].
59679         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
59680         definitions inside [_POSIX_MAPPED_FILES].
59682         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
59684         * dirent/opendir.c: Include <fcntl.h>.
59686         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
59687         (__libc_getspecific): Likewise.
59688         (__libc_key_create): Likewise.
59690         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
59691         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
59692         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
59693         (tmpfile64): Define as alias.
59694         * sysdeps/wordsize-64/tmpfile.c: File removed.
59695         * sysdeps/wordsize-64/tmpfile64.c: File removed.
59696         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
59697         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
59699         * stdio-common/vfscanf.c: Include <stdbool.h>.
59700         * nss/makedb.c: Likewise.
59701         * stdio-common/_i18n_number.h: Likewise.
59702         * argp/argp-help.c: Likewise.
59703         * posix/wordexp.c: Likewise.
59704         * sysdeps/posix/spawni.c: Likewise.
59705         * nss/nss_files/files-initgroups.c: Likewise.
59706         * stdio-common/reg-modifier.c: Include <stdlib.h>.
59707         * nss/nss_files/files-initgroups.c: Likewise.
59708         * nss/nss_db/db-netgrp.c: Likewise.
59709         * nss/nss_db/db-initgroups.c: Likewise.
59710         * io/fchmodat.c: Include <sys/stat.h>.
59712         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
59713         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
59715         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
59716         [HAVE_MMAP].
59718         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
59719         Add multiple inclusion protection.
59721 2012-07-27  David S. Miller  <davem@davemloft.net>
59723         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59725 2012-07-27  Gary Benson  <gbenson@redhat.com>
59727         [BZ #14298]
59728         * elf/rtld.c: Include <stap-probe.h>.
59729         (dl_main): Added static probes "init_start" and "init_complete".
59730         * elf/dl-load.c: Include <stap-probe.h>.
59731         (lose): Take new parameter "nsid".
59732         Added static probe "map_failed".
59733         (_dl_map_object_from_fd): Pass namespace id to lose.
59734         Added static probe "map_start".
59735         (open_verify): Pass namespace id to lose.
59736         * elf/dl-open.c: Include <stap-probe.h>.
59737         (dl_open_worker) Added static probes "map_complete", "reloc_start"
59738         and "reloc_complete".
59739         * elf/dl-close.c: Include <stap-probe.h>.
59740         (_dl_close_worker): Added static probes "unmap_start" and
59741         "unmap_complete".
59742         * elf/rtld-debugger-interface.txt: New file documenting the above.
59744 2012-07-26  Roland McGrath  <roland@hack.frob.com>
59746         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
59747         rather than a string variable.
59748         * sunrpc/rpc_main.c (h_output): Likewise.
59749         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
59751 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
59753         * inet/check_native.c: New file.
59755 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
59757         [BZ #13629]
59758         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
59759         if larger part has absolute value 1.0.
59760         * math/s_clog10.c (__clog10): Likewise.
59761         * math/s_clog10f.c (__clog10f): Likewise.
59762         * math/s_clog10l.c (__clog10l): Likewise.
59763         * math/s_clogf.c (__clogf): Likewise.
59764         * math/s_clogl.c (__clogl): Likewise.
59765         * math/libm-test.inc (clog_test): Add more tests.
59766         (clog10_test): Likewise.
59767         * sysdeps/i386/fpu/libm-test-ulps: Update.
59768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59770         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
59771         (pltexit): Likewise.
59772         (La_regs): Likewise.
59773         (La_retval): Likewise.
59774         (int_retval): Likewise.
59775         Update #error for removed macros to refer only to definitions in
59776         tst-audit.h.
59777         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
59778         macro.
59779         (pltexit): Likewise.
59780         (La_regs): Likewise.
59781         (La_retval): Likewise.
59782         (int_retval): Likewise.
59783         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
59784         macro.
59785         (pltexit): Likewise.
59786         (La_regs): Likewise.
59787         (La_retval): Likewise.
59788         (int_retval): Likewise.
59789         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
59790         macro.
59791         (pltexit): Likewise.
59792         (La_regs): Likewise.
59793         (La_retval): Likewise.
59794         (int_retval): Likewise.
59795         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
59796         macro.
59797         (pltexit): Likewise.
59798         (La_regs): Likewise.
59799         (La_retval): Likewise.
59800         (int_retval): Likewise.
59801         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
59802         macro.
59803         (pltexit): Likewise.
59804         (La_regs): Likewise.
59805         (La_retval): Likewise.
59806         (int_retval): Likewise.
59807         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
59808         macro.
59809         (pltexit): Likewise.
59810         (La_regs): Likewise.
59811         (La_retval): Likewise.
59812         (int_retval): Likewise.
59813         * sysdeps/generic/tst-audit.h: Update comment to refer only to
59814         macro definitions in tst-audit.h.
59815         * sysdeps/i386/tst-audit.h: New file.
59816         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
59817         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
59818         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
59819         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
59820         * sysdeps/sh/tst-audit.h: Likewise.
59821         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
59822         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
59823         * sysdeps/x86_64/tst-audit.h: Likewise.
59825 2012-07-26  Andreas Jaeger  <aj@suse.de>
59827         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
59828         ptrace.
59830         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
59831         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
59832         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
59833         PTRACE_O_MASK.
59834         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
59835         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
59836         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
59838         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
59839         value.
59841         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
59842         _sigsys.
59843         (si_call_addr, si_syscall, si_arch): Define new macro.
59844         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
59845         _sigsys.
59846         (si_call_addr, si_syscall, si_arch): Define new marcro.
59847         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
59848         _sigsys.
59849         (si_call_addr, si_syscall, si_arch): Define new macro.
59850         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
59851         _sigsys.
59852         (si_call_addr, si_syscall, si_arch): Define new macro.
59854 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
59856         [BZ #13717]
59857         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59858         Change to 2.4.21 where previously 2.4.1.
59859         * sysdeps/unix/sysv/linux/configure: Regenerated.
59860         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
59861         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
59862         Linux kernel version.
59863         (__ASSUME_STD_AUXV): Remove.
59864         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
59865         kernel version.
59866         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
59867         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
59868         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
59869         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
59870         (__ASSUME_NETLINK_SUPPORT): Likewise.
59871         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
59872         (__no_netlink_support): Remove conditional definition.
59873         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
59874         Remove.
59875         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59876         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
59877         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
59878         (if_nameindex_ioctl): Remove.
59879         (if_nameindex_netlink): Do not handle __no_netlink_support.
59880         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59881         code.
59882         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
59883         Remove conditional code.
59884         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59885         code.
59886         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
59887         unconditional.
59888         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59889         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
59890         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
59891         Remove.
59892         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
59893         [!__ASSUME_STD_AUXV]: Remove conditional code.
59894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
59895         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
59896         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
59897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
59898         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
59899         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
59900         code.
59901         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
59902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59903         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
59904         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
59905         conditional code.
59906         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
59907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
59908         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
59909         code.
59910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59911         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
59912         conditional code.
59913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
59914         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59915         code unconditional.
59916         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59917         conditional code.
59918         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59919         unconditional.
59920         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59921         conditional code.
59922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59923         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59924         unconditional.
59925         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59926         conditional code.
59927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
59928         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59929         code unconditional.
59930         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59931         conditional code.
59932         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59933         unconditional.
59934         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59935         conditional code.
59936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
59937         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59938         code unconditional.
59939         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59940         conditional code.
59941         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59942         unconditional.
59943         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59944         conditional code.
59946 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
59948         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
59949         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
59950         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
59951         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
59952         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
59953         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
59954         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
59955         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
59956         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
59957         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
59958         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
59959         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
59960         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
59961         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
59962         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
59963         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
59964         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
59965         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
59966         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
59967         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
59968         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
59969         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
59970         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
59972 2012-07-25  Florian Weimer  <fweimer@redhat.com>
59974         * Versions.def: Add GLIBC_2.17.
59975         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
59976         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
59977         Introduce __libc_secure_getenv.
59978         * stdlib/Versions (2.17): Add secure_getenv
59979         (GLIBC_PRIVATE): Add __libc_secure_getenv.
59980         * stdlib/secure-getenv.c: Rename __secure_getenv to
59981         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
59982         symbol __secure_getenv for GLIBC_2.0.
59983         * stdlib/tst-secure-getenv.c: New.
59984         * stdlib/Makefile (tests): Add testcase.
59985         * manual/startup.texi (Environment Access): Document
59986         secure_getenv.
59987         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
59988         __libc_secure_getenv.
59989         * inet/ruserpass.c (ruserpass): Likewise.
59990         * malloc/mtrace.c (mtrace): Likewise.
59991         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
59992         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
59993         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
59994         * sysdeps/posix/tempname.c: Likewise.  Evaluate
59995         HAVE_SECURE_GETENV.
59996         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
59997         __secure_getenv to __libc_secure_getenv.
59998         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
59999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60000         Likewise.
60001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60002         Likewise.
60003         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60004         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60005         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60006         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60007         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60008         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60009         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60011 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
60013         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
60014         (struct La_i86_retval): Likewise.
60015         (struct La_x86_64_regs): Likewise.
60016         (struct La_x86_64_retval): Likewise.
60017         (struct La_x32_regs): Likewise.
60018         (struct La_x32_retval): Likewise.
60019         (struct La_ppc32_regs): Likewise.
60020         (struct La_ppc32_retval): Likewise.
60021         (struct La_ppc64_regs): Likewise.
60022         (struct La_ppc64_retval): Likewise.
60023         (struct La_sh_regs): Likewise.
60024         (struct La_sh_retval): Likewise.
60025         (struct La_s390_32_regs): Likewise.
60026         (struct La_s390_32_retval): Likewise.
60027         (struct La_s390_64_regs): Likewise.
60028         (struct La_s390_64_retval): Likewise.
60029         (struct La_sparc32_regs): Likewise.
60030         (struct La_sparc32_retval): Likewise.
60031         (struct La_sparc64_regs): Likewise.
60032         (struct La_sparc64_retval): Likewise.
60033         (struct audit_ifaces): Remove architecture-specific pltenter and
60034         pltexit members.
60035         * sysdeps/i386/ldsodefs.h: New file.
60036         * sysdeps/powerpc/ldsodefs.h: Likewise.
60037         * sysdeps/s390/ldsodefs.h: Likewise.
60038         * sysdeps/sh/ldsodefs.h: Likewise.
60039         * sysdeps/sparc/ldsodefs.h: Likewise.
60040         * sysdeps/x86_64/ldsodefs.h: Likewise.
60042 2012-07-25  Marek Polacek  <polacek@redhat.com>
60044         [BZ #6808]
60045         * math/libm-test.inc (yn_test): Add another test.
60046         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
60047         to ERANGE when the result is +-Inf.
60048         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60049         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
60050         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
60051         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
60053 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
60055         * conform/data/time.h-data (NULL): Use macro-constant.  Require
60056         equal to 0.
60057         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
60058         clock_t.
60059         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
60061 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
60063         * configure.in <sysdeps resolving>: Correct printing
60064         Implies_before.
60065         * configure: Regenerate.
60067 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
60069         * math/w_ilogb.c: Include <limits.h>.
60070         * math/w_ilogbl.c: Likewise.
60072 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
60074         * manual/lang.texi (__va_copy): Document primarily as ISO C99
60075         va_copy.  Document allowing for unavailable va_copy only as
60076         pre-C99 compatibility.
60077         * manual/string.texi (Copying and Concatenation): Use va_copy
60078         instead of __va_copy in concat example.
60080 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
60082         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
60083         (__sendto): Use create_address_port.  Initialize APORT and deallocate
60084         it if not null.
60086         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
60087         with O_NOLINK passed to __file_name_lookup.
60089         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
60090         with O_NOLINK passed to __file_name_lookup.
60092         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
60093         negative N or less than NGIDS.
60095         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
60096         type to string_t.  Set ERANGE as errno and return it if NAME is not big
60097         enough.  Use memcpy instead of strncpy.
60099 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
60101         * elf/Makefile (check-data): Remove.
60102         (localplt.data): New vpath directive.
60103         ($(objpfx)check-localplt.out): Use localplt.data from vpath
60104         instead of $(check-data).
60105         * scripts/data/localplt-generic.data: Move to ...
60106         * sysdeps/generic/localplt.data: ... here.
60107         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
60108         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
60109         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
60110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
60111         ... here.
60112         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
60113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
60114         ... here.
60115         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
60116         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
60117         ... here.
60118         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
60119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
60120         ... here.
60121         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
60122         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
60123         ... here.
60124         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
60125         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
60126         ... here.
60128 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60130         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
60131         PPC32 and PPC64 files.
60132         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
60133         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
60135 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60137         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
60138         __makecontext_ret to ...
60139         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
60140         ... here and call exit if uc_link is NULL.  New file.
60141         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
60142         __makecontext_ret.S.
60143         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
60144         __makecontext_ret to ...
60145         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
60146         ... here and call exit if uc_link is NULL.  New file.
60147         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
60148         __makecontext_ret.S.
60150 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60152         * elf/elf.h (R_390_IRELATIVE): New definition.
60153         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
60154         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
60155         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
60156         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
60157         (elf_machine_lazy_rel): Likewise.
60158         * sysdeps/s390/dl-irel.h: New file.
60159         * sysdeps/s390/s390-64/memcpy.S: New asm code.
60160         * sysdeps/s390/s390-64/memset.S: New asm code.
60161         * sysdeps/s390/s390-64/memcmp.S: New asm code.
60162         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
60163         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
60164         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
60165         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
60166         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
60167         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
60168         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
60169         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
60170         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
60171         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
60172         * sysdeps/s390/s390-32/memcpy.S: New asm code.
60173         * sysdeps/s390/s390-32/memset.S: New asm code.
60174         * sysdeps/s390/s390-32/memcmp.S: New asm code.
60176 2012-07-17  Marek Polacek  <polacek@redhat.com>
60178         [BZ #14349]
60179         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
60180         * sysdeps/s390/s390-64/configure.in: Likewise.
60181         * sysdeps/sparc/configure.in: Likewise.
60182         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
60183         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
60184         * sysdeps/i386/configure.in: Likewise.
60185         * sysdeps/x86_64/configure.in: Likewise.
60186         * sysdeps/sh/configure.in: Likewise.
60187         * sysdeps/s390/s390-32/configure: Regenerated.
60188         * sysdeps/s390/s390-64/configure: Likewise.
60189         * sysdeps/x86_64/configure: Likewise.
60190         * sysdeps/sh/configure: Likewise.
60191         * sysdeps/powerpc/powerpc64/configure: Likewise.
60192         * sysdeps/powerpc/powerpc32/configure: Likewise.
60193         * sysdeps/sparc/configure: Likwise.
60194         * sysdeps/i386/configure: Likewise.
60196         * elf/dl-open.c: Comment fixes.
60198 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
60200         * Makefile [CXX] (check-data): Remove.
60201         [CXX] (c++-types.data): New vpath directive.
60202         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
60203         vpath.  Do not allow for C++ type data being missing.
60204         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
60205         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
60206         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
60207         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
60208         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
60209         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
60210         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
60211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
60212         ... here.
60213         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
60214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
60215         ... here.
60216         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
60217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
60218         ... here.
60219         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
60220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
60221         ... here.
60222         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
60223         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
60224         ... here.
60225         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
60226         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
60227         ... here.
60228         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
60229         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
60230         ... here.
60231         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
60232         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
60234         * elf/tls-macros.h (TLS_LE): Move architecture-specific
60235         definitions to architecture-specific files.
60236         (TLS_IE): Likewise.
60237         (TLS_LD): Likewise.
60238         (TLS_GD): Likewise.
60239         * sysdeps/i386/tls-macros.h: New file.
60240         * sysdeps/powerpc/tls-macros.h: Likewise.
60241         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
60242         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
60243         * sysdeps/sh/tls-macros.h: Likewise.
60244         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
60245         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
60246         * sysdeps/x86_64/tls-macros.h: Likewise.
60248 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60250         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
60251         zero value for regular exit case.
60253         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
60254         (__start_context): Preserve zero value for regular exit case.
60256 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60257             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60259         * manual/setjmp.texi (setcontext): Clarify normal process
60260         termination when uc_link is the null pointer.
60261         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
60262         exit call.
60264 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
60266         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
60267         preprocessor.  Test for each exception mask separately.
60269 2012-07-16  Andreas Jaeger  <aj@suse.de>
60271         * po/ru.po: Update from translation team.
60273 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
60275         * conform/data/string.h-data (NULL): Use macro-constant.  Require
60276         equal to 0.
60277         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60278         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60279         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
60280         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
60281         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60283 2012-07-13  Andreas Jaeger  <aj@suse.de>
60285         * po/fr.po: Update from translation team.
60287 2012-07-12  Marek Polacek  <polacek@redhat.com>
60289         [BZ #14173]
60290         * math/libm-test.inc (yn_test): Add test for BZ #14173.
60291         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
60292         loop condition.
60294 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
60296         [BZ #13717]
60297         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60298         Change to 2.4.1 where previously 2.4.0.
60299         * sysdeps/unix/sysv/linux/configure: Regenerated.
60300         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
60301         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
60302         version.
60303         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
60304         (__ASSUME_AT_CLKTCK): Remove.
60305         (__ASSUME_AT_PAGESIZE): Likewise.
60306         (__ASSUME_AT_XID): Likewise.
60307         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
60308         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
60309         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
60310         unconditionally.
60311         (HAVE_AUX_PAGESIZE): Likewise.
60312         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
60313         [__ASSUME_AT_CLKTCK]: Make code unconditional.
60314         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
60316 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
60318         [BZ #14307]
60319         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
60320         the temporary buffer used to invoke __gethostbyname2_r,
60321         __gethostbyaddr_r and gethostbyname4_r to make room for struct
60322         host_data / struct gaih_addrtuple.
60323         * resolv/nss_dns/dns-host.c (global scope): Move definition of
60324         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
60325         header file nss/nsswitch.h.
60326         * nss/nsswitch.h (global scope): Add definition of implementation
60327         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
60328         resolv/nss_dns/dns-host.c).
60330 2012-07-11  Andreas Jaeger  <aj@suse.de>
60332         * po/fr.po: Update from translation team.
60334         * po/sv.po: Update from translation team
60335         * po/fr.po: Another update from translation team.
60337 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60339         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
60340         for subnormals or multiply small sinh result by itself.
60341         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
60342         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60344 2012-07-11  David S. Miller  <davem@davemloft.net>
60346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60348 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
60350         [BZ #14347]
60351         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
60352         (INTERNAL_MARK): Shift it here.
60354 2012-07-10  Marek Polacek  <polacek@redhat.com>
60356         [BZ #14151]
60357         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
60358         libc_cv_asm_global_directive with .globl.
60359         * configure: Regenerated.
60360         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
60361         with .globl.
60362         * sysdeps/i386/configure: Regenerated.
60363         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
60364         with .globl.
60365         * sysdeps/x86_64/configure: Regenerated.
60366         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
60367         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
60368         * elf/tst-unique2mod2.c: Likewise.
60369         * elf/tst-unique2mod1.c: Likewise.
60370         * elf/tst-unique1mod2.c: Likewise.
60371         * elf/tst-unique1mod1.c: Likewise.
60372         * sysdeps/s390/s390-32/sysdep.h: Likewise.
60373         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60374         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60375         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60376         * sysdeps/mach/sysdep.h: Likewise.
60377         * sysdeps/i386/sysdep.h: Likewise.
60378         * sysdeps/i386/i386-mcount.S: Likewise.
60379         * sysdeps/x86_64/_mcount.S: Likewise.
60380         * sysdeps/x86_64/sysdep.h: Likewise.
60381         * sysdeps/sh/_mcount.S: Likewise.
60382         * sysdeps/sh/sysdep.h: Likewise.
60383         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
60384         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
60385         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
60386         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60387         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
60388         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
60389         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
60390         * locale/localeinfo.h: Likewise.
60391         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
60392         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
60394 2012-07-09  Roland McGrath  <roland@hack.frob.com>
60396         [BZ #14336]
60397         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
60398         system".
60399         * manual/message.texi (The Uniforum approach): Likewise.
60400         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
60401         (glibc iconv Implementation): Likewise.
60403 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
60405         [BZ #14337]
60406         * math/s_clog.c (__clog): Avoid scaling a value down where that
60407         could result in underflow.
60408         * math/s_clog10.c (__clog10): Likewise.
60409         * math/s_clog10f.c (__clog10f): Likewise.
60410         * math/s_clog10l.c (__clog10l): Likewise.
60411         * math/s_clogf.c (__clogf): Likewise.
60412         * math/s_clogl.c (__clogl): Likewise.
60413         * math/libm-test.inc (clog_test): Add more tests.
60414         (clog10_test): Likewise.
60415         * sysdeps/i386/fpu/libm-test-ulps: Update.
60416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60418 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
60420         [BZ #14283]
60421         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
60422         by 7 not 8 to examine high bit of fractional part.
60424         [BZ #14042]
60425         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
60426         for call to __mcount_internal.
60427         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
60428         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
60429         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
60431 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
60433         [BZ #14154]
60434         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
60435         approximation for values within 0x1p-13f of an odd multiple of
60436         pi/4.
60437         * math/libm-test.inc (tan_test): Do not allow spurious underflow
60438         exception.  Add more tests.
60439         * sysdeps/i386/fpu/libm-test-ulps: Update.
60441         [BZ #6778]
60442         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
60443         inputs and return -1 for them.  Do not check for +Inf in case not
60444         reachable for +Inf.
60445         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
60446         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
60447         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60448         and return -1 for them.  Do not check for +Inf in case not
60449         reachable for +Inf.
60450         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
60451         define.
60452         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60453         and return -1 for them.  Do not check for +Inf in case not
60454         reachable for +Inf.
60455         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
60456         spurious underflow.
60457         * sysdeps/i386/fpu/libm-test-ulps: Update.
60458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60460 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
60462         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
60464 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
60466         [BZ #14157]
60467         [BZ #14331]
60468         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
60469         could result in spurious underflow.  Scale down values above
60470         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
60471         * math/s_csqrtf.c (__csqrtf): Likewise.
60472         * math/s_csqrtl.c (__csqrtl): Likewise.
60473         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
60474         spurious underflow.
60475         * sysdeps/i386/fpu/libm-test-ulps: Update.
60476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60478 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
60480         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
60481         xopen-msg.sed.
60482         * catgets/xopen-msg.awk: New file.
60483         * catgets/xopen-msg.sed: Removed.
60485         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
60486         po2text.sed.
60487         * intl/po2test.awk: New file.
60488         * intl/po2test.sed: Removed.
60490 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
60492         [BZ #14328]
60493         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
60494         or multiply small sinh result by itself.
60495         * math/s_ctanf.c (__ctanf): Likewise.
60496         * math/s_ctanh.c (__ctanh): Likewise.
60497         * math/s_ctanhf.c (__ctanhf): Likewise.
60498         * math/s_ctanhl.c (__ctanhl): Likewise.
60499         * math/s_ctanl.c (__ctanl): Likewise.
60500         * math/libm-test.inc (ctan_test_tonearest): New function.
60501         (ctan_test_towardzero): Likewise.
60502         (ctan_test_downward): Likewise.
60503         (ctan_test_upward): Likewise.
60504         (ctanh_test_tonearest): Likewise.
60505         (ctanh_test_towardzero): Likewise.
60506         (ctanh_test_downward): Likewise.
60507         (ctanh_test_upward): Likewise.
60508         (main): Call these new functions.
60509         * sysdeps/i386/fpu/libm-test-ulps: Update.
60510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60512 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
60514         * .gitignore: Delete /ports entry.
60516 2012-07-03  Andreas Jaeger  <aj@suse.de>
60518         * po/bg.po: Update from translation team.
60519         * po/cs.po: Likewise.
60520         * po/de.po: Likewise.
60521         * po/hr.po: Likewise.
60522         * po/nl.pl: Likewise.
60523         * po/pl.po: Likewise.
60524         * po/vi.po: Likewise.
60526 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
60528         * Makeconfig [!+link] (+link-before-libc): New variable.
60529         [!+link] (+link-after-libc): Likewise.
60530         [!+link] (+link-tests): Likewise.
60531         [!+link] (+link): Define in terms of $(+link-before-libc) and
60532         $(+link-after-libc).
60533         [!+link-static] (+link-static-before-libc): New variable.
60534         [!+link-static] (+link-static-after-libc): Likewise.
60535         [!+link-static] (+link-static-tests): Likewise.
60536         [!+link-static] (+link-static): Define in terms of
60537         $(+link-static-before-libc) and $(+link-static-after-libc).
60538         [build-shared] (link-libc-before-gnulib): New variable.
60539         [build-shared] (link-libc-tests): Likewise.
60540         [build-shared] (link-libc): Define in terms of
60541         $(link-libc-before-gnulib).
60542         [!build-shared] (link-libc-tests): New variable.
60543         (link-libc-static-tests): New variable.
60544         [!gnulib] (gnulib-arch): New variable.
60545         [!gnulib] (gnulib-tests): Likewise.
60546         [!gnulib] (static-gnulib-arch): Likewise.
60547         [!gnulib] (static-gnulib-tests): Likewise.
60548         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
60549         Define with "=" instead of ":=".
60550         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
60551         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
60552         * Rules (binaries-all-notests): New variable.
60553         (binaries-all-tests): Likewise.
60554         (binaries-static-notests): Likewise.
60555         (binaries-static-tests): Likewise.
60556         (binaries-all): Define using $(binaries-all-notests) and
60557         $(binaries-all-tests).
60558         (binaries-static): Define using $(binaries-static-notests) and
60559         $(binaries-static-tests).
60560         (binaries-shared-tests): New variable.
60561         (binaries-shared-notests): Likewise.
60562         (binaries-shared): Remove variable.
60563         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
60564         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
60565         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
60566         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
60567         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
60568         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
60569         * elf/Makefile (sln-modules): New variable.
60570         (extra-objs): Add $(sln-modules:=.o).
60571         (ldconfig-modules): Add static-stubs.
60572         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
60573         * elf/static-stubs.c: New file.
60575         [BZ #14283]
60576         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
60577         by 7 not 8 to examine high bit of fractional part.  Use volatile
60578         variables when splitting into final array of floats if
60579         __FLT_EVAL_METHOD__ != 0.
60580         * math/libm-test.inc (cos_test): Add another test.
60581         (sin_test): Likewise.
60582         * sysdeps/i386/fpu/libm-test-ulps: Update.
60584         [BZ #14273]
60585         * math/libm-test.inc (cosh_test): Add more tests.
60587         * version.h (RELEASE): Set to "development".
60588         (VERSION): Set to "2.16.90".
60590 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
60592         * NEWS: Update copyright. Remove last-updated date.
60593         Mention math library bug fixes and timezone data changes.
60594         * README: Mention GNU/Hurd, x32, and HPPA support status.
60596 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
60598         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
60600 2012-06-27  Andreas Jaeger  <aj@suse.de>
60602         * manual/contrib.texi (Contributors): Add Samuel Thibault.
60604 2012-06-25  Andreas Jaeger  <aj@suse.de>
60606         * sysdeps/s390/fpu/libm-test-ulps: Update.
60608 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
60609             Thomas Schwinge  <thomas@codesourcery.com>
60611         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
60612         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
60613         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
60614         fanotify_mark.
60616 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
60618         * sysdeps/mach/start.c: Remove file.
60619         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
60620         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
60621         * sysdeps/sh/init-first.c: Likewise.
60623         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
60624         registers for frame unwinding purposes, add CFI directives.
60625         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60626         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
60627         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
60628         Likewise.
60630         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
60631         __fortify_fail returning.
60632         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60634         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
60635         sysdeps/sh/____longjmp_chk.S.
60636         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
60637         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
60638         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
60639         (gen-as-const-headers): Append sigaltstack-offsets.sym.
60641         * sysdeps/sh/abort-instr.h: New file.
60642         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
60643         process in case exit returns.
60645         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
60646         initialize the GOT register before use.
60648         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
60649         calculation of ARGC > 4.
60651         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
60652         meaningful names to some local labels.
60654 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60655             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60657         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
60658         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
60659         (__arch_compare_and_exchange_val_16_acq): Likewise.
60660         (__arch_compare_and_exchange_val_32_acq): Likewise.
60661         (atomic_exchange_and_add): Fix gUSA sequence.
60662         (atomic_add): Likewise.
60663         (atomic_add_negative): Likewise.
60664         (atomic_add_zero): Likewise.
60665         (atomic_bit_test_set): Likewise.
60667 2012-06-22  Andreas Schwab  <schwab@redhat.com>
60669         [BZ #13579]
60670         * include/link.h (struct link_map): Add l_free_initfini.
60671         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
60672         l_initfini.
60673         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
60674         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
60675         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
60676         set.
60678 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
60680         * configure.in: Use AC_LANG_SOURCE.
60681         * configure: Regenerate.
60683 2012-06-22  Roland McGrath  <roland@hack.frob.com>
60685         * configure.in (libc_cv_localstatedir): New substituted variable.
60686         * configure: Regenerated.
60687         * config.make.in (localstatedir): New variable, substituted from
60688         libc_cv_localstatedir.
60689         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
60690         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
60691         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
60692         * sysdeps/gnu/configure: Regenerated.
60694 2012-06-21  Jeff Law  <law@redhat.com>
60696         [BZ #14277]
60697         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
60698         free.  Simplify list management for _LIBC case.
60700 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
60702         [BZ #14273]
60703         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
60704         Clear sign bit of 64-bit integer value before comparing against
60705         overflow value.
60707         * sysdeps/mach/configure: Regenerated.
60709 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
60711         [BZ #14278]
60712         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
60714 2012-06-21  Jeff Law  <law@redhat.com>
60716         [BZ #13882]
60717         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
60718         uint16_t for elements in the "seen" array to avoid char overflows.
60719         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60720         * elf/dl-open.c (dl_open_worker): Likewise.
60722 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
60724         * scripts/list-sources.sh: Scan PORTS for translations.
60725         * po/libc.pot: Regenerated.
60727 2012-06-21  Andreas Jaeger  <aj@suse.de>
60729         [BZ #12194]
60730         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
60731         warning.
60732         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
60733         * bits/byteswap-16.h (__bswap_16): Likewise.
60734         * bits/byteswap.h (__bswap_constant_16): Likewise.
60736 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
60738         [BZ #14117]
60739         * sysdeps/i386/fpu_control.h: Removed.
60740         * sysdeps/x86_64/fpu_control.h: Moved to ...
60741         * sysdeps/x86/fpu_control.h: Here.
60743         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
60744         (_FPU_SETCW): Likewise.
60746 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
60748         [BZ #14117]
60749         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
60750         * sysdeps/x86/fpu/bits/mathinline.h: This.
60751         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
60753         [BZ #14050]
60754         [BZ #14117]
60755         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
60756         functions if __x86_64__ is defined.
60758 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
60760         * string/endian.h: Add !__ASSEMBLER__ condition for including
60761         conversion interfaces.
60763 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
60765         [BZ #14241]
60766         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
60767         of ABS(x) in calculating zero to negative powers other than odd
60768         integers.
60769         * math/libm-test.inc (pow_test): Add more tests.
60771 2012-06-15  Andreas Jaeger  <aj@suse.de>
60773         * manual/contrib.texi (Contributors): Update entry of Liubov
60774         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
60775         Machado Filho.
60777 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
60779         * string/string.h: Add __wur to GNU version of strerror_r.
60781 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
60783         [BZ #14229]
60784         * string/Makefile (tests): Add tst-strtok_r.
60785         * string/tst-strtok_r.c: New file.
60786         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
60787         RAX_LP/RDX_LP on SAVE_PTR.
60789 2012-06-14  Roland McGrath  <roland@hack.frob.com>
60791         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
60793 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
60795         * libm_test.inc (csqrt_test): Allow more spurious underflow
60796         exceptions.
60797         (j0_test): Likewise.
60798         (j1_test): Likewise.
60799         (y0_test): Likewise.
60800         (y1_test): Likewise.
60802 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
60804         * po/Makefile (libc.pot): Use UTF-8 charset.
60806 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
60808         [BZ #14210]
60809         Suppress sign-conversion warning from FD_SET.
60810         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
60811         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
60812         not unsigned long int.
60813         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
60815 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
60817         [BZ #14050]
60818         [BZ #14117]
60819         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
60820         __extern_always_inline instead of __extern_inline.
60821         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
60822         (__signbit): Likewise.
60823         (__signbitl): Support C++ namespace.
60824         (lrintf): New inline function.
60825         (lrint): Likewise.
60826         (llrintf): Likewise.
60827         (llrint): Likewise.
60828         (fmaxf): Likewise.
60829         (fmax): Likewise.
60830         (fminf): Likewise.
60831         (fmin): Likewise.
60832         (rint): Likewise.
60833         (rintf): Likewise.
60834         (ceil): Likewise.
60835         (ceilf): Likewise.
60836         (floor): Likewise.
60837         (floorf): Likewise.
60838         (nearbyint): Likewise.
60839         (nearbyintf): Likewise.
60841 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
60843         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
60844         non-default versions.
60846 2012-06-11  Roland McGrath  <roland@hack.frob.com>
60848         [BZ #14218]
60849         * manual/argp.texi (Argp): Reword argp_parse description slightly.
60851 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
60853         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
60854         (FE_UPWARD, FE_DOWNWARD): Don't define.
60855         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
60856         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
60858         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
60859         reading it.
60860         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
60861         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60863 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60865         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
60866         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
60867         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
60868         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
60870 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
60872         [BZ #14117]
60873         * sysdeps/i386/fpu/bits/fenv.h: Removed.
60874         * sysdeps/i386/fpu/Implies: New file.
60875         * sysdeps/x86_64/fpu/Implies: Likewise.
60876         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
60877         * sysdeps/x86/fpu/bits/fenv.h: This.
60879         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
60880         __SSE_MATH__.
60882 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60884         [BZ #14134]
60885         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
60886         character 0xffff that matches the last element of the
60887         conversion table.
60889 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60891         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
60892         fmodl commit.
60894 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60896         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
60897         values higher than 25.6283.
60899 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60901         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
60902         subnormal exponent extraction and add some __builtin_expect.
60903         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
60904         Fix for subnormal mantissa calculation.
60906 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
60908         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
60909         cpu2 is -1 and errno is not ENOSYS.
60911 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
60913         [BZ #14117]
60914         * sysdeps/i386/i486/bits/string.h: Renamed to ...
60915         * sysdeps/x86/bits/string.h: This.
60916         * sysdeps/x86_64/bits/string.h: Removed.
60918         * sysdeps/i386/i486/bits/string.h: Define inline functions only
60919         if not compiling for x86-64, but compiling for >= i486.
60921         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
60922         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
60924         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
60925         New macro from Linux kernel 3.4.0.
60926         (FP_XSTATE_MAGIC2): Likewise.
60927         (FP_XSTATE_MAGIC2_SIZE): Likewise.
60928         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
60929         (struct _fpx_sw_bytes): New struct.
60930         (struct _xsave_hdr): Likewise.
60931         (struct _ymmh_state): Likewise.
60932         (struct _xstate): Likewise.
60934         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
60935         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
60936         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
60937         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
60938         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
60939         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
60941         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
60942         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
60943         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
60944         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
60945         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
60946         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
60948 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60950         [BZ #13743]
60951         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
60952         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
60953         (sysdep_headers): Include sys/platform/ppc.h.
60954         * sysdeps/powerpc/test-gettimebase.c: Test for
60955         __ppc_get_timebase() to catch future ISA opcode/insn changes.
60956         * manual/Makefile (appendices): Include platform.texi.
60957         * manual/contrib.texi (Contributors): Update @node pointers.
60958         * manual/maint.texi (Maintenance): Likewise.
60959         (Platform): New node.
60960         * manual/platform.texi: New file.  Document the new features.
60962 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60963             Jakub Jelinek  <jakub@redhat.com>
60965         [BZ #14188]
60966         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
60967         where __builtin_expect is unavailable.
60969 2012-06-03  David S. Miller  <davem@davemloft.net>
60971         * stdlib/longlong.h: Updated from GCC.
60973 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
60975         [BZ #14042]
60976         * sysdeps/powerpc/powerpc32/mcount.c: New file.
60977         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
60978         __mcount_internal.
60979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60980         (GLIBC_2.16): Likewise.
60982 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60984         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
60986 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
60988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
60989         (default-abi): New variable.
60990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
60991         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
60992         variable.
60993         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
60994         Likewise.
60995         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
60996         Likewise.
60997         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
60998         Likewise.
61000         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
61001         definition.  Document in comment.
61003 2012-06-01  David S. Miller  <davem@davemloft.net>
61005         * stdlib/longlong.h: Updated from GCC.
61007 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61009         [BZ #14117]
61010         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
61011         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
61012         sys/debugreg.h sys/io.h here.
61013         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
61014         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
61015         sys/io.h.
61016         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
61017         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
61018         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
61019         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
61020         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
61021         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
61023         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
61024         Define only if __x86_64__ is defined.
61026 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
61028         [BZ #14048]
61029         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
61030         Use int64_t for variable i.
61031         * math/libm-test.inc (fmod_test): Add more tests.
61033         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
61034         z computation is not scheduled after fetestexcept.
61035         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
61036         Use math_force_eval instead of asm to ensure calculation scheduled
61037         before exception test.
61038         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
61039         Ensure a1 + u.d computation is not scheduled after fetestexcept.
61041 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
61043         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
61044         computation is not scheduled after fetestexcept.
61046 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61048         [BZ #14117]
61049         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
61050         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
61052 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61054         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
61055         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61057 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
61059         [BZ #14117]
61060         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
61061         <bits/wordsize.h>.
61062         (__WCHAR_MIN): Support __WORDSIZE == 64.
61063         (__WCHAR_MAX): Likewise.
61065         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
61066         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
61068         [BZ #14183]
61069         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
61070         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
61072         [BZ #14117]
61073         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
61074         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
61076         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
61077         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
61079         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
61080         Defined to 1 if __x86_64__ isn't defined.
61081         (_STAT_VER_LINUX_OLD): New.
61082         (st_atime): Remove duplicate.
61083         (st_mtime): Likewise.
61084         (st_ctime): Likewise.
61086 2012-05-31  David S. Miller  <davem@davemloft.net>
61088         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
61089         entries.
61091 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
61093         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
61094         gen-libm-test.pl.
61096         [BZ #14132]
61097         * elf/dl-reloc.c: Include <_itoa.h>.
61098         (_dl_reloc_bad_type): Remove use of INTUSE.
61099         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
61100         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
61101         * stdio-common/psiginfo.c (psiginfo): Likewise.
61102         * stdio-common/psignal.c (psignal): Likewise.
61103         * string/strsignal.c (strsignal): Likewise.
61104         * include/signal.h (_sys_siglist): Declare hidden proto.
61105         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
61106         INTVARDEF with libc_hidden_data_def.
61107         * stdio-common/itoa-udigits.c: Likewise.
61108         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
61109         (_itoa_lower_digits_internal): Remove declaration.
61110         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
61111         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
61112         (_sys_sigabbrev_internal): Remove aliases.
61113         (_sys_siglist): Define hidden alias.
61115 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
61117         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61118         bits/sysctl.h.
61120 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
61122         [BZ #14117]
61123         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
61124         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
61126         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
61127         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
61128         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
61129         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
61130         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
61131         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
61133         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
61134         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
61135         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
61137         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
61138         with __addr.
61139         (insw): Likewise.
61140         (insl): Likewise.
61141         (outsb): Likewise.
61142         (outsw): Likewise.
61143         (outsl): Likewise.
61145         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
61146         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
61147         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
61149         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
61150         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
61151         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
61152         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
61153         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
61154         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
61156         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
61157         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
61159         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
61160         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
61162         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
61163         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
61164         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
61166         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
61167         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
61168         to ...
61169         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
61171         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
61172         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
61173         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
61175         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
61176         for x86-64.
61177         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
61179 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
61181         * math/math.h (M_El): Use two more decimal places.
61182         (M_LOG2El): Likewise.
61183         (M_LOG10El): Likewise.
61184         (M_LN2l): Likewise.
61185         (M_LN10l): Likewise.
61186         (M_PIl): Likewise.
61187         (M_PI_2l): Likewise.
61188         (M_PI_4l): Likewise.
61189         (M_1_PIl): Likewise.
61190         (M_2_PIl): Likewise.
61191         (M_2_SQRTPIl): Likewise.
61192         (M_SQRT2l): Likewise.
61193         (M_SQRT1_2l): Likewise.
61195 2012-05-31  David S. Miller  <davem@davemloft.net>
61197         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
61198         values between float registers.
61199         * sysdeps/sparc/sparc64/memset.S: Likewise.
61200         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61202 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
61204         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
61205         -D_FORTIFY_SOURCE=1.
61206         (CPPFLAGS-tst-longjmp_chk.c): Define.
61207         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
61208         (CPPFLAGS-tst-longjmp_chk2.c): Define.
61209         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
61210         CFLAGS-tst-wchar-h.c.
61212 2012-05-31  Marek Polacek  <polacek@redhat.com>
61214         [BZ #14132]
61215         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
61216         __endmntent_internal): Remove declaration.
61217         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
61218         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
61219         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
61221 2012-05-30  David S. Miller  <davem@davemloft.net>
61223         * sysdeps/sparc/sparc32/soft-fp/q_util.c
61224         (___Q_simulate_exceptions): Use real FP ops rather than writing
61225         into the %fsr.
61226         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
61227         Likewise.
61229 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61231         [BZ #14117]
61232         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
61233         * sysdeps/x86/bits/xtitypes.h: This.
61235         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
61236         * sysdeps/x86/bits/wordsize.h: This.
61238         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
61239         * sysdeps/x86/bits/huge_vall.h: This.
61241         * sysdeps/i386/bits/select.h: Removed.
61242         * sysdeps/x86_64/bits/select.h: Renamed to ...
61243         * sysdeps/x86/bits/select.h: This.
61245         * sysdeps/i386/bits/setjmp.h: Removed.
61246         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
61247         * sysdeps/x86/bits/setjmp.h: This.
61249         * sysdeps/i386/bits/mathdef.h: Removed.
61250         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
61251         * sysdeps/x86/bits/mathdef.h: This.
61253 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
61255         [BZ #14132]
61256         * include/sys/socket.h (__connect_internal)
61257         (__libc_sa_len_internal): Remove declaration.
61258         (__connect, __libc_sa_len): Declare hidden_proto.
61259         (SA_LEN): Remove use of INTUSE.
61260         * socket/connect.c: Add libc_hidden_def.
61261         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
61262         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
61263         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
61264         alias.
61265         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
61266         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
61267         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
61268         of adding _internal alias.
61270 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61272         [BZ #14117]
61273         * sysdeps/i386/bits/link.h: Removed.
61274         * sysdeps/i386/bits/linkmap.h: Likewise.
61275         * sysdeps/x86_64/bits/link.h: Renamed to ...
61276         * sysdeps/x86/bits/link.h: This.
61277         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
61278         * sysdeps/x86/bits/linkmap.h: This.
61280         * sysdeps/i386/bits/endian.h: Removed.
61281         * sysdeps/x86_64/bits/endian.h: Renamed to ...
61282         * sysdeps/x86/bits/endian.h: This.
61284         * sysdeps/i386/bits/byteswap.h: Removed.
61285         * sysdeps/i386/bits/byteswap-16.h: Likewise.
61286         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
61287         * sysdeps/x86/bits/byteswap.h: This.
61288         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
61289         * sysdeps/x86/bits/byteswap-16.h: This.
61290         * sysdeps/i386/Implies: Add x86.
61291         * sysdeps/x86_64/Implies: Likewise.
61293 2012-05-30  David S. Miller  <davem@davemloft.net>
61295         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
61296         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
61297         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
61298         (FP_TRAPPING_EXCEPTIONS): Define.
61299         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
61300         (FP_TRAPPING_EXCEPTIONS): Define.
61301         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
61302         subnormals only when inexact has been signalled or underflow
61303         exceptions are enabled.
61304         (_FP_PACK_CANONICAL): Likewise.
61306 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61308         [BZ #14183]
61309         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
61310         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
61312 2012-05-30  Richard Henderson  <rth@twiddle.net>
61314         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
61315         with #ifndef NOT_IN_libc.
61317         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
61318         marked to avoid plt entry.
61320 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61322         [BZ #14112]
61323         * Makeconfig (default-abi): New macro.
61324         (abi-includes): Likewise.
61325         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
61326         $(abi-$(default-abi)-lib-soname) for soname if defined.
61327         ($(common-objpfx)gnu/lib-names.stmp): Generate from
61328         abi-variants.
61329         * Makefile (installed-stubs): Likewise.
61330         * include/stubs-biarch.h: Removed.
61331         * scripts/lib-names.awk: Only handle one library at a time.
61332         * scripts/soversions.awk: Remove WORDSIZE support.
61333         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
61334         entries.
61335         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
61336         Removed.
61337         (syscall-list-default-condition): Likewise.
61338         (syscall-list-default-condition): Likewise.
61339         (syscall-list-includes): Likewise.
61340         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
61341         syscall-list-* with abi-*.  Handle undefined abi-variants.
61342         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
61343         * sysdeps/unix/sysv/linux/i386/Implies: New file.
61344         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
61345         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
61346         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
61347         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
61348         Removed.
61349         (syscall-list-32-options): Likewise.
61350         (syscall-list-32-condition): Likewise.
61351         (syscall-list-64-options): Likewise.
61352         (syscall-list-64-condition): Likewise.
61353         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
61354         macro.
61355         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
61356         Renamed to ...
61357         (abi-*): This.
61358         (abi-64-ld-soname): New macro.
61359         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
61360         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
61361         Renamed to ...
61362         (abi-*): This.
61363         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
61364         * sysdeps/x86_64/x32/shlib-versions: Likewise.
61366 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
61368         * sysdeps/unix/sysv/linux/kernel-features.h
61369         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
61370         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
61371         include <kernel-features.h>.
61372         [!__NR_ftruncate64]: Remove conditional code.
61373         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61374         [__NR_ftruncate64]: Make code unconditional.
61375         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61376         * sysdeps/unix/sysv/linux/truncate64.c: Do not
61377         include <kernel-features.h>.
61378         [!__NR_ftruncate64]: Remove conditional code.
61379         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61380         [__NR_ftruncate64]: Make code unconditional.
61381         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
61383         include <kernel-features.h>.
61384         [!__NR_ftruncate64]: Remove conditional code.
61385         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61386         [__NR_ftruncate64]: Make code unconditional.
61387         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61389         include <kernel-features.h>.
61390         [!__NR_ftruncate64]: Remove conditional code.
61391         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61392         [__NR_ftruncate64]: Make code unconditional.
61393         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61395         * configure.in (libc_cv_fpie): Weaken to a compile test using
61396         LIBC_TRY_CC_OPTION.
61397         * configure: Regenerated.
61399 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61401         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
61402         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
61403         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
61404         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61405         Refreshed.
61406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
61407         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
61408         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
61409         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
61410         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
61411         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61412         Refreshed.
61414 2012-05-27  David S. Miller  <davem@davemloft.net>
61416         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
61417         (___Q_zero): New.
61418         (__Q_simulate_exceptions): Return void.  Change to simulate
61419         exceptions by writing into the %fsr.
61420         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
61421         (__Qp_handle_exceptions): Likewise.
61422         (numbers): Delete.
61423         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
61424         __Qp_handle_exceptions.
61425         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
61426         __Qp_handle_exceptions.
61427         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61428         as unused and give dummy FP_RND_NEAREST initializer.
61429         (FP_INHIBIT_RESULTS): Define.
61430         (___Q_simulate_exceptions): Update declaration.
61431         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
61432         formatting.
61433         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61434         as unused and give dummy FP_RND_NEAREST initializer.
61435         (__Qp_handle_exceptions): Update declaration.
61436         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
61437         formatting.
61439 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
61441         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
61442         the temporary FPU control word.
61443         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
61444         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
61445         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
61446         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61447         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
61448         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
61449         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
61450         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61451         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
61452         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
61453         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61455 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61457         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
61458         fields.
61460 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
61462         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
61463         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
61464         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
61465         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
61466         Likewise.
61467         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
61468         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
61469         Likewise.
61471 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
61473         * po/h.po: Update from translation team.
61475 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
61477         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
61479         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
61480         handling of denormals.
61481         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
61482         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
61483         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
61484         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
61485         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61486         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
61487         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
61488         Likewise.
61490 2012-05-26  Marek Polacek  <polacek@redhat.com>
61492         [BZ #14152]
61493         * math/libm-test.inc (fma_test): Don't always expect underflow
61494         exception.
61496 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61498         [BZ #12416]
61499         * elf/tst-execstack.c: Include stackinfo.h.
61500         (do_test): Adjust test case to ensure that pthread_getattr_np
61501         behaviour remains the same after marking stack executable.
61503 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
61505         * sysdeps/unix/sysv/linux/kernel-features.h
61506         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
61507         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
61508         kernel-features.h.
61509         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61510         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61511         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
61512         kernel-features.h.
61513         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61514         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61516 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
61518         * configure.in: Define the default includes to being none.
61519         * configure: Regenerated.
61521 2012-05-25  Roland McGrath  <roland@hack.frob.com>
61523         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
61524         * sysdeps/x86_64/setjmp.S: Likewise.
61525         * sysdeps/i386/bsd-setjmp.S: Likewise.
61526         * sysdeps/i386/bsd-_setjmp.S: Likewise.
61527         * sysdeps/i386/setjmp.S: Likewise.
61528         * sysdeps/i386/__longjmp.S: Likewise.
61529         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
61530         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
61532         * include/stap-probe.h: New file.
61533         * configure.in: Handle --enable-systemtap.
61534         * configure: Regenerated.
61535         * config.h.in (USE_STAP_PROBE): New #undef.
61536         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
61537         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
61538         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
61540 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
61542         [BZ #13717]
61543         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
61544         to 2.4.0 where earlier.
61545         * sysdeps/unix/sysv/linux/configure: Regenerated.
61546         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
61555         [__ASSUME_32BITUIDS]: Make code unconditional.
61556         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
61557         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
61558         <kernel-features.h>.
61559         [__ASSUME_32BITUIDS]: Make code unconditional.
61560         [!__ASSUME_32BITUIDS]: Remove conditional code.
61561         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
61562         <kernel-features.h>.
61563         [__ASSUME_32BITUIDS]: Make code unconditional.
61564         [!__ASSUME_32BITUIDS]: Remove conditional code.
61565         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
61566         <kernel-features.h>.
61567         [__ASSUME_32BITUIDS]: Make code unconditional.
61568         [!__ASSUME_32BITUIDS]: Remove conditional code.
61569         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
61570         <kernel-features.h>.
61571         [__ASSUME_32BITUIDS]: Make code unconditional.
61572         [!__ASSUME_32BITUIDS]: Remove conditional code.
61573         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
61574         <kernel-features.h>.
61575         [__ASSUME_32BITUIDS]: Make code unconditional.
61576         [!__ASSUME_32BITUIDS]: Remove conditional code.
61577         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
61578         <kernel-features.h>.
61579         [__ASSUME_32BITUIDS]: Make code unconditional.
61580         [!__ASSUME_32BITUIDS]: Remove conditional code.
61581         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
61582         <kernel-features.h>.
61583         [__ASSUME_32BITUIDS]: Make code unconditional.
61584         [!__ASSUME_32BITUIDS]: Remove conditional code.
61585         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
61586         <kernel-features.h>.
61587         [__ASSUME_32BITUIDS]: Make code unconditional.
61588         [!__ASSUME_32BITUIDS]: Remove conditional code.
61589         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
61590         <kernel-features.h>.
61591         [__ASSUME_32BITUIDS]: Make code unconditional.
61592         [!__ASSUME_32BITUIDS]: Remove conditional code.
61593         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
61594         <kernel-features.h>.
61595         [__ASSUME_32BITUIDS]: Make code unconditional.
61596         [!__ASSUME_32BITUIDS]: Remove conditional code.
61597         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
61598         <kernel-features.h>.
61599         [__NR_setresgid] (__setresgid): Do not declare.
61600         [__ASSUME_32BITUIDS]: Make code unconditional.
61601         [!__ASSUME_32BITUIDS]: Remove conditional code.
61602         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
61603         <kernel-features.h>.
61604         [__NR_setresuid] (__setresuid): Do not declare.
61605         [__ASSUME_32BITUIDS]: Make code unconditional.
61606         [!__ASSUME_32BITUIDS]: Remove conditional code.
61607         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
61608         <kernel-features.h>.
61609         [__ASSUME_32BITUIDS]: Make code unconditional.
61610         [!__ASSUME_32BITUIDS]: Remove conditional code.
61611         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
61612         <kernel-features.h>.
61613         [__ASSUME_32BITUIDS]: Make code unconditional.
61614         [!__ASSUME_32BITUIDS]: Remove conditional code.
61615         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
61616         <kernel-features.h>.
61617         [__ASSUME_32BITUIDS]: Make code unconditional.
61618         [!__ASSUME_32BITUIDS]: Remove conditional code.
61619         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
61620         <kernel-features.h>.
61621         [__ASSUME_32BITUIDS]: Make code unconditional.
61622         [!__ASSUME_32BITUIDS]: Remove conditional code.
61623         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
61624         <kernel-features.h>.
61625         [__ASSUME_32BITUIDS]: Make code unconditional.
61626         [!__ASSUME_32BITUIDS]: Remove conditional code.
61627         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
61628         <kernel-features.h>.
61629         [__ASSUME_32BITUIDS]: Make code unconditional.
61630         [!__ASSUME_32BITUIDS]: Remove conditional code.
61631         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
61632         <kernel-features.h>.
61633         [__ASSUME_32BITUIDS]: Make code unconditional.
61634         [!__ASSUME_32BITUIDS]: Remove conditional code.
61635         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
61636         <kernel-features.h>.
61637         [__ASSUME_32BITUIDS]: Make code unconditional.
61638         [!__ASSUME_32BITUIDS]: Remove conditional code.
61639         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
61640         <kernel-features.h>.
61641         [__ASSUME_32BITUIDS]: Make code unconditional.
61642         [!__ASSUME_32BITUIDS]: Remove conditional code.
61643         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
61644         <kernel-features.h>.
61645         [__ASSUME_32BITUIDS]: Make code unconditional.
61646         [!__ASSUME_32BITUIDS]: Remove conditional code.
61647         * sysdeps/unix/sysv/linux/kernel-features.h
61648         (__ASSUME_SETRESUID_SYSCALL): Remove.
61649         (__ASSUME_SETRESGID_SYSCALL): Likewise.
61650         (__ASSUME_32BITUIDS): Likewise.
61651         (__ASSUME_LDT_WORKS): Likewise.
61652         (__ASSUME_O_DIRECTORY): Likewise.
61653         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
61654         architecture but not kernel version.
61655         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
61656         (__ASSUME_MMAP2_SYSCALL): Likewise.
61657         (__ASSUME_STAT64_SYSCALL): Likewise.
61658         (__ASSUME_IPC64): Likewise.
61659         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
61660         <kernel-features.h>.
61661         [__ASSUME_32BITUIDS]: Make code unconditional.
61662         [!__ASSUME_32BITUIDS]: Remove conditional code.
61663         * sysdeps/unix/sysv/linux/opendir.c: Do not include
61664         <kernel-features.h>.
61665         [__ASSUME_O_DIRECTORY]: Make code unconditional.
61666         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
61667         132096]: Remove conditional code.
61668         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
61669         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
61670         <kernel-features.h>.
61671         [__ASSUME_32BITUIDS]: Make code unconditional.
61672         [!__ASSUME_32BITUIDS]: Remove conditional code.
61673         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
61674         <kernel-features.h>.
61675         [__ASSUME_32BITUIDS]: Make code unconditional.
61676         [!__ASSUME_32BITUIDS]: Remove conditional code.
61677         * sysdeps/unix/sysv/linux/setegid.c: Do not include
61678         <kernel-features.h>.
61679         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
61680         unconditional.
61681         (__setresgid): Do not declare.
61682         [__ASSUME_32BITUIDS]: Make code unconditional.
61683         [!__ASSUME_32BITUIDS]: Remove conditional code.
61684         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
61685         <kernel-features.h>.
61686         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
61687         unconditional.
61688         (__setresuid): Do not declare.
61689         [__ASSUME_32BITUIDS]: Make code unconditional.
61690         [!__ASSUME_32BITUIDS]: Remove conditional code.
61691         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
61692         <kernel-features.h>.
61693         [__ASSUME_32BITUIDS]: Make code unconditional.
61694         [!__ASSUME_32BITUIDS]: Remove conditional code.
61695         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
61696         <kernel-features.h>.
61697         [__ASSUME_32BITUIDS]: Make code unconditional.
61698         [!__ASSUME_32BITUIDS]: Remove conditional code.
61700 2012-05-25  Richard Henderson  <rth@twiddle.net>
61702         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
61703         dl_hwcap to ifunc resolver.
61704         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
61705         elf_ifunc_invoke.
61706         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
61707         dl_hwcap to ifunc resolver.
61708         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
61710 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61712         [BZ #14153]
61713         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
61714         for |x| <= 2**-26, not 2**-57.
61715         * math/libm-test.inc (acos_test): Do not allow spurious underflow
61716         exception.
61718 2012-05-24  Jeff Law  <law@redhat.com>
61720         * stdio-common/Makefile (tests): Add bug25.
61721         * stdio-common/bug25.c: New test.
61723 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
61725         [BZ #13576]
61726         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
61727         multiple of MALLOC_ALIGNMENT in size.
61728         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
61730 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61732         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
61733         Require >= 256.
61734         (FILENAME_MAX): Use macro-int-constant.
61735         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
61736         (_IOFBF): Use macro-int-constant.
61737         (_IOLBF): Likewise.
61738         (_IONBF): Likewise.
61739         (SEEK_CUR): Likewise.
61740         (SEEK_END): Likewise.
61741         (SEEK_SET): Likewise.
61742         (TMP_MAX): Likewise.
61743         (EOF): Use macro-int-constant.  Require < 0.
61744         (NULL): Use macro-constant.  Require == 0.
61745         (stdin): Require type to be FILE *.
61746         (stdout): Likewise.
61747         (stderr): Likewise.
61748         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
61749         macro-int-constant.
61750         (EXIT_SUCCESS): Likewise.
61751         (NULL): Use macro-constant.  Require == 0.
61752         (RAND_MAX): Use macro-int-constant.
61753         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
61754         [C99-based standards] (strtof): Require function.
61755         [C99-based standards] (strtold): Likewise.
61756         [C99-based standards] (strtoll): Likewise.
61757         [C99-based standards] (strtoull): Likewise.
61758         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
61759         [ISO || ISO99 || ISO11] (limits.h): Likewise.
61760         [ISO || ISO99 || ISO11] (math.h): Likewise.
61761         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
61762         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
61763         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61765 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
61767         [BZ #14132]
61768         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
61769         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
61770         * intl/dgettext.c (DCGETTEXT): Likewise.
61771         * intl/gettext.c (DCGETTEXT): Likewise.
61772         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
61773         * posix/regex_internal.h (gettext): Likewise.
61774         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
61775         Remove declaration.
61776         * include/argz.h (__argz_count_internal)
61777         (__argz_stringify_internal): Remove declaration.
61778         (__argz_count, __argz_stringify): Declare hidden proto.
61779         * intl/dcgettext.c: Remove use of INTDEF.
61780         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
61781         * string/argz-stringify.c: Likewise.
61782         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61783         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61784         Declare hidden proto.
61785         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61786         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61787         Declare hidden proto.
61788         * include/stdio.h (__asprintf_internal): Don't declare.
61789         (__asprintf): Don't define as macro.  Declare hidden proto.
61790         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
61791         (__fsetlocking): Declare hidden proto.
61792         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
61793         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
61794         hidden proto.
61795         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
61796         (_IO_setlinebuf): Remove use of INTUSE.
61797         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
61798         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
61799         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
61800         Remove declaration.
61801         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
61802         (_IO_do_flush): Remove use of INTUSE.
61803         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
61804         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
61805         (_IO_adjust_column, _IO_least_wmarker)
61806         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
61807         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
61808         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
61809         (_IO_default_doallocate, _IO_wdefault_doallocate)
61810         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
61811         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
61812         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
61813         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
61814         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
61815         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
61816         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
61817         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
61818         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
61819         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
61820         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
61821         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
61822         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
61823         proto.
61824         (_IO_flush_all_internal, _IO_adjust_column_internal)
61825         (_IO_default_uflow_internal, _IO_default_finish_internal)
61826         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
61827         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
61828         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
61829         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
61830         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
61831         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
61832         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
61833         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
61834         (_IO_file_close_internal, _IO_file_close_it_internal)
61835         (_IO_file_underflow_internal, _IO_file_overflow_internal)
61836         (_IO_file_init_internal, _IO_file_attach_internal)
61837         (_IO_file_fopen_internal, _IO_file_read_internal)
61838         (_IO_file_sync_internal, _IO_file_seek_internal)
61839         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
61840         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
61841         (_IO_str_underflow_internal, _IO_str_overflow_internal)
61842         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
61843         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
61844         (_IO_list_all_internal, _IO_link_in_internal)
61845         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
61846         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
61847         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
61848         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
61849         (_IO_do_write_internal, _IO_padn_internal)
61850         (_IO_getline_info_internal, _IO_getline_internal)
61851         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
61852         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
61853         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
61854         (_IO_vfscanf_internal, _IO_vfprintf_internal)
61855         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
61856         (_IO_init_internal, _IO_un_link_internal): Don't declare.
61857         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
61858         with libc_hidden_ver, remove use of INTUSE.
61859         * libio/genops.c: Likewise.
61860         * libio/freopen.c: Likewise.
61861         * libio/freopen64.c: Likewise.
61862         * libio/iofclose.c: Likewise.
61863         * libio/iofdopen.c: Likewise.
61864         * libio/iofflush.c: Likewise.
61865         * libio/iofflush_u.c: Likewise.
61866         * libio/iofgets.c: Likewise.
61867         * libio/iofgets_u.c: Likewise.
61868         * libio/iofopen.c: Likewise.
61869         * libio/iofopncook.c: Likewise.
61870         * libio/iofread.c: Likewise.
61871         * libio/iofread_u.c: Likewise.
61872         * libio/ioftell.c: Likewise.
61873         * libio/iofwrite.c: Likewise.
61874         * libio/iogetline.c: Likewise.
61875         * libio/iogets.c: Likewise.
61876         * libio/iogetwline.c: Likewise.
61877         * libio/iopadn.c: Likewise.
61878         * libio/iopopen.c: Likewise.
61879         * libio/ioseekoff.c: Likewise.
61880         * libio/ioseekpos.c: Likewise.
61881         * libio/iosetbuffer.c: Likewise.
61882         * libio/iosetvbuf.c: Likewise.
61883         * libio/ioungetc.c: Likewise.
61884         * libio/ioungetwc.c: Likewise.
61885         * libio/iovdprintf.c: Likewise.
61886         * libio/iovsprintf.c: Likewise.
61887         * libio/iovsscanf.c: Likewise.
61888         * libio/memstream.c: Likewise.
61889         * libio/obprintf.c: Likewise.
61890         * libio/oldfileops.c: Likewise.
61891         * libio/oldiofclose.c: Likewise.
61892         * libio/oldiofdopen.c: Likewise.
61893         * libio/oldiofopen.c: Likewise.
61894         * libio/oldiopopen.c: Likewise.
61895         * libio/oldstdfiles.c: Likewise.
61896         * libio/putc.c: Likewise.
61897         * libio/setbuf.c: Likewise.
61898         * libio/setlinebuf.c: Likewise.
61899         * libio/stdfiles.c: Likewise.
61900         * libio/strops.c: Likewise.
61901         * libio/vasprintf.c: Likewise.
61902         * libio/vscanf.c: Likewise.
61903         * libio/vsnprintf.c: Likewise.
61904         * libio/vswprintf.c: Likewise.
61905         * libio/wfiledoalloc.c: Likewise.
61906         * libio/wfileops.c: Likewise.
61907         * libio/wgenops.c: Likewise.
61908         * libio/wmemstream.c: Likewise.
61909         * libio/wstrops.c: Likewise.
61910         * libio/__fpurge.c: Likewise.
61911         * libio/__fsetlocking.c: Likewise.
61912         * assert/assert.c: Likewise.
61913         * debug/fgets_chk.c: Likewise.
61914         * debug/fgets_u_chk.c: Likewise.
61915         * debug/fread_chk.c: Likewise.
61916         * debug/fread_u_chk.c: Likewise.
61917         * debug/gets_chk.c: Likewise.
61918         * debug/obprintf_chk.c: Likewise.
61919         * debug/vasprintf_chk.c: Likewise.
61920         * debug/vdprintf_chk.c: Likewise.
61921         * debug/vsnprintf_chk.c: Likewise.
61922         * debug/vsprintf_chk.c: Likewise.
61923         * malloc/mtrace.c: Likewise.
61924         * misc/error.c: Likewise.
61925         * misc/syslog.c: Likewise.
61926         * stdio-common/asprintf.c: Likewise.
61927         * stdio-common/fxprintf.c: Likewise.
61928         * stdio-common/getw.c: Likewise.
61929         * stdio-common/isoc99_fscanf.c: Likewise.
61930         * stdio-common/isoc99_scanf.c: Likewise.
61931         * stdio-common/isoc99_vfscanf.c: Likewise.
61932         * stdio-common/isoc99_vscanf.c: Likewise.
61933         * stdio-common/isoc99_vsscanf.c: Likewise.
61934         * stdio-common/printf-prs.c: Likewise.
61935         * stdio-common/printf_fp.c: Likewise.
61936         * stdio-common/printf_fphex.c: Likewise.
61937         * stdio-common/printf_size.c: Likewise.
61938         * stdio-common/putw.c: Likewise.
61939         * stdio-common/scanf.c: Likewise.
61940         * stdio-common/sprintf.c: Likewise.
61941         * stdio-common/tmpfile.c: Likewise.
61942         * stdio-common/vfprintf.c: Likewise.
61943         * stdio-common/vfscanf.c: Likewise.
61944         * stdlib/strfmon_l.c: Likewise.
61945         * sunrpc/openchild.c: Likewise.
61946         * sunrpc/xdr_stdio.c: Likewise.
61947         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
61948         * sysdeps/mach/hurd/tmpfile.c: Likewise.
61950 2012-05-24  Roland McGrath  <roland@hack.frob.com>
61952         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
61954         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
61955         in the third column, to generate for the shared library an IFUNC
61956         that uses _dl_vdso_vsym.
61957         * Makerules (COMPILE.c, compile-stdin.c): New variables.
61958         * Makeconfig (object-suffixes-noshared): New variable.
61960         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
61961         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
61962         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
61963         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
61965         [BZ #14132]
61966         * include/sys/time.h (__gettimeofday): Remove macro.
61967         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
61968         * time/gettimeofday.c (__gettimeofday): Remove #undef.
61969         Remove INTDEF.
61970         (__gettimeofday): Add libc_hidden_def.
61971         (gettimeofday): Add libc_hidden_weak.
61972         * sysdeps/mach/gettimeofday.c: Likewise.
61973         * sysdeps/posix/gettimeofday.c: Likewise.
61974         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
61975         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
61976         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
61977         (__gettimeofday_internal): Remove strong_alias.
61978         (__gettimeofday): Add libc_hidden_def.
61979         (gettimeofday): Add libc_hidden_weak.
61980         * sysdeps/unix/syscalls.list (gettimeofday):
61981         Remove __gettimeofday_internal alias.
61983 2012-05-24  Daniel Jacobowitz  <drow@false.org>
61984             H.J. Lu  <hongjiu.lu@intel.com>
61986         [BZ #12495]
61987         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
61988         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
61989         (largebin_index_32_big): New.
61990         (largebin_index): Use it for 16-byte alignment.
61991         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
61992         correction with front_misalign.
61994 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
61996         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
61997         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
61998         Likewise.
61999         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
62000         Likewise.
62001         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
62002         Likewise.
62003         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
62004         Likewise.
62005         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
62006         Likewise.
62007         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
62008         Likewise.
62009         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
62010         Likewise.
62011         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
62012         Likewise.
62013         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
62014         Likewise.
62015         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
62016         Likewise.
62017         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
62018         Likewise.
62019         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
62020         Likewise.
62022         * scripts/data/c++-types-x32-linux-gnu.data: New file.
62023         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
62025 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62027         [BZ #10846]
62028         [BZ #14036]
62029         * math/libm-test.inc (exp_test): Add test from bug 14036.
62030         (pow_test): Add test from bug 10846.
62032         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
62033         and other flags.
62034         (special_function): Do not include flags in test name.
62035         (parse_args): Likewise.
62036         * sysdeps/i386/fpu/libm-test-ulps: Update.
62037         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62038         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62039         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62042         * math/gen-libm-test.pl (%beautify): Add entries for underflow
62043         exceptions.
62044         * math/libm-test.inc ("Philosophy"): Update comment about
62045         exception testing.
62046         (UNDERFLOW_EXCEPTION): New macro.
62047         (UNDERFLOW_EXCEPTION_OK): Likewise.
62048         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
62049         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
62050         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
62051         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
62052         (INVALID_EXCEPTION_OK): Update value.
62053         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62054         (OVERFLOW_EXCEPTION_OK): Likewise.
62055         (IGNORE_ZERO_INF_SIGN): Likewise.
62056         (test_exceptions): Handle underflow exceptions.
62057         (acos_test): Update for underflow exception expectations.
62058         (cexp_test): Likewise.
62059         (clog_test): Likewise.
62060         (clog10_test): Likewise.
62061         (csqrt_test): Likewise.
62062         (ctan_test): Likewise.
62063         (ctanh_test): Likewise.
62064         (exp_test): Likewise.
62065         (exp10_test): Likewise.
62066         (exp2_test): Likewise.
62067         (expm1_test): Likewise.
62068         (fma_test): Likewise.
62069         (j0_test): Likewise.
62070         (jn_test): Likewise.
62071         (nexttoward_test): Likewise.
62072         (pow_test): Likewise.
62073         (scalbn_test): Likewise.
62074         (scalbln_test): Likewise.
62075         (tan_test): Likewise.
62076         (y1_test): Likewise.
62077         * sysdeps/i386/fpu/libm-test-ulps: Update.
62078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62080 2012-05-23  David S. Miller  <davem@davemloft.net>
62082         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62083         (__libc_sigaction): Remove unused local variables.
62085 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62087         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
62089 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
62091         mktime: avoid signed integer overflow
62092         * time/mktime.c (__mktime_internal): Do not mishandle the case
62093         where diff == INT_MIN.
62095         mktime: simplify computation of average
62096         * time/mktime.c (ranged_convert): Use new time_t_avg function
62097         instead of rolling our own (probably-slower) code.
62099         mktime: do not assume signed right shift propagates sign bit
62100         * time/mktime.c (isdst_differ): New static function.
62101         (__mktime_internal): No need to normalize tm_isdst now.
62102         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
62103         tm_isdst values.
62105         mktime: merge another wrapv change from gnulib
62106         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
62107         from some compilers.
62109         mktime: remove incorrect attempt at unusual arithmetics
62110         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
62111         The code didn't really work on such machines anyway.
62112         (TYPE_MINIMUM): Assume two's complement.
62113         (twos_complement_arithmetic): Verify that long_int and time_t
62114         are two's complement (or unsigned, in the latter case).
62116         mktime: check signed shifts on long_int and time_t, too
62117         * time/mktime.c (SHR): Check that shifts work as desired
62118         on the types long_int and time_t too, as SHR is used on
62119         such types.
62121         mktime: do not assume 'long' is wide enough
62122         * time/mktime.c (verify): Move decl up.
62123         (long_int): New type.
62124         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
62125         to remove assumption in the code that 'long' is wide enough to
62126         store year values.  This assumption is not true on x32 and on
62127         some non-glibc platforms.
62129         mktime: merge wrapv change from gnulib
62130         * time/mktime.c (WRAPV): New macro.
62131         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
62132         (guess_time_tm, __mktime_internal): Do not assume that signed
62133         integer overflow wraps around; modern compilers generate code
62134         where this assumption is no longer valid.
62136 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62138         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62139         Replace "jmp L(pseudo_end)" with "ret".
62140         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
62141         Likewise.
62143 2012-05-23  Andreas Jaeger  <aj@suse.de>
62145         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
62146         * sysdeps/unix/sysv/linux/poll.c: Remove file.
62148 2012-05-23  Andreas Jaeger  <aj@suse.de>
62149             Maximilian Attems  <max@stro.at>
62151         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
62152         New macros.
62154 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62156         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
62157         code so that pseudo_end is just ret and the stack pointer is
62158         correct also for static library in error case.
62160 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
62162         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
62163         move to syscalls.list.
62164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
62165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
62166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
62167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
62169         * manual/install.texi (Running make install): Do not mention Linux
62170         kernel version for which pt_chown is not needed.
62171         (Linux): Do not mention problems with nscd with 2.0 kernels.
62172         * INSTALL: Regenerated.
62174 2012-05-23  Andreas Jaeger  <aj@suse.de>
62176         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
62177         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
62178         macro.
62179         * sysdeps/unix/sysv/linux/s390/bits/mman.h
62180         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62181         * sysdeps/unix/sysv/linux/sh/bits/mman.h
62182         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62183         * sysdeps/unix/sysv/linux/i386/bits/mman.h
62184         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62185         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
62186         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62187         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
62188         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62189         * sysdeps/unix/sysv/linux/bits/in.h
62190         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
62192 2012-05-22  Roland McGrath  <roland@hack.frob.com>
62194         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
62195         (PREPARE_VERSION): Just use assert instead, it will be elided
62196         under [NDEBUG] anyway.
62198 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62200         * sysdeps/unix/sysv/linux/Makefile: Include
62201         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
62202         (sysdep_routines): Remove sysctl.
62203         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
62204         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
62205         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
62206         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
62207         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
62209 2012-05-22  Andreas Jaeger  <aj@suse.de>
62211         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
62212         that pseudo_end is just ret and the stack pointer is correct also
62213         for static library in error case.
62215 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
62217         [BZ #14122]
62218         * nss/nsswitch.c (defconfig_entries): New variable.
62219         (__nss_database_lookup): Don't leak defconfig entries.
62220         (nss_parse_service_list): Don't leak on error paths.
62221         (free_database_entries): New function.
62222         (free_defconfig): New function.
62223         (free_mem): Move common code to free_database_entries.
62225 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62227         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
62228         Add arch_prctl.
62229         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
62231         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
62232         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
62233         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
62234         New macro.
62235         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
62236         (INTERNAL_SYSCALL_TYPES): Likewise.
62237         (LOAD_ARGS_TYPES_[1-6]): Likewise.
62238         (LOAD_REGS_TYPES_[1-6]): Likewise.
62239         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
62240         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
62242 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62244         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
62245         copysignl for GLIBC_2_0.
62246         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
62247         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
62248         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
62249         logbl for GLIBC_2_0.
62250         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
62251         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
62253 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62255         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
62256         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62258         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62259         Use "neg %eax".
62261         * time/mktime.c: Update copyright years.
62263 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
62265         mktime: merge comment-quoting-style change from gnulib
62266         * time/mktime.c: Quote 'like this' in comments.
62267         The GNU coding standards suggest that we no longer quote `like this',
62268         as "`" and "'" are typically rendered asymmetrically nowadays.
62269         The typical gnulib style is to quote 'like this' when quoting
62270         code, and "like this" when quoting English.
62272         * time/mktime.c (compile-command): Add "-I.".
62274         mktime: merge mktime-internal.h change from gnulib
62275         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
62277         mktime: merge time_r change from gnulib
62278         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
62280         mktime: merge DEBUG change from gnulib
62281         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
62282         case system <time.h> has a #define.
62284         mktime: merge <sys/types.h> change from gnulib
62285         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
62286         since <time.t> is now guaranteed to define time_t.
62288         mktime: merge HAVE_CONFIG_H change from gnulib
62289         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
62291 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62293         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62294         Use "neg %eax".
62296         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
62297         __rlim_t cast.
62298         (struct rusage): Use anonymous union to pad each field to
62299         __syscall_slong_t.
62301 2012-05-21  David S. Miller  <davem@davemloft.net>
62303         * Makefules (o-iterator): Remove .s cases.
62304         (compile-command.s): Delete.
62305         (COMPILE.s): Delete.
62306         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
62308 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
62310         * configure.in (libc_cv_predef_stack_protector): Only consider
62311         "foobar" and "__stack_chk_fail" lines in libc_undefs.
62312         * configure: Regenerated.
62314 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62316         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62317         New macro.  Use R*LP on int and pointer.
62318         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
62319         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
62320         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
62321         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
62323         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
62324         [__WORDSIZE_TIME64_COMPAT32] instead of
62325         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
62326         (struct utmp): Likewise.
62327         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
62328         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
62329         Renamed to ...
62330         (__WORDSIZE_TIME64_COMPAT32): This.
62331         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
62332         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
62333         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
62334         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
62335         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
62336         (__WORDSIZE_TIME64_COMPAT32): New macro.
62338 2012-05-21  Andreas Jaeger  <aj@suse.de>
62340         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
62341         only if [SHARED]. Add prototype for __wcschr_ia32.
62343 2012-05-21  Roland McGrath  <roland@hack.frob.com>
62345         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
62346         of %rbp unmolested in the jmp_buf while mangling the low bits.
62347         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
62348         unmolested high bits of %rbp while demangling the low bits.
62349         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62351 2012-05-21  Andreas Jaeger  <aj@suse.de>
62353         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
62354         * sunrpc/svc_simple.c: Use it for registerrpc.
62355         * sunrpc/xcrypt.c: Use it for passwd2des.
62357         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
62359 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62361         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
62362         Don't define if [__SYSCALL_WORDSIZE != 32].
62363         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
62364         New macro.
62366 2012-05-21  Bruno Haible  <bruno@clisp.org>
62367             Andreas Jaeger  <aj@suse.de>
62369         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
62370         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
62371         inptr and inend for must_buffer_ch.
62372         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
62373         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
62374         * stdio-common/Makefile (tests): Remove bug15.
62375         (bug15-ENV): Remove macro.
62376         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
62377         anymore.
62379 2012-05-19  Andreas Jaeger  <aj@suse.de>
62380             Roland McGrath  <roland@hack.frob.com>
62382         * manual/contrib.texi: Completely rewritten. It contains now an
62383         alphabetical list of contributors and their contributions.
62385 2012-05-21  Richard Henderson  <rth@twiddle.net>
62387         * misc/getauxval.c (__getauxval): Use unsigned long int.
62388         * misc/sys/auxv.h: Include <sys/cdefs.h>.
62389         (getauxval): Use unsigned long int.
62391 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62393         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62395 2012-05-21  Roland McGrath  <roland@hack.frob.com>
62397         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
62398         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
62399         __alignof__ (long double).
62401 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62405 2012-05-20  Richard Henderson  <rth@twiddle.net>
62407         * misc/getauxval.c: New file.
62408         * misc/sys/auxv.h: New file.
62409         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
62410         (routines): Add getauxval.
62411         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
62412         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
62413         * elf/dl-sysdep.c (_dl_auxv): Remove.
62414         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
62415         * elf/dl-support.c (_dl_auxv): New variable.
62416         (_dl_aux_init): Initialize it.
62417         * manual/startup.texi (Auxiliary Vector): New node.
62418         * sysdeps/generic/bits/hwcap.h: New file.
62419         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
62420         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
62421         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
62422         * sysdeps/sparc/sysdep.h: ... here.  Include it.
62423         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
62424         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
62425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62426         Update.
62427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
62428         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
62429         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
62430         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
62431         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62432         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62433         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
62434         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
62436 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62438         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62440 2012-05-19  David S. Miller  <davem@davemloft.net>
62442         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62444 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
62446         [BZ #14123]
62447         * math/s_ccosh.c: Include <float.h>
62448         (__ccosh): Avoid internal overflow calculating sinh and cosh
62449         values before multiplying by sin and cos values.
62450         * math/s_ccoshf.c: Likewise.
62451         * math/s_ccoshl.c: Likewise.
62452         * math/s_csin.c: Likewise.
62453         * math/s_csinf.c: Likewise.
62454         * math/s_csinl.c: Likewise.
62455         * math/s_csinh.c: Likewise.
62456         * math/s_csinhf.c: Likewise.
62457         * math/s_csinhl.c: Likewise.
62458         * math/libm-test.inc (ccos_test): Add more tests.
62459         (ccosh_test): Likewise.
62460         (csin_test): Likewise.
62461         (csinh_test): Likewise.
62462         * sysdeps/i386/fpu/libm-test-ulps: Update.
62463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62465 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
62467         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
62468         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
62470         * sysdeps/x86_64/x32/_itoa.h: Add comment.
62472 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
62474         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
62475         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
62476         * sysdeps/powerpc/soft-fp/Versions: Likewise.
62477         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
62478         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
62479         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
62480         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
62481         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
62482         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
62483         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
62484         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
62485         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
62486         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
62487         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
62488         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
62489         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
62490         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
62491         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
62492         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
62493         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
62494         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
62495         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
62496         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
62497         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
62498         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
62499         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
62500         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
62501         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
62502         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
62503         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
62504         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
62506 2012-05-18  Andreas Jaeger  <aj@suse.de>
62508         * csu/.gitignore: Delete.
62510 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62512         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
62513         (timex): Use __syscall_slong_t.
62515 2012-05-18  Andreas Jaeger  <aj@suse.de>
62516             Carlos O'Donell  <carlos_odonell@mentor.com>
62518         * manual/install.texi (Configuring and compiling): Update
62519         description about files modified in the source directory.
62520         * INSTALL: Regenerated.
62522 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62524         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
62525         value.  Use "or" to set return value to -1.
62526         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
62527         negate return value.
62529 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62531         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
62532         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
62533         failure if the compiler has Graphite support disabled.
62534         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
62535         Likewise.
62536         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
62537         (CFLAGS-memmove.c): Likewise.
62538         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
62539         Likewise.
62541 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62543         * sysdeps/x86_64/x32/_itoa.h: New file.
62545         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
62546         getdents system call only if kernel and user dirents have the
62547         same d_ino and d_off.
62549         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
62550         LLONG_MAX != LONG_MAX.
62551         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62552         (_fitoa_word): Likewise.
62554         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
62555         years.
62556         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
62557         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
62558         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
62560         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
62561         include <bits/wordsize.h>.  Check __x86_64__ instead of
62562         __WORDSIZE.
62563         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
62564         if __x86_64__ is defined.  Use anonymous union on fpstate.
62566         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
62567         anonymous union.
62569 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
62571         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
62572         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
62573         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
62574         Refer to _rtld_local_ro instead of _rtld_global_ro.
62575         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
62576         Likewise.
62577         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
62578         Likewise.
62579         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
62580         Likewise.
62581         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
62582         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
62583         of _rtld_global, and rtld_progname instead of _dl_argv[0].
62585         [BZ #10882]
62586         * sysdeps/powerpc/powerpc32/dl-machine.c
62587         (__elf_machine_runtime_setup) [PROF]: Don't reference
62588         _dl_prof_resolve.
62590 2012-05-18  Andreas Jaeger  <aj@suse.de>
62592         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
62593         function only available for GCCs before 3.4 since GCC 3.4
62594         introduced a builtin.
62595         (lrint): Likewise.
62596         (llrintf): Likewise.
62597         (llrint): Likewise.
62598         (fmaxf): Likewise.
62599         (fmax): Likewise.
62600         (fminf): Likewise.
62601         (fmin): Likewise.
62602         (rint): Likewise.
62603         (rintf): Likewise.
62604         (nearbyint): Likewise.
62605         (nearbyintf): Likewise.
62606         (ceil): Likewise.
62607         (ceilf): Likewise.
62608         (floor): Likewise.
62609         (floorf): Likewise.
62611 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62613         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
62614         on both fields and cast pointer to __syscall_ulong_t.
62616         * bits/types.h (__fsword_t): New type.
62617         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
62618         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
62619         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62620         (__FSWORD_T_TYPE): Likewise.
62621         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62622         (__FSWORD_T_TYPE): Likewise.
62623         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62624         (__FSWORD_T_TYPE): Likewise.
62625         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
62626         (__FSWORD_T_TYPE): Likewise.
62627         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
62628         __SWORD_TYPE with __fsword_t.
62629         (statfs64): Likewise.
62631 2012-05-17  David S. Miller  <davem@davemloft.net>
62633         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
62635 2012-05-17  Andreas Jaeger  <aj@suse.de>
62637         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
62638         warning.
62640 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62642         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
62644 2012-05-17  Andreas Jaeger  <aj@suse.de>
62646         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
62647         when it is used.
62649 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
62651         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
62653 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62655         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
62656         * sysdeps/x86_64/tst-mallocalign1.c: New file.
62658 2012-05-17  Andreas Jaeger  <aj@suse.de>
62659             Carlos O'Donell  <carlos_odonell@mentor.com>
62661         [BZ #14059]
62662         * sysdeps/x86_64/multiarch/init-arch.h
62663         (bit_YMM_Usable): Rename to...
62664         (bit_AVX_Usable): ... this.
62665         (bit_FMA4_Usable): New macro.
62666         (bit_XMM_state): New macro.
62667         (bit_YMM_state): New macro.
62668         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
62669         [__ASSEMBLER__] (index_AVX_Usable): ... this.
62670         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
62671         (CPUID_OSXSAVE): New macro.
62672         (CPUID_AVX): New macro.
62673         (CPUID_FMA4): New macro.
62674         (index_YMM_Usable): Rename to...
62675         (index_AVX_Usable): ... this.
62676         (HAS_AVX): Use HAS_ARCH_FEATURE.
62677         (HAS_FMA4): Likewise.
62678         (HAS_YMM_USABLE): Remove.
62679         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62680         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
62681         are present.
62682         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
62683         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
62684         * sysdeps/x86_64/multiarch/Makefile: Likewise.
62685         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
62686         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
62688 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
62690         * math/libm-test.c: Support platforms without multiple rounding modes.
62691         * math/bug-nextafter.c: Support platforms without FP exceptions.
62692         * math/bug-nexttoward.c: Likewise.
62693         * math/test-fenv.c: Likewise.
62694         * math/test-misc.c: Likewise.
62695         * stdlib/bug-getcontext.c: Likewise.
62697 2012-05-17  Andreas Jaeger  <aj@suse.de>
62699         * manual/examples/search.c (critter_cmp): Change signature to
62700         avoid warnings.
62701         * manual/string.texi (Collation Functions): Likewise.
62703 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62705         * bits/types.h: Fold copyright years.
62706         * bits/typesizes.h: Likewise.
62707         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
62708         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
62709         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
62710         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
62711         * time/time.h: Likewise.
62713 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
62715         [BZ #208]
62716         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
62717         in instead of returning them.  Return void.
62718         (__libc_mallinfo): Accumulate over all arenas.
62719         (__malloc_stats): Adjust for change in int_mallinfo interface.
62721 2012-05-16  Roland McGrath  <roland@hack.frob.com>
62723         [BZ #10375]
62724         * configure.in (NM): Add AC_CHECK_TOOL for it.
62725         (libc_extra_cflags): New substituted variable.
62726         Check for -fstack-protector being used implicitly.
62727         * configure: Regenerated.
62728         * config.make.in (config-extra-cflags): New variable,
62729         gets @libc_extra_cflags@.
62730         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
62732         [BZ #10375]
62733         * configure.in: Check for _FORTIFY_SOURCE being predefined.
62734         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
62735         * configure: Regenerated.
62736         * config.make.in (CPPUNDEFS): New substituted variable.
62737         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
62738         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
62739         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
62741 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62743         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
62744         (mq_attr): Use __syscall_slong_t.
62746 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62748         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
62749         Check __x86_64__ instead of __WORDSIZE.
62750         (_STAT_VER_LINUX): Likewise.
62751         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
62752         __syscall_ulong_t and __syscall_slong_t.
62753         (stat64): Likewise.
62755 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62757         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
62759 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62761         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
62763 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62765         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
62766         __syscall_ulong_t.
62768         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
62769         include <bits/wordsize.h>.  Check __x86_64__ instead of
62770         __WORDSIZE.
62771         (greg_t): Use "__extension__ long long int" if __x86_64__ is
62772         defined.
62773         (mcontext_t): Replace "unsigned long" with "unsigned long long".
62775         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
62776         include <bits/wordsize.h>.  Check __x86_64__ instead of
62777         __WORDSIZE.
62778         (user_regs_struct): Use "__extension__ unsigned long long"
62779         instead of "unsigned long" if __x86_64__ is defined.
62780         (user): Likewise.  Pad after pointer field if __ILP32__ is
62781         defined.
62783 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
62785         * configure.in (makeinfo): Require version 4.5 or later.  Allow
62786         versions 5 to 9.
62787         * configure: Regenerated.
62788         * manual/install.texi (texinfo): Increase version requirement to
62789         4.5 or later.
62790         * INSTALL: Regenerated.
62792         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
62794 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62796         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
62798         * sysdeps/x86_64/x32/ffs.c: New file.
62800         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
62801         __syscall_ulong_t.
62802         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
62803         defined.  Use __syscall_ulong_t.
62804         (shminfo): Use __syscall_ulong_t.
62805         (shm_info): Likewise.
62807         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
62808         __syscall_ulong_t.
62810         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
62811         <bits/wordsize.h>.
62812         (msgqnum_t): Use __syscall_ulong_t.
62813         (msglen_t): Likewise.
62814         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
62815         __syscall_ulong_t.
62817         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
62818         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62820         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
62822         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
62823         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
62825         * sysvipc/sys/msg.h (msgbuf): Replace long int with
62826         __syscall_slong_t.
62828         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
62829         include <bits/wordsize.h>.  Check __x86_64__ instead of
62830         __WORDSIZE.
62832         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
62833         "unsigned long long int" if __x86_64__ is defined.
62834         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
62836         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
62837         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62838         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
62840         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
62841         <stdint.h>.
62842         (GET_PC): Cast to uintptr_t first.
62843         (GET_FRAME): Likewise.
62844         (GET_STACK): Likewise.
62846         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
62847         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
62848         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
62849         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
62850         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
62851         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
62852         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
62853         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
62854         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
62855         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
62856         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
62857         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
62858         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62859         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
62860         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
62861         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
62862         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
62863         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
62864         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
62865         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
62866         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
62867         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
62868         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
62869         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
62870         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
62871         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
62872         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
62873         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
62874         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
62876 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
62878         * Makerules (+depfiles): Also collect depfiles from .oS in
62879         $(extra-objs).
62880         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
62881         .oS, $(libnldbl-routines)).
62883         * Makerules (native-compile-mkdep-flags): Define.
62884         * sunrpc/Makefile (extra-objs): Add $(addprefix
62885         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
62886         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
62887         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
62888         calling $(make-target-directory).
62890 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62892         * bits/types.h (__snseconds_t): Removed.
62893         * time/time.h (struct timespec): Replace __snseconds_t with
62894         __syscall_slong_t.
62895         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
62896         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
62897         Likewise.
62898         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62899         (__SNSECONDS_T_TYPE): Likewise.
62900         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62901         (__SNSECONDS_T_TYPE): Likewise.
62902         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62903         (__SNSECONDS_T_TYPE): Likewise.
62905 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62907         * sysdeps/mach/hurd/bits/typesizes.h
62908         (__SYSCALL_SLONG_TYPE): New macro.
62909         (__SYSCALL_ULONG_TYPE): Likewise.
62911 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62913         * bits/types.h (__syscall_slong_t): New type.
62914         (__syscall_ulong_t): Likewise.
62916         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
62917         (__SYSCALL_ULONG_TYPE): Likewise.
62918         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62919         (__SYSCALL_SLONG_TYPE): Likewise.
62920         (__SYSCALL_ULONG_TYPE): Likewise.
62921         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62922         (__SYSCALL_SLONG_TYPE): Likewise.
62923         (__SYSCALL_ULONG_TYPE): Likewise.
62924         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62925         (__SYSCALL_SLONG_TYPE): Likewise.
62926         (__SYSCALL_ULONG_TYPE): Likewise.
62928 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62930         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
62931         Add sigaltstack-offsets.sym.
62932         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
62933         <sigaltstack-offsets.h>.
62934         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
62935         longjmp_msg pointer.
62936         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
62937         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
62938         signal stack.
62939         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
62941 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
62943         * elf/stackguard-macros.h: Remove file.
62944         * sysdeps/generic/stackguard-macros.h: New file.
62945         * sysdeps/i386/stackguard-macros.h: Likewise.
62946         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
62947         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
62948         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
62949         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
62950         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
62951         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
62952         * sysdeps/x86_64/stackguard-macros.h: Likewise.
62953         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
62954         <elf/stackguard-macros.h>.
62956         [BZ #14109]
62957         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
62958         __aligned__ in attribute.
62959         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
62960         (gregset_t): Likewise.
62962 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62964         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
62965         * sysdeps/x86_64/64/Implies-after: Here.  New file.
62966         * sysdeps/x86_64/x32/Implies-after: New file.
62968 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62970         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
62971         and access return value for _dl_profile_fixup.  Use R10_LP to
62972         load frame size.
62974 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62976         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
62978 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62980         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
62981         * sysdeps/x86_64/x32/sysdep.h: New file.
62983 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62985         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
62986         * sysdeps/x86_64/setjmp.S: Likewise.
62988 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62990         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
62991         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
62992         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
62993         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
62994         remove unused global constant.
62996 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
62998         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
62999         include of <not-cancel.h>.
63001 2012-05-15  Roland McGrath  <roland@hack.frob.com>
63003         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
63005 2012-05-15  Jeff Law  <law@redhat.com>
63006             Andreas Jaeger  <aj@suse.de>
63008         [BZ #13594]
63009         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
63010         out from...
63011         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
63012         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
63013         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
63014         code changing __hst_map_handle.map.
63016 2012-05-15  Roland McGrath  <roland@hack.frob.com>
63018         * configure.in (sysnames): Look for Implies-before and Implies-after
63019         files.
63020         * configure: Regenerated.
63022 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63024         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
63025         8-byte data alignment with LP_SIZE alignment.
63027 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63029         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
63030         into R10_LP.
63032 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63034         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
63036 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63038         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
63039         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
63040         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
63041         Likewise.
63042         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63044 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63046         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
63047         (stackinfo_sub_sp): Likewise.
63049 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63051         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
63052         RAX_LP.
63054 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63056         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
63057         into R*_LP.
63059 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63061         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
63062         sizes into R*_LP.
63064 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63066         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
63068 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63070         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
63071         into R11_LP and load __x86_64_shared_cache_size_half into
63072         R8_LP.
63074 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63076         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
63077         R8_LP.
63079 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63081         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
63082         logb for POWER7.
63083         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
63084         logbf for POWER7.
63085         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
63086         logbl for POWER7.
63087         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
63088         powerpc32/power7/fpu/s_logb.c via #include.
63089         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
63090         powerpc32/power7/fpu/s_logbf.c via #include.
63091         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
63092         powerpc32/power7/fpu/s_logbl.c via #include.
63094 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
63096         * README.libm: Remove file.
63098 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63100         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
63101         count for x32.  Use R*_LP and omit operand-size suffix.
63103 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63105         * shlib-versions: Move x86_64-.*-linux.* entries to ...
63106         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
63107         * sysdeps/x86_64/x32/shlib-versions: New file.
63109 2012-05-14  Roland McGrath  <roland@hack.frob.com>
63111         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
63112         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
63113         Use _dl_fatal_printf instead.
63115 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63117         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
63118         set if not set by the user.  Do not allow for being unset.
63119         * sysdeps/unix/sysv/linux/configure: Regenerated.
63121 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63123         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
63124         the `q' suffix from lea and replace .quad with ASM_ADDR.
63126 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63128         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
63129         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
63130         instead of $17.
63131         (PTR_DEMANGLE): Likewise.
63133 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63135         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
63136         (LP_OP): Likewise.
63137         (ASM_ADDR): Likewise.
63138         (RAX_LP): Likewise.
63139         (RBP_LP): Likewise.
63140         (RBX_LP): Likewise.
63141         (RCX_LP): Likewise.
63142         (RDI_LP): Likewise.
63143         (RSI_LP): Likewise.
63144         (RSP_LP): Likewise.
63145         (R8_LP): Likewise.
63146         (R9_LP): Likewise.
63147         (R10_LP): Likewise.
63148         (R10_LP): Likewise.
63149         (R11_LP): Likewise.
63150         (R12_LP): Likewise.
63151         (R13_LP): Likewise.
63152         (R14_LP): Likewise.
63153         (R15_LP): Likewise.
63155 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63157         * sysdeps/x86_64/x32/dl-machine.h: New file.
63159 2012-05-14  Andreas Jaeger  <aj@suse.de>
63161         * manual/Makefile (subdir): Remove export of subdir.
63162         (all): Remove target.
63163         (.PHONY): Remove all from list.
63164         (mkinstalldirs): Remove.
63165         (.PHONY): Remove installdirs from list.
63166         ($(inst_infodir)/libc.info): Use make-target-directory.
63167         (installdirs): Remove.
63168         (subdir_%): Remove.
63169         (glibc-targets): Remove.
63170         (lib): Remove.
63171         (stubs): Remove.
63172         ($(objpfx)stubs ../po/manual.pot): Remove.
63173         ($(objpfx)stamp%): Remove.
63174         (make-target-directory): Remove.
63175         (subdir_install): Remove.
63176         (routines): Remove.
63177         (aux): Remove.
63178         (sources): Remove.
63179         (objects): Remove.
63180         (headers): Remove.
63182         [BZ #13750]
63183         * manual/.gitignore: Remove, it's not needed anymore.
63184         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
63185         all files in it.
63186         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
63187         directory.
63188         (texis): Renamed to $(objpfx)texis.
63189         (texis-path): New, contains path to generated files.
63190         (chapters.%): Use texis-path for complete path, add extra argument
63191         libc-texinfo.sh.
63192         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
63193         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
63194         (summary,texi, stamp-summary): Use complete path of
63195         files. Generate files in build dir.
63196         (dir-add.texi): Build in build dir.
63197         (libm-err.texi,stamp-libm-err): Likewise.
63198         (version.texi, stamp-version): Likewise.
63199         (.%c.texi): Likewise.
63200         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
63201         (mostlyclean): Remove target.
63202         (realclean): Remove target.
63203         (generated): Add new variable with contents from mostlyclean and
63204         realclean, remove entries duplicated in common-mostlyclean, add
63205         stamp-libm-err and stamp-version.
63206         (generated-dirs): Add libc directory.
63207         ($(inst_infodir)/libc.info): Install files from build dir.
63209         * manual/install.texi (Configuring and compiling): Adjust since
63210         the info files are not part of the tar ball anymore.
63212 2012-05-14  Andreas Jaeger  <aj@suse.de>
63214         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
63215         variable.
63217 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63219         [BZ #13717]
63220         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63221         to 2.2.0 where earlier.
63222         * sysdeps/unix/sysv/linux/configure: Regenerated.
63223         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
63224         Remove conditional code.
63225         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
63226         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
63227         Remove conditional code.
63228         [!__NR_lchown]: Likewise.
63229         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63230         [__NR_lchown]: Likewise.
63231         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
63232         comment referencing __ASSUME_LCHOWN_SYSCALL.
63233         * sysdeps/unix/sysv/linux/i386/sigaction.c
63234         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63235         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63236         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
63237         Remove conditional code.
63238         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
63239         (__protocol_available): Remove #if 0 code.
63240         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
63241         conditional code.
63242         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
63243         * sysdeps/unix/sysv/linux/kernel-features.h
63244         (__ASSUME_GETCWD_SYSCALL): Don't define.
63245         (__ASSUME_REALTIME_SIGNALS): Likewise.
63246         (__ASSUME_PREAD_SYSCALL): Likewise.
63247         (__ASSUME_PWRITE_SYSCALL): Likewise.
63248         (__ASSUME_POLL_SYSCALL): Likewise.
63249         (__ASSUME_LCHOWN_SYSCALL): Likewise.
63250         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
63251         non-SPARC.
63252         (__ASSUME_SIOCGIFNAME): Don't define.
63253         (__ASSUME_MSG_NOSIGNAL): Likewise.
63254         (__ASSUME_SENDFILE): Define unconditionally.
63255         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
63256         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
63257         conditional code.
63258         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
63259         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
63260         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63261         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63262         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
63263         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63264         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
63266         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63267         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
63269         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63270         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
63272         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63273         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
63275         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63276         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
63278         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63279         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
63281         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63282         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
63284         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63285         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
63287         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63288         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63289         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
63290         Remove conditional code.
63291         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63292         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63293         Remove conditional code.
63294         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63295         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
63296         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
63297         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63298         Remove conditional code.
63299         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63300         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
63301         Remove conditional code.
63302         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63303         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
63304         Remove conditional code.
63305         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63306         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63307         Remove conditional code.
63308         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63309         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63310         Remove conditional code.
63311         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63312         * sysdeps/unix/sysv/linux/sh/pwrite64.c
63313         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63314         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63315         * sysdeps/unix/sysv/linux/sigaction.c
63316         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63317         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63318         * sysdeps/unix/sysv/linux/sigpending.c
63319         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63320         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63321         * sysdeps/unix/sysv/linux/sigprocmask.c
63322         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63323         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63324         * sysdeps/unix/sysv/linux/sigsuspend.c
63325         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63326         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63327         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
63328         (__libc_missing_rt_sigs): Remove.
63329         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
63330         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
63331         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
63332         Remove conditional code.
63333         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
63334         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
63335         return 1.
63336         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
63337         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
63338         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
63339         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
63341 2012-05-14  Andreas Jaeger  <aj@suse.de>
63343         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
63344         it's not used in glibc.
63345         (__coshm1): Likewise.
63346         (__acosh1p): Likewise.
63347         (__sgn): Likewise.
63349         * manual/string.texi (Copying and Concatenation): Add missing
63350         variable in concat example.
63351         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
63353 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63355         [BZ #14103]
63356         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
63357         __builtin_clzl with __builtin_clzll.
63359 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63361         [BZ #14104]
63362         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
63363         libc_freeres_ptr.
63365 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63367         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
63368         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
63369         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
63370         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
63372 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
63374         * NEWS: Update ia64 info.
63376 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
63378         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
63379         used as bcopy.
63381 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
63383         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
63384         * sysdeps/unix/syscalls.list (dup3): Likewise.
63385         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
63386         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
63388 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
63390         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
63391         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
63393 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
63395         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
63396         thread pointer.
63397         (TLS_IE): Use mov/add instead of movq/addq to load thread
63398         pointer.
63399         (TLS_GD_PREFIX): New.
63400         (TLS_GD): Use it.
63402 2012-05-11  David S. Miller  <davem@davemloft.net>
63404         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
63405         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
63406         (_FPU_SETCW): Likewise.
63408 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63410         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
63411         is 32-byte aligned.
63413 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
63415         [BZ #11837]
63416         * iconvdata/gb18030.c: Update tables.
63417         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
63418         characters specially.
63419         (BODY for TO_LOOP): Add encoding of missing ranges.
63421 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
63423         [BZ #13673]
63424         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
63425         * sysdeps/mach/hurd/dup3.c: Likewise.
63426         * sysdeps/mach/hurd/readlinkat.c: Likewise.
63427         * sysdeps/powerpc/memmove.c:: Likewise.
63429 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63431         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
63432         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
63434 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63436         * elf/elf.h (R_X86_64_RELATIVE64): New.
63437         (R_X86_64_NUM): Updated.
63438         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
63439         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
63440         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
63441         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
63442         tst-quad1pie tst-quad2pie
63443         (modules-names): Add tst-quadmod1 tst-quadmod2.
63444         ($(objpfx)tst-quad1): New dependency.
63445         ($(objpfx)tst-quad2): Likewise.
63446         ($(objpfx)tst-quad1pie): Likewise.
63447         ($(objpfx)tst-quad2pie): Likewise.
63448         * sysdeps/x86_64/tst-quad1.c: New file.
63449         * sysdeps/x86_64/tst-quad1pie.c: New file.
63450         * sysdeps/x86_64/tst-quad2.c: Likewise.
63451         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
63452         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
63453         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
63454         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
63455         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
63457 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63459         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
63460         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
63461         * streams/stropts.h (t_scalar_t): Define type.
63463         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
63464         (_PATH_PRESERVE): Set to "/var/lib".
63465         (_PATH_RWHODIR): Set to "/var/spool/rwho".
63467         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
63468         instead of int.
63470         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
63471         if __dir_mkfile succeeded.
63473         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
63474         checking for _hurd_dtablesize.  Unlock it right after having
63475         finished _hurd_dtable allocation.
63477 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63479         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
63480         * sysdeps/mach/hurd/configure: Regenerated.
63481         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
63482         special-casing to...
63483         * sysdeps/gnu/configure.in: ... this new file.
63484         * sysdeps/unix/sysv/linux/configure: Regenerated.
63485         * sysdeps/gnu/configure: New generated file.
63487         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
63488         for Linux: use nsec instead of usec, as well as:
63489         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
63490         members of type struct timespec.
63491         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
63492         New macros.
63493         (struct stat64): Likewise.
63494         (_STATBUF_ST_NSEC): New macro.
63495         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
63497         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63498         __strtoul_internal rather than strtoul.
63500 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63502         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
63503         and reject them.
63505 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63507         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
63508         which preserves existing values.
63509         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
63511 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63513         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
63514         TIMEOUT values.  Return EINVAL for NFDS values either negative or
63515         greater than FD_SETSIZE.
63517 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63519         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
63520         allocated, call __vm_protect to finish enabling the existing space, and
63521         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
63522         allocate the remainder.
63524 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63526         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
63527         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
63529 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63531         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
63532         sysdeps/mach/hurd/readlink.c.
63534         * posix/tst-sysconf.c (posix_options): Only use
63535         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
63536         _POSIX_SYNCHRONIZED_IO when they are defined
63537         * sysdeps/mach/hurd/bits/posix_opt.h:
63538         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
63539         (_XOPEN_REALTIME): Undefine macro.
63540         (_XOPEN_REALTIME_THREADS): Undefine macro.
63541         (_XOPEN_SHM): Undefine macro.
63542         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
63543         macro to -1.
63544         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
63545         macro to -1.
63546         (_POSIX_ASYNC_IO): Undefine macro.
63547         (_POSIX_PRIORITIZED_IO): Undefine macro.
63548         (_POSIX_SPIN_LOCKS): Define macro to -1.
63550         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
63551         SA_NODEFER, SA_RESETHAND.
63552         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
63553         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
63554         F_DUPFD_CLOEXEC.
63556 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63558         * elf/Makefile (pldd-modules): Define unconditionally.
63560 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63562         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
63564 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63566         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
63567         Return ENOENT when name is empty.
63568         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
63570 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63572         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
63574         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
63576 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63578         Fix mlock in all cases except non-readable pages.
63579         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
63580         instead of VM_PROT_ALL as parameter to __vm_wire function.
63582         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
63583         (__mkdir): When path is `/', just fail with EEXIST.
63584         * sysdeps/mach/hurd/mkdirat.c: Likewise.
63586 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63588         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
63589         <sys/uio.h> (for writev).
63590         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
63591         and <sys/param.h> (for MIN).
63593 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63595         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
63596         REQUESTED_TIME.  Properly set the remaining time and return EINTR
63597         if interrupted.
63599 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63601         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
63602         Depend on against $(link-rpcuserlibs).
63604 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63606         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
63607         (__libc_stack_end): Do not use attribute_relro.
63608         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
63609         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
63610         to libthread-provided value.
63611         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
63612         attribute_relro.
63614 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63616         [BZ #3748]
63617         * bits/libc-lock.h (__libc_once_get): New macro.
63618         * sysdeps/mach/bits/libc-lock.h: Likewise.
63619         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
63620         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
63621         instead of using implementation details.
63623         * libio/fileops.c: Unconditionally include <kernel-features.h>.
63624         * libio/freopen.c: Likewise.
63625         * libio/freopen64.c: Likewise.
63626         * misc/syslog.c: Likewise.
63627         * nscd/connections.c: Likewise.
63628         * nscd/netgroupcache.c: Likewise.
63629         * sysdeps/posix/getcwd.c: Likewise.
63631 2012-05-10  Roland McGrath  <roland@hack.frob.com>
63633         * math/w_ilogbf.c: Add #include <limits.h>.
63635 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63637         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
63638         path instead of returning without unlocking.
63640         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
63641         immediate-write ioctls.
63642         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
63644 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63646         * sysdeps/mach/hurd/i386/init-first.c (init): Use
63647         __builtin_frame_address instead of making assumptions about the
63648         location of the return address relative to DATA.  Force early load of
63649         the return address.
63650         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
63651         __builtin_frame_address.
63653         dup3 for GNU Hurd.
63654         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
63655         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
63656         implement dup3 and do some further code clean-ups.
63657         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
63658         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
63660 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63662         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
63664         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
63665         HURD_CRITICAL_END around holding _hurd_dtable_lock.
63666         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
63667         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
63668         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
63669         d->port.lock.
63671         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
63672         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
63673         when handler == SIG_ERR, not when handler != SIG_ERR.
63675 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63677         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
63678         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
63679         definitions.
63681         accept4 for GNU Hurd.
63682         * include/sys/socket.h (__libc_accept4): New prototype.
63683         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
63684         to implement __libc_accept4.
63685         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
63686         __libc_accept4.
63687         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
63689         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
63690         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
63691         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
63692         signal-defines.sym.
63694 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63696         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
63698 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63700         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
63701         assertion on O_CLOEXEC flag.
63702         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
63703         * hurd/intern-fd.c: Likewise.
63704         * hurd/port2fd.c: Likewise.
63706 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63708         [BZ #3906]
63709         * bits/in.h (IPV6_PKTINFO): Define new macro.
63710         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
63712 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63714         [BZ #13954]
63715         [BZ #13955]
63716         [BZ #13956]
63717         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
63718         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
63719         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
63720         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
63721         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63722         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
63723         * math/libm-test.inc (logb_test) : Additional logb tests.
63725 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
63726             Andreas Jaeger  <aj@suse.de>
63728         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
63729         * configure: Regenerated.
63730         * config.h.in (LINK_OBSOLETE_RPC): New macro.
63731         * config.make.in (link-obsolete-rpc): New substituted variable.
63732         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
63733         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
63734         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
63735         (shared-only-routines): Don't set it under [link-obsolete-rpc],
63736         so that libc.a contains the symbols.
63737         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
63738         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
63739         * sunrpc/auth_none.c: Likewise.
63740         * sunrpc/auth_unix.c: Likewise.
63741         * sunrpc/authdes_prot.c: Likewise.
63742         * sunrpc/authuxprot.c: Likewise.
63743         * sunrpc/clnt_gen.c: Likewise.
63744         * sunrpc/clnt_perr.c: Likewise.
63745         * sunrpc/clnt_raw.c: Likewise.
63746         * sunrpc/clnt_simp.c: Likewise.
63747         * sunrpc/clnt_tcp.c: Likewise.
63748         * sunrpc/clnt_udp.c: Likewise.
63749         * sunrpc/clnt_unix.c: Likewise.
63750         * sunrpc/des_crypt.c: Likewise.
63751         * sunrpc/des_soft.c: Likewise.
63752         * sunrpc/get_myaddr.c: Likewise.
63753         * sunrpc/key_call.c: Likewise.
63754         * sunrpc/key_prot.c: Likewise.
63755         * sunrpc/netname.c: Likewise.
63756         * sunrpc/pm_getmaps.c: Likewise.
63757         * sunrpc/pm_getport.c: Likewise.
63758         * sunrpc/pmap_clnt.c: Likewise.
63759         * sunrpc/pmap_prot.c: Likewise.
63760         * sunrpc/pmap_prot2.c: Likewise.
63761         * sunrpc/pmap_rmt.c: Likewise.
63762         * sunrpc/publickey.c: Likewise.
63763         * sunrpc/rpc_cmsg.c: Likewise.
63764         * sunrpc/rpc_common.c: Likewise.
63765         * sunrpc/rpc_dtable.c: Likewise.
63766         * sunrpc/rpc_prot.c: Likewise.
63767         * sunrpc/rpc_thread.c: Likewise.
63768         * sunrpc/rtime.c: Likewise.
63769         * sunrpc/svc.c: Likewise.
63770         * sunrpc/svc_auth.c: Likewise.
63771         * sunrpc/svc_raw.c: Likewise.
63772         * sunrpc/svc_run.c: Likewise.
63773         * sunrpc/svc_tcp.c: Likewise.
63774         * sunrpc/svc_udp.c: Likewise.
63775         * sunrpc/svc_unix.c: Likewise.
63776         * sunrpc/svcauth_des.c: Likewise.
63777         * sunrpc/xcrypt.c: Likewise.
63778         * sunrpc/xdr.c: Likewise.
63779         * sunrpc/xdr_array.c: Likewise.
63780         * sunrpc/xdr_float.c: Likewise.
63781         * sunrpc/xdr_intXX_t.c: Likewise.
63782         * sunrpc/xdr_mem.c: Likewise.
63783         * sunrpc/xdr_rec.c: Likewise.
63784         * sunrpc/xdr_ref.c: Likewise.
63785         * sunrpc/xdr_sizeof.c: Likewise.
63786         * sunrpc/xdr_stdio.c: Likewise.
63788 2012-05-10  Roland McGrath  <roland@hack.frob.com>
63790         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
63791         change.  Update copyright years.
63793 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
63795         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
63797 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
63798             Joseph Myers  <joseph@codesourcery.com>
63799             Paul Pluzhnikov  <ppluzhnikov@google.com>
63801         [BZ #14012]
63802         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
63803         requiring rpcgen.
63804         [cross-compiling] (extra-libs): Likewise.
63805         [cross-compiling] (extra-libs-others): Likewise.
63806         [cross-compiling] (librpcsvc-routines): Likewise.
63807         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
63808         [cross-compiling] (omit-deps): Likewise.
63809         (sunrpc-CPPFLAGS): New variable.
63810         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
63811         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
63812         (cross-rpcgen-objs): New variable.
63813         (extra-objs): Append $(cross-rpcgen-objs).
63814         ($(cross-rpcgen-objs)): New rule.
63815         ($(objpfx)cross-rpcgen): Likewise.
63816         (rpcgen-cmd): Define to use $(built-program-file).  Expand
63817         comment.
63818         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
63819         ($(objpfx)x%.stmp): Likewise.
63820         * sunrpc/proto.h [IS_IN_build] (_): Define.
63821         [IS_IN_build] (_libc_intl_domainname): Likewise.
63823 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63825         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
63826         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
63827         and R_X86_64_TPOFF64.
63829 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
63831         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
63832         sysdeps/unix/sysv/syscalls.list.
63833         (stime): Likewise.
63834         (utime): Likewise.
63835         * sysdeps/unix/sysv/syscalls.list: Remove file.
63837 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
63839         [BZ #3440]
63840         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
63841         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
63842         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
63843         (__LC_IDENTIFICATION): Make these macros useful in #if
63844         expressions, as required by C99.
63846 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
63848         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
63849         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
63850         after this.
63852 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
63854         * stdlib/longlong.h: Updated from GCC.
63856 2012-05-09  Andreas Jaeger  <aj@suse.de>
63858         * nscd/nscd.c (run_modes): Make named enum, reorder so that
63859         default is first entry.
63860         (run_mode): Set type.
63861         (main): Remove informal message about syslog.
63862         (options): Fix typo.
63864         [BZ #14053]
63865         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
63866         to asm.
63867         (lrint): Likewise.
63868         (llrintf): Likewise.
63869         (llrint): Likewise.
63870         (rint): Likewise.
63871         (rintf): Likewise.
63872         (nearbyint): Likewise.
63873         (nearbyintf): Likewise.
63875 2012-05-09  Andreas Jaeger  <aj@suse.de>
63876             Pedro Alves  <palves@redhat.com>
63878         * nscd/nscd.c (run_mode): Use enum.
63879         (main): Cleanup coding style issue.
63881 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
63882             Andreas Jaeger  <aj@suse.de>
63884         * nscd/nscd.c (go_background): Replaced with...
63885         (run_mode): ... this.
63886         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
63887         (options): Add -F --foreground.
63888         (main): Implement it.
63889         (parse_opt): Parse it.
63891 2012-05-09  Andreas Jaeger  <aj@suse.de>
63893         [BZ #14083]
63894         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
63895         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
63896         -Wconversion warning.
63897         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
63898         Likewise.
63900 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
63902         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
63903         == 0.
63904         (LC_ALL): Use macro-int-constant.
63905         (LC_COLLATE): Likewise.
63906         (LC_CTYPE): Likewise.
63907         (LC_MESSAGES): Likewise.
63908         (LC_MONETARY): Likewise.
63909         (LC_NUMERIC): Likewise.
63910         (LC_TIME): Likewise.
63911         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
63912         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
63913         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63914         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
63915         Specify type.
63916         [C99-based standards] (float_t): Expect type.
63917         [C99-based standards] (double_t): Expect type.
63918         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
63919         type.
63920         [C99-based standards] (HUGE_VALL): Likewise.
63921         [C99-based standards] (INFINITY): Likewise.
63922         [C99-based standards] (NAN): Likewise.
63923         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
63924         [C99-based standards] (FP_NAN): Likewise.
63925         [C99-based standards] (FP_NORMAL): Likewise.
63926         [C99-based standards] (FP_SUBNORMAL): Likewise.
63927         [C99-based standards] (FP_ZERO): Likewise.
63928         [C99-based standards] (FP_FAST_FMA): Use
63929         optional-macro-int-constant.  Specify type.  Require == 1.
63930         [C99-based standards] (FP_FAST_FMAF): Likewise.
63931         [C99-based standards] (FP_FAST_FMAL): Likewise.
63932         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
63933         [C99-based standards] (FP_ILOGBNAN): Likewise.
63934         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
63935         Specify type.
63936         [C99-based standards] (MATH_ERREXCEPT): Likewise.
63937         [C99-based standards] (math_errhandling): Specify type.
63938         [ISO99 || ISO11] (signgam): Do not allow.
63939         [non-C99-based standards] (copysignf): Do not allow.
63940         [non-C99-based standards] (exp2f): Likewise.
63941         [non-C99-based standards] (log2f): Likewise.
63942         [non-C99-based standards] (modff): Allow.
63943         [non-C99-based standards] (erff): Do not allow.
63944         [non-C99-based standards] (erfcf): Likewise.
63945         [non-C99-based standards] (gammaf): Likewise.
63946         [non-C99-based standards] (hypotf): Likewise.
63947         [non-C99-based standards] (j0f): Likewise.
63948         [non-C99-based standards] (j1f): Likewise.
63949         [non-C99-based standards] (jnf): Likewise.
63950         [non-C99-based standards] (lgammaf): Likewise.
63951         [non-C99-based standards] (tgammaf): Likewise.
63952         [non-C99-based standards] (y0f): Likewise.
63953         [non-C99-based standards] (y1f): Likewise.
63954         [non-C99-based standards] (ynf): Likewise.
63955         [non-C99-based standards] (isnanf): Likewise.
63956         [non-C99-based standards] (acoshf): Likewise.
63957         [non-C99-based standards] (asinhf): Likewise.
63958         [non-C99-based standards] (atanhf): Likewise.
63959         [non-C99-based standards] (cbrtf): Likewise.
63960         [non-C99-based standards] (expm1f): Likewise.
63961         [non-C99-based standards] (ilogbf): Likewise.
63962         [non-C99-based standards] (log1pf): Likewise.
63963         [non-C99-based standards] (logbf): Likewise.
63964         [non-C99-based standards] (nextafterf): Likewise.
63965         [non-C99-based standards] (remainderf): Likewise.
63966         [non-C99-based standards] (rintf): Likewise.
63967         [non-C99-based standards] (scalbf): Likewise.
63968         [non-C99-based standards] (copysignl): Likewise.
63969         [non-C99-based standards] (exp2l): Likewise.
63970         [non-C99-based standards] (log2l): Likewise.
63971         [non-C99-based standards] (modfl): Allow.
63972         [non-C99-based standards] (erfl): Do not allow.
63973         [non-C99-based standards] (erfcl): Likewise.
63974         [non-C99-based standards] (gammal): Likewise.
63975         [non-C99-based standards] (hypotl): Likewise.
63976         [non-C99-based standards] (j0l): Likewise.
63977         [non-C99-based standards] (j1l): Likewise.
63978         [non-C99-based standards] (jnl): Likewise.
63979         [non-C99-based standards] (lgammal): Likewise.
63980         [non-C99-based standards] (tgammal): Likewise.
63981         [non-C99-based standards] (y0l): Likewise.
63982         [non-C99-based standards] (y1l): Likewise.
63983         [non-C99-based standards] (ynl): Likewise.
63984         [non-C99-based standards] (isnanl): Likewise.
63985         [non-C99-based standards] (acoshl): Likewise.
63986         [non-C99-based standards] (asinhl): Likewise.
63987         [non-C99-based standards] (atanhl): Likewise.
63988         [non-C99-based standards] (cbrtl): Likewise.
63989         [non-C99-based standards] (expm1l): Likewise.
63990         [non-C99-based standards] (ilogbl): Likewise.
63991         [non-C99-based standards] (log1pl): Likewise.
63992         [non-C99-based standards] (logbl): Likewise.
63993         [non-C99-based standards] (nextafterl): Likewise.
63994         [non-C99-based standards] (remainderl): Likewise.
63995         [non-C99-based standards] (rintl): Likewise.
63996         [non-C99-based standards] (scalbl): Likewise.
63997         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63998         [non-C99-based standards] (FP_*): Do not allow.
63999         [C99-based standards] (FP_*): Change to
64000         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64001         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64002         allow.
64003         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
64004         (SIG_ERR): Likewise.
64005         [X/Open-based standards] (SIG_HOLD): Likewise.
64006         (SIG_IGN): Likewise.
64007         (SIGABRT): Use macro-int-constant.  Specify type.  Require
64008         positive value.
64009         (SIGFPE): Likewise.
64010         (SIGILL): Likewise.
64011         (SIGINT): Likewise.
64012         (SIGSEGV): Likewise.
64013         (SIGTER): Likewise.
64014         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
64015         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
64016         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
64017         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
64018         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
64019         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
64020         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
64021         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
64022         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
64023         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
64024         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
64025         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
64026         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
64027         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
64028         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
64029         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
64030         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
64031         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
64032         [X/Open-based standards] (SIGTRAP): Likewise.
64033         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
64034         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
64035         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
64036         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
64037         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64038         allow.
64040 2012-05-08  Ian Wienand  <ianw@vmware.com>
64042         [BZ #14080]
64043         * time/tzset.c (__tzset_parse_tz): Update default rules for
64044         daylight time changes in the Energy Policy Act of 2005.
64046 2012-05-09  Andreas Jaeger  <aj@suse.de>
64048         [BZ #13983]
64049         * elf/ldconfig.c (parse_conf): Change string to make clear that
64050         ldconfig only issued a warning if ld.so.conf does not exist.
64052 2012-05-08  David S. Miller  <davem@davemloft.net>
64054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
64055         movxtod instead of popping the value on the stack.
64057         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64059 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
64061         * config.h.in: Add HAVE_ARM_PCS_VFP.
64063 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
64065         [BZ #13979]
64066         * include/features.h: Warn if user requests __FORTIFY_SOURCE
64067         checking but the checks are disabled for any reason.
64069 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
64071         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
64072         and ELF64_R_TYPE with ELFW(R_TYPE).
64074 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
64076         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
64077         (ulimit): Likewise.
64079         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
64080         (settimeofday): Likewise.
64082 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
64084         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
64085         a struct th_u2 inside the union, and move tu_block/tu_code into
64086         a new th_u3 union of tu_block/tu_code inside of that.  Move
64087         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
64088         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
64089         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
64090         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
64091         (th_stuff): Change to th_u1.tu_stuff.
64092         (th_data): Define.
64093         (th_msg): Change to th_u1.th_u2.tu_data.
64095 2012-05-07  David S. Miller  <davem@davemloft.net>
64097         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64099         [BZ #14074]
64100         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
64101         (SETUP_PIC_REG): Use it.
64102         (SETUP_PIC_REG_LEAF): Use it.
64104 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
64106         [BZ #13885]
64107         [BZ #13923]
64108         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64109         USE_AS_EXPM1L.
64110         (EXPL_FINITE): Likewise.
64111         (FLDLOG): Likewise.
64112         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64113         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64114         e_expl.S.
64115         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64116         USE_AS_EXPM1L.
64117         (EXPL_FINITE): Likewise.
64118         (FLDLOG): Likewise.
64119         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64120         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64121         e_expl.S.
64122         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
64123         test of -max_value argument for long double.
64124         * sysdeps/i386/fpu/libm-test-ulps: Update.
64125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64127 2012-05-06  David S. Miller  <davem@davemloft.net>
64129         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
64130         quad soft-float symbols whose references which are compiler
64131         generated.
64132         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
64134 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
64136         [BZ #13884]
64137         [BZ #13914]
64138         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64139         USE_AS_EXP10L.
64140         (EXPL_FINITE): Likewise.
64141         (FLDLOG): Likewise.
64142         (c0): Likewise.
64143         (c1): Likewise.
64144         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
64145         Adjust comments for base varying.
64146         (__expl_finite): Change alias to EXPL_FINITE.
64147         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
64148         e_expl.S.
64149         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
64150         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
64151         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
64152         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
64153         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64154         USE_AS_EXP10L.
64155         (EXPL_FINITE): Likewise.
64156         (FLDLOG): Likewise.
64157         (c0): Likewise.
64158         (c1): Likewise.
64159         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
64160         Adjust comments for base varying.
64161         (__expl_finite): Change alias to EXPL_FINITE.
64162         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
64163         tests for bugs.
64164         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64166         [BZ #14064]
64167         * math/libm-test.inc (check_float_internal): Correct ulp
64168         calculation for subnormal expected results.
64170 2012-05-06  Andreas Jaeger  <aj@suse.de>
64172         * Makeconfig (+math-flags): New, set to -frounding-math.
64173         (+cflags): Add +math-flags so that all of glibc gets compiled with
64174         it.
64176         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
64178 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
64180         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
64181         Disable one test.
64183         [BZ #13787]
64184         [BZ #13922]
64185         [BZ #14036]
64186         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
64187         (__ieee754_expl): Allow for and saturate large arguments.
64188         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
64189         (u_threshold): Likewise.
64190         (__exp): Call __ieee754_exp before checking for overflow and
64191         underflow.
64192         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
64193         (u_threshold): Likewise.
64194         (__expf): Call __ieee754_expf before checking for overflow and
64195         underflow.
64196         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
64197         (u_threshold): Likewise.
64198         (__expl): Call __ieee754_expl before checking for overflow and
64199         underflow.
64200         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
64201         (__ieee754_expl): Allow for and saturate large arguments.
64202         * math/libm-test.inc (exp_test): Add another test.  Do not allow
64203         missing overflow exception on overflow.
64204         (expm1_test): Do not allow missing overflow exception on overflow.
64206         * sysdeps/i386/fpu/e_expl.c: Move to ...
64207         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
64208         rather than using inline asm.
64209         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
64210         * sysdeps/x86_64/fpu/e_expl.S: Copy from
64211         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
64213         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
64214         (nice): Likewise.
64215         (poll): Likewise.
64216         (signal): Likewise.
64217         (time): Likewise.
64218         (times): Likewise.
64220 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64222         * sysdeps/unix/syscalls.list (adjtime): Add entry from
64223         sysdeps/unix/common/syscalls.list.
64224         (fchmod): Likewise.
64225         (fchown): Likewise.
64226         (ftruncate): Likewise.
64227         (getrusage): Likewise.
64228         (gettimeofday): Likewise.
64229         (setpgid): Likewise.
64230         (setregid): Likewise.
64231         (setreuid): Likewise.
64232         (sigaction): Likewise.
64233         (truncate): Likewise.
64234         (vhangup): Likewise.
64235         * sysdeps/unix/common/syscalls.list: Remove file.
64236         * sysdeps/unix/bsd/Implies: Don't include unix/common.
64237         * sysdeps/unix/sysv/linux/Implies: Likewise.
64239 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
64241         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
64242         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
64243         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
64244         Moved to ...
64245         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
64246         Here.
64247         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
64248         to ...
64249         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
64250         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
64251         to ...
64252         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
64253         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
64254         to ...
64255         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
64256         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
64257         to ...
64258         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
64259         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
64260         to ...
64261         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
64262         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
64263         to ...
64264         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
64265         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
64266         to ...
64267         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64268         Here.
64269         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
64270         to ...
64271         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
64272         Here.
64273         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
64274         to ...
64275         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
64276         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
64277         Moved to ...
64278         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
64279         Here.
64280         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
64281         to ...
64282         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
64284 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64286         * sysdeps/unix/common/bits/dirent.h: Remove file.
64287         * sysdeps/unix/common/bits/fcntl.h: Likewise.
64289         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
64290         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
64291         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
64292         * sysdeps/unix/bsd/isatty.c: Likewise.
64293         * sysdeps/unix/bsd/tcdrain.c: Likewise.
64294         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
64295         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
64297 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64299         [BZ #13563]
64300         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
64301         long double comparison inaccuracies.
64302         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
64303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64305 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
64307         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
64308         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
64310 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64312         [BZ #14049]
64313         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
64314         nonzero digits before rounding a hex value.
64315         * stdlib/tst-strtod.c (tests): Add another test.
64317 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64319         * sysdeps/s390/fpu/libm-test-ulps: Update.
64321 2012-05-03  Andreas Jaeger  <aj@suse.de>
64323         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
64324         does not get optimized out.
64325         (malloc_opt_barrier): New.
64327 2012-05-03  Andreas Jaeger  <aj@suse.de>
64328             Roland McGrath  <roland@hack.frob.com>
64330         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
64331         intermediate file deletion.
64332         (generated): Add .symlist files.
64334 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
64336         [BZ #13775]
64337         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
64338         Redirect under this condition.
64339         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64340         [__USE_GNU] (__dprintf_chk): Not under this condition.
64341         [__USE_GNU] (__vdprintf_chk): Likewise.
64342         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
64343         under this condition.
64344         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64345         [__USE_XOPEN2K8] (dprintf): Define under this condition.
64346         [__USE_XOPEN2K8] (vdprintf): Likewise.
64347         [__USE_GNU] (__dprintf_chk): Not under this condition.
64348         [__USE_GNU] (__vdprintf_chk): Likewise.
64349         [__USE_GNU] (dprintf): Likewise.
64350         [__USE_GNU] (vdprintf): Likewise.
64352 2012-05-03  Roland McGrath  <roland@hack.frob.com>
64354         * elf/Makefile (common-generated): Set this instead of generated for
64355         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
64356         $(all-built-dso)-derived lists.
64358 2012-05-03  Andreas Jaeger  <aj@suse.de>
64360         * sysdeps/i386/fpu/libm-test-ulps: Update.
64362         * FAQ: Removed.
64363         * FAQ.in: Likewise.
64364         * scripts/gen-FAQ.pl: Likewise.
64365         * manual/install.texi (Installation): Point to online location of
64366         FAQ.
64367         * Makefile (files-for-dist): Remove FAQ.
64368         (FAQ): Remove.
64370 2012-05-02  Allan McRae  <allan@archlinux.org>
64372         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
64373         (LDFLAGS-reldepmod5.so): Likewise.
64374         (LDFLAGS-reldep6mod1.so): Likewise.
64375         (LDFLAGS-reldep6mod4.so): Likewise.
64376         (LDFLAGS-reldep8mod3.so): Likewise.
64377         (LDFLAGS-unload4mod1.so): Likewise.
64378         (LDFLAGS-unload4mod2.so): Likewise.
64379         (LDFLAGS-tst-initorder): Likewise.
64380         (LDFLAGS-tst-initordera2.so): Likewise.
64381         (LDFLAGS-tst-initordera3.so): Likewise.
64382         (LDFLAGS-tst-initordera4.so): Likewise.
64383         (LDFLAGS-tst-initorderb2.so): Likewise.
64384         (LDFLAGS-noload): Likewise.
64385         (LDFLAGS-next): Likewise.
64386         (LDFLAGS-order2mod1.so): Likewise.
64387         (LDFLAGS-order2mod2.so): Likewise.
64388         (LDFLAGS-tst-initorder2): Likewise.
64389         (LDFLAGS-tst-initorder2a.so): Likewise.
64390         (LDFLAGS-tst-initorder2b.so): Likewise.
64391         (LDFLAGS-tst-initorder2c.so): Likewise.
64392         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
64394 2012-05-02  David S. Miller  <davem@davemloft.net>
64396         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64398 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
64400         [BZ #14055]
64401         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
64403 2012-05-02  Andreas Jaeger  <aj@suse.de>
64405         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
64406         since we manipulate rounding mode.
64407         (CPPFLAGS-test-idouble.c): Likewise.
64408         (CPPFLAGS-test-ifloat.c): Likewise.
64409         (CFLAGS-test-ldouble.c): Likewise.
64410         (CFLAGS-test-double.c): Likewise.
64411         (CFLAGS-test-float.c): Likewise.
64412         (CFLAGS-test-misc.c): Likewise.
64413         (CFLAGS-test-test-fenv.c): Likewise.
64415 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64417         [BZ #2550]
64418         [BZ #2570]
64419         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
64420         comparisons to determine direction to adjust input.
64422 2012-05-01  Roland McGrath  <roland@hack.frob.com>
64424         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
64425         output to the target.
64427         * scripts/localplt.awk: New file.
64428         * elf/Makefile ($(objpfx)check-localplt): Target removed.
64429         (check-localplt-CFLAGS): Variable removed.
64430         ($(all-built-dso:=.jmprel)): New static pattern rule.
64431         (generated): Add those targets.
64432         (localplt-built-dso): New variable.
64433         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
64435         * elf/check-localplt.c: File removed.
64437         * scripts/check-execstack.awk: New file.
64438         * elf/Makefile ($(objpfx)check-execstack): Target removed.
64439         (check-execstack-CFLAGS): Variable removed.
64440         ($(objpfx)check-execstack.h): Target removed.
64441         ($(objpfx)execstack-default): New target.
64442         (generated): Add that instead of check-execstack.h.
64443         ($(all-built-dso:=.phdr)): New static pattern rule.
64444         (generated): Add those targets.
64445         * elf/check-execstack.c: File removed.
64447         * scripts/check-textrel.awk: New file.
64448         * elf/Makefile ($(objpfx)check-textrel): Target removed.
64449         (check-textrel-CFLAGS): Variable removed.
64450         (all-built-dso): Use := to define.o
64451         ($(all-built-dso:=.dyn)): New static pattern rule.
64452         (generated): Add those targets.
64453         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
64454         * config.make.in (READELF): New substituted variable.
64455         * elf/check-textrel.c: File removed.
64457 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
64459         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64460         allow.
64461         * conform/data/ctype.h-data [C99-based standards] (isblank):
64462         Expect function.
64463         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
64464         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
64465         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64466         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
64467         Specify type.  Require positive value.
64468         (EILSEQ): Likewise.
64469         (ERANGE): Likewise.
64470         [ISO || POSIX] (EILSEQ): Do not expect.
64471         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
64472         Specify type.  Require positive value.
64473         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
64474         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
64475         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
64476         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
64477         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
64478         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
64479         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
64480         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
64481         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
64482         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
64483         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
64484         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
64485         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
64486         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
64487         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
64488         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
64489         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
64490         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
64491         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
64492         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
64493         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
64494         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
64495         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
64496         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
64497         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
64498         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
64499         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
64500         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
64501         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
64502         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
64503         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
64504         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
64505         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
64506         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
64507         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
64508         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
64509         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
64510         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
64511         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
64512         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
64513         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
64514         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
64515         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
64516         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
64517         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
64518         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
64519         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
64520         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
64521         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
64522         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
64523         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
64524         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
64525         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
64526         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
64527         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
64528         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
64529         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
64530         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
64531         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
64532         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
64533         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
64534         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
64535         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
64536         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
64537         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
64538         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
64539         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
64540         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
64541         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
64542         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
64543         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
64544         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
64545         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
64546         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
64547         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
64548         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
64549         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
64550         Require >= 2.
64551         (FLT_ROUNDS): Expect as macro, not constant.
64552         (FLT_MANT_DIG): Use macro-int-constant.
64553         (DBL_MANT_DIG): Likewise.
64554         (LDBL_MANT_DIG): Likewise.
64555         (FLT_DIG): Likewise.
64556         (DBL_DIG): Likewise.
64557         (LDBL_DIG): Likewise.
64558         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
64559         (DBL_MIN_EXP): Likewise.
64560         (LDBL_MIN_EXP): Likewise.
64561         (FLT_MAX_EXP): Use macro-int-constant.
64562         (DBL_MAX_EXP): Likewise.
64563         (LDBL_MAX_EXP): Likewise.
64564         (FLT_MAX_10_EXP): Likewise.
64565         (DBL_MAX_10_EXP): Likewise.
64566         (LDBL_MAX_10_EXP): Likewise.
64567         (FLT_MAX): Use macro-constant.
64568         (DBL_MAX): Likewise.
64569         (LDBL_MAX): Likewise.
64570         (FLT_EPSILON): Use macro-constant.  Give upper bound.
64571         (DBL_EPSILON): Likewise.
64572         (LDBL_EPSILON): Likewise.
64573         (FLT_MIN): Likewise.
64574         (DBL_MIN): Likewise.
64575         (LDBL_MIN): Likewise.
64576         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
64577         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
64578         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
64579         [ISO11] (FLT_HAS_SUBNORM): Likewise.
64580         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
64581         [ISO11] (DBL_DECIMAL_DIG): Likewise.
64582         [ISO11] (FLT_DECIMAL_DIG): Likewise.
64583         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
64584         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
64585         [ISO11] (FLT_TRUE_MIN): Likewise.
64586         [ISO11] (LDBL_TRUE_MIN): Likewise.
64587         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64588         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
64589         (SCHAR_MIN): Use macro-int-constant.  Specify type.
64590         (SCHAR_MAX): Likewise.
64591         (UCHAR_MAX): Likewise.
64592         (CHAR_MIN): Likewise.
64593         (CHAR_MAX): Likewise.
64594         (MB_LEN_MAX): Use macro-int-constant.
64595         (SHRT_MIN): Use macro-int-constant.  Specify type.
64596         (SHRT_MAX): Likewise.
64597         (USHRT_MAX): Likewise.
64598         (INT_MAX): Likewise.
64599         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
64600         bound negative.
64601         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64602         bound with "U".
64603         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64604         bound with "L".
64605         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
64606         bound negative.  Suffix upper bound with "L".
64607         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64608         bound with "UL".
64609         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
64610         Specify type.
64611         [C99-based standards] (LLONG_MAX): Likewise.
64612         [C99-based standards] (ULLONG_MAX): Likewise.
64613         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
64614         == 0.
64615         [ISO11] (max_align_t): Require type.
64616         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64618         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
64619         from $CFLAGS, without defining away __attribute__ calls.
64620         (checknamespace): Use $CFLAGS_namespace.
64622         * conform/conformtest.pl (@keywords): Only include C99 keywords
64623         for standards based on C99 or C11.
64625         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
64626         Disable tests.
64627         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
64628         UNIX98]: Likewise.
64630         * conform/conformtest.pl: Handle "macro-int-constant" and test for
64631         usability of symbols in #if.
64633         * conform/conformtest.pl: If macro or constant types start
64634         "promoted:", expect the symbol to be of the following type
64635         promoted by the integer promotions.
64637         * conform/conformtest.pl: Parse all "constant" and "macro" lines
64638         in one place.  Also handle "macro-constant".
64640         * conform/conformtest.pl: Only accept expected macro values with
64641         "==".  Parse all "macro" lines in one place.
64642         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
64644         * conform/conformtest.pl: Handle braced types on "constant" lines
64645         instead of handling "typed-constant".
64646         * conform/data/signal.h-data: Use "constant" instead of
64647         "typed-constant".
64649         * conform/conformtest.pl: Handle "optional-" at start of lines in
64650         one place rather than duplicating several cases.  Handle each
64651         format of "macro" line with initial "optional-".
64653         * conform/conformtest.pl: Only accept expected constant or
64654         optional-constant values with "==".  Parse all "constant" lines in
64655         one place.  Parse all "optional-constant" lines in one place.
64656         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
64657         * conform/data/fmtmsg.h-data: Likewise.
64658         * conform/data/netinet/in.h-data: Likewise.
64659         * conform/data/tar.h-data: Likewise.
64660         * conform/data/limits.h-data: Use "==" form on "constant" and
64661         "optional-constant" lines.
64663         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
64664         Use -std=c99 for XOPEN2K.
64665         (@knownproblems): Remove.
64666         (newtoken): Don't check %isknown.
64668         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
64669         Do not expect macro.
64670         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
64671         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
64672         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
64673         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
64674         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
64675         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
64676         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
64677         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
64678         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
64679         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
64680         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
64681         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
64682         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
64683         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
64684         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
64685         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
64686         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
64687         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
64688         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
64689         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
64690         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
64691         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
64692         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
64693         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
64694         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
64695         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
64696         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
64697         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
64698         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
64699         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
64700         [XPG3] (acosh): Likewise.
64701         [XPG3] (asinh): Likewise.
64702         [XPG3] (atanh): Likewise.
64703         [XPG3] (cbrt): Likewise.
64704         [XPG3] (expm1): Likewise.
64705         [XPG3] (ilogb): Likewise.
64706         [XPG3] (log1p): Likewise.
64707         [XPG3] (logb): Likewise.
64708         [XPG3] (nextafter): Likewise.
64709         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
64710         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
64711         [XPG3] (remainder): Likewise.
64712         [XPG3] (rint): Likewise.
64713         [XPG3 || XPG4 || UNIX98] (round): Likewise.
64714         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
64715         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
64716         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
64717         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
64718         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
64719         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
64720         [UNIX98 || XOPEN2K] (scalb): Expect.
64721         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
64722         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
64723         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
64724         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
64725         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
64726         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
64727         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
64728         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
64729         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
64730         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
64731         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
64732         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
64733         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
64734         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
64735         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
64736         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
64737         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
64738         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
64739         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
64740         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
64741         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
64742         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
64743         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
64744         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
64745         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
64746         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
64747         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
64748         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
64749         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
64750         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
64751         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
64752         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
64753         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
64754         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
64755         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
64756         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
64757         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
64758         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
64759         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
64760         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
64761         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
64762         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
64763         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
64764         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
64765         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
64766         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
64767         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
64768         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
64769         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
64770         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
64771         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
64772         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
64773         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
64774         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
64775         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
64776         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
64777         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
64778         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
64779         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
64780         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
64781         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
64782         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
64783         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
64784         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
64785         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
64786         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
64787         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
64788         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
64789         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
64790         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
64791         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
64792         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
64793         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
64794         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
64795         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
64796         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
64797         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
64798         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
64799         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
64800         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
64801         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
64802         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
64803         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
64804         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
64805         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
64806         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
64807         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
64808         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
64809         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
64810         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
64811         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
64812         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
64813         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
64814         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
64815         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
64816         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
64817         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
64818         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
64819         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
64820         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
64821         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
64822         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
64823         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
64824         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
64825         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
64826         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
64827         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
64828         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
64829         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
64830         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
64831         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
64832         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
64833         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
64834         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
64835         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
64836         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
64837         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
64838         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
64839         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
64840         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
64841         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
64842         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
64843         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
64844         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
64845         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
64846         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
64847         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
64848         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
64849         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
64850         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
64851         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
64852         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
64853         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
64854         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
64855         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
64856         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
64857         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
64859         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
64860         _XOPEN_SOURCE_EXTENDED for XPG4.
64862         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
64864         * Makeconfig (localtime): Remove variable.
64865         (inst_localtime-file): Likewise.
64867 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
64869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
64870         Update.
64871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64872         Update.
64873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
64874         Update.
64875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64876         Update.
64877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
64878         Update.
64879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
64880         Update.
64881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64882         Update.
64883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
64884         Update.
64885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64886         Update.
64888 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
64890         [BZ #2550]
64891         [BZ #2570]
64892         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
64893         comparisons to determine direction to adjust input.
64894         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
64895         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
64896         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
64897         Likewise.
64898         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
64899         Likewise.
64900         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
64901         Likewise.
64902         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
64903         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
64904         Likewise.
64905         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
64906         Likewise.
64907         * math/libm-test.inc (nexttoward_test): Add more tests.
64909 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
64911         [BZ #14040]
64912         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
64913         in version GLIBC_2.1, not GLIBC_2.0.
64914         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
64915         Likewise.
64917 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
64919         [BZ #13942]
64920         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
64921         (1 - x) * (1 + x).
64922         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
64923         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
64924         * math/libm-test.inc (acos_test): Add more tests.
64925         (asin_test): Likewise.
64926         * sysdeps/i386/fpu/libm-test-ulps: Update.
64927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64929         [BZ #14034]
64930         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
64931         of square root.
64932         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
64933         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
64934         * math/libm-test.inc (acos_test_tonearest): New function.
64935         (acos_test_towardzero): Likewise.
64936         (acos_test_downward): Likewise.
64937         (acos_test_upward): Likewise.
64938         (asin_test_tonearest): Likewise.
64939         (asin_test_towardzero): Likewise.
64940         (asin_test_downward): Likewise.
64941         (asin_test_upward): Likewise.
64942         (main): Call the new functions.
64943         * sysdeps/i386/fpu/libm-test-ulps: Update.
64944         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64946         [BZ #13884]
64947         [BZ #13924]
64948         * math/e_exp10.c: Include <float.h>.
64949         (__ieee754_exp10): Handle underflow here rather than multiplying
64950         large negative argument by M_LN10.
64951         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
64952         of __ieee754_expf.
64953         * math/e_exp10l.c: Include <float.h>.
64954         (__ieee754_exp10l): Handle underflow here rather than multiplying
64955         large negative argument by M_LN10l.
64956         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
64957         spurious overflow exception on underflow.
64959 2012-04-29  Marek Polacek  <polacek@redhat.com>
64961         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
64962         (__fortify_function): New macro.
64963         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
64964         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
64965         __extern_always_inline.
64966         * libio/bits/stdio2.h: Likewise.
64967         * libio/bits/stdio.h: Likewise.
64968         * string/string.h: Likewise.
64969         * string/bits/string3.h: Likewise.
64970         * include/stdio.h: Likewise.
64971         * stdlib/bits/stdlib.h: Likewise.
64972         * stdlib/stdlib.h: Likewise.
64973         * rt/bits/mqueue2.h: Likewise.
64974         * rt/mqueue.h: Likewise.
64975         * posix/bits/unistd.h: Likewise.
64976         * posix/unistd.h: Likewise.
64977         * io/bits/poll2.h: Likewise.
64978         * io/bits/fcntl2.h: Likewise.
64979         * io/fcntl.h: Likewise.
64980         * io/sys/poll.h: Likewise.
64981         * misc/bits/syslog.h: Likewise.
64982         * misc/bits/syslog-ldbl.h: Likewise.
64983         * misc/sys/syslog.h: Likewise.
64984         * socket/bits/socket2.h: Likewise.
64985         * socket/sys/socket.h: Likewise.
64986         * debug/tst-chk1.c: Likewise.
64987         * wcsmbs/bits/wchar2.h: Likewise.
64988         * wcsmbs/bits/wchar-ldbl.h: Likewise.
64989         * wcsmbs/wchar.h: Likewise.
64991 2012-04-29  Andreas Jaeger  <aj@suse.de>
64993         * Makerules (tests): Remove enable-check-abi protection.
64994         (check-abi-warn): Remove.
64995         (check-abi-%): Remove check-abi-warn usage.
64997         * configure.in: Remove check-abi configure option.
64998         * configure: Regenerated.
64999         * config.make.in (enable-check-abi): Remove.
65001 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
65003         [BZ #14033]
65004         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
65005         double functions to double *_finite functions.
65007         [BZ #13941]
65008         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
65009         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
65010         LDBL_MIN_EXP.
65011         * stdio-common/Makefile (tests): Add tst-sprintf3.
65012         * stdio-common/tst-sprintf3.c: New file.
65014         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
65015         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
65017 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65019         * conform/conformtest.pl: Remove duplicate typed-constant
65020         handling.
65022 2012-04-28  David S. Miller  <davem@davemloft.net>
65024         * Makerules (%.abilist): Add vpath on sysdep_dirs.
65025         (check-abi-%): Remove AWK script prerequisite and explicit
65026         abilist directory.
65027         (check-abi): Rewrite to just diff the symlist with the abilist.
65028         (config-tls, config-abi-config): Delete, no longer used.
65029         (update-abi-%): Remove AWK script and explicit abilist directory.
65030         (update-abi): Rewrite to simply compare and conditionally copy the
65031         symlist and the sysdep abilist file.  Remove update-abi-config
65032         checks.
65033         * abilist/ld.abilist: Remove.
65034         * abilist/libBrokenLocale.abilist: Remove.
65035         * abilist/libanl.abilist: Remove.
65036         * abilist/libcrypt.abilist: Remove.
65037         * abilist/libdl.abilist: Remove.
65038         * abilist/librt.abilist: Remove.
65039         * abilist/libthread_db.abilist: Remove.
65040         * abilist/libutil.abilist: Remove.
65041         * scripts/extract-abilist.awk: Remove.
65042         * scripts/merge-abilist.awk: Remove.
65043         * sysdeps/generic/libcidn.abilist: New file.
65044         * sysdeps/generic/libnss_compat.abilist: New file.
65045         * sysdeps/generic/libnss_db.abilist: New file.
65046         * sysdeps/generic/libnss_dns.abilist: New file.
65047         * sysdeps/generic/libnss_files.abilist: New file.
65048         * sysdeps/generic/libnss_hesiod.abilist: New file.
65049         * sysdeps/generic/libnss_nis.abilist: New file.
65050         * sysdeps/generic/libnss_nisplus.abilist: New file.
65051         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
65052         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
65053         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
65054         file.
65055         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
65056         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
65057         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
65058         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
65059         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
65060         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
65061         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
65062         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
65063         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
65064         file.
65065         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
65066         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
65067         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
65068         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
65069         file.
65070         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
65071         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
65072         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
65073         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
65074         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
65075         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
65076         file.
65077         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
65078         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
65079         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
65080         file.
65081         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
65082         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
65083         New file.
65084         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
65085         New file.
65086         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
65087         New file.
65088         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
65089         New file.
65090         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
65091         New file.
65092         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
65093         New file.
65094         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
65095         New file.
65096         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
65097         New file.
65098         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
65099         New file.
65100         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
65101         New file.
65102         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
65103         New file.
65104         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
65105         New file.
65106         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
65107         New file.
65108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
65109         file.
65110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
65111         New file.
65112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
65113         New file.
65114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
65115         file.
65116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
65117         New file.
65118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
65119         New file.
65120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
65121         file.
65122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
65123         New file.
65124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65125         New file.
65126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
65127         New file.
65128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
65129         New file.
65130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
65131         New file.
65132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
65133         New file.
65134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
65135         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
65136         file.
65137         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
65138         New file.
65139         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
65140         file.
65141         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
65142         file.
65143         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
65144         file.
65145         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
65146         file.
65147         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
65148         file.
65149         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65150         New file.
65151         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
65152         file.
65153         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
65154         file.
65155         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
65156         New file.
65157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
65158         file.
65159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
65160         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
65161         file.
65162         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
65163         New file.
65164         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
65165         file.
65166         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
65167         file.
65168         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
65169         file.
65170         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
65171         file.
65172         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
65173         file.
65174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65175         New file.
65176         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
65177         file.
65178         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
65179         file.
65180         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
65181         New file.
65182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
65183         file.
65184         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
65185         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
65186         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
65187         file.
65188         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
65189         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
65190         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
65191         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
65192         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
65193         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
65194         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
65195         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
65196         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
65197         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
65198         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
65199         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
65200         file.
65201         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
65202         New file.
65203         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
65204         file.
65205         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
65206         file.
65207         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
65208         file.
65209         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
65210         file.
65211         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
65212         file.
65213         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
65214         New file.
65215         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
65216         New file.
65217         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
65218         file.
65219         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
65220         New file.
65221         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
65222         file.
65223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
65224         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
65225         file.
65226         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
65227         New file.
65228         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
65229         file.
65230         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
65231         file.
65232         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
65233         file.
65234         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
65235         file.
65236         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
65237         file.
65238         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
65239         New file.
65240         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
65241         New file.
65242         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
65243         file.
65244         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
65245         New file.
65246         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
65247         file.
65249 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65251         * conform/conformtest.pl: Fix typo in handling typed-constant from
65252         allow-header.
65254 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65256         * README: Cut down references to pre-2.6 Linux kernels and
65257         Linuxthreads.  Update lists of configurations in libc and ports
65258         and sort alphabetically.  Say "or newer" with Linux kernel version
65259         requirements.
65261         * config.h.in [IS_IN_build]: Allow compiling without optimization.
65263 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65265         [BZ #887]
65266         * math/libm-test.inc (logb_test_downward): New test to expose
65267         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
65268         rounding mode.
65270 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65272         [BZ #14027]
65273         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
65274         to be done.
65275         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
65276         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
65278 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
65280         * sysdeps/unix/i386/brk.S: Remove file.
65281         * sysdeps/unix/i386/dl-brk.S: Likewise.
65282         * sysdeps/unix/i386/pipe.S: Likewise.
65283         * sysdeps/unix/i386/sigreturn.S: Likewise.
65284         * sysdeps/unix/i386/syscall.S: Likewise.
65285         * sysdeps/unix/i386/vfork.S: Likewise.
65286         * sysdeps/unix/i386/wait.S: Likewise.
65288         * sysdeps/unix/common/tcsendbrk.c: Move to ...
65289         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
65291         * configure.in (arm*-none*): Do not allow without
65292         --enable-hacker-mode.
65293         (netbsd*): Remove case setting base_os.
65294         (386bsd*): Likewise.
65295         (freebsd*): Likewise.
65296         (bsdi*): Likewise.
65297         (osf*): Likewise.
65298         (sunos*): Likewise.
65299         (ultrix*): Likewise.
65300         (newsos*): Likewise.
65301         (dynix*): Likewise.
65302         (*bsd*): Likewise.
65303         (sysv*): Likewise.
65304         (isc*): Likewise.
65305         (esix*): Likewise.
65306         (sco*): Likewise.
65307         (minix*): Likewise.
65308         (irix4*): Likewise.
65309         (irix6*): Likewise.
65310         (solaris[2-9]*): Likewise.
65311         (none): Likewise.
65312         * configure: Regenerated.
65314 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65316         [BZ #11521]
65317         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
65318         overflow or cancellation in calculating denominator.
65319         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
65320         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
65321         down expression to avoid unexpected rounding in newer GCCs.
65322         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
65324 2012-04-26  David S. Miller  <davem@davemloft.net>
65326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
65327         long-double compat symbols.
65328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
65330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
65331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
65332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
65333         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
65334         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
65335         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
65336         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
65337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
65338         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
65339         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
65340         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
65342 2012-04-25  David S. Miller  <davem@davemloft.net>
65344         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
65345         HWCAP_* values only after the memory barriers have been defined.
65346         (atomic_full_barrier): Define.
65347         (atomic_read_barrier): Define.
65348         (atomic_write_barrier): Define.
65350 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65352         * shlib-versions: Add libgcc_s version information.
65353         * sysdeps/generic/libgcc_s.h: Remove.
65354         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
65355         libgcc_s.h.
65356         * sysdeps/gnu/unwind-resume.c: Likewise.
65357         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
65359 2012-04-25  David S. Miller  <davem@davemloft.net>
65361         * sysdeps/unix/sparc/brk.S: Delete.
65362         * sysdeps/unix/sparc/dl-brk.S: Delete.
65363         * sysdeps/unix/sparc/pipe.S: Delete.
65364         * sysdeps/unix/sparc/sysdep.S: Delete.
65365         * sysdeps/unix/sparc/sysdep.h: Delete.
65366         * sysdeps/unix/sparc/vfork.S: Delete.
65367         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
65368         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
65369         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
65370         (ret_ERRVAL, r0, r1, MOVE): Define.
65371         (JUMPTARGET): Remove.
65372         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
65373         sysdeps/unix/sparc/sysdep.h
65374         (ENTRY, END): Remove.
65375         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65377 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
65379         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
65380         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
65381         -DIS_IN_build.
65383         * timezone/README: Update upstream location and email address for
65384         tzcode and tzdata.
65385         * timezone/zdump.c: Update from tzcode 2012b.
65386         * timezone/zic.c: Likewise.
65388         * configure.in (libc_cv_as_needed): Remove test.
65389         * configure: Regenerated.
65390         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
65391         conditional definition.
65392         [$(have-as-needed) != yes] (no-as-needed): Likewise.
65393         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
65394         * config.make.in (have-as-needed): Remove variable.
65396 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
65397             Paul Pluzhnikov  <ppluzhnikov@google.com>
65399         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
65400         strings correctly.
65402 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
65404         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
65405         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
65406         * sysdeps/sh/strlen.S: Likewise.
65408 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65410         * sysdeps/unix/fork.S: Remove file.
65411         * sysdeps/unix/i386/fork.S: Likewise.
65412         * sysdeps/unix/sparc/fork.S: Likewise.
65414         * sysdeps/unix/system.c: Remove file.
65415         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
65417         * sysdeps/unix/getegid.S: Remove file.
65418         * sysdeps/unix/geteuid.S: Likewise.
65420 2012-04-24  Roland McGrath  <roland@hack.frob.com>
65422         * scripts/check-localplt.awk: New file.
65423         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
65424         of diff.
65425         * scripts/data/localplt-generic.data: Add a comment.
65427         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
65428         NODE when __dir_mkfile failed.
65429         * sysdeps/mach/hurd/symlinkat.c: Likewise.
65430         Reported by Ludovic Courtès <ludo@gnu.org>.
65432 2012-04-24  Andreas Jaeger  <aj@suse.de>
65434         * Makerules (common-clean): Also remove gen-as-const-headers
65435         files.
65437 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65439         * Makerules (native-compile): Do not change working directory for
65440         build.  Use $(OUTPUT_OPTION) in command.
65441         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
65443 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65445         [BZ #13886]
65446         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
65447         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
65448         * math/libm-test.inc (floor_test): Add more tests.
65449         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
65451 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65453         * sysdeps/unix/getdents.c: Remove file.
65454         * sysdeps/unix/sysv/getdents.c: Likewise.
65455         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
65457         * sysdeps/unix/syscalls.list (madvise): Add syscall from
65458         sysdeps/unix/mman/syscalls.list.
65459         (mmap): Likewise.
65460         (mprotect): Likewise.
65461         (msync): Likewise.
65462         (munmap): Likewise.
65463         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
65464         * sysdeps/unix/mman/syscalls.list: Remove.
65465         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
65467         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
65468         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
65469         * configure: Regenerated.
65470         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
65471         $(libgcc_s_suffix).
65472         * config.make.in (libgcc_s_suffix): Remove variable.
65474 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
65476         * sysdeps/unix/sysv/gethostname.c: Move to ...
65477         * sysdeps/posix/gethostname.c: ... here.
65479         * sysdeps/unix/execve.S: Remove file.
65481         * sysdeps/unix/_exit.S: Remove file.
65483 2012-04-23  Andreas Jaeger  <aj@suse.de>
65485         [BZ #13739]
65486         * manual/Makefile: Remove make dist support, there's no
65487         need for a stand-alone documentation tar ball.
65488         (TEXI2DVI): Define always, it's not in Makeconfig.
65489         (dist): Removed.
65490         (tar-it): Removed.
65491         (edition): Removed.
65492         (glibc-doc-$(edition).tar): Removed
65493         (%.Z): Removed.
65494         (%.gz): Removed.
65495         (%.uu): Removed.
65496         (ETAGS): Remove, it's in Makeconfig.
65497         (move-if-change): Remove, it's in Makeconfig.
65499 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
65501         [BZ #13970]
65502         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
65503         (strtod, strtof, strtold, strtol, strtoul, strtoq)
65504         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
65505         (strtod_l, strtof_l, strtold_l): Remove __wur.
65506         It is not necessarily an error to ignore strtol's return value.
65507         One can reliably look at the stored endptr to decide whether
65508         the number had valid syntax.
65510 2012-04-21  Andreas Jaeger  <aj@suse.de>
65512         [BZ #13739]
65513         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
65515 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
65517         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
65518         * sysdeps/unix/sysv/Versions: Remove file.
65520 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
65522         [BZ #13927]
65523         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65525 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
65527         [BZ #7064]
65528         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
65529         version from __vm86.
65531 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
65533         * sysdeps/unix/common/lxstat.c: Remove file.
65534         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
65536         * sysdeps/unix/sysv/Makefile: Remove file.
65538         * sysdeps/unix/sysv/direct.h: Remove file.
65540         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
65541         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
65542         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
65543         * sysdeps/unix/sysv/bits/signum.h: Likewise.
65544         * sysdeps/unix/sysv/bits/stat.h: Likewise.
65545         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
65546         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
65548         * sysdeps/unix/sysv/setrlimit.c: Remove file.
65550         * sysdeps/unix/xmknod.c: Remove file.
65551         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
65553         * sysdeps/unix/sysv/settimeofday.c: Remove file.
65555         * sysdeps/unix/sysv/i386/time.S: Remove file.
65557         * sysdeps/unix/fxstat.c: Remove file.
65558         * sysdeps/unix/xstat.c: Likewise.
65559         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
65561         * sysdeps/unix/sysv/sigaction.c: Remove file.
65563         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
65564         (sysdep_headers): Remove variable.
65565         [termio.h not in sysdep_headers] (generated): Likewise.
65566         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
65567         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
65568         * sysdeps/unix/sysv/tcdrain.c: Likewise.
65569         * sysdeps/unix/sysv/tcflow.c: Likewise.
65570         * sysdeps/unix/sysv/tcflush.c: Likewise.
65571         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
65572         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
65573         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
65574         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
65575         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
65577         * sysdeps/unix/siglist.c: Remove file.
65579         * sysdeps/unix/getppid.S: Remove file.
65581         * sysdeps/unix/mkdir.c: Remove file.
65582         * sysdeps/unix/rmdir.c: Likewise.
65584 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
65586         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
65587         ERR_MAX value.
65588         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
65589         errlist-compat value.
65591 2012-04-18  David S. Miller  <davem@davemloft.net>
65593         * sysdeps/generic/memcopy.h (reg_char): Delete.
65594         * debug/strcat_chk.c: Use char, not reg_char.
65595         * debug/strcpy_chk.c: Likewise.
65596         * debug/strncat_chk.c: Likewise.
65597         * debug/strncpy_chk.c: Likewise.
65598         * string/memchr.c: Likewise.
65599         * string/memrchr.c: Likewise.
65600         * string/rawmemchr.c: Likewise.
65601         * string/strcat.c: Likewise.
65602         * string/strchr.c: Likewise.
65603         * string/strchrnul.c: Likewise.
65604         * string/strcmp.c: Likewise.
65605         * string/strcpy.c: Likewise.
65606         * string/strncat.c: Likewise.
65607         * string/strncmp.c: Likewise.
65608         * string/strncpy.c: Likewise.
65610 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65612         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
65613         __builtin_memcopy is called when src and dest ranges are known to not
65614         overlap.
65616 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65618         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
65619         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
65620         fwd_align_merge macro call.
65621         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
65622         bwd_align_merge macro call.
65623         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65625 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65627         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
65628         bwd_align_merge macros.
65629         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
65630         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
65631         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65633 2012-04-18  David S. Miller  <davem@davemloft.net>
65635         * sysdeps/sparc/sparc64/memcopy.h: Delete.
65637 2012-04-18  Andreas Jaeger  <aj@suse.de>
65639         [BZ# 6794]
65640         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
65641         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
65642         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65644         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
65645         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
65646         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65648         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
65649         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
65650         Adjust for changed ldbl-128 files.
65652         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
65653         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
65654         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65656 2012-04-17  David S. Miller  <davem@davemloft.net>
65658         * sysdeps/sparc/sparc32/memcopy.h: Delete.
65660 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
65662         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
65663         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
65664         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
65665         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
65666         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
65667         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
65669 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65671         [BZ #6794]
65672         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
65673         * math/libm-test.inc: Add ilogb errno and exception tests.
65674         * math/w_ilogb.c: New file: ilogb wrapper.
65675         * math/w_ilogbf.c: New file: ilogbf wrapper.
65676         * math/w_ilogbl.c: New file: ilogbl wrapper.
65677         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
65678         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
65679         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
65680         exception being thrown with 0.0 as argument.
65681         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
65682         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
65683         exception being thrown with 0.0 as argument.
65684         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
65685         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
65686         exception being thrown with 0.0 as argument.
65687         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
65688         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
65689         exception being thrown with 0.0 as argument.
65690         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
65691         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
65692         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
65693         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
65694         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
65695         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
65696         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
65697         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
65698         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
65700 2012-04-17  Petr Baudis  <pasky@ucw.cz>
65702         * include/sys/uio.h: Change __vector to __iovec to avoid clash
65703         with altivec.
65705 2012-04-16  Marek Polacek  <polacek@redhat.com>
65707         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
65709 2012-04-16  Marek Polacek  <polacek@redhat.com>
65711         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
65712         operands of fdivp instruction.
65714 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
65716         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
65717         * elf/tst-auditmod3b.c: Likewise.
65718         * elf/tst-auditmod4b.c: Likewise.
65719         * elf/tst-auditmod5b.c: Likewise.
65720         * elf/tst-auditmod6b.c: Likewise.
65721         * elf/tst-auditmod6c.c: Likewise.
65722         * elf/tst-auditmod7b.c: Likewise.
65723         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
65724         * sysdeps/x86_64/preconfigure.in: Likewise.
65725         * sysdeps/x86_64/preconfigure: Regenerated.
65727 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
65729         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
65730         __ILP32__.
65732 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
65734         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65735         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
65737 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
65739         [BZ #13973]
65740         * locale/iso-639.def: Fix gl language name. Spotted by
65741         Yaron Shahrabani.
65743 2012-04-12  Roland McGrath  <roland@hack.frob.com>
65745         [BZ #2074]
65746         * libio/libio.h (__io_write_fn): Update comment.
65748 2012-04-12  Petr Baudis  <pasky@ucw.cz>
65750         [BZ #2074]
65751         * stdio.texi (Hook Functions): The user provided writer function
65752         is not allowed to return -1.
65754 2012-04-11  David S. Miller  <davem@davemloft.net>
65756         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65758 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
65760         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
65761         Add a leading slash to rtkaio.
65763 2012-04-11  Jim Meyering  <meyering@redhat.com>
65765         [BZ #11959]
65766         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
65767         It is not necessarily an error to ignore fwrite's return
65768         value.  One can reliably use ferror to test for errors after
65769         the fact.
65771 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
65773         * bits/types.h (__snseconds_t): New type.
65774         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
65776         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
65777         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65778         (__SNSECONDS_T_TYPE): Likewise.
65779         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65780         (__SNSECONDS_T_TYPE): Likewise.
65781         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65782         (__SNSECONDS_T_TYPE): Likewise.
65784 2012-04-10  Andreas Jaeger  <aj@suse.de>
65786         [BZ #2636]
65787         * manual/time.texi (Processor Time): Return type of times is
65788         elapsed real time since an arbitrary point in the past.
65789         (CPU Time): Move CLK_TCK from here...
65790         (Processor Time): ...to here.  Correct description.
65791         * manual/conf.texi (Constants for Sysconf): Correct description of
65792         _SC_CLK_TCK.
65794 2012-04-10  David S. Miller  <davem@davemloft.net>
65796         [BZ #13967]
65797         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
65798         where the is a gap between DT_REL(A) and DT_JMPREL.
65800 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
65802         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
65803         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
65804         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
65806 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65808         * elf/dl-support.c (_dl_inhibit_cache): New variable.
65809         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
65810         (dl_main): Handle --inhibit-cache.
65811         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
65812         _dl_inhibit_cache.
65813         * elf/dl-load.c (_dl_map_object): Use it.
65814         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
65816 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
65818         [BZ #13872]
65819         * sysdeps/i386/fpu/e_powl.S (p78): New object.
65820         (__ieee754_powl): Saturate large exponents rather than testing for
65821         overflow of y*log2(x).
65822         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65823         * math/libm-test.inc (pow_test): Do not permit spurious overflow
65824         exceptions.
65826         [BZ #11521]
65827         * math/s_ctan.c: Include <float.h>.
65828         (__ctan): Avoid internal overflow or cancellation in calculating
65829         denominator.
65830         * math/s_ctanf.c: Likewise.
65831         * math/s_ctanl.c: Likewise.
65832         * math/s_ctanh.c: Likewise.
65833         * math/s_ctanhf.c: Likewise.
65834         * math/s_ctanhl.c: Likewise.
65835         * math/libm-test.inc (ctan_test): Add more tests.
65836         (ctanh_test): Likewise.
65837         * sysdeps/i386/fpu/libm-test-ulps: Update.
65838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65840 2012-04-09  Andreas Jaeger  <aj@suse.de>
65842         [BZ #6894]
65843         * manual/filesys.texi (Directory Entries): Mention that d_namlen
65844         is an optional BSD extension.
65846         [BZ #10254]
65847         * manual/stdio.texi (Opening Streams): Document additional fopen
65848         parameters.
65850 2012-04-09  Roland McGrath  <roland@hack.frob.com>
65852         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
65853         %eax without telling the compiler.
65855 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
65857         [BZ # 13963]
65858         * manual/install.texi: Use sourceware.org.
65860 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
65862         [BZ #13873]
65863         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
65864         (__ieee754_pow): Generate overflow and underflow using huge*huge
65865         and tiny*tiny rather than just returning constant infinity or zero
65866         for large exponents.
65867         * math/libm-test.inc (pow_test): Require overflow exceptions for
65868         applicable cases of large exponents.
65870         [BZ #706]
65871         * sysdeps/i386/fpu/e_pow.S (p10): New object.
65872         (__ieee754_pow): Use iterative multiplication algorithm only for
65873         integer exponents with absolute value below 1024.  Check for odd
65874         integer exponents when using algorithm for real exponents.
65875         * math/libm-test.inc (pow_test): Add more tests.
65876         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65878 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
65880         [BZ #13705]
65881         * math/libm-test.inc (exp_test): Do not allow overflow exception
65882         on underflow test.
65884 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
65886         [BZ #13705]
65887         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
65888         instead of __kernel_standard_f.
65890 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
65892         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
65893         * sysdeps/x86_64/memset_chk.S: Likewise.
65895 2012-04-08  Andreas Jaeger  <aj@suse.de>
65897         [BZ #10153]
65898         * manual/startup.texi (Environment Access): Describe return value
65899         for putenv and setenv.
65901         [BZ #6895]
65902         * manual/filesys.texi (Directory Entries): Add description for
65903         DT_LNK.
65905         [BZ #6890]
65906         * manual/filesys.texi (Directory Entries): Clarify that it's file
65907         system not operating system in the description of DT_UNKNOWN.
65909         [BZ #6578]
65910         * manual/syslog.texi (closelog): Fix reference, it's openlog.
65912 2012-04-08  Stephen Compall  <s11@member.fsf.org>
65914         [BZ #6649]
65915         * manual/llio.texi (Opening and Closing Files): Add cross
65916         reference to explain mode argument.
65918 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
65920         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
65921         * sysdeps/x86_64/memset_chk.S: Likewise.
65923 2012-04-07  David S. Miller  <davem@davemloft.net>
65925         * elf/elf.h (R_SPARC_WDISP10): Define.
65926         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
65927         R_SPARC_SIZE32.
65928         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
65929         R_SPARC_SIZE64 and R_SPARC_H34.
65931 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
65933         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
65934         conditions and remove no longer applicable assertion.
65936 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
65938         * bits/byteswap.h: Include <features.h>.
65939         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
65940         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
65942 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
65944         * bits/byteswap.h (__bswap_16): Removed.
65945         Include <bits/byteswap-16.h> to get __bswap_16.
65946         * sysdeps/i386/bits/byteswap.h: Likewise.
65947         * sysdeps/s390/bits/byteswap.h: Likewise.
65948         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65949         * bits/byteswap-16.h: New file.
65950         * sysdeps/i386/bits/byteswap-16.h: Likewise.
65951         * sysdeps/s390/bits/byteswap-16.h: Likewise.
65952         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
65953         * string/Makefile (headers): Add bits/byteswap-16.h.
65955 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
65957         [BZ #13895]
65958         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
65959         extra indirection.
65960         * nss/Makefile (tests-static, tests): Add tst-nss-static.
65961         * nss/tst-nss-static.c: New.
65963 2012-04-06  Robert Millan  <rmh@gnu.org>
65965         [BZ #6486]
65966         * manual/llio.texi (File Position Primitive): lseek
65967         refers to WHENCE when it really means OFFSET.
65969 2012-04-06  Andreas Jaeger  <aj@suse.de>
65971         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
65972         strncmp declarations.
65974         * abilist/libc.abilist: Add __poll and __ppoll.
65976 2012-04-05  David S. Miller  <davem@davemloft.net>
65978         * scripts/check-local-headers.sh: Accept a host triplet in the
65979         path matched by the exclude regexp.
65981         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
65982         definition.
65983         * sysdeps/powerpc/powerpc32/dl-machine.h
65984         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
65985         * sysdeps/s390/s390-32/dl-machine.h
65986         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65987         * sysdeps/sparc/sparc32/dl-machine.h
65988         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65989         * sysdeps/sparc/sparc64/dl-machine.h
65990         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65992         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
65993         lazy binding.
65994         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
65995         undefined symbol errors.
65997         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
65998         DT_NEEDED entries.
66000 2012-04-05  Michael Matz  <matz@suse.de>
66002         [BZ #13592]
66003         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
66005 2012-04-05  Andreas Jaeger  <aj@suse.de>
66007         [BZ #13908]
66008         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
66009         comment.
66011 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66013         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
66014         which ROUND is no valid rounding mode.
66016 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66018         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
66019         read again.
66020         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
66022 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66024         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
66025         an exception using FPU order intentionally.
66027 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66029         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
66030         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
66031         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
66032         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
66034 2012-04-05  Simon Josefsson  <simon@josefsson.org>
66036         [BZ #12340]
66037         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
66038         EINVAL when BUFLEN is too smal.
66040 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
66042         [BZ #13553]
66043         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
66044         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
66046 2012-04-03  Andreas Jaeger  <aj@suse.de>
66048         [BZ #13938]
66049         * manual/setjmp.texi (System V contexts): Fix sentence.
66051         [BZ #13926]
66052         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
66053         New macro for this case.
66054         [!__GNUC__] (__bswap_64): New inline function for this case.
66055         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66056         * bits/byteswap.h: Likewise.
66057         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
66058         ull, guard with __GLIBC_HAVE_LONG_LONG.
66060         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
66061         __GLIBC_HAVE_LONG_LONG.
66063         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
66064         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
66066 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66068         [BZ #13691]
66069         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
66070         inptr and inend, rather than using last_ch.
66072 2012-04-02  David S. Miller  <davem@davemloft.net>
66074         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
66075         * stdio-common/printf-parse.h (read_int): Change return type to
66076         'int', return -1 on INT_MAX overflow.
66077         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
66078         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
66079         overflows INT_MAX.  Check for overflow of in-format-string precision
66080         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
66081         SIZE_MAX not INT_MAX for integer overflow test.
66082         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
66083         skip the construct in the format string but do not record anything.
66084         * stdio-common/bug22.c: Adjust to test both width/prevision
66085         INT_MAX overflow as well as total length INT_MAX overflow.  Check
66086         explicitly for proper errno values.
66088 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
66090         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
66091         CHAR_MAX.
66092         * string/test-strcmp.c [! WIDE]: Likewise.
66093         * time/tst-mktime2.c: Likewise for INT_MAX.
66094         * string/test-string.h: #include <sys/param.h> for MIN.
66096         * csu/init-first.c (__libc_init_first): Call __ctype_init.
66097         * sysdeps/i386/init-first.c (init): Likewise.
66098         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
66099         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
66100         * sysdeps/sh/init-first.c (init): Likewise.
66102 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
66104         * po/ru.po: Update from translation team.
66105         * po/vi.po: Likewise.
66107 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
66109         * resolv/nss_dns/dns-host.c: Merge copyright years.
66111 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66113         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66114         Optimize memcpy with prefetch if
66115         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
66116         src, dst pointers have unequal 16 byte alignments.
66118 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66120         [BZ #13928]
66121         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
66122         from a CNAME entry and return the minimum ttl for the query.
66123         (gaih_getanswer_slice): Likewise.
66125 2012-03-30  Jeff Law  <law@redhat.com>
66127         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
66128         due to long keys.
66129         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
66130         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
66132         * resolv/nss_dns/dns-host.c: Update copyright year.
66134 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
66136         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
66137         requests to save a system call.  Fix check that all bytes are sent.
66139         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
66140         comments for sendmmsg.
66142 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66144         [BZ #13691]
66145         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
66146         with only 1 character between 0x0041 and 0x01b0.
66147         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
66148         * wcsmbs/tst-mbsnrtowcs.c: New file.
66150 2012-03-29  David S. Miller  <davem@davemloft.net>
66152         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
66153         small copies by hand.
66155 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66157         [BZ #13761]
66158         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
66159         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
66160         group memberships.
66162 2012-03-28  David S. Miller  <davem@davemloft.net>
66164         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
66165         that branches into memcpy.
66166         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
66167         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
66168         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
66169         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
66170         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
66171         bits.
66172         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
66173         implementation too.
66174         * sysdeps/sparc/mempcpy.S: New file.
66176         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
66177         the IFUNC routine in the libc case.
66178         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
66180         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
66181         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
66182         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
66183         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
66184         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
66185         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
66186         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
66187         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
66189         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
66190         loop to 256 bytes instead of 64 bytes and fix test signedness.
66192         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
66193         * sysdeps/sparc/sparc32/Makefile: rather than here...
66194         * sysdeps/sparc/sparc64/Makefile: and here.
66196 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
66198         * malloc/mallocbug.c: Avoid warnings about unused variables.
66200 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
66202         [BZ #13760]
66203         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
66204         in the right place. Discard and retry query if response is
66205         larger than input buffer size.
66207 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
66209         [BZ #369]
66210         [BZ #2678]
66211         [BZ #3866]
66212         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
66213         x for large integer exponent.
66214         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
66215         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
66216         sign of result as needed afterwards.
66217         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
66218         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
66219         result for underflowing pow the same as for overflow.
66220         (__kernel_standard_l): Handle powl overflow and underflow here
66221         rather than calling __kernel_standard.
66222         * math/libm-test.inc (pow_test): Add more tests.
66224         [BZ #3868]
66225         [BZ #13879]
66226         [BZ #13910]
66227         [BZ #13911]
66228         [BZ #13912]
66229         [BZ #13913]
66230         [BZ #13915]
66231         [BZ #13916]
66232         [BZ #13917]
66233         [BZ #13918]
66234         [BZ #13919]
66235         [BZ #13920]
66236         [BZ #13921]
66237         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
66238         * sysdeps/ieee754/k_standard.c: Include <float.h>.
66239         (__kernel_standard_l): New function.
66240         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
66241         __kernel_standard.
66242         * math/w_acosl.c (__acosl): Likewise.
66243         * math/w_asinl.c (__asinl): Likewise.
66244         * math/w_atan2l.c (__atan2l): Likewise.
66245         * math/w_atanhl.c (__atanhl): Likewise.
66246         * math/w_coshl.c (__coshl): Likewise.
66247         * math/w_exp10l.c (__exp10l): Likewise.
66248         * math/w_exp2l.c (__exp2l): Likewise.
66249         * math/w_fmodl.c (__fmodl): Likewise.
66250         * math/w_hypotl.c (__hypotl): Likewise.
66251         * math/w_j0l.c (__j0l, __y0l): Likewise.
66252         * math/w_j1l.c (__j1l, __y1l): Likewise.
66253         * math/w_jnl.c (__jnl, __ynl): Likewise.
66254         * math/w_lgammal.c (__lgammal): Likewise.
66255         * math/w_log10l.c (__log10l): Likewise.
66256         * math/w_log2l.c (__log2l): Likewise.
66257         * math/w_logl.c (__logl): Likewise.
66258         * math/w_powl.c (__powl): Likewise.
66259         * math/w_remainderl.c (__remainderl): Likewise.
66260         * math/w_scalbl.c (sysv_scalbl): Likewise.
66261         * math/w_sinhl.c (__sinhl): Likewise.
66262         * math/w_sqrtl.c (__sqrtl): Likewise.
66263         * math/w_tgammal.c (__tgammal): Likewise.
66264         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
66265         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
66266         * math/libm-test.inc (acos_test): Add more tests.
66267         (acosh_test): Likewise.
66268         (asin_test): Likewise.
66269         (atanh_test): Likewise.
66270         (exp_test): Likewise.
66271         (exp10_test): Likewise.
66272         (exp2_test): Likewise.
66273         (expm1_test): Likewise.
66274         (lgamma_test): Likewise.
66275         (log_test): Likewise.
66276         (log10_test): Likewise.
66277         (log1p_test): Likewise.
66278         (log2_test): Likewise.
66279         (pow_test): Do not allow some spurious overflow exceptions.
66280         (sqrt_test): Add more tests.
66281         (tgamma_test): Likewise.
66282         (y0_test): Likewise.
66283         (y1_test): Likewise.
66284         (yn_test): Likewise.
66286 2012-03-27  Anton Blanchard  <anton@samba.org>
66288         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
66289         MAP_HUGETLB.
66290         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
66291         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
66292         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66294 2012-03-27  David S. Miller  <davem@davemloft.net>
66296         * conform/Makefile: Run run-conformtest.sh using $(BASH).
66298         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
66299         have-as-vis3 check.
66301 2012-03-27  Andreas Jaeger  <aj@suse.de>
66303         * sysdeps/x86_64/elf/configure.in: Moved to ...
66304         * sysdeps/x86_64/configure.in: ... here.
66305         * sysdeps/x86_64/elf/start.S: Moved to ...
66306         * sysdeps/x86_64/start.S: ... here.
66307         * sysdeps/x86_64/elf/configure: Delete.
66309         * sysdeps/x86_64/configure.in: Merge contents from
66310         sysdeps/i386/configure.in (without i686 check).
66312         * sysdeps/i386/elf/Versions: Merge into ...
66313         * sysdeps/i386/Versions: ... this.
66314         * sysdeps/i386/elf/Versions: Delete file.
66315         * sysdeps/i386/elf/start.S: Moved to ...
66316         * sysdeps/i386/start.S: ...here.
66317         * sysdeps/i386/elf/configure.in: Merge into...
66318         * sysdeps/i386/configure.in: ...here.
66319         * sysdeps/i386/elf/configure.in: Delete file.
66320         * sysdeps/i386/elf/configure: Delete file.
66322         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
66323         * debug/backtracesyms.c: ... here.
66324         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
66325         * debug/backtracesymsfd.c: ... here.
66326         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
66327         * sysdeps/generic/ifunc-sel.h: ... here.
66329         * sysdeps/unix/i386/start.c: Delete file.
66330         * sysdeps/unix/sparc/start.c: Delete file.
66331         * sysdeps/unix/start.c: Delete file.
66333         * sysdeps/sh/elf/configure.in: Moved to ...
66334         * sysdeps/sh/configure.in: ... here.
66335         * sysdeps/sh/elf/start.S: Moved to ...
66336         * sysdeps/sh/start.S: ... here.
66337         * sysdeps/sh/elf/configure: Delete file.
66339         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
66340         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
66341         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
66342         * sysdeps/powerpc/powerpc64/entry.h: ... here.
66343         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
66344         * sysdeps/powerpc/powerpc64/start.S: here.
66345         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
66346         * sysdeps/powerpc/powerpc64/Makefile: ... this.
66347         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
66348         * sysdeps/powerpc/powerpc64/configure.in: ... this.
66349         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
66351         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
66352         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
66353         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
66354         * sysdeps/powerpc/powerpc32/start.S: ... here.
66355         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
66356         * sysdeps/powerpc/powerpc32/configure.in: ... this.
66357         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
66359         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
66360         * sysdeps/powerpc/ifunc-sel.h: ... here.
66361         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
66362         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
66364         * sysdeps/sparc/elf/configure.in: Moved to ...
66365         * sysdeps/sparc/configure.in: ... here.
66366         * sysdeps/sparc/elf/configure: Delete file.
66367         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
66368         * sysdeps/sparc/sparc32/start.S: ... here.
66369         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
66370         * sysdeps/sparc/sparc64/start.S: ... here.
66371         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
66372         * sysdeps/sparc/sparc32/Makefile: ... this.
66373         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
66374         * sysdeps/sparc/sparc64/Makefile: ... this.
66376         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
66377         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
66378         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
66379         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
66380         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
66381         * sysdeps/s390/s390-32/setjmp.S: ... here.
66382         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
66383         * sysdeps/s390/s390-32/configure.in: ... here.
66384         * sysdeps/s390/s390-32/elf/configure: Delete file.
66385         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
66386         * sysdeps/s390/s390-32/start.S: ... here.
66388         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
66389         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
66390         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
66391         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
66392         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
66393         * sysdeps/s390/s390-64/setjmp.S: ... here.
66394         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
66395         * sysdeps/s390/s390-64/configure.in: ... here
66396         * sysdeps/s390/s390-64/elf/configure: Delete file.
66397         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
66398         * sysdeps/s390/s390-64/start.S: ... here.
66399         * sysdeps/s390/s390-64/elf/configure: Delete.
66401         * configure.in: Remove support for elf directories in sysdeps.
66403         * configure: Regenerated.
66404         * sysdeps/i386/configure: Regenerated.
66405         * sysdeps/powerpc/powerpc32/configure: Regenerated.
66406         * sysdeps/powerpc/powerpc64/configure: Regenerated.
66407         * sysdeps/s390/s390-32/configure: Regenerated.
66408         * sysdeps/s390/s390-64/configure: Regenerated.
66409         * sysdeps/sh/configure: Regenerated.
66410         * sysdeps/sparc/configure: Regenerated.
66411         * sysdeps/x86_64/configure: Regenerated.
66413 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
66415         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66417         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
66418         denormal result into account.
66420 2012-03-25  Roland McGrath  <roland@hack.frob.com>
66422         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
66423         Reported by Allan McRae <allan@archlinux.org>.
66425 2012-03-23  Jeff Law  <law@redhat.com>
66427         * nss/getnssent.c (__nss_getent): Fix typo.
66429 2012-03-23  David S. Miller  <davem@davemloft.net>
66431         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66433 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
66435         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
66436         to pad to uint64_t for each field.
66437         (dl_tls_index): Replace unsigned long with uint64_t.
66439 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
66440         Paul Pluzhnikov  <ppluzhnikov@google.com>
66442         [BZ #6528]
66443         * grp/Makefile (otherlibs): Don't set it.
66444         * inet/Makefile (otherlibs): Likewise.
66445         * login/Makefile (otherlibs): Likewise.
66446         * nscd/Makefile (otherlibs): Likewise.
66447         * posix/Makefile (otherlibs): Likewise.
66448         * pwd/Makefile (otherlibs): Likewise.
66449         * rt/Makefile (otherlibs): Likewise.
66450         * sunrpc/Makefile (otherlibs): Likewise.
66451         * nss/Makefile (otherlibs): Likewise.
66452         Add libnss_files to routines and static-only-routines.
66453         ($(objpfx)getent): Remove rule.
66454         * resolv/Makefile: Add libnss_dns and libresolv to routines and
66455         static-only-routines.
66457 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
66459         [BZ #13892]
66460         * math/s_cexp.c: Include <float.h>.
66461         (__cexp): Handle exp result overflowing not necessarily
66462         overflowing both real and imaginary parts of result.
66463         * math/s_cexpf.c: Likewise.
66464         * math/s_cexpl.c: Likewise.
66465         * math/libm-test.inc (cexp_test): Add more tests.
66466         * sysdeps/i386/fpu/libm-test-ulps: Update.
66467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66469 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66471         * include/link.h (ELFW): New macro.
66472         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
66473         Replace ELF64_R_TYPE with ELFW(R_TYPE).
66475 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66477         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
66478         with uint64_t.
66480 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66482         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
66483         declaration.
66484         (struct La_x32_retval): Likewise.
66486 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66488         * sysdeps/x86_64/preconfigure.in: New file.
66489         * sysdeps/x86_64/preconfigure: New generated file.
66491 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
66493         [BZ #13824]
66494         * math/e_exp2l.c: Include <float.h>.
66495         (__ieee754_exp2l): Handle overflow and underflow cases
66496         separately.  Only pass fractional part of argument to
66497         __ieee754_expl.
66498         * math/libm-test.inc (exp2_test): Add more tests.
66500         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
66501         negating x to take absolute value.
66502         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
66503         Likewise.
66504         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
66505         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
66506         Likewise.
66507         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
66508         computing low part if x was negated.
66509         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
66511 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66513         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
66514         la_x32_gnu_pltexit.
66515         (pltexit): Cast int_retval to ptrdiff_t.
66516         * elf/tst-auditmod3b.c: Likewise.
66517         * elf/tst-auditmod4b.c: Likewise.
66518         * elf/tst-auditmod5b.c: Likewise.
66519         * elf/tst-auditmod6b.c: Likewise.
66520         * elf/tst-auditmod6c.c: Likewise.
66521         * elf/tst-auditmod7b.c: Likewise.
66523         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
66524         and x32_gnu_pltexit.
66526         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
66527         __ELF_NATIVE_CLASS.
66528         (La_x32_regs): New macro.
66529         (La_x32_retval): Likewise.
66530         (la_x32_gnu_pltenter): New function prototype.
66531         (la_x32_gnu_pltexit): Likewise.
66533 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
66535         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
66536         exponent.
66538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66540         * configure.in (libc_cv_cc_nofma): Check for option to disable
66541         generation of FMA instructions.
66542         * configure: Regenerate.
66543         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
66544         * sysdeps/ieee754/dbl-64/Makefile: New file.
66545         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
66546         Remove brandred-fma4.
66547         (CFLAGS-brandred-fma4.c): Remove.
66548         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
66549         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
66550         define.
66551         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
66552         define.
66554 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66556         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
66557         LLONG_MAX != LONG_MAX.
66558         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66559         (_fitoa_word): Likewise.
66560         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
66561         LLONG_MAX != LONG_MAX.
66562         * stdio-common/_itowa.h: Include <_itoa.h>.
66563         (_itowa_word): Use _ITOA_WORD_TYPE on value.
66564         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
66565         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
66566         only if not defined.
66567         (_ITOA_WORD_TYPE): Likewise.
66568         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66569         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
66571 2012-03-21  David S. Miller  <davem@davemloft.net>
66573         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66575 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66577         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
66578         of x86_64 when setting libc_cv_slibdir, libdir and
66579         libc_cv_localedir.
66580         * sysdeps/unix/sysv/linux/configure: Regenerated.
66582 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66584         * manual/lang.texi (Old Varargs): Remove section.
66585         (How Variadic): Update menu.
66586         (va_start): Do not mention varargs.h.
66588 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66589             Joseph Myers  <joseph@codesourcery.com>
66591         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
66592         link test.
66593         * configure: Regenerated.
66595 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66597         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
66598         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
66599         conformtest.pl
66601 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66603         * NOTES: Remove.
66604         * Makefile (files-for-dist): Remove NOTES.
66605         (NOTES): Remove rule.
66606         * README: Don't refer to NOTES.
66607         * manual/creature.texi: Don't include macros.texi.
66608         * manual/intro.texi (creature.texi): Remove comment referring to
66609         NOTES.
66611         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
66612         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
66613         * configure: Regenerated.
66614         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
66615         LIBC_TRY_CC_OPTION.
66616         (libc_cv_as_i686): Likewise.
66617         (libc_cv_cc_avx): Likewise.
66618         (libc_cv_cc_sse2avx): Likewise.
66619         (libc_cv_cc_fma4): Likewise.
66620         (libc_cv_cc_novzeroupper): Likewise.
66621         * sysdeps/i386/configure: Regenerated.
66623         [BZ #13883]
66624         * sysdeps/i386/fpu/s_cexp.S: Remove.
66625         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
66626         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
66627         * math/libm-test.inc (cexp_test): Add more tests.
66628         * sysdeps/i386/fpu/libm-test-ulps: Update.
66629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66631 2012-03-21  Allan McRae  <allan@archlinux.org>
66633         * timezone/Makefile: Do not install iso3166.tab and zone.tab
66635 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66637         [BZ #13871]
66638         * math/w_exp2.c: Do not include <float.h>.
66639         (o_threshold, u_threshold): Remove.
66640         (__exp2): Calculate result before checking finiteness and calling
66641         __kernel_standard.
66642         * math/w_exp2f.c: Likewise.
66643         * math/w_exp2l.c: Likewise.
66644         * math/libm-test.inc (exp2_test): Require overflow exception for
66645         1e6 input.
66647         [BZ #3866]
66648         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
66649         range of signed 64-bit integers before using fistpll.  Remove
66650         checks for whether integers fit in mantissa bits.
66651         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
66652         the range of signed 32-bit integers before using fistpl.  Remove
66653         checks for whether integers fit in mantissa bits.
66654         * sysdeps/i386/fpu/e_powl.S (p64): New object.
66655         (__ieee754_powl): Test for y outside the range of signed 64-bit
66656         integers before using fistpll.  Reduce 64-bit values to 63-bit
66657         ones as needed.
66658         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
66659         divide-by-zero is raised for zero to large negative powers.
66660         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
66661         (__ieee754_powl): Test for y outside the range of signed 64-bit
66662         integers before using fistpll.  Reduce 64-bit values to 63-bit
66663         ones as needed.
66664         * math/libm-test.inc (pow_test): Add more tests.
66666 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66668         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
66669         <stdio-common/_itoa.h>.
66670         * debug/segfault.c: Likewise.
66671         * elf/dl-cache.c: Likewise.
66672         * elf/dl-minimal.c: Likewise.
66673         * elf/dl-misc.c: Likewise.
66674         * elf/dl-sysdep.c: Likewise.
66675         * elf/dl-version.c: Likewise.
66676         * elf/rtld.c: Likewise.
66677         * hurd/hurdsock.c: Likewise.
66678         * hurd/lookup-retry.c: Likewise.
66679         * malloc/malloc.c: Likewise.
66680         * malloc/mtrace.c: Likewise.
66681         * nscd/nscd_getgr_r.c: Likewise.
66682         * nscd/nscd_getpw_r.c: Likewise.
66683         * nscd/nscd_getserv_r.c: Likewise.
66684         * posix/getopt_init.c: Likewise.
66685         * posix/wordexp.c: Likewise.
66686         * stdio-common/_itoa.c: Likewise.
66687         * stdio-common/printf_fphex.c: Likewise.
66688         * stdio-common/vfprintf.c: Likewise.
66689         * string/_strerror.c: Likewise.
66690         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
66691         * sysdeps/i386/i686/hp-timing.h: Likewise.
66692         * sysdeps/mach/_strerror.c: Likewise.
66693         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
66694         * sysdeps/mach/hurd/sethostid.c: Likewise.
66695         * sysdeps/mach/hurd/xmknodat.c: Likewise.
66696         * sysdeps/mach/xpg-strerror.c: Likewise.
66697         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
66698         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
66699         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
66700         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
66701         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
66702         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
66703         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
66704         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
66705         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
66706         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
66707         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
66708         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
66709         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
66710         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
66711         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
66712         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
66713         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
66714         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
66715         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
66716         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
66717         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
66719         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
66721         * stdio-common/_itoa.h: Moved to ...
66722         * sysdeps/generic/_itoa.h: Here.
66724         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
66726         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
66727         instead of "_itoa.h" and "_itowa.h".
66728         * stdio-common/vfprintf.: Likewise.
66730 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66732         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
66733         <bits/wordsize.h>.
66734         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
66735         (__signbit): Likwise.
66736         (llrintf): Likwise.
66737         (llrint): Likwise.
66739 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66741         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
66742         __WORDSIZE != 64.
66744 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
66746         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
66747         OVERFLOW_EXCEPTION_OK.
66748         * math/libm-test.inc ("Philosophy"): Update comment about
66749         exception testing.
66750         (OVERFLOW_EXCEPTION): Define.
66751         (OVERFLOW_EXCEPTION_OK): Likewise.
66752         (INVALID_EXCEPTION_OK): Renumber.
66753         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66754         (IGNORE_ZERO_INF_SIGN): Likewise.
66755         (test_exceptions): Handle FE_OVERFLOW.
66756         (exp10_test): Expect overflow exceptions.
66757         (exp2_test): Likewise.
66758         (expm1_test): Likewise.
66759         (nextafter_test): Likewise.
66760         (pow_test): Likewise.
66761         (scalbn_test): Likewise.
66762         (scalbln_test): Likewise.
66764 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66766         * sysdeps/x86_64/bits/atomic.h
66767         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
66768         64bit integer.
66769         (atomic_exchange_acq): Likewise.
66770         (__arch_exchange_and_add_body): Likewise.
66771         (__arch_add_body): Likewise.
66772         (atomic_add_negative): Likewise.
66773         (atomic_add_zero): Likewise.
66775 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66777         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
66778         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
66780 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66782         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
66783         Check __x86_64__ instead of __WORDSIZE.
66785 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66787         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
66789 2012-03-19  David S. Miller  <davem@davemloft.net>
66791         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66793         * sysdeps/sparc/fpu/fenv_private.h: New file.
66794         * sysdeps/sparc/fpu/math_private.h: Use it.
66795         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
66796         Remove.
66797         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
66798         (libc_feholdexcept_setroundl): Remove.
66799         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
66800         Remove.
66801         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
66802         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
66804 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66806         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
66807         int64_t instead of long int.
66808         (INSERT_WORDS64): Likwise.
66810 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66812         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
66813         _Unwind_GetCFA return to _Unwind_Ptr first.
66815 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
66817         [BZ #13629]
66818         * math/s_clog.c: Include <float.h>.
66819         (__clog): Scale large or subnormal inputs.
66820         * math/s_clogf.c: Likewise.
66821         * math/s_clogl.c: Likewise.
66822         * math/s_clog10.c: Include <float.h>.
66823         (M_LOG10_2): Define.
66824         (__clog10): Scale large or subnormal inputs.
66825         * math/s_clog10f.c: Likewise.
66826         * math/s_clog10l.c: Likewise.
66827         * math/libm-test.inc (clog_test): Add more tests.
66828         (clog10_test): Likewise.
66829         * sysdeps/i386/fpu/libm-test-ulps: Update.
66830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66832         [BZ #11451]
66833         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
66834         x and y.
66835         * math/libm-test.inc (atan2_test): Add another test.
66837         * Makerules (common-objdir-compile): Remove.
66838         * sysdeps/unix/Makefile (config-generated): Do not add
66839         $(unix-generated) to variable.
66840         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
66841         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
66842         Remove rule.
66843         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
66844         Likewise.
66845         [generic bits/local_lim.h] (before-compile): Do not append to
66846         variable.
66847         [generic bits/local_lim.h] (common-generated): Likewise.
66848         [generic sys/param.h] (before-compile): Do not append to variable.
66849         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
66850         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
66851         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
66852         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
66853         include.
66854         [generic sys/param.h] (sys/param.h-includes): Remove variable.
66855         [generic sys/param.h] (sys/param.h-includes): Remove rule.
66856         [generic sys/param.h] ($(addprefix
66857         $(common-objpfx),$(sys/param.h-includes))): Likewise.
66858         [generic sys/param.h] (common-generated): Do not append to
66859         variable.
66860         [generic sys/param.h] (sysdep_headers): Likewise.
66861         [generic bits/errno.h] (before-compile): Do not append to
66862         variable.
66863         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
66864         rule.
66865         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
66866         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
66867         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
66868         [generic bits/errno.h] (common-generated): Do not append to
66869         variable.
66870         [generic bits/ioctls.h] (before-compile): Do not append to
66871         variable.
66872         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
66873         rule.
66874         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
66875         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
66876         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
66877         rule.
66878         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
66879         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
66880         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
66881         [generic bits/ioctls.h] (common-generated): Do not append to
66882         variable.
66883         [generic sys/syscall.h] (syscall.h): Remove variable.
66884         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
66885         rule.
66886         [generic sys/syscall.h] (before-compile): Do not append to
66887         variable.
66888         [generic sys/syscall.h] (common-generated): Likewise.
66889         * sysdeps/unix/errnos-tmpl.c: Remove file.
66890         * sysdeps/unix/errnos.awk: Likewise.
66891         * sysdeps/unix/ioctls-tmpl.c: Likewise.
66892         * sysdeps/unix/ioctls.awk: Likewise.
66893         * sysdeps/unix/mk-local_lim.c: Likewise.
66894         * sysdeps/unix/snarf-ioctls: Likewise.
66896 2012-03-19  Richard Henderson  <rth@twiddle.net>
66898         * sysdeps/i386/fpu/fenv_private.h: New file.
66899         * sysdeps/i386/fpu/math_private.h: Use it.
66900         (math_opt_barrier, math_force_eval): Remove.
66901         (libc_feholdexcept_setround_53bit): Remove.
66902         (libc_feupdateenv_53bit): Remove.
66903         * sysdeps/x86_64/fpu/math_private.h: Likewise.
66904         (math_opt_barrier, math_force_eval): Remove.
66905         (libc_feholdexcept): Remove.
66906         (libc_feholdexcept_setround): Remove.
66907         (libc_fetestexcept, libc_fesetenv): Remove.
66908         (libc_feupdateenv_test): Remove.
66909         (libc_feupdateenv, libc_feholdsetround): Remove.
66910         (libc_feresetround): Remove.
66912         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
66913         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
66915         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
66916         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
66917         (libc_feupdateenv_testl): New.
66918         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
66919         (libc_feupdateenv_testf): New.
66920         (libc_feupdateenv): Use libc_feupdateenv_test.
66921         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
66922         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
66924         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
66925         (libc_feholdsetroundf, libc_feholdsetroundl): New.
66926         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
66927         (libc_feresetround_noex): New.
66928         (libc_feresetround_noexf): New.
66929         (libc_feresetround_noexl): New.
66930         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
66931         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
66932         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
66933         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
66934         SET_RESTORE_ROUND.
66935         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
66936         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
66937         (__cos): Likewise.
66938         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
66939         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
66940         SET_RESTORE_ROUND_NOEX.
66941         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
66942         SET_RESTORE_ROUND_NOEXF.
66943         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
66944         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
66945         (libc_feholdsetroundf): New.
66946         (libc_feresetround, libc_feresetroundf): New.
66948         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
66949         (libc_feholdexcept_setround_53bit): Convert from macro to function.
66950         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
66952         * sysdeps/generic/math_private.h: Include <fenv.h>.
66953         (default_libc_feholdexcept): New.
66954         (default_libc_feholdexcept_setround): New.
66955         (default_libc_fesetenv, default_libc_feupdateenv): New.
66956         (libc_feholdexcept): Only define if undefined.
66957         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
66958         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
66959         (libc_feholdexcept_setroundl): Likewise.
66960         (libc_feholdexcept_setround_53bit): Likewise.
66961         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
66962         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
66963         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
66964         (libc_feupdateenv_53bit): Likewise.
66965         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
66966         (libc_feholdexcept): Convert from macro to inline function.
66967         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
66968         (libc_fesetenv, libc_feupdateenv): Likewise.
66970         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
66971         not previously defined.
66972         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
66973         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
66974         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
66975         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
66976         * sysdeps/ieee754/flt-32/math_private.h: New file.
66977         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
66978         math_private.h below SET_FLOAT_WORD.
66979         (__isnan, __isinf_ns, __finite): Remove.
66980         (__isnanf, __isinf_nsf, __finitef): Remove.
66982 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
66984         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66986 2012-03-17  David S. Miller  <davem@davemloft.net>
66988         [BZ #6471]
66989         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
66990         for 2.16.
66992 2012-03-16  David S. Miller  <davem@davemloft.net>
66994         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
66995         warnings.
66997         [BZ #6471]
66998         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
66999         properly.
67000         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
67001         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
67002         sysdep_routines when subdir is sysvipc.
67003         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
67004         __getshmlba helper.
67006         * sysdeps/sparc/fpu/libm-test/ulps: Update.
67008 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67010         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
67011         [__LP64__].
67013 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67015         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
67016         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
67017         (__lround): Renamed to ...
67018         (__llround): This.  Replace long int with long long int.
67019         Define lround functions as aliases of llround functions.
67020         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
67022 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67024         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
67025         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
67026         adresses to uintptr_t.  Replace "long int" and "unsigned long
67027         int" with "greg_t" on va_arg.
67029 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67031         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
67032         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
67034         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
67035         Move e_machine check before EI_CLASS check.  Handle x32
67036         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
67037         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
67038         SKIP_EM_IA_64 and include
67039         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
67041         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
67042         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
67043         (add_system_dir): New macro.
67045         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
67046         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
67048 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
67050         [BZ #2551]
67051         [BZ #2552]
67052         [BZ #2553]
67053         [BZ #2554]
67054         [BZ #2562]
67055         [BZ #2563]
67056         [BZ #2565]
67057         [BZ #2566]
67058         [BZ #2576]
67059         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
67060         (y0): Likewise.
67061         * math/w_j0f.c (j0f): Likewise.
67062         (y0f): Likewise.
67063         * math/w_j0l.c (__j0l): Likewise.
67064         (__y0l): Likewise.
67065         * math/w_j1.c (j1): Likewise.
67066         (y1): Likewise.
67067         * math/w_j1f.c (j1f): Likewise.
67068         (y1f): Likewise.
67069         * math/w_j1l.c (__j1l): Likewise.
67070         (__y1l): Likewise.
67071         * math/w_jn.c (jn): Likewise.
67072         (yn): Likewise.
67073         * math/w_jnf.c (jnf): Likewise.
67074         (ynf): Likewise.
67075         * math/w_jnl.c (__jnl): Likewise.
67076         (__ynl): Likewise.
67077         * math/libm-test.inc (j0_test): Add more tests.
67078         (j1_test): Likewise.
67079         (jn_test): Likewise.  Add trailing semicolon to existing test.
67080         (y0_test): Likewise.
67081         (y1_test): Likewise.
67082         * sysdeps/i386/fpu/libm-test-ulps: Update.
67083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67085         [BZ #13851]
67086         [BZ #13854]
67087         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
67088         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
67089         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
67090         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
67091         (__tanl): Set errno for infinite argument.
67092         * sysdeps/i386/fpu/mptan.c: Remove.
67093         * sysdeps/i386/fpu/s_tan.S: Likewise.
67094         * sysdeps/i386/fpu/s_tanl.S: Likewise.
67095         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
67096         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
67097         * math/libm-test.inc (tan_test): Add more tests and enable more
67098         tests for double and long double.
67099         * sysdeps/i386/fpu/libm-test-ulps: Update.
67100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67102 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
67104         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
67105         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
67107 2012-03-16  Roland McGrath  <roland@hack.frob.com>
67109         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
67110         * configure.in: Use it for both main tree and add-ons.
67111         * configure: Regenerated.
67113 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67115         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
67117 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
67119         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
67120         in comment.
67122         [BZ #13851]
67123         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
67124         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
67125         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
67126         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
67127         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
67128         infinite argument.
67129         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
67130         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
67131         != 0 for prec == 2.
67132         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
67133         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
67134         * sysdeps/i386/fpu/s_cosl.S: Likewise.
67135         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
67136         * sysdeps/i386/fpu/s_sinl.S: Likewise.
67137         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
67138         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
67139         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
67140         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
67141         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
67142         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
67143         * math/libm-test.inc (cos_test): Add more tests and enable more
67144         tests for long double.
67145         (sin_test): Likewise.
67146         (sincos_test): Likewise.
67147         * sysdeps/i386/fpu/libm-test-ulps: Update.
67148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67150 2012-03-16  David S. Miller  <davem@davemloft.net>
67152         * sysdeps/sparc/fpu/math_private.h: New file.
67154 2012-03-15  David S. Miller  <davem@davemloft.net>
67156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
67157         file.
67158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
67159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
67160         file.
67161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
67162         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
67163         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
67164         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
67165         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
67166         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
67167         sysdep routines.
67168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67170         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
67171         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
67173         * sysdeps/sparc/sparc-ifunc.h: New file.
67174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
67175         sparc-ifunc.h
67176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
67177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
67178         Likewise.
67179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
67180         Likewise.
67181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
67182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
67183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
67185         Likewise.
67186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
67188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
67190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
67191         Likewise.
67192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
67193         Likewise.
67194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
67196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
67197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
67198         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
67199         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
67200         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
67201         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
67202         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
67203         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
67204         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
67205         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
67206         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
67207         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
67208         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
67209         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
67210         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
67211         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
67212         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
67213         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
67214         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
67215         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
67216         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
67217         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
67219 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67221         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
67222         scaling.
67223         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67225 2012-03-15  Andreas Jaeger  <aj@suse.de>
67227         [BZ #13852]
67228         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
67229         ieee754/flt-32 implementation for sin, cos and sincos.
67230         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
67231         * sysdeps/i386/fpu/s_cosf.S: Likewise.
67232         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
67233         * sysdeps/i386/fpu/s_sinf.S: Likewise.
67234         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
67235         ieee754/flt-32 implementation for tan.
67237         * math/libm-test.inc (cos_test): Enable some large input tests for
67238         float as well
67239         (sin_test): Likewise.
67240         (sincos_test): Likewise.
67241         (tan_test): Add tests for large input.
67243         * sysdeps/i386/fpu/libm-test-ulps: Update.
67245 2012-03-15  Andreas Jaeger  <aj@suse.de>
67247         [BZ #13658]
67248         * math/libm-test.inc (cos_test): Add more test cases.
67249         (sin_test): Likewise.
67250         (sincos_test): Likewise.
67252 2012-03-15  Andreas Jaeger  <aj@suse.de>
67254         [BZ #13837]
67255         * math/libm-test.inc (cos_test): Add a test case for large input
67256         value.
67257         (sin_test): Likewise.
67258         (sincos_test): Likewise.
67260 2012-03-15  Andreas Jaeger  <aj@suse.de>
67261             Joseph Myers  <joseph@codesourcery.com>
67263         [BZ #13658]
67264         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
67265         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
67266         * sysdeps/i386/fpu/branred.c: Likewise.
67267         * sysdeps/i386/fpu/dosincos.c: Likewise.
67268         * sysdeps/i386/fpu/mpa.c: Likewise.
67269         * sysdeps/i386/fpu/s_cos.S: Likewise.
67270         * sysdeps/i386/fpu/s_sin.S: Likewise.
67271         * sysdeps/i386/fpu/s_sincos.S: Likewise.
67272         * sysdeps/i386/fpu/sincos32.c: Likewise.
67274         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
67275         Define.
67276         (libc_feupdateenv_53bit): Define.
67277         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
67278         Define.
67279         (libc_feupdateenv_53bit): Define.
67281         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
67282         53 bit (without extend i386 double precision).
67284         * math/libm-test.inc (sincos_test): Add tests for large input.
67285         (sin): Likewise.
67286         (cos): Likewise.
67288         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
67290 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67292         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67294 2012-03-15  David S. Miller  <davem@davemloft.net>
67296         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
67297         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
67298         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
67299         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
67300         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
67301         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
67302         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
67303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
67304         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
67305         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
67306         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
67307         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
67308         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
67309         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
67310         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
67311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
67312         file.
67313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
67314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
67315         file.
67316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
67317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
67318         file.
67319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
67320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
67321         file.
67322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
67323         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
67324         fmin/fmax sysdep routines.
67325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67327 2012-03-14  David S. Miller  <davem@davemloft.net>
67329         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
67330         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
67331         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
67332         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
67333         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
67334         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
67335         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
67336         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
67337         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
67338         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
67339         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
67340         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
67341         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
67342         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
67343         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
67344         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
67345         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
67346         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
67347         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
67348         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
67349         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
67350         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
67351         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
67352         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
67353         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
67354         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
67355         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
67356         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
67357         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
67358         routines.
67359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
67360         file.
67361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
67362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
67363         file.
67364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
67365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
67366         file.
67367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
67368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
67369         file.
67370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
67371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
67372         file.
67373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
67374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
67375         file.
67376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
67377         file.
67378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
67379         file.
67380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
67381         file.
67382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
67383         New file.
67384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
67385         file.
67386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
67387         file.
67388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
67389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
67390         file.
67391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
67392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
67393         file.
67394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
67395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
67396         file.
67397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
67398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
67399         VIS3 routines.
67401         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
67402         New file.
67404         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67406         * sysdeps/sparc/configure.in: New file.
67407         * sysdeps/sparc/configure: Generate.
67408         * configure.in (libc_cv_sparc_as_vis3): Substitute.
67409         * configure: Regenerate.
67410         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
67411         * config.make.in (have-as-vis3): New.
67412         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
67413         available use -Av9d instead of -Av9a.
67414         * sysdeps/sparc/sparc64/Makefile: Likewise.
67415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
67416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
67417         New file.
67418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
67419         file.
67420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
67421         New file.
67422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
67423         file.
67424         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
67425         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
67426         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
67427         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
67428         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
67430         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
67431         fzeros/fnegs to load 0x80000000 into a float register instead of
67432         using the stack.
67433         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
67435 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
67437         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67438         bits/syscall.h.
67439         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
67440         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
67441         ($(inst_includedir)/bits/syscall.h): Remove rule.
67442         ($(objpfx)bits/syscall.d): Include instead of
67443         $(objpfx)syscall-list.d.
67444         (generated): Change syscall-list.h and syscall-list.d to
67445         bits/syscall.h and bits/syscall.d.
67447 2012-03-14  Roland McGrath  <roland@hack.frob.com>
67449         [BZ #13846]
67450         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
67452 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
67454         [BZ #13841]
67455         * math/s_csqrt.c: Include <float.h>.
67456         (__csqrt): Scale large or subnormal inputs.
67457         * math/s_csqrtf.c: Likewise.
67458         * math/s_csqrtl.c: Likewise.
67459         * math/libm-test.inc (csqrt_test): Add more tests.
67460         * sysdeps/i386/fpu/libm-test-ulps: Update.
67461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67463         [BZ #13840]
67464         * math/libm-test.inc (hypot_test): Add more tests.
67466 2012-03-13  David S. Miller  <davem@davemloft.net>
67468         [BZ #13840]
67469         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
67470         double-precision for the calculation instead of scaling.
67472 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
67474         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
67475         manipulate bits before adding and subtracting TWO52[sx].
67476         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
67477         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
67478         Likewise.
67479         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
67481 2012-03-13  David S. Miller  <davem@davemloft.net>
67483         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
67484         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
67485         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
67486         rtld-global-offsets.h
67487         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67489         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
67490         large parameters.
67492         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
67494         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
67495         'err' in the ifdef scope in which it is actually used.
67497         * nss/nss_db/db-init.c: Include string.h
67499 2012-03-12  David S. Miller  <davem@davemloft.net>
67501         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
67502         masking out of the most significant byte of random value used.
67503         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67504         Fix coding style in previous change.
67506         * sysdeps/unix/sysv/linux/kernel-features.h
67507         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
67508         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
67509         expression.
67510         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
67511         later.
67513 2012-03-11  David S. Miller  <davem@davemloft.net>
67515         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
67516         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
67517         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
67518         for 'resultvar' otherwise things get truncated on 64-bit.
67520         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67521         Fix masking out of the most significant byte of random value used.
67523         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67525 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
67527         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67529 2012-03-09  David S. Miller  <davem@davemloft.net>
67531         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
67532         variables with appropriate CPP guards.
67533         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
67534         from the frame pointer, not the stack pointer.  Correct layout
67535         comments.  Fix test on resulting framesize and the management of
67536         the outregs buffer for pltexit.  Preserve floating point return
67537         values across _dl_call_pltexit call.
67538         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
67539         framesize and the management of the outregs buffer for pltexit.
67540         Preserve floating point return values across _dl_call_pltexit
67541         call.
67542         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
67543         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
67544         (la_sparc64_gnu_pltexit): New functions.
67545         (print_exit): Fix format string for return register value.
67547 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
67549         * sunrpc/Makefile (others): Add rpcgen.
67550         ($(objpfx)rpcgen): Remove special build rule and dependency on
67551         libc.
67552         * sunrpc/rpcgen.c: New file.
67554 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
67556         [BZ #13673]
67557         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
67558         * stdio-common/bug-vfprintf-nargs.c: Likewise.
67559         * sysdeps/i386/crti.S: Likewise.
67560         * sysdeps/i386/crtn.S: Likewise.
67561         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
67562         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
67563         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
67564         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
67565         * sysdeps/sh/crti.S: Likewise.
67566         * sysdeps/sh/crtn.S: Likewise.
67567         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
67569         [BZ #13673]
67570         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
67571         with URL.
67572         * locale/programs/locfile-kw.gperf: Likewise.
67573         * locale/programs/charmap-kw.h: Regenerated.
67574         * locale/programs/locfile-kw.h: Likewise.
67576         [BZ #13673]
67577         * intl/plural.y: Replace FSF snail mail address with URL.
67578         * intl/plural.c: Regenerated.
67580 2012-03-09  Richard Henderson  <rth@twiddle.net>
67582         * include/math_private.h: Remove file.
67583         * math/math_private.h: Move file ...
67584         * sysdeps/generic/math_private.h: ... here.
67586         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
67587         * sysdeps/powerpc/fpu/math_private.h: Likewise.
67588         * sysdeps/x86_64/fpu/math_private.h: Likewise.
67590         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
67591         and <math_private.h>.
67592         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
67593         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
67594         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
67595         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
67596         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
67597         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
67598         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67599         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67600         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
67601         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67602         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67603         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67604         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
67605         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67606         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
67607         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
67608         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67609         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
67610         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
67611         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
67612         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67613         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
67614         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
67615         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67616         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
67617         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67618         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
67619         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67620         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67621         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
67622         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
67623         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67624         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
67625         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
67626         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
67627         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
67628         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
67629         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
67630         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
67631         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67632         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
67633         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
67634         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
67635         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
67636         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
67637         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
67638         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
67639         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
67640         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
67641         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
67642         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
67643         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
67644         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
67645         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
67646         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
67647         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
67648         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67649         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
67650         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
67651         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
67652         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67653         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
67654         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67655         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
67656         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
67657         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67658         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67659         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67660         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
67661         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
67662         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67663         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67664         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67665         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67666         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
67667         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
67668         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
67669         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67670         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
67671         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
67672         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67673         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
67674         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67675         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
67676         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67677         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
67678         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
67679         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
67680         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
67681         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67682         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67683         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
67684         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67685         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
67686         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
67687         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
67688         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67689         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
67690         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67691         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
67692         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
67693         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
67694         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
67695         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
67696         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
67697         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
67698         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
67699         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
67700         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
67701         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
67702         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
67703         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
67704         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
67705         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
67706         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
67707         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67708         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
67709         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
67710         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
67711         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
67712         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
67713         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
67714         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67715         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
67716         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
67717         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
67718         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
67719         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
67720         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
67721         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
67722         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
67723         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
67724         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
67725         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
67726         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
67727         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
67728         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
67729         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
67730         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
67731         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
67732         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67733         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
67734         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
67735         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
67736         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
67737         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
67738         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
67739         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
67740         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
67741         * sysdeps/ieee754/k_standard.c: Likewise.
67742         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
67743         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
67744         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67745         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
67746         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
67747         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
67748         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
67749         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
67750         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
67751         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
67752         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67753         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
67754         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
67755         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
67756         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
67757         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
67758         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
67759         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
67760         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
67761         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
67762         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
67763         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
67764         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
67765         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
67766         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
67767         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
67768         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
67769         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
67770         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
67771         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
67772         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
67773         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
67774         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
67775         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
67776         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
67777         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
67778         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
67779         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
67780         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
67781         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
67782         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
67783         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
67784         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
67785         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
67786         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
67787         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
67788         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
67789         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
67790         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
67791         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
67792         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
67793         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
67794         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
67795         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
67796         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
67797         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
67798         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
67799         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
67800         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
67801         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
67802         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
67803         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
67804         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
67805         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
67806         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67807         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67808         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
67809         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
67810         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
67811         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
67812         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
67813         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67814         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
67815         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
67816         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
67817         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
67818         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
67819         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
67820         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67821         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
67822         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
67823         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
67824         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
67825         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
67826         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
67827         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
67828         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
67829         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
67830         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
67831         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
67832         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
67833         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
67834         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
67835         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
67836         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
67837         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
67838         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
67839         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
67840         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
67841         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
67842         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
67843         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
67844         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
67845         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
67846         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
67847         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
67848         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
67849         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
67850         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
67851         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
67852         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
67853         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
67854         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
67855         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67856         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
67857         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67858         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
67859         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67860         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67861         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
67862         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67863         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
67864         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
67865         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
67866         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67867         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
67868         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
67869         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
67870         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
67871         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
67872         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
67873         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
67874         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
67875         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
67876         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
67877         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
67878         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
67879         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
67880         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
67881         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
67882         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
67883         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
67884         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
67885         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
67886         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
67887         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
67888         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
67889         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
67890         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
67891         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
67892         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
67893         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
67894         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
67895         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
67896         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
67897         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
67898         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
67899         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
67900         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
67901         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
67902         * sysdeps/ieee754/s_lib_version.c: Likewise.
67903         * sysdeps/ieee754/s_matherr.c: Likewise.
67904         * sysdeps/ieee754/s_signgam.c: Likewise.
67905         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67906         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67907         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
67908         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
67909         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
67910         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
67911         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
67912         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
67913         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
67914         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
67915         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
67916         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
67917         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
67918         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
67919         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
67920         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
67921         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
67922         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
67923         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
67924         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
67925         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
67927 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
67929         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
67930         * sunrpc/rpc_main.c: Likewise.
67931         * sunrpc/rpc_svcout.c: Likewise.
67933 2012-03-09  David S. Miller  <davem@davemloft.net>
67935         * include/math_private.h: New file.
67937 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
67939         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
67940         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
67941         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
67942         from <bits/socket_type.h>.
67943         (enum __socket_type): Don't define here.
67944         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
67945         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67946         bits/socket_type.h.
67948         [BZ #13566]
67949         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
67950         checking __USE_GNU.
67952         * Makerules ($(inst_includedir)/%.h): New rule.
67953         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
67954         (install-others): Remove variable setting.
67955         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
67957 2012-03-08  Richard Henderson  <rth@twiddle.net>
67959         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
67960         from macro to inline function; merge with the
67961         !__LIBC_INTERNAL_MATH_INLINES version.
67962         (__ieee754_sqrtf): Likewise.
67964         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
67965         to inline function.
67966         (__rintf, __floor, __floorf): Likewise.
67968         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
67969         macro to inline function.
67970         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
67972         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
67973         not <math/math_private.h>.
67975 2012-03-08  David S. Miller  <davem@davemloft.net>
67977         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
67978         copyright year.
67979         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
67981 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
67983         * resolv/gai_misc.c (handle_requests): Fix struct timespec
67984         normalization.
67985         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
67986         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
67988 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
67990         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
67991         be defined individually, they must be defined as a block.  Define
67992         S for printing a string instead of hidint the different by using a
67993         macro for adding the 'l'.
67994         * stdio-common/tst-fphex-wide.c: Adjust.
67996 2012-03-07  Marek Polacek  <polacek@redhat.com>
67998         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
68000 2012-03-08  Marek Polacek  <polacek@redhat.com>
68002         [BZ #13806]
68003         * stdio-common/Makefile (tests): Add tst-fphex-wide.
68004         * stdio-common/tst-fphex.c: Define a few macros to make the
68005         test reusable.  Use them.
68006         * stdio-common/tst-fphex-wide.c: New file.
68008 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
68010         [BZ #6911]
68011         * manual/macros.texi (gnusystems): New macro.
68012         (nongnusystems): Likewise.
68013         (gnulinuxhurdsystems): Likewise.
68014         (gnuhurdsystems): Likewise..
68015         (gnulinuxsystems): Likewise.
68016         * manual/charset.texi: Use new macros or @theglibc{} to refer to
68017         variants of the GNU system, not "GNU system".
68018         * manual/conf.texi: Likewise.
68019         * manual/errno.texi: Likewise.  Update example of errno macro
68020         expansion.
68021         * manual/filesys.texi: Likewise.
68022         (getumask): Document as specific to GNU/Hurd.
68023         * manual/install.texi: Likewise.  Reword some references to
68024         GNU/Linux.
68025         * manual/intro.texi: Likewise.
68026         * manual/io.texi: Likewise.
68027         (File Name Portability): Detail which constraints are inapplicable
68028         to all GNU systems and which are only inapplicable to GNU/Hurd.
68029         * manual/job.texi: Likewise.
68030         * manual/llio.texi: Likewise.
68031         (O_NOCTTY): Document as present on GNU/Linux.
68032         * manual/maint.texi: Likewise.
68033         * manual/memory.texi: Likewise.
68034         * manual/pattern.texi: Likewise.
68035         * manual/pipe.texi: Likewise.
68036         * manual/process.texi: Likewise.
68037         * manual/resource.texi: Likewise.
68038         (RUSAGE_CHILDREN): Remove statement about specifying a particular
68039         child on GNU/Hurd.
68040         * manual/setjmp.texi: Likewise.
68041         * manual/signal.texi: Likewise.
68042         * manual/startup.texi: Likewise.
68043         * manual/stdio.texi: Likewise.
68044         * manual/terminal.texi: Likewise.
68045         (ONLCR): Document as POSIX.
68046         (OXTABS): Document availability on GNU/Linux as XTABS.
68047         (ONOEOT): Document availability separately from other bits.
68048         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
68049         * manual/time.texi: Likewise.
68050         * manual/users.texi: Likewise.
68051         * INSTALL: Regenerated.
68052         * sysdeps/gnu/errlist.c: Regenerated.
68054         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
68055         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
68056         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
68057         puts.
68058         * configure: Regenerated.
68060 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
68062         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
68063         default includes instead of AC_HEADER_CHECK.
68064         * sysdeps/i386/configure: Regenerated.
68066         [BZ #10716]
68067         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
68068         * math/s_cacoshf.c (__cacoshf): Likewise.
68069         * math/s_cacoshl.c (__cacoshl): Likewise.
68070         * math/s_casinh.c (__casinh): Set signs of result from argument.
68071         * math/s_casinhf.c (__casinhf): Likewise.
68072         * math/s_casinhl.c (__casinhl): Likewise.
68073         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
68074         (casinh_test): Add more tests.
68075         * sysdeps/i386/fpu/libm-test-ulps: Update.
68076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68078 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
68080         * po/zh_TW.po: Update from translation team.
68082         * login/Makefile (distribute): Remove variable.
68083         * catgets/Makefile: Likewise.
68084         * mach/Makefile: Likewise.
68085         * malloc/Makefile: Likewise.
68086         * misc/Makefile: Likewise.
68087         * iconv/Makefile: Likewise.
68088         * nscd/Makefile: Likewise.
68089         * hurd/Makefile: Likewise.
68090         * manual/Makefile: Likewise.
68091         * locale/Makefile: Likewise.
68092         * intl/Makefile: Likewise.
68093         * conform/Makefile: Likewise.
68094         * nss/Makefile: Likewise.
68095         * time/Makefile: Likewise.
68096         * soft-fp/Makefile: Likewise.
68097         * dirent/Makefile: Likewise.
68098         * gmon/Makefile: Likewise.
68099         * po/Makefile: Likewise.
68100         * rt/Makefile: Likewise.
68101         * socket/Makefile: Likewise.
68102         * math/Makefile: Likewise.
68103         * signal/Makefile: Likewise.
68104         * debug/Makefile: Likewise.
68105         * elf/Makefile: Likewise.
68106         * timezone/Makefile: Likewise.
68107         * stdlib/Makefile: Likewise.
68108         * iconvdata/Makefile: Likewise.
68109         * sunrpc/Makefile: Likewise.
68110         * io/Makefile: Likewise.
68111         * argp/Makefile: Likewise.
68112         * inet/Makefile: Likewise.
68113         * hesiod/Makefile: Likewise.
68114         * grp/Makefile: Likewise.
68115         * csu/Makefile: Likewise.
68116         * wctype/Makefile: Likewise.
68117         * crypt/Makefile: Likewise.
68118         * libio/Makefile: Likewise.
68119         * string/Makefile: Likewise.
68120         * nis/Makefile: Likewise.
68121         * resolv/Makefile: Likewise.
68122         * stdio-common/Makefile: Likewise.
68123         * wcsmbs/Makefile: Likewise.
68124         * dlfcn/Makefile: Likewise.
68125         * posix/Makefile: Likewise.
68127         [BZ #6959]
68128         * timezone/Makefile: Don't install timezone files, just the programs
68129         and scripts.
68131 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
68133         * nss/databases.def: Add missing gshadow entry.
68135         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
68137 2012-03-06  Marek Polacek  <polacek@redhat.com>
68139         [BZ #13726]
68140         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
68141         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
68142         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
68143         * stdio-common/tst-long-dbl-fphex.c: New file.
68145 2012-03-06  David S. Miller  <davem@davemloft.net>
68147         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68148         (set_obp_int): New function.
68149         (get_obp_int): New function.
68150         (__get_clockfreq_via_dev_openprom): Likewise.
68151         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
68152         Avoid unused variable warnings on 'val' and use builtin_expect.
68153         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
68154         __builtin_expect.
68155         (INLINE_CLONE_SYSCALL): Likewise.
68157 2012-03-05  David S. Miller  <davem@davemloft.net>
68159         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68161 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
68163         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68165         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
68166         only for |x| >= 40.
68167         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68169 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
68171         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
68172         Replace gettimeofday with __vdso_gettimeofday.
68174         * sysdeps/unix/sysv/linux/x86_64/init-first.c
68175         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
68176         __vdso_clock_gettime and __vdso_getcpu.
68178         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
68179         time with __vdso_time.
68181 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
68183         * manual/lang.texi (size_t): Note types to which size_t may be
68184         equivalent with the GNU C Library, but do not describe when
68185         differences between them are significant.
68187 2012-03-05  Andreas Jaeger  <aj@suse.de>
68189         * sysdeps/i386/fpu/libm-test-ulps: Update.
68191 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
68193         [BZ #3976]
68194         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
68195         (__ieee754_pow): Save and restore rounding mode and use
68196         round-to-nearest for main computations.
68197         * math/libm-test.inc (pow_test_tonearest): New function.
68198         (pow_test_towardzero): Likewise.
68199         (pow_test_downward): Likewise.
68200         (pow_test_upward): Likewise.
68201         (main): Call the new functions.
68202         * sysdeps/i386/fpu/libm-test-ulps: Update.
68203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68205         [BZ #3976]
68206         * math/libm-test.inc (cosh_test_tonearest): New function.
68207         (cosh_test_towardzero): Likewise.
68208         (cosh_test_downward): Likewise.
68209         (cosh_test_upward): Likewise.
68210         (sinh_test_tonearest): Likewise.
68211         (sinh_test_towardzero): Likewise.
68212         (sinh_test_downward): Likewise.
68213         (sinh_test_upward): Likewise.
68214         (main): Call the new functions.
68215         * sysdeps/i386/fpu/libm-test-ulps: Update.
68216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68218 2012-03-05  Tom de Vries  <tom@codesourcery.com>
68220         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
68221         default stack guard is set in last bytes.
68222         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
68224 2012-03-05  Kees Cook  <keescook@chromium.org>
68226         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
68228         [BZ #13656]
68229         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
68230         possibly allocate from heap instead of stack.
68231         * stdio-common/bug-vfprintf-nargs.c: New file.
68232         * stdio-common/Makefile (tests): Add nargs overflow test.
68234 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
68236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68238 2012-03-03  Marek Polacek  <polacek@redhat.com>
68240         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
68241         * math/math_private.h: Likewise.
68242         * stdlib/tst-strtod.c: Likewise.
68243         * sysdeps/i386/i486/bits/atomic.h: Likewise.
68244         * sysdeps/x86_64/bits/atomic.h: Likewise.
68246 2012-03-02  David S. Miller  <davem@davemloft.net>
68248         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
68249         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
68250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
68251         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
68252         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
68253         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
68254         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
68255         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
68257 2012-03-02  Roland McGrath  <roland@hack.frob.com>
68259         [BZ #13792]
68260         * manual/examples/README: New file, says the example source files
68261         can be used under GPL>=2.
68262         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
68263         line containing just "*/".
68264         * manual/examples/add.c: Add copyright header (GPL>=2).
68265         * manual/examples/argp-ex1.c: Likewise.
68266         * manual/examples/argp-ex2.c: Likewise.
68267         * manual/examples/argp-ex3.c: Likewise.
68268         * manual/examples/argp-ex4.c: Likewise.
68269         * manual/examples/atexit.c: Likewise.
68270         * manual/examples/db.c: Likewise.
68271         * manual/examples/dir.c: Likewise.
68272         * manual/examples/dir2.c: Likewise.
68273         * manual/examples/execinfo.c: Likewise.
68274         * manual/examples/filecli.c: Likewise.
68275         * manual/examples/filesrv.c: Likewise.
68276         * manual/examples/fmtmsgexpl.c: Likewise.
68277         * manual/examples/genpass.c: Likewise.
68278         * manual/examples/inetcli.c: Likewise.
68279         * manual/examples/inetsrv.c: Likewise.
68280         * manual/examples/isockad.c: Likewise.
68281         * manual/examples/longopt.c: Likewise.
68282         * manual/examples/memopen.c: Likewise.
68283         * manual/examples/memstrm.c: Likewise.
68284         * manual/examples/mkfsock.c: Likewise.
68285         * manual/examples/mkisock.c: Likewise.
68286         * manual/examples/mygetpass.c: Likewise.
68287         * manual/examples/pipe.c: Likewise.
68288         * manual/examples/popen.c: Likewise.
68289         * manual/examples/rprintf.c: Likewise.
68290         * manual/examples/search.c: Likewise.
68291         * manual/examples/select.c: Likewise.
68292         * manual/examples/setjmp.c: Likewise.
68293         * manual/examples/sigh1.c: Likewise.
68294         * manual/examples/sigusr.c: Likewise.
68295         * manual/examples/stpcpy.c: Likewise.
68296         * manual/examples/strdupa.c: Likewise.
68297         * manual/examples/strftim.c: Likewise.
68298         * manual/examples/strncat.c: Likewise.
68299         * manual/examples/subopt.c: Likewise.
68300         * manual/examples/swapcontext.c: Likewise.
68301         * manual/examples/termios.c: Likewise.
68302         * manual/examples/testopt.c: Likewise.
68303         * manual/examples/testpass.c: Likewise.
68304         * manual/examples/timeval_subtract.c: Likewise.
68306         [BZ #13792]
68307         * manual/time.texi (Elapsed Time): Move timeval_subtract example
68308         function to ...
68309         * manual/timeval_subtract.c.texi: ... here, new file.
68311 2012-03-02  David S. Miller  <davem@davemloft.net>
68313         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
68315 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
68317         [BZ #3976]
68318         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
68319         (__sin): Save and restore rounding mode and use round-to-nearest
68320         for all computations.
68321         (__cos): Save and restore rounding mode and use round-to-nearest
68322         for all computations.
68323         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
68324         <fenv.h>.
68325         (tan): Save and restore rounding mode and use round-to-nearest for
68326         all computations.
68327         * math/libm-test.inc (cos_test_tonearest): New function.
68328         (cos_test_towardzero): Likewise.
68329         (cos_test_downward): Likewise.
68330         (cos_test_upward): Likewise.
68331         (sin_test_tonearest): Likewise.
68332         (sin_test_towardzero): Likewise.
68333         (sin_test_downward): Likewise.
68334         (sin_test_upward): Likewise.
68335         (tan_test_tonearest): Likewise.
68336         (tan_test_towardzero): Likewise.
68337         (tan_test_downward): Likewise.
68338         (tan_test_upward): Likewise.
68339         (main): Call the new functions.
68340         * sysdeps/i386/fpu/libm-test-ulps: Update.
68341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68343         [BZ #10135]
68344         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
68345         small n, then large n, before computing and testing k+n.
68346         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
68347         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
68348         Likewise.
68349         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
68350         Likewise.
68351         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
68352         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
68353         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
68354         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
68355         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
68356         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
68357         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
68358         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
68359         * math/libm-test.inc (scalbn_test): Add more tests.
68360         (scalbln_test): Likewise.
68362         * manual/filesys.texi (mode_t): Describe constraints on size and
68363         signedness, not exact equivalence to a particular type.
68364         (ino_t): Likewise.
68365         (ino64_t): Likewise.
68366         (dev_t): Likewise.
68367         (nlink_t): Likewise.
68368         (blkcnt_t): Likewise.
68369         (blkcnt64_t): Likewise.
68370         * manual/llio.texi (off_t): Likewise.
68372         [BZ #3976]
68373         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
68374         (__ieee754_exp): Save and restore rounding mode and use
68375         round-to-nearest for all computations.
68376         * math/libm-test.inc (exp_test_tonearest): New function.
68377         (exp_test_towardzero): Likewise.
68378         (exp_test_downward): Likewise.
68379         (exp_test_upward): Likewise.
68380         (main): Call the new functions.
68381         * sysdeps/i386/fpu/libm-test-ulps: Update.
68382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68384 2012-03-01  Chris Demetriou  <cgd@google.com>
68386         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
68387         have predictable order.
68389 2012-03-01  David S. Miller  <davem@davemloft.net>
68391         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
68393         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
68394         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
68395         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
68396         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
68398         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
68399         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
68400         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
68401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
68402         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
68403         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
68404         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
68405         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
68406         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
68408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68410         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
68411         * sysdeps/sparc/fpu/libm-test-ulps: to here.
68412         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
68414         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
68415         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68416         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68417         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
68418         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
68419         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
68420         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
68421         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68422         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68423         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
68424         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
68425         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68426         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68427         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68428         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68429         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68430         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
68431         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
68432         * sysdeps/sparc/elf/configure: Regenerated.
68434 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
68436         * configure.in (AS, LD): Require binutils 2.20 or later.
68437         * configure: Regenerated.
68438         * manual/install.texi (Tools for Compilation): Give binutils 2.20
68439         as required minimum version.
68440         * INSTALL: Regenerated.
68442         [BZ #2541]
68443         [BZ #4108]
68444         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
68445         before squaring exponent.
68446         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
68447         bottom long double and 27 bits of top long double before squaring
68448         exponent.
68449         * math/libm-test.inc (erfc_test): Add more tests.
68450         * sysdeps/i386/fpu/libm-test-ulps: Update.
68451         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68454 2012-03-01  Kai Tietz  <ktietz@redhat.com>
68456         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
68457         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
68458         containing bit-fields.
68459         * soft-fp/extended.h (_FP_UNION_E): Likewise.
68460         * soft-fp/single.h (_FP_UNION_S): Likewise.
68461         * soft-fp/double.h (_FP_UNION_D): Likewise.
68463 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
68465         [BZ #13786]
68466         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
68467         not include ../strcmp.S.
68468         [USE_AS_STRNCASECMP_L]: Likewise.
68469         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
68470         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
68471         * sysdeps/i386/i686/multiarch/strncase_l-c.c
68472         (__strncasecmp_l_ia32): Define as alias to
68473         __strncasecmp_l_nonascii.
68475         [BZ #5794]
68476         * math/libm-test.inc (expm1_test): Add test for bug 5794.
68477         * sysdeps/i386/fpu/libm-test-ulps: Update.
68478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68480         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
68481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68483 2012-02-29  Jeff Law  <law@redhat.com>
68485         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
68486         out of bounds read.
68488 2012-02-29  Marek Polacek  <polacek@redhat.com>
68490         [BZ #13706]
68491         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
68492         * elf/Makefile: Add rules to run tst-unused-dep.out.
68494 2012-02-28  David S. Miller  <davem@davemloft.net>
68496         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
68497         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
68498         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
68499         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
68500         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
68501         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
68503 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
68505         * math/libm-test.inc (llround_test): Move one test from
68506         lround_test.  Use TEST_f_L in moved test.
68507         (lround_test): Move misplaced test to llround_test.  Add testcase
68508         from bug 2561.
68510 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
68512         * sysdeps/x86_64/fpu/e_expf.S: New file.
68513         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
68515 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
68517         [BZ #13637]
68518         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
68519         of remain_len that may cause incomplete multi-byte character and
68520         false match.
68521         * posix/bug-regex33.c: New file.
68522         * posix/Makefile (tests): Add bug-regex33.
68524 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
68526         * manual/macros.texi: New file.
68527         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
68528         * manual/libc.texinfo: Include macros.texi.
68529         * manual/creatute.texi: Likewise.
68530         * manual/install.texi: Likewise.
68531         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
68532         @glibcadj{} in references to the GNU C Library.
68533         * manual/charset.texi: Likewise.
68534         * manual/conf.texi: Likewise.
68535         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
68536         when not using those macros.
68537         * manual/creature.texi: Likewise.
68538         * manual/crypt.texi: Likewise.
68539         * manual/errno.texi: Likewise.
68540         * manual/filesys.texi: Likewise.
68541         * manual/header.texi: Likewise.
68542         * manual/install.texi: Likewise.
68543         * manual/intro.texi: Likewise.
68544         * manual/io.texi: Likewise.
68545         * manual/job.texi: Likewise.
68546         * manual/lang.texi: Likewise.
68547         * manual/libc.texiinfo: Likewise.
68548         * manual/llio.texi: Likewise.
68549         * manual/locale.texi: Likewise.
68550         * manual/maint.texi: Likewise.
68551         * manual/math.texi: Likewise.
68552         * manual/memory.texi: Likewise.
68553         * manual/message.texi: Likewise.
68554         * manual/nss.texi: Likewise.
68555         * manual/pattern.texi: Likewise.
68556         * manual/process.texi: Likewise.
68557         * manual/resource.texi: Likewise.
68558         * manual/search.texi: Likewise.
68559         * manual/setjmp.texi: Likewise.
68560         * manual/signal.texi: Likewise.
68561         * manual/socket.texi: Likewise.
68562         * manual/startup.texi: Likewise.
68563         * manual/stdio.texi: Likewise.
68564         * manual/string.texi: Likewise.
68565         * manual/sysinfo.texi: Likewise.
68566         * manual/syslog.texi: Likewise.
68567         * manual/terminal.texi: Likewise.
68568         * manual/time.texi: Likewise.
68569         * manual/users.texi: Likewise.
68570         * INSTALL: Regenerated.
68571         * NOTES: Regenerated.
68572         * sysdeps/gnu/errlist.c: Regenerated.
68574 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
68576         * include/dirent.h: Include <dirstream.h> before
68577         <dirent/dirent.h>.
68579 2012-02-28  David S. Miller  <davem@davemloft.net>
68581         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
68582         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
68583         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
68584         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
68586 2012-02-27  David S. Miller  <davem@davemloft.net>
68588         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
68589         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
68590         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
68591         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
68593         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
68594         frame pointer instead of stack pointer relative arg slot.
68595         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68596         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68597         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68599 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
68601         [BZ #3992]
68602         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
68604 2012-02-27  David S. Miller  <davem@davemloft.net>
68606         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
68607         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68608         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68609         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
68610         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68611         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68612         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
68613         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
68615 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
68617         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
68618         later.  Allow versions 5-9.
68619         * configure: Regenerated.
68620         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
68621         required minimum version and 4.6 as recommended version.  Do not
68622         mention bugs in GCC 2.7 and 2.8.
68623         * INSTALL: Regenerated.
68625 2012-02-27  David S. Miller  <davem@davemloft.net>
68627         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
68628         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
68629         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
68630         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
68631         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
68632         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
68633         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
68634         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
68636         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
68637         manipulate bits before adding and subtracting TWO112[sx].
68638         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
68640 2012-02-27  Roland McGrath  <roland@hack.frob.com>
68642         [BZ #13775]
68643         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
68644         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
68645         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
68646         being in POSIX, because they are in 1003.1-2008.
68648         * rt/tst-aio.c: Include <fcntl.h>.
68649         * rt/tst-aio7.c: Likewise.
68650         * rt/tst-aio64.c: Likewise.
68652         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
68654 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
68656         * manual/install.texi (--with-headers): Describe headers as
68657         interface headers, not private headers.
68658         (Specific advice for GNU/Linux systems): Describe use of headers
68659         from "make headers_install", not private headers from older
68660         kernels.
68661         * INSTALL: Regenerated.
68662         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
68663         Change to 2.6.19.
68664         * sysdeps/unix/sysv/linux/configure: Regenerated.
68666         * manual/llio.texi (fclean): Remove documentation.
68668         * manual/Makefile (libc-texi-generated): New variable.  Include
68669         version.texi.
68670         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
68671         $(libc-texi-generated), not duplicated list of files.
68672         (version.texi, stamp-version): New rules.
68673         (realclean): Remove $(libc-texi-generated), not individual files
68674         from that list.  Do not remove dir-add.texinfo.
68675         * manual/libc.texinfo: Comment out uses of edition numbers and
68676         references to printed manual.  Remove last-updated dates.
68677         (EDITION): Comment out.
68678         (ISBN): Likewise.
68679         (VERSION, UPDATED): Remove.
68680         (version.texi): Include.
68682 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
68684         * sysdeps/posix/spawni.c: Include <signal.h>.
68685         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
68686         * sysdeps/pthread/aio_fsync.c: Likewise.
68688 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
68690         * conform/Makefile (tests): Run only when not cross-compiling and
68691         when fast-check is not defined.
68693         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
68694         * conform/data/limits.h-data: Fixes for POSIX2008.
68695         * conform/run-conformtest.sh: Run all tests.
68696         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
68697         headers.
68698         * include/bits/dlfcn.h: Likewise.
68699         * include/langinfo.h: Likewise.
68700         * include/monetary.h: Likewise.
68701         * include/sys/poll.h: Likewise.
68703         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
68704         for __USE_GNU.
68705         * posix/spawn.h: Define __need_sigset_t.
68706         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
68707         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
68708         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
68709         to get sigevent_t only.
68710         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
68711         only for __USE_GNU.
68712         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68713         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
68714         process_vm_writev only for __USE_GNU.
68715         * termios/termios.h: Declare tcgetsid also for POSIX2008.
68717         * conform/Makefile: For now ignore errors from run-conformtest.
68718         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
68719         POSIX to avoid namespace pollution.  Don't prepend headers.
68720         * conform/data/aio.h-data: Fixes for POSIX testing.
68721         * conform/data/fcntl.h-data: Likewise.
68722         * conform/data/glob.h-data: Likewise.
68723         * conform/data/grp.h-data: Likewise.
68724         * conform/data/pthread.h-data: Likewise.
68725         * conform/data/pwd.h-data: Likewise.
68726         * conform/data/signal.h-data: Likewise.
68727         * conform/data/spawn.h-data: Likewise.
68728         * conform/data/stdio.h-data: Likewise.
68729         * conform/data/stdlib.h-data: Likewise.
68730         * conform/data/stropts.h-data: Likewise.
68731         * conform/data/sys/mman.h-data: Likewise.
68732         * conform/data/sys/stat.h-data: Likewise.
68733         * conform/data/sys/types.h-data: Likewise.
68734         * conform/data/sys/wait.h-data: Likewise.
68735         * conform/data/time.h-data: Likewise.
68736         * conform/data/unistd.h-data: Likewise.
68737         * conform/data/utime.h-data: Likewise.
68739         * io/sys/stat.h: fchmod was always in POSIX.
68740         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
68741         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
68742         * rt/aio.h: Define __need_timespec before including <time.h>.
68743         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
68744         struct.  Add forward declaration of pthread_attr_t and use it in
68745         sigevent.
68746         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
68747         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
68748         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
68749         always remove CLK_TCK definition.
68751 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
68753         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
68755 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
68757         * conform/run-conformtest.sh: New file.
68758         * conform/Makefile: Run run-conformtest for tests.
68759         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
68760         support.
68762         * conform/data/uchar.h-data: New file.
68763         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
68764         * conform/data/arpa/inet.h-data: Likewise.
68765         * conform/data/assert.h-data: Likewise.
68766         * conform/data/complex.h-data: Likewise.
68767         * conform/data/cpio.h-data: Likewise.
68768         * conform/data/ctype.h-data: Likewise.
68769         * conform/data/dirent.h-data: Likewise.
68770         * conform/data/dlfcn.h-data: Likewise.
68771         * conform/data/errno.h-data: Likewise.
68772         * conform/data/fcntl.h-data: Likewise.
68773         * conform/data/float.h-data: Likewise.
68774         * conform/data/fmtmsg.h-data: Likewise.
68775         * conform/data/fnmatch.h-data: Likewise.
68776         * conform/data/ftw.h-data: Likewise.
68777         * conform/data/glob.h-data: Likewise.
68778         * conform/data/grp.h-data: Likewise.
68779         * conform/data/iconv.h-data: Likewise.
68780         * conform/data/inttypes.h-data: Likewise.
68781         * conform/data/langinfo.h-data: Likewise.
68782         * conform/data/libgen.h-data: Likewise.
68783         * conform/data/limits.h-data: Likewise.
68784         * conform/data/locale.h-data: Likewise.
68785         * conform/data/math.h-data: Likewise.
68786         * conform/data/monetary.h-data: Likewise.
68787         * conform/data/mqueue.h-data: Likewise.
68788         * conform/data/ndbm.h-data: Likewise.
68789         * conform/data/net/if.h-data: Likewise.
68790         * conform/data/netdb.h-data: Likewise.
68791         * conform/data/netinet/in.h-data: Likewise.
68792         * conform/data/nl_types.h-data: Likewise.
68793         * conform/data/poll.h-data: Likewise.
68794         * conform/data/pthread.h-data: Likewise.
68795         * conform/data/pwd.h-data: Likewise.
68796         * conform/data/regex.h-data: Likewise.
68797         * conform/data/sched.h-data: Likewise.
68798         * conform/data/search.h-data: Likewise.
68799         * conform/data/semaphore.h-data: Likewise.
68800         * conform/data/setjmp.h-data: Likewise.
68801         * conform/data/signal.h-data: Likewise.
68802         * conform/data/spawn.h-data: Likewise.
68803         * conform/data/stdarg.h-data: Likewise.
68804         * conform/data/stdio.h-data: Likewise.
68805         * conform/data/stdlib.h-data: Likewise.
68806         * conform/data/string.h-data: Likewise.
68807         * conform/data/strings.h-data: Likewise.
68808         * conform/data/stropts.h-data: Likewise.
68809         * conform/data/sys/ipc.h-data: Likewise.
68810         * conform/data/sys/mman.h-data: Likewise.
68811         * conform/data/sys/msg.h-data: Likewise.
68812         * conform/data/sys/resource.h-data: Likewise.
68813         * conform/data/sys/select.h-data: Likewise.
68814         * conform/data/sys/sem.h-data: Likewise.
68815         * conform/data/sys/shm.h-data: Likewise.
68816         * conform/data/sys/socket.h-data: Likewise.
68817         * conform/data/sys/stat.h-data: Likewise.
68818         * conform/data/sys/statvfs.h-data: Likewise.
68819         * conform/data/sys/time.h-data: Likewise.
68820         * conform/data/sys/timeb.h-data: Likewise.
68821         * conform/data/sys/times.h-data: Likewise.
68822         * conform/data/sys/types.h-data: Likewise.
68823         * conform/data/sys/uio.h-data: Likewise.
68824         * conform/data/sys/un.h-data: Likewise.
68825         * conform/data/sys/utsname.h-data: Likewise.
68826         * conform/data/sys/wait.h-data: Likewise.
68827         * conform/data/syslog.h-data: Likewise.
68828         * conform/data/tar.h-data: Likewise.
68829         * conform/data/termios.h-data: Likewise.
68830         * conform/data/utime.h-data: Likewise.
68831         * conform/data/utmpx.h-data: Likewise.
68832         * conform/data/varargs.h-data: Likewise.
68833         * conform/data/wchar.h-data: Likewise.
68834         * conform/data/wctype.h-data: Likewise.
68835         * conform/data/wordexp.h-data: Likewise.
68837         * include/stropts.h: New file.
68838         * include/uchar.h: New file.
68839         * include/aio.h: Changes to allow conformtest.pl to use the headers.
68840         * include/assert.h: Likewise.
68841         * include/ctype.h: Likewise.
68842         * include/dirent.h: Likewise.
68843         * include/dlfcn.h: Likewise.
68844         * include/fcntl.h: Likewise.
68845         * include/fnmatch.h: Likewise.
68846         * include/glob.h: Likewise.
68847         * include/grp.h: Likewise.
68848         * include/libio.h: Likewise.
68849         * include/locale.h: Likewise.
68850         * include/math.h: Likewise.
68851         * include/net/if.h: Likewise.
68852         * include/netdb.h: Likewise.
68853         * include/netinet/in.h: Likewise.
68854         * include/pthread.h: Likewise.
68855         * include/pwd.h: Likewise.
68856         * include/regex.h: Likewise.
68857         * include/sched.h: Likewise.
68858         * include/search.h: Likewise.
68859         * include/setjmp.h: Likewise.
68860         * include/signal.h: Likewise.
68861         * include/stdio.h: Likewise.
68862         * include/stdlib.h: Likewise.
68863         * include/string.h: Likewise.
68864         * include/sys/cdefs.h: Likewise.
68865         * include/sys/mman.h: Likewise.
68866         * include/sys/msg.h: Likewise.
68867         * include/sys/resource.h: Likewise.
68868         * include/sys/select.h: Likewise.
68869         * include/sys/socket.h: Likewise.
68870         * include/sys/stat.h: Likewise.
68871         * include/sys/statvfs.h: Likewise.
68872         * include/sys/time.h: Likewise.
68873         * include/sys/times.h: Likewise.
68874         * include/sys/uio.h: Likewise.
68875         * include/sys/utsname.h: Likewise.
68876         * include/sys/wait.h: Likewise.
68877         * include/termios.h: Likewise.
68878         * include/time.h: Likewise.
68879         * include/ulimit.h: Likewise.
68880         * include/unistd.h: Likewise.
68881         * include/utime.h: Likewise.
68882         * include/wchar.h: Likewise.
68883         * include/wctype.h: Likewise.
68884         * include/wordexp.h: Likewise.
68886         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
68888         * time/time.h: TIME_UTC must be a macro.
68889         Make timespec_get available for ISO C11 only as well.
68891 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
68893         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
68894         Reported by Peng Haitao <penght@cn.fujitsu.com>.
68896 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68898         * configure.in: Use -o not -a in test for unsupported multi-arch.
68900 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68902         * manual/texinfo.tex: Update to version 2012-01-19.16.
68904 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68906         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
68908 2012-02-24  Roland McGrath  <roland@hack.frob.com>
68910         [BZ #13738]
68911         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
68912         * manual/fdl-1.3.texi: New file.
68913         * manual/fdl-1.1.texi: File removed.
68915         [BZ #13738]
68916         * manual/libc.texinfo (FDL_VERSION): New @set.
68917         Use it for mention of FDL in cover text.
68918         (Documentation License): Use it in @include file name.
68920 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68921             Roland McGrath  <roland@hack.frob.com>
68923         [BZ #5461]
68924         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
68925         (not LONG_LONG_MAX and LONG_LONG_MIN.
68926         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
68927         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
68928         name.
68929         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
68931 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68933         [BZ #2547]
68934         [BZ #11365]
68935         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
68936         manipulate bits before adding and subtracting TWO23[sx].
68937         * math/libm-test.inc (nearbyint_test): Add more tests.
68939 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68941         [BZ #2548]
68942         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
68943         bits before adding and subtracting TWO23[sx].
68944         * math/libm-test.inc (rint_test): Add more tests.
68945         (rint_test_tonearest): Likewise.
68946         (rint_test_towardzero): Likewise.
68947         (rint_test_downward): Likewise.
68948         (rint_test_upward: Likewise.
68950 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68952         [BZ #10110]
68953         * include/stdc-predef.h: New file.  Extracted from features.h.
68954         * include/features.h: Include stdc-predef.h.
68955         * Makefile (headers): Add stdc-predef.h.
68956         * CONFORMANCE (Compiler limitations): Update.
68958 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68960         * manual/libc.texinfo (VERSION, UPDATED): Revert.
68962 2012-02-21  David S. Miller  <davem@davemloft.net>
68964         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
68965         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
68967 2012-02-20  David S. Miller  <davem@davemloft.net>
68969         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
68970         using a normal save/restore sequence, rather than allocating a
68971         dummy stack frame just to store a frame pointer and restore.
68972         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68974 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68976         * manual/install.texi: Fix stray word in line-wrapped comment.
68978 2012-02-20  David S. Miller  <davem@davemloft.net>
68980         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
68981         both binutils and gcc support GOTDATA.
68983         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
68984         "rd %pc" in the PIC register setup sequences.
68986         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
68987         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
68988         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68989         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
68990         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68991         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
68992         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68993         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68994         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
68995         (SYSCALL_ERROR_HANDLER): Likewise.
68996         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68997         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68998         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
68999         (SYSCALL_ERROR_HANDLER): Likewise.
69001         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
69002         (HAVE_GCC_GOTDATA): New.
69003         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
69004         relocation support in both binutils and gcc.
69005         * sysdeps/sparc/elf/configure: Regenerate.
69007         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
69008         * sysdeps/sparc/sparc32/elf/configure: Delete.
69009         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
69010         * sysdeps/sparc/sparc64/elf/configure: Delete.
69011         * sysdeps/sparc/elf/configure.in: New file.
69012         * sysdeps/sparc/elf/configure: Generate.
69014         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
69015         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
69016         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
69017         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
69018         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
69020 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69022         * manual/install.texi: Do not mention specific glibc version
69023         numbers.
69024         * manual/libc.texinfo (VERSION, UPDATED): Update.
69025         (@copying): Use @copyright{} and range of years.
69027 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69029         [BZ #13695]
69030         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
69031         [crti.S not in sysdirs] (generated): Do not append.
69032         [crti.S not in sysdirs] (omit-deps): Likewise.
69033         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
69034         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
69035         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
69036         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
69037         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
69038         Likewise.
69039         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
69040         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
69041         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
69042         * csu/defs.awk: Remove file.
69043         * sysdeps/generic/initfini.c: Likewise.
69044         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
69045         variable.
69046         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
69047         Likewise.
69049 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69051         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
69052         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
69053         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
69054         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
69055         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69056         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
69057         <bits/epoll.h>.
69058         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
69059         (__EPOLL_PACKED): Define to empty if not defined by
69060         <bits/epoll.h>.
69061         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
69062         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69063         bits/epoll.h.
69065 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69067         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
69068         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
69069         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
69070         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
69071         <bits/timerfd.h>.
69072         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
69073         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69074         bits/timerfd.h.
69076 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69078         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
69079         in C locale.
69080         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69081         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
69082         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
69083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69085 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
69087         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69088         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69090 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
69092         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
69093         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
69094         defined.
69095         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
69096         Likewise.
69097         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
69098         entry for 2.16.
69100 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
69102         * math/w_acos.c: Use non-signaling floating-point comparisons.
69103         * math/w_acosf.c: Likewise.
69104         * math/w_acosh.c: Likewise.
69105         * math/w_acoshf.c: Likewise.
69106         * math/w_acoshl.c: Likewise.
69107         * math/w_acosl.c: Likewise.
69108         * math/w_asin.c: Likewise.
69109         * math/w_asinf.c: Likewise.
69110         * math/w_asinl.c: Likewise.
69111         * math/w_atanh.c: Likewise.
69112         * math/w_atanhf.c: Likewise.
69113         * math/w_atanhl.c: Likewise.
69114         * math/w_exp2.c: Likewise.
69115         * math/w_exp2f.c: Likewise.
69116         * math/w_exp2l.c: Likewise.
69117         * math/w_j0.c: Likewise.
69118         * math/w_j0f.c: Likewise.
69119         * math/w_j0l.c: Likewise.
69120         * math/w_j1.c: Likewise.
69121         * math/w_j1f.c: Likewise.
69122         * math/w_j1l.c: Likewise.
69123         * math/w_jn.c: Likewise.
69124         * math/w_jnf.c: Likewise.
69125         * math/w_log.c: Likewise.
69126         * math/w_log10.c: Likewise.
69127         * math/w_log10f.c: Likewise.
69128         * math/w_log10l.c: Likewise.
69129         * math/w_log2.c: Likewise.
69130         * math/w_log2f.c: Likewise.
69131         * math/w_log2l.c: Likewise.
69132         * math/w_logf.c: Likewise.
69133         * math/w_logl.c: Likewise.
69134         * math/w_sqrt.c: Likewise.
69135         * math/w_sqrtf.c: Likewise.
69136         * math/w_sqrtl.c: Likewise.
69137         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69138         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
69139         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69140         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
69141         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
69143 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69145         [BZ #9739]
69146         * manual/string.texi (strnlen): Use correct parameter name in
69147         equivalent expression.
69149 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69151         [BZ #11174]
69152         * manual/users.texi (seteuid): Consistently use neweuid for
69153         argument name.
69155 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69157         [BZ #13704]
69158         * manual/nss.texi (Services in the NSS configuration): Correct
69159         list of services in example configuration file.
69161 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
69163         [BZ #11322]
69164         * manual/arith.texi: Remove statements about negative zero
69165         behaving identically to zero.
69167 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
69169         [BZ #5993]
69170         * manual/install.texi: Do not document upgrading from libc5.
69172 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
69174         [BZ #4596]
69175         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
69177 2012-02-18  David S. Miller  <davem@davemloft.net>
69179         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
69180         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
69181         %o7 across the call.
69182         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
69183         instead.
69184         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
69185         SETUP_PIC_REG_LEAF.
69186         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69187         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
69188         * sysdeps/sparc/crtn.S: Likewise.
69190 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
69192         * aout/Makefile: Remove.
69194 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
69196         [BZ #13058]
69197         * manual/examples/argp-ex1.c (main): Format definition in GNU
69198         style.
69199         * manual/examples/argp-ex2.c (main): Likewise.
69200         * manual/examples/argp-ex3.c (main): Likewise.
69201         * manual/examples/argp-ex4.c (main): Likewise.
69202         * manual/examples/longopt.c (main): Use new-style prototype
69203         definition.
69204         * manual/examples/strncat.c (main): Specify return type and use
69205         (void) for arguments.
69206         * manual/examples/subopt.c (main): Use char **argv argument.
69208 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69210         [BZ #5077]
69211         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
69212         rounding modes.
69214 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
69216         [BZ #6907]
69217         * manual/string.texi (strchr): Change when strchrnul is
69218         recommended.
69220 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
69222         [BZ #174]
69223         * manual/locale.texi (setlocale): Document LOCPATH.
69225 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69227         [BZ #10210]
69228         * manual/process.texi (execle): Move @dots{} before last argument.
69230 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
69232         [BZ #12047]
69233         * manual/charset.texi (Generic Charset Conversion): Fix typo
69234         (LC_TYPE -> LC_CTYPE).
69236 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
69238         [BZ #5805]
69239         * manual/arith.texi (scalbn): Use @var{} on parameter names.
69240         (scalbnf): Likewise.
69241         (scalbnl): Likewise.
69242         (scalbln): Likewise.
69243         (scalblnf): Likewise.
69244         (scalblnl): Likewise.
69245         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
69246         (vwarnx): Likewise.
69247         (verr): Likewise.
69248         (verrx): Likewise.
69249         * manual/filesys.texi (telldir): Use braces around return type.
69250         * manual/llio.texi (mmap): Add space after comma.
69251         (mmap64): Likewise.
69252         * manual/math.texi (jn): Use @var{} on parameter names.
69253         (jnf): Likewise.
69254         (jnl): Likewise.
69255         (yn): Likewise.
69256         (ynf): Likewise.
69257         (ynl): Likewise.
69258         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
69259         line.
69260         * manual/resource.texi (ulimit): Use @dots{} instead of literal
69261         "...".
69262         (sched_get_priority_min): Remove semicolon on @deftypefun line.
69263         (sched_get_priority_max): Likewise.
69264         * manual/signal.texi (sigvec): Add space after comma.
69265         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
69266         names.
69267         (if_indextoname): Likewise.
69268         (if_freenameindex): Likewise.
69269         (sendto): Use ',' instead of '.' in prototype.
69270         * manual/startup.texi (syscall): Use @dots{} instead of literal
69271         "...".
69272         * manual/stdio.texi (__fpending): Separate initial words of
69273         paragraph from @deftypefun line.
69274         * manual/syslog.texi (syslog): Use @dots{} instead of literal
69275         "...".
69276         (vsyslog): Use @var{} on parameter names.
69277         * manual/terminal.texi (stty): Use @var{} on parameter names.
69278         * manual/users.texi (getutmp): Use @var{} on parameter names.
69279         (getutmpx): Likewise.
69281 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69283         [BZ #6884]
69284         * manual/stdio.texi (fopen): Fix typos in description of
69285         ",ccs=STRING".
69287 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
69289         [BZ #4026]
69290         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
69291         get clock_id definition.
69293 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
69295         [BZ #4822]
69296         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
69297         (madvise): Cast every argument to void on its own.
69299 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69301         [BZ #9902]
69302         * manual/startup.texi (Exit Status): Fix typo.
69304 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69306         [BZ #10140]
69307         * manual/examples/argp-ex1.c: Include <stdlib.h>.
69308         * manual/examples/argp-ex2.c: Likewise.
69309         * manual/examples/argp-ex3.c: Likewise.
69311 2012-02-16  Richard Henderson  <rth@redhat.com>
69313         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
69314         * sysdeps/s390/s390-32/initfini.c: Remove.
69315         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
69316         * sysdeps/s390/s390-64/initfini.c: Remove.
69318 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69320         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
69321         compiler output for sysdeps/generic/initfini.c.
69322         * sysdeps/sh/elf/initfini.c: Remove file.
69324 2012-02-16  David S. Miller  <davem@davemloft.net>
69326         [BZ #11494]
69327         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
69329         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
69330         * sysdeps/sparc/crti.S: New file.
69331         * sysdeps/sparc/crtn.S: New file.
69332         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
69333         * sysdeps/sparc/sparc64/Makefile: Likewise.
69335 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
69337         [BZ #3335]
69338         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
69340 2012-02-15  Roland McGrath  <roland@hack.frob.com>
69342         [BZ #4822]
69343         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
69345         * mach/devstream.c (cookie_io_functions_t): Macro removed.
69346         (write, read, close): Likewise.
69347         Patch by Aurelien Jarno <aurelien@aurel32.net>.
69349 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
69351         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
69352         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
69353         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
69354         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
69355         <bits/signalfd.h>.
69356         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
69357         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69358         bits/signalfd.h.
69360 2012-02-14  Marek Polacek  <polacek@redhat.com>
69362         * sysdeps/x86_64/crti.S: New file.
69363         * sysdeps/x86_64/crtn.S: New file.
69364         * sysdeps/x86_64/elf/initfini.c: Remove file.
69366 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
69368         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
69369         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
69370         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
69371         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
69372         <bits/inotify.h>.
69373         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
69374         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69375         bits/inotify.h.
69377 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
69379         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
69380         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
69381         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
69382         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
69383         <bits/eventfd.h>.
69384         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
69385         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69386         bits/eventfd.h.
69388 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
69390         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
69391         __feraiseexcept instead of feraiseexcept.
69393         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
69394         nanosleep invocations.
69395         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
69396         strings, and add error checking for a nanosleep invocations.
69398 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
69400         Replace FSF snail mail address with URLs, as per GNU coding standards.
69401         Most of the snail mail addresses were wrong anyway, and omitting
69402         them makes the source code easier to maintain.  Almost all of the
69403         changes are to license notices and to locale LC_IDENTIFICATION
69404         addresses, except for this one:
69405         * manual/libc.texinfo: In "Published by", give the FSF's URL,
69406         not its snail mail address.
69408 2012-02-09  Richard Henderson  <rth@twiddle.net>
69410         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
69411         of kernel-features.h.
69413         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
69415 2012-02-08  Marek Polacek  <polacek@redhat.com>
69417         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
69418         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
69419         * sysdeps/gnu/_G_config.h: Likewise.
69420         * sysdeps/generic/_G_config.h: Likewise.
69422 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
69424         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
69425         tests.
69426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69428         * sysdeps/powerpc/powerpc32/crti.S: New file.
69429         * sysdeps/powerpc/powerpc32/crtn.S: New file.
69430         * sysdeps/powerpc/powerpc64/crti.S: New file.
69431         * sysdeps/powerpc/powerpc64/crtn.S: New file.
69433         * Makeconfig (have-initfini): Don't set.
69434         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
69435         * configure.in (nopic_initfini): Don't substitute.
69436         * config.h.in (HAVE_INITFINI): Don't #undef.
69437         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
69438         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
69440 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
69442         Support crti.S and crtn.S provided directly by architectures.
69443         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
69444         [crti.S in sysdirs] (omit-deps): Likewise.
69445         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
69446         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
69447         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
69448         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
69449         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
69450         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
69451         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
69452         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
69453         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
69454         compiler output for sysdeps/generic/initfini.c.
69455         * sysdeps/i386/elf/Makefile: Remove file.
69456         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
69458 2012-02-07  Marek Polacek  <polacek@redhat.com>
69460         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
69461         * sysdeps/gnu/_G_config.h: Likewise.
69462         * sysdeps/mach/hurd/_G_config.h: Likewise.
69464 2012-02-07  Marek Polacek  <polacek@redhat.com>
69466         * math/Makefile (tests): Add tst-CMPLX2.
69467         * math/tst-CMPLX2.c: New file.
69469 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
69471         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69473         * math/libm-test.inc (jn_test): Add missing L suffix.
69475 2012-02-06  Marek Polacek  <polacek@redhat.com>
69477         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
69478         * sysdeps/i386/fpu/e_powf.S: Likewise.
69479         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69480         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69481         * sysdeps/i386/fpu/e_acosh.S: Likewise.
69482         * sysdeps/i386/fpu/e_pow.S: Likewise.
69483         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
69484         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69485         * sysdeps/i386/fpu/s_expm1.S: Likewise.
69486         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
69487         * sysdeps/i386/fpu/e_log2.S: Likewise.
69488         * sysdeps/i386/fpu/e_log2l.S: Likewise.
69489         * sysdeps/i386/fpu/e_scalb.S: Likewise.
69490         * sysdeps/i386/fpu/e_powl.S: Likewise.
69491         * sysdeps/i386/fpu/s_log1p.S: Likewise.
69492         * sysdeps/i386/fpu/e_log10f.S: Likewise.
69493         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
69494         * sysdeps/i386/fpu/e_logl.S: Likewise.
69495         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
69496         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
69497         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
69498         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
69499         * sysdeps/i386/fpu/e_log2f.S: Likewise.
69500         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69501         * sysdeps/i386/fpu/e_log.S: Likewise.
69502         * sysdeps/i386/fpu/s_cexp.S: Likewise.
69503         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69504         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
69505         * sysdeps/i386/fpu/e_logf.S: Likewise.
69506         * sysdeps/i386/fpu/e_log10l.S: Likewise.
69507         * sysdeps/i386/fpu/e_atanh.S: Likewise.
69508         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
69509         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
69510         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69511         * sysdeps/i386/fpu/e_log10.S: Likewise.
69512         * sysdeps/i386/fpu/s_frexp.S: Likewise.
69513         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69514         * sysdeps/i386/fpu/s_asinh.S: Likewise.
69515         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
69516         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69517         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
69518         * sysdeps/i386/asm-syntax.h: Likewise.
69519         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69520         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69521         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
69522         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
69523         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
69524         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
69525         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
69526         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
69527         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
69528         * sysdeps/powerpc/sysdep.h: Likewise.
69529         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
69530         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69532 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
69534         [BZ #411]
69535         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
69537 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
69539         * sysdeps/i386/sysdep.h: Include <features.h>.
69540         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
69541         version.
69543 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
69545         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
69546         Define.
69547         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
69548         LOAD_PIC_REG_STR.
69550 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69552         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
69553         (SETUP_PIC_REG): Use GET_PC_THUNK.
69554         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
69555         macro.
69557 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69559         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
69560         for non-PIC compilation.
69561         (SETUP_PIC_REG): Add .p2align directive.
69562         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
69563         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
69564         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
69565         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
69566         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
69567         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
69568         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
69569         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
69570         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
69571         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
69572         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
69573         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
69574         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
69575         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
69576         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
69577         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
69578         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
69579         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
69580         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
69581         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
69582         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
69583         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
69584         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
69585         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
69586         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
69587         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
69588         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69589         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
69590         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
69591         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
69592         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
69593         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69594         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
69595         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
69596         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
69597         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
69598         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
69599         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
69600         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
69601         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
69602         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
69604 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69606         * math/tst-CMPLX.c: Include <stdio.h>.
69608 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
69610         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
69611         float.
69612         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69613         * sysdeps/sparc/bits/mathdef.h: Likewise.
69615 2012-01-31  Marek Polacek  <polacek@redhat.com>
69617         * libio/libio.h: Don't define _PARAMS.
69618         * locale/programs/config.h: Don't define PARAMS.
69619         * stdlib/strtol_l.c: Likewise.
69620         (__strtol_l): Remove PARAMS from the prototype.
69622 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
69624         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
69625         names.  Just use the correct names.  Remove unnecessary wrapper
69626         functions.
69627         * malloc/arena.c: Likewise.
69628         * malloc/hooks.c: Likewise.
69630         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
69631         ARENA_TEST says not to.  Simplify test for creation of a new arena.
69632         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
69634 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
69636         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
69637         into tail calls.
69638         (update_get_addr): New function.
69639         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
69640         GET_ADDR_MODULE parameter.
69642 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
69644         * crypt/cert.c: Remove __STDC__ conditionals.
69645         * crypt/crypt-entry.c: Likewise.
69646         * crypt/crypt_util.c: Likewise.
69647         * libio/filedoalloc.c: Likewise.
69648         * libio/fileops.c: Likewise.
69649         * libio/genops.c: Likewise.
69650         * libio/iofclose.c: Likewise.
69651         * libio/iofdopen.c: Likewise.
69652         * libio/iofopen.c: Likewise.
69653         * libio/iofopen64.c: Likewise.
69654         * libio/iogetdelim.c: Likewise.
69655         * libio/iopopen.c: Likewise.
69656         * libio/obprintf.c: Likewise.
69657         * libio/oldfileops.c: Likewise.
69658         * libio/oldiofclose.c: Likewise.
69659         * libio/oldiofdopen.c: Likewise.
69660         * libio/oldiofopen.c: Likewise.
69661         * libio/oldiopopen.c: Likewise.
69662         * libio/wfiledoalloc.c: Likewise.
69663         * libio/wgenops.c: Likewise.
69664         * locale/programs/xmalloc.c: Likewise.
69665         * misc/syslog.c: Likewise.
69666         * stdio-common/xbug.c: Likewise.
69667         * string/memchr.c: Likewise.
69668         * string/memcmp.c: Likewise.
69669         * string/memrchr.c: Likewise.
69670         * string/rawmemchr.c: Likewise.
69671         * sysdeps/posix/getcwd.c: Likewise.
69672         * time/strftime_l.c: Likewise.
69674 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
69676         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
69677         * config.make.in (config-cflags-sse2avx): Define.
69678         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
69679         Fix typo.
69681 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
69683         * scripts/config.guess: Update from upstream config git repository.
69684         * scripts/config.sub: Likewise.
69686 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
69688         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
69689         (EM_NUM): Update.
69690         (R_TILEPRO_*, R_TILEGX_*): New macros.
69692         * scripts/firstversions.awk: Fix bug in version range handling.
69694         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
69696         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
69698         * include/sys/epoll.h: New file.
69699         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
69700         libc_hidden_def.
69702 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
69704         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
69705         Avoid unnecessary __WORDSIZE == 64 test.
69706         (fmaxf): Use VEX format if possible.
69707         (fmax): Likewise.
69708         (fminf): Likewise.
69709         (fmin): Likewise.
69711         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
69712         * math/math_private.h: Remove libc_fegetround* and
69713         libc_fesetround*.
69714         * sysdeps/i386/configure.in: Check for -msse2avx.
69715         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
69716         also if SSE2AVX is defined.
69717         Remove libc_fegetround* and libc_fesetround*.
69718         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
69719         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
69720         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
69721         of HAS_YMM_USABLE.
69722         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69723         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69724         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69725         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69726         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69728         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
69730 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69732         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
69733         size is not set.
69734         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
69736 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
69738         [BZ #13618]
69739         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
69740         relocation.
69741         * Makeconfig (libm): Define.
69742         * elf/Makefile: Add rules to build and run tst-relsort1.
69743         * elf/tst-relsort1.c: New file.
69744         * elf/tst-relsort1mod1.c: New file.
69745         * elf/tst-relsort1mod2.c: New file.
69747 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
69749         * math/s_ldexp.c: Remove __STDC__ conditionals.
69750         * math/s_ldexpf.c: Likewise.
69751         * math/s_ldexpl.c: Likewise.
69752         * math/s_nextafter.c: Likewise.
69753         * math/s_nexttowardf.c: Likewise.
69754         * math/s_significand.c: Likewise.
69755         * math/s_significandf.c: Likewise.
69756         * math/s_significandl.c: Likewise.
69757         * math/w_jnl.c: Likewise.
69758         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
69759         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
69760         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
69761         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
69762         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
69763         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
69764         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
69765         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
69766         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
69767         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
69768         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
69769         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69770         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
69771         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
69772         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
69773         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
69774         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
69775         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
69776         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
69777         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69778         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69779         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
69780         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
69781         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
69782         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
69783         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
69784         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
69785         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
69786         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
69787         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
69788         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
69789         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
69790         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
69791         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
69792         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
69793         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
69794         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
69795         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
69796         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
69797         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
69798         * sysdeps/ieee754/k_standard.c: Likewise.
69799         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69800         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
69801         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
69802         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
69803         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
69804         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
69805         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
69806         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
69807         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
69808         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
69809         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
69810         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
69811         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
69812         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
69813         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
69814         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
69815         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
69816         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
69817         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
69818         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
69819         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
69820         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
69821         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
69822         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
69823         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
69824         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
69825         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69826         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69827         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69828         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
69829         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
69830         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
69831         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
69832         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
69833         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
69834         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
69835         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
69836         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
69837         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
69838         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
69839         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
69840         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
69841         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
69842         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
69843         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
69844         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
69845         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
69846         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
69847         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
69848         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
69849         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
69850         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
69851         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
69852         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
69853         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
69854         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
69855         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
69856         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69857         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69858         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69859         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
69860         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
69861         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
69862         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
69863         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
69864         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
69865         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
69866         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
69867         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
69868         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
69869         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
69870         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
69871         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
69872         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
69873         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
69874         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
69875         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
69876         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
69877         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
69878         * sysdeps/ieee754/s_matherr.c: Likewise.
69879         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
69880         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
69881         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
69882         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
69884 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
69886         * crypt/md5.h: Remove __STDC__ conditionals.
69887         * libio/libioP.h: Likewise.
69888         * locale/programs/config.h: Likewise.
69889         * sysdeps/generic/sysdep.h: Likewise.
69890         * sysdeps/i386/asm-syntax.h: Likewise.
69891         * sysdeps/s390/asm-syntax.h: Likewise.
69892         * sysdeps/unix/sysdep.h: Likewise.
69893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
69894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
69896 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
69898         * libio/libio.h: Remove __STDC__ conditionals.
69899         * malloc/obstack.h: Likewise.
69900         * math/complex.h: Likewise.
69901         * math/math.h: Likewise.
69902         * sysdeps/generic/_G_config.h: Likewise.
69903         * sysdeps/gnu/_G_config.h: Likewise.
69904         * sysdeps/mach/hurd/_G_config.h: Likewise.
69905         * sysdeps/powerpc/bits/mathdef.h: Likewise.
69906         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69907         * sysdeps/sparc/bits/mathdef.h: Likewise.
69909 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
69911         [BZ #13583]
69912         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
69913         Clean up HAS_* macros.
69914         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
69915         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
69916         possible.
69917         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
69918         HAS_AVX.
69919         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69920         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69921         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69922         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69923         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69925 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
69927         * elf/tst-unique3.cc (gets): Remove declaration.
69928         * elf/tst-unique3lib.cc (gets): Likewise.
69929         * elf/tst-unique3lib2.cc (gets): Likewise.
69930         * elf/tst-unique4.cc (gets): Likewise.
69932 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
69934         * include/stdio.h: Add C++ protection.  Add gets declarations and
69935         definitions.
69936         * debug/tst-chk1.c: Don't declare gets here.
69937         * stdio-common/tst-gets.c: Likewise.
69939 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
69941         * posix/glob: Remove directory.
69943 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
69945         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
69947 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
69949         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
69950         of the non-standard EPFNOSUPPORT.
69952 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69954         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
69955         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
69956         ANYWHERE set to 1 only on KERN_NO_SPACE error.
69958 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
69960         * wcsmbs/uchar.h: Test __STDC_VERSION__.
69962 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
69964         * nscd/aicache.c (addhstaiX): Do not cache negative results of
69965         transient errors.
69966         * nscd/grpcache.c (cache_addgr): Likewise.
69967         * nscd/hstcache.c (cache_addhst): Likewise.
69968         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69969         * nscd/pwdcache.c (cache_addpw): Likewise.
69970         * nscd/servicescache.c (cache_addserv): Likewise.
69972 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
69974         * malloc/malloc.c: Various cleanups.
69975         * malloc/hooks.c: Likewise.
69977         * stdlib/Makefile (tests): Add bug-fmtmsg1.
69978         * stdlib/bug-fmtmsg1.c: New file.
69980         * stdlib/fmtmsg.c (init): Add missing unlock.
69981         Patch by Peng Haitao <penght@cn.fujitsu.com>.
69983 2012-01-12  Marek Polacek  <polacek@redhat.com>
69985         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
69986         and _GNU_SOURCE.
69988 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
69990         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
69991         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
69992         macro to ensure uniqueness of label name.
69993         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
69994         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
69996 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
69998         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
70000         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
70001         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70002         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70003         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
70005 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
70007         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
70009         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
70010         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70011         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70013         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
70015         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
70016         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70017         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70018         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
70020         * math/bits/math-finite.h: Add ldexp support.
70022 2012-01-10  Marek Polacek  <polacek@redhat.com>
70024         * locale/programs/localedef.h (show_archive_content): Add noreturn
70025         attribute.
70027 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
70029         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
70031 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70033         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
70035         * io/Makefile (headers): Add bits/poll2.h.
70037 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
70039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
70040         typo #include statement.
70042 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70044         * include/sys/cdefs.h: Define __attribute_alloc_size.
70045         * catgets/gencat.c: Add alloc_size attribute and apply consistently
70046         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
70047         * elf/pldd.c: Likewise.
70048         * iconv/iconv_charmap.c: Likewise.
70049         * iconv/iconvconfig.c: Likewise.
70050         * iconv/strtab.c: Likewise.
70051         * locale/programs/locale.c: Likewise.
70052         * locale/programs/localedef.h: Likewise.
70053         * locale/programs/simple-hash.c: Likewise.
70054         * nscd/nscd.h: Likewise.
70055         * nss/makedb.c: Likewise.
70056         * sysdeps/generic/ldconfig.h: Likewise.
70057         * locale/programs/localedef.c: Remove xmalloc prototype.
70058         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
70060 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
70062         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
70063         appropriate.
70065 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70067         * math/Makefile (tests): Add tst-CMPLX.
70068         * math/tst-CMPLX.c: New file.
70070         * math/complex.h (CMPLXL): Fix typo.
70072         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
70073         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
70074         GLIBC_2.16.
70075         * debug/tst-chk1.c: Add poll and ppoll tests.
70076         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
70077         * include/sys/poll.h: Add hidden proto for ppoll.
70078         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
70079         * sysdeps/mach/hurd/ppoll.c: Likewise.
70080         * io/ppoll.c: Likewise.
70081         * debug/poll_chk.c: New file.
70082         * debug/ppoll_chk.c: New file.
70083         * include/bits/poll2.h: New file.
70084         * io/bits/poll2.h: New file.
70086         [BZ #1350]
70087         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
70089         * configure.in: static is always set to yes.  Remove.
70090         * config.make.in: Don't set build-static.
70091         * Makeconfig: Remove use of build-static.
70092         * dlfcn/Makefile: Likewise.
70093         * elf/Makefile: Likewise.
70094         * math/Makefile: Likewise.
70095         * misc/Makefile: Likewise.
70096         * nptl/Makefile: Likewise.
70097         * sysdeps/mach/hurd/Makefile: Likewise.
70099         * configure.in: PWD_P is not used anymore.
70100         * config.make.in: Remove PWD_P entry.
70102         * configure.in: Remove last remnants of RANLIB.
70103         No need to check for signed size_t anymore.
70104         Don't set libc_commonpagesize and libc_relro_required here for Alpha
70105         and IA-64.
70106         Remove __builtin_expect test because we require at least gcc 3.4.
70107         * aclocal.m4: Likewise.
70109         * wcsmbs/mbrtoc16.c: Implement using towc function.
70110         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
70111         * wcsmbs/wcsmbsload.c: Likewise.
70112         * iconv/gconv_simple.c: Likewise.
70113         * iconv/gconv_int.h: Likewise.
70114         * iconv/gconv_builtin.h: Likewise.
70115         * iconv/iconv_prog.c: Remove CHAR16 handling.
70117         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
70119         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
70121         * configure.in: Remove --with-elf and --enable-bounded options.
70122         Dont set base_machine for ia64.  More non-ELF conditions removed.
70123         Remove testing and setting of leading underscore information.
70124         * config.make.in (build-bounded): Set to no.
70125         * config.h.in: Remove NO_UNDERSCORES entry.
70126         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
70127         them.
70128         * csu/start.c: Remove !NO_UNDERSCORE code.
70129         * locale/localeinfo.h: Likewise.
70130         * sysdeps/generic/machine-gmon.h: Likewise.
70131         * sysdeps/generic/sysdep.h: Likewise.
70132         * sysdeps/i386/sysdep.h: Likewise.
70133         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70134         * sysdeps/mach/sysdep.h: Likewise.
70135         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70136         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70137         * sysdeps/sh/sysdep.h: Likewise.
70138         * sysdeps/sparc/sparc32/alloca.S: Likewise.
70139         * sysdeps/unix/i386/sysdep.S: Likewise.
70140         * sysdeps/unix/sparc/start.c: Likewise.
70141         * sysdeps/unix/sparc/sysdep.S: Likewise.
70142         * sysdeps/unix/sparc/sysdep.h: Likewise.
70143         * sysdeps/unix/start.c: Likewise.
70144         * sysdeps/unix/x86_64/sysdep.S: Likewise.
70145         * sysdeps/x86_64/sysdep.h: Likewise.
70147 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
70149         [BZ #13553]
70150         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
70151         for non-gcc.
70152         * argp/argp-fmtstream.h: Use const instead __const.
70153         * argp/argp.h: Likewise.
70154         * assert/assert.h: Likewise.
70155         * bits/fenv.h: Likewise.
70156         * bits/sched.h: Likewise.
70157         * bits/sigset.h: Likewise.
70158         * bits/sigthread.h: Likewise.
70159         * catgets/nl_types.h: Likewise.
70160         * conform/data/pthread.h-data: Likewise.
70161         * crypt/crypt-private.h: Likewise.
70162         * crypt/crypt.h: Likewise.
70163         * crypt/crypt_util.c: Likewise.
70164         * ctype/ctype.h: Likewise.
70165         * debug/execinfo.h: Likewise.
70166         * debug/mbsnrtowcs_chk.c: Likewise.
70167         * debug/mbsrtowcs_chk.c: Likewise.
70168         * debug/wcsnrtombs_chk.c: Likewise.
70169         * debug/wcsrtombs_chk.c: Likewise.
70170         * debug/wcstombs_chk.c: Likewise.
70171         * dirent/dirent.h: Likewise.
70172         * dlfcn/dlfcn.h: Likewise.
70173         * elf/neededtest4.c: Likewise.
70174         * grp/grp.h: Likewise.
70175         * gshadow/gshadow.h: Likewise.
70176         * iconv/gconv.h: Likewise.
70177         * iconv/gconv_int.h: Likewise.
70178         * iconv/gconv_simple.c: Likewise.
70179         * iconv/iconv.h: Likewise.
70180         * iconv/loop.c: Likewise.
70181         * iconv/skeleton.c: Likewise.
70182         * include/aio.h: Likewise.
70183         * include/aliases.h: Likewise.
70184         * include/argz.h: Likewise.
70185         * include/arpa/inet.h: Likewise.
70186         * include/assert.h: Likewise.
70187         * include/dirent.h: Likewise.
70188         * include/dlfcn.h: Likewise.
70189         * include/execinfo.h: Likewise.
70190         * include/fcntl.h: Likewise.
70191         * include/fenv.h: Likewise.
70192         * include/glob.h: Likewise.
70193         * include/grp.h: Likewise.
70194         * include/libintl.h: Likewise.
70195         * include/mntent.h: Likewise.
70196         * include/netdb.h: Likewise.
70197         * include/pwd.h: Likewise.
70198         * include/rpc/netdb.h: Likewise.
70199         * include/sched.h: Likewise.
70200         * include/search.h: Likewise.
70201         * include/shadow.h: Likewise.
70202         * include/signal.h: Likewise.
70203         * include/stdio.h: Likewise.
70204         * include/stdlib.h: Likewise.
70205         * include/string.h: Likewise.
70206         * include/sys/socket.h: Likewise.
70207         * include/sys/stat.h: Likewise.
70208         * include/sys/statfs.h: Likewise.
70209         * include/sys/statvfs.h: Likewise.
70210         * include/sys/syslog.h: Likewise.
70211         * include/sys/time.h: Likewise.
70212         * include/sys/uio.h: Likewise.
70213         * include/time.h: Likewise.
70214         * include/unistd.h: Likewise.
70215         * include/utmp.h: Likewise.
70216         * include/wchar.h: Likewise.
70217         * include/wctype.h: Likewise.
70218         * inet/aliases.h: Likewise.
70219         * inet/arpa/inet.h: Likewise.
70220         * inet/netinet/ether.h: Likewise.
70221         * inet/netinet/in.h: Likewise.
70222         * intl/libintl.h: Likewise.
70223         * io/bits/fcntl2.h: Likewise.
70224         * io/fcntl.h: Likewise.
70225         * io/ftw.h: Likewise.
70226         * io/sys/poll.h: Likewise.
70227         * io/sys/stat.h: Likewise.
70228         * io/sys/statfs.h: Likewise.
70229         * io/sys/statvfs.h: Likewise.
70230         * io/utime.h: Likewise.
70231         * libio/bits/stdio.h: Likewise.
70232         * libio/bits/stdio2.h: Likewise.
70233         * libio/libio.h: Likewise.
70234         * libio/libioP.h: Likewise.
70235         * libio/stdio.h: Likewise.
70236         * locale/lc-ctype.c: Likewise.
70237         * locale/locale.h: Likewise.
70238         * login/utmp.h: Likewise.
70239         * malloc/arena.c: Likewise.
70240         * malloc/malloc.c: Likewise.
70241         * malloc/malloc.h: Likewise.
70242         * malloc/mcheck.c: Likewise.
70243         * malloc/mtrace.c: Likewise.
70244         * math/bits/mathcalls.h: Likewise.
70245         * math/fenv.h: Likewise.
70246         * math/math_private.h: Likewise.
70247         * misc/bits/error.h: Likewise.
70248         * misc/bits/syslog.h: Likewise.
70249         * misc/err.h: Likewise.
70250         * misc/error.h: Likewise.
70251         * misc/fstab.h: Likewise.
70252         * misc/mntent.h: Likewise.
70253         * misc/regexp.h: Likewise.
70254         * misc/search.h: Likewise.
70255         * misc/sgtty.h: Likewise.
70256         * misc/sys/mman.h: Likewise.
70257         * misc/sys/syslog.h: Likewise.
70258         * misc/sys/uio.h: Likewise.
70259         * misc/sys/xattr.h: Likewise.
70260         * misc/ttyent.h: Likewise.
70261         * nis/rpcsvc/ypclnt.h: Likewise.
70262         * nss/nss.h: Likewise.
70263         * posix/bits/unistd.h: Likewise.
70264         * posix/fnmatch.h: Likewise.
70265         * posix/glob.h: Likewise.
70266         * posix/sched.h: Likewise.
70267         * posix/spawn.h: Likewise.
70268         * posix/sys/wait.h: Likewise.
70269         * posix/unistd.h: Likewise.
70270         * posix/wordexp.h: Likewise.
70271         * pwd/pwd.h: Likewise.
70272         * resolv/netdb.h: Likewise.
70273         * resource/sys/resource.h: Likewise.
70274         * rt/aio.h: Likewise.
70275         * rt/bits/mqueue2.h: Likewise.
70276         * rt/mqueue.h: Likewise.
70277         * shadow/shadow.h: Likewise.
70278         * signal/signal.h: Likewise.
70279         * socket/send.c: Likewise.
70280         * socket/sendto.c: Likewise.
70281         * socket/sys/socket.h: Likewise.
70282         * stdio-common/printf.h: Likewise.
70283         * stdlib/bits/stdlib.h: Likewise.
70284         * stdlib/fmtmsg.h: Likewise.
70285         * stdlib/monetary.h: Likewise.
70286         * stdlib/stdlib.h: Likewise.
70287         * stdlib/ucontext.h: Likewise.
70288         * streams/stropts.h: Likewise.
70289         * string/argz.h: Likewise.
70290         * string/bits/string2.h: Likewise.
70291         * string/string.h: Likewise.
70292         * string/strings.h: Likewise.
70293         * sunrpc/rpc/auth.h: Likewise.
70294         * sunrpc/rpc/auth_des.h: Likewise.
70295         * sunrpc/rpc/clnt.h: Likewise.
70296         * sunrpc/rpc/netdb.h: Likewise.
70297         * sunrpc/rpc/pmap_clnt.h: Likewise.
70298         * sunrpc/rpc/xdr.h: Likewise.
70299         * sysdeps/generic/inttypes.h: Likewise.
70300         * sysdeps/generic/net/if.h: Likewise.
70301         * sysdeps/generic/sys/swap.h: Likewise.
70302         * sysdeps/gnu/net/if.h: Likewise.
70303         * sysdeps/gnu/utmpx.h: Likewise.
70304         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
70305         * sysdeps/i386/i486/bits/string.h: Likewise.
70306         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
70307         * sysdeps/s390/bits/string.h: Likewise.
70308         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
70309         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
70310         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
70311         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
70312         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
70313         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
70314         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
70315         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
70316         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
70317         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
70318         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
70319         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
70320         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
70321         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
70322         * sysdeps/unix/sysv/linux/readv.c: Likewise.
70323         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
70324         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
70325         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70326         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
70327         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
70328         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70329         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
70330         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
70331         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
70332         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
70333         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
70334         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
70335         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70336         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
70337         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
70338         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
70339         * sysvipc/sys/ipc.h: Likewise.
70340         * sysvipc/sys/msg.h: Likewise.
70341         * sysvipc/sys/sem.h: Likewise.
70342         * sysvipc/sys/shm.h: Likewise.
70343         * termios/termios.h: Likewise.
70344         * time/sys/time.h: Likewise.
70345         * time/time.h: Likewise.
70346         * wcsmbs/bits/wchar2.h: Likewise.
70347         * wcsmbs/uchar.h: Likewise.
70348         * wcsmbs/wchar.h: Likewise.
70349         * wctype/wctype.h: Likewise.
70351         [BZ #13551]
70352         * Makeconfig: Remove all but ELF support including AIX support.
70353         * Makerules: Likewise.
70354         * config.h.in: Likewise.
70355         * config.make.in: Likewise.
70356         * configure: Likewise.
70357         * configure.in: Likewise.
70358         * csu/Makefile: Likewise.
70359         * csu/version.c: Likewise.
70360         * debug/Makefile: Likewise.
70361         * dlfcn/Makefile: Likewise.
70362         * elf/Makefile: Likewise.
70363         * extra-lib.mk: Likewise.
70364         * iconv/Makefile: Likewise.
70365         * include/libc-symbols.h: Likewise.
70366         * include/shlib-compat.h: Likewise.
70367         * resolv/Makefile: Likewise.
70368         * resolv/res_libc.c: Likewise.
70369         * rt/Makefile: Likewise.
70370         * sysdeps/i386/asm-syntax.h: Likewise.
70371         * sysdeps/i386/sysdep.h: Likewise.
70372         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70373         * sysdeps/mach/sysdep.h: Likewise.
70374         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
70375         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
70376         * sysdeps/s390/asm-syntax.h: Likewise.
70377         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70378         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70379         * sysdeps/sh/sysdep.h: Likewise.
70380         * sysdeps/unix/sparc/sysdep.h: Likewise.
70381         * sysdeps/wordsize-32/divdi3.c: Likewise.
70382         * sysdeps/x86_64/sysdep.h: Likewise.
70384         * argp/Versions: Remove _argp_unlock_xxx.
70386         [BZ #13559]
70387         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
70388         * abilist/libBrokenLocale.abilist: Likewise.
70389         * abilist/libanl.abilist: Likewise.
70390         * abilist/libc.abilist: Likewise.
70391         * abilist/libcrypt.abilist: Likewise.
70392         * abilist/libdl.abilist: Likewise.
70393         * abilist/libm.abilist: Likewise.
70394         * abilist/libnsl.abilist: Likewise.
70395         * abilist/libpthread.abilist: Likewise.
70396         * abilist/libresolv.abilist: Likewise.
70397         * abilist/librt.abilist: Likewise.
70398         * abilist/libthread_db.abilist: Likewise.
70399         * abilist/libutil.abilist: Likewise.
70400         * abilist/libnss_db.abilist: New file.
70402         * scripts/abilist.awk: Add support for indirect functions.
70404         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
70406         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
70408         * shlib-versions: Remove entries for ports architectures.
70410         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
70411         files in ports.
70412         * elf/stackguard-macros.h: Remove support for IA-64.
70413         * elf/tst-auditmod1.c: Likewise.
70414         * sysdeps/generic/ldsodefs.h: Likewise.
70416         * sysdeps/unix/sysv/linux/configure.in: Ports should define
70417         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
70418         configure files.
70420         [BZ #13552]
70421         * configure.in: Remove --enable-omitfp support.
70422         * FAQ.in: Adjust.
70423         * config.make.in: Likewise.
70424         * Makeconfig: Likewise.
70425         * manual/install.texi: Likewise.
70427         In case anyone cares, the IA-64 architecture could move to ports.
70428         * sysdeps/ia64/*: Removed.
70429         * sysdeps/unix/sysv/linux/ia64/*: Removed.
70430         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
70432         [BZ #13555]
70433         * configure.in: Remove entries for unsupported architectures.
70435         [BZ #13533]
70436         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
70437         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
70438         routines.
70439         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
70440         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
70441         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
70442         fall back to using wcrtomb.
70443         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
70444         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
70445         renaming.
70446         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
70447         * wcsmbs/tst-c16c32-1.c: New file.
70449         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
70450         local variable.
70452         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
70454         * elf/tst-unique3.cc: Add explicit declaration of gets.
70455         * elf/tst-unique3lib.cc: Likewise.
70456         * elf/tst-unique3lib2.cc: Likewise.
70457         * elf/tst-unique4.cc: Likewise.
70459         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
70461 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
70463         [BZ #13566]
70464         * assert/assert.h (static_assert): Don't define for C++.
70465         * libio/stdio.h (gets): Do declare for C++ <= C++11.
70466         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
70468 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
70470         * iconv/loop.c (single loop): Fix assertion in storing of
70471         remaining bytes.
70473         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
70475 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
70477         * posix/getconf.c: Update copyright year.
70478         * nss/getent.c: Likewise.
70479         * nss/makedb.c: Likewise.
70480         * iconv/iconvconfig.c: Likewise.
70481         * iconv/iconv_prog.c: Likewise.
70482         * elf/ldconfig.c: Likewise.
70483         * elf/pldd.c: Likewise.
70484         * elf/sotruss.ksh: Likewise.
70485         * catgets/gencat.c: Likewise.
70486         * csu/version.c: Likewise.
70487         * elf/ldd.bash.in: Likewise.
70488         * elf/sprof.c (print_version): Likewise.
70489         * locale/programs/locale.c: Likewise.
70490         * locale/programs/localedef.c: Likewise.
70491         * login/programs/pt_chown.c: Likewise.
70492         * nscd/nscd.c (print_version): Likewise.
70493         * debug/xtrace.sh: Likewise.
70494         * malloc/memusage.sh: Likewise.
70495         * malloc/mtrace.pl: Likewise.
70496         * debug/catchsegv.sh: Likewise.
70498 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
70500         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
70501         pure attribute.
70503 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
70505         [BZ #13533]
70506         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
70507         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
70508         transformations.
70509         * iconv/gconv_int.h: Likewise.
70510         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
70511         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
70512         from libc for GLIBC_2.16.
70513         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
70514         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
70515         * wcsmbs/uchar.h: Really define mbstate_t.
70516         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
70517         * wcsmbs/c16rtomb.c: New file.
70518         * wcsmbs/mbrtoc16.c: New file.
70519         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
70520         for C/POSIX locale.
70521         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
70522         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
70524         * wcsmbs/wchar.h: Add missing __restrict.
70526 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
70528         [BZ #13532]
70529         * time/Makefile (routines): Add timespec_get.
70530         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
70531         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
70532         timespec for ISO C11.
70533         * time/timespec_get.c: New file.
70534         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
70535         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
70537         [BZ #13531]
70538         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
70539         * stdlib/stdlib.h: Declare aligned_alloc.
70540         * Versions.def: Add GLIBC_2.16 for libc.
70541         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
70543         [BZ 13527]
70544         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
70545         ISO C11.
70547         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
70548         code.
70550         [BZ #13528]
70551         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
70553         [BZ #13529]
70554         * assert/assert.h (static_assert): Define.
70556         * version.h: Update for 2.16 development version.
70558         [BZ #13526]
70559         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
70560         _ISOC11_SOURCE.
70562         * version.h (RELEASE): Bump for 2.15 release.
70563         * include/features.h (__GLIBC_MINOR__): Bump to 15.
70565         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
70566         Patch by Marek Polacek <mpolacek@redhat.com>.
70568         * bits/byteswap.h: Protect long long constants with __extension__.
70569         * sysdeps/i386/bits/byteswap.h: Likewise.
70570         * sysdeps/ia64/bits/byteswap.h: Likewise.
70571         * sysdeps/s390/bits/byteswap.h: Likewise.
70572         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70574 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70576         [BZ #13540]
70577         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
70578         destination buffer.
70579         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
70581 2011-12-23  Marek Polacek  <polacek@redhat.com>
70583         * elf/dl-addr.c (determine_info): Add inline keyword.
70584         * elf/tst-auditmod4b.c (check_avx): Likewise.
70585         * elf/tst-auditmod6b.c (check_avx): Likewise.
70586         * elf/tst-auditmod6c.c (check_avx): Likewise.
70587         * elf/tst-auditmod7b.c (check_avx): Likewise.
70589 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
70591         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
70592         !__SSE_MATH__.
70594 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70596         [BZ #13540]
70597         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
70598         processing for last bytes.
70600 2011-08-06  Bruno Haible  <bruno@clisp.org>
70602         [BZ #13061]
70603         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
70604         U+0385, not to U+1FEE.
70606         [BZ #13062]
70607         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
70608         entry for U+00A5 U+0301.
70610 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
70612         [BZ #13166]
70613         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
70614         buffer for the output is too small.
70616         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
70617         optimization.
70619         [BZ #13185]
70620         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
70621         SSE flags if possible.
70623 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70625         [BZ #13540]
70626         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
70627         processing for last bytes.
70629 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
70631         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
70632         (syscall-list-default-options, syscall-list-default-condition)
70633         (syscall-list-includes): Define.
70634         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
70635         list of ABIs and options and #if conditions for each ABI.  Do not
70636         handle common syscalls between ABIs specially.
70637         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
70638         Remove.
70639         (syscall-list-variants, syscall-list-32bit-options)
70640         (syscall-list-32bit-condition, syscall-list-64bit-options)
70641         (syscall-list-64bit-condition): Define.
70642         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
70643         (syscall-list-variants, syscall-list-32bit-options)
70644         (syscall-list-32bit-condition, syscall-list-64bit-options)
70645         (syscall-list-64bit-condition): Define.
70646         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
70647         Remove.
70648         (syscall-list-variants, syscall-list-32bit-options)
70649         (syscall-list-32bit-condition, syscall-list-64bit-options)
70650         (syscall-list-64bit-condition): Define.
70651         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
70652         Remove.
70653         (syscall-list-variants, syscall-list-32bit-options)
70654         (syscall-list-32bit-condition, syscall-list-64bit-options)
70655         (syscall-list-64bit-condition): Define.
70657 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
70659         * locale/iso-639.def: Add brx entry.
70661         [BZ #13328]
70662         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
70663         Proposed by Mariusz_Cukr <marcukr@op.pl>.
70665         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
70666         __feraiseexcept_renamed.
70668 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
70670         [BZ #13538]
70671         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
70672         EPOLLET with unsigned values.
70673         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70674         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70676         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
70677         to large cancellation.
70678         * math/s_cacoshf.c: Likewise.
70679         * math/s_cacoshl.c: Likewise.
70681 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
70683         [BZ #13305]
70684         [BZ #12786]
70685         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
70686         * math/s_cacoshf.c: Likewise.
70687         * math/s_cacoshl.c: Likewise.
70689 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
70691         [BZ #13439]
70692         * iconv/gconv.h: Define __GCONV_SWAP.
70693         * iconvdata/unicode.c: The swap bit must be stored in __flags.
70694         * iconvdata/utf-16.c: Likewise.
70695         * iconvdata/utf-32.c: Likewise.
70697 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
70699         [BZ #13524]
70700         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
70701         numerator after shifting it by one limb.
70703 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
70705         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
70706         under [__USE_EXTERN_INLINES].
70708 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
70710         [BZ #13446]
70711         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
70713 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70715         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
70716         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
70717         optimized code.
70718         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
70719         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
70720         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
70721         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
70722         for strncasecmp/strncasecmp_l compilation.
70723         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
70724         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
70726 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
70728         [BZ #13484]
70729         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
70730         of __asm__.
70732 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
70734         [BZ #13506]
70735         * time/tzfile.c (__tzfile_read): Check values from file header.
70737 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
70739         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
70740         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
70741         * powerpc/powerpc32/dl-start.S: Likewise.
70742         * powerpc/powerpc32/elf/start.S: Likewise.
70743         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
70744         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
70745         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
70746         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
70747         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
70748         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
70749         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
70750         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
70751         * powerpc/powerpc32/fpu/s_round.S: Likewise.
70752         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
70753         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
70754         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
70755         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
70756         * powerpc/powerpc32/memset.S: Likewise.
70757         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
70758         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
70759         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
70760         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
70761         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
70762         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
70763         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
70764         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
70765         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
70766         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
70767         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
70768         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70769         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70771 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70773         * math/libm-test.inc: Added more nearbyint tests.
70774         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
70775         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
70776         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
70777         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
70779 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
70781         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
70782         FD_CLOEXEC.
70784 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70786         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
70787         Add wcscpy-ssse3 wcscpy-c.
70788         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
70789         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
70790         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
70791         * sysdeps/x86_64/wcschr.S: New file.
70792         * sysdeps/x86_64/wcsrchr.S: New file.
70793         * string/test-strcmp.c: Remove checking of wcscmp function for
70794         wrong alignments.
70795         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
70796         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
70797         wcsrchr-sse2 wcsrchr-c.
70798         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
70799         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
70800         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
70801         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
70802         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
70803         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
70804         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
70805         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
70806         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
70807         * wcsmbc/wcschr.c (WCSCHR): New macro.
70809 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70811         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
70812         * wcsmbs/test-wcsrchr.c: New file.
70813         * string/test-strrchr.c: Add wcsrchr support.
70814         (WIDE): New macro.
70815         * wcsmbs/test-wcscpy.c: New file.
70816         * string/test-strcpy.c: Add wcscpy support.
70817         (WIDE): New macro.
70819 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
70821         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
70822         the inner loop.
70824 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
70826         [BZ #13472]
70827         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
70829 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
70831         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
70832         Minor optimizations.
70834         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
70835         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
70836         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
70838 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
70840         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
70841         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
70842         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
70843         for gcc to avoid warnings.
70844         * inet/Makefile (tests): Add tst-checks.
70845         * inet/tst-checks.c: New file.
70847         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
70848         warning.
70850         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
70851         __wmemcmp_sse2.
70853         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
70854         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
70856         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
70858 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
70860         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
70861         problem.
70863         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
70865 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
70867         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
70868         conditional on GCC version.
70869         (__arch_compare_and_exchange_val_8_acq)
70870         (__arch_compare_and_exchange_val_16_acq)
70871         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
70872         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
70873         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
70875 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
70877         * sysdeps/sh/backtrace.c: New file.
70879 2011-12-02  Andreas Schwab  <schwab@redhat.com>
70881         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
70882         parenthesis.
70884 2011-12-01  Andreas Schwab  <schwab@redhat.com>
70886         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
70887         falling back to utime.
70889 2011-11-30  Andreas Schwab  <schwab@redhat.com>
70891         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
70892         expectations for float.
70894 2011-11-29  Andreas Schwab  <schwab@redhat.com>
70896         * locale/weight.h (findidx): Add parameter len.
70897         * locale/weightwc.h (findidx): Likewise.
70898         * posix/fnmatch_loop.c (FCT): Adjust caller.
70899         * posix/regcomp.c (build_equiv_class): Likewise.
70900         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
70901         * posix/regexec.c (check_node_accept_bytes): Likewise.
70902         * string/strcoll_l.c (STRCOLL): Likewise.
70903         * string/strxfrm_l.c (STRXFRM): Likewise.
70905 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
70907         * Makefile.in: Remove CVSOPT handling.
70908         * configure.in: Remove use of AC_REVISION.
70909         * iconvdata/Makefile (distribute): No need to filter out CVS.
70910         * scripts/list-sources.sh: Remove CVS, subversion and monotone
70911         handling.
70913 2011-11-16  Andreas Schwab  <schwab@redhat.com>
70915         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
70916         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
70917         [USE_AS_STRNCASECMP_L]: Likewise.
70918         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
70919         NO_TLS_DIRECT_SEG_REFS.
70920         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
70921         Fix argument offsets for non-PIC.
70922         [USE_AS_STRNCASECMP_L]: Likewise.
70923         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
70924         NO_TLS_DIRECT_SEG_REFS.
70926 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
70928         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
70929         O_CLOEXEC.
70930         * locale/loadlocale.c (_nl_load_locale): Likewise.
70932 2011-11-15  Andreas Schwab  <schwab@redhat.com>
70934         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
70935         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
70936         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
70937         (SYSCALL_GETTIME): Set errno on error.
70939         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
70940         count references to noai6ai_cached.
70942 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
70944         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
70946         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
70947         FD_CLOEXEC for /proc/self/maps.
70949         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
70950         FD_CLOEXEC for /proc/meminfo.
70952         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
70953         gai.conf.
70955         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
70956         FD_CLOEXEC for given file.
70958         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
70960         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
70961         FD_CLOEXEC for /etc/hosts.
70962         (_gethtent): Likewise.
70964         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
70966         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
70967         cancellation and set FD_CLOEXEC for /etc/netgroup.
70969         * nss/nss_files/files-key.c (search): Don't allow cancellation when
70970         reading /etc/publickey.
70972         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
70973         allow cancellation when reading /etc/group.
70975         * nss/nss_files/files-alias.c (internal_setent): Don't allow
70976         cancellation.
70977         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
70979         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
70980         when using data file.
70982         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
70984         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
70985         (write_nis_obj): Use "c" and "e" in fopen.
70987         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
70989         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
70991         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
70993         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
70995         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
70996         locale.alias.
70998         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
71000         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
71002         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
71004         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
71005         file parsing and set FD_CLOEXEC.
71007 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
71009         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
71011 2011-11-14  Andreas Schwab  <schwab@redhat.com>
71013         * malloc/arena.c (arena_get2): Don't call reused_arena when
71014         _int_new_arena failed.
71016 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
71018         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
71019         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
71020         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
71021         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71022         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71023         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
71024         to compile strcasecmp and strncasecmp.
71025         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
71026         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
71028         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
71030 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
71032         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
71033         locale-defines.sym to gen-as-const-headers.
71034         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
71035         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
71036         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
71037         to compile strcasecmp and strncasecmp.
71038         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
71039         strcasecmp_l and strncasecmp_l.
71040         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
71041         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
71042         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
71043         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
71044         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
71045         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
71046         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
71047         * sysdeps/i386/i686/multiarch/strncase.S: New file.
71048         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
71049         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
71050         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
71052 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
71054         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
71055         result of SYSDEP_GETTIME_CPU to retval.
71056         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
71057         parameter list to macro.  Remove trailing semicolon.  Adjust users.
71059         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
71060         variable.
71062         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
71063         mantissa words.
71064         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
71066         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
71067         from unused variable.
71069         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
71070         DWARF definitions.
71071         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
71072         for assembling.
71074         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
71075         over namespaces.
71077         * sunrpc/rpc_prot.c (rejected): Fix case value.
71079         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
71080         unsigned long long int to avoid warnings in shift.
71082         * posix/regex_internal.c (re_string_reconstruct): Actually use result
71083         of use of trans.
71084         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
71085         variable tmp.
71087         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
71088         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
71089         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
71091         * nis/nis_table.c (nis_list): Use variable of correct type for
71092         result of __follow_path call.
71094 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71096         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
71097         of math functions ceil, trunc, floor, round, and sqrt, when
71098         avaliable on the platform.
71099         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
71100         name clash.
71101         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71102         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71103         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71105 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
71107         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
71108         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71110 2011-11-11  Roland McGrath  <roland@hack.frob.com>
71112         * include/unistd.h: Fix __readlink return type.
71113         Reported by Chris Metcalf <cmetcalf@tilera.com>.
71115 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
71117         * stdlib/ucontext.h: Undo last change for makecontext.
71119 2011-11-11  Andreas Schwab  <schwab@redhat.com>
71121         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
71123         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
71124         * setjmp/setjmp.h: Mark functions as non-leaf.
71125         * setjmp/bits/setjmp2.h: Likewise.
71126         * stdlib/ucontext.h: Likewise.
71128 2011-11-10  Andreas Schwab  <schwab@redhat.com>
71130         * malloc/arena.c (_int_new_arena): Don't increment narenas.
71131         (reused_arena): Don't check arena limit.
71132         (arena_get2): Atomically check arena limit.
71134 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
71136         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
71137         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
71139         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
71140         instructions.
71142 2011-11-07  Andreas Schwab  <schwab@redhat.com>
71144         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
71145         handler when locking.
71147         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71148         Fix size of allocated buffer.
71150 2011-11-04  Andreas Schwab  <schwab@redhat.com>
71152         [BZ #10103]
71153         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
71154         declarations for long double functions.
71155         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
71157         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
71159 2011-11-03  Andreas Schwab  <schwab@redhat.com>
71161         * nscd/nscd.c (main): Don't start AVC thread until credentials are
71162         installed.
71164         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
71165         is disabled.
71167 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71169         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
71171 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71173         * include/alloca.h (stackinfo_alloca_round): Define.
71174         (extend_alloca): Use it.
71175         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
71176         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
71177         here.
71179         * scripts/check-local-headers.sh: Ignore libaudit.h.
71181         * nscd/Makefile (extra-objs): Make recursively expanded.
71183 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
71185         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
71186         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
71188         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
71189         * posix/tst-rfc3484-2.c: Likewise.
71190         * posix/tst-rfc3484-3.c: Likewise.
71192         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71193         process_vm_writev.
71194         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
71195         process_vm_writev.
71196         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
71197         process_vm_writev from libc using GLIBC_2.15 version.
71199         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
71201 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
71203         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
71204         stack usage.
71206 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
71208         [BZ #13367]
71209         * nss/getent.c (initgroups_keys): Show error message in case no group
71210         names are given.
71212         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
71213         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
71214         __bump_nl_timestamp.
71215         * nscd/connections (nscd_init): When host database is served open
71216         netlink socket and request notification about configuration changes.
71217         (main_loop_poll): Track netlink file descriptor and bump timestamp
71218         in case data becomes available.
71219         (main_loop_epoll): Likewise.
71220         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
71221         (database_pers_head): Add extra_data fileds.
71222         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
71223         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
71224         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
71225         Adjust caller.
71226         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
71227         in6ai data, call __free_in6ai.
71228         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
71229         Add -DHAVE_NETLINK.
71230         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
71231         interface information.  Reuse previous data if netlink timestamp
71232         is not changed.
71233         (__bump_nl_timestamp): New function.
71234         (__free_in6ai): New function.
71236 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
71238         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
71239         close_not_cancel_no_status here.
71240         (__check_pf): Reorganize code a bit to not call close twice if OOM.
71242 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71244         [BZ #13276]
71245         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
71246         return value.
71248         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
71249         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
71250         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
71252 2011-07-03  Andreas Jaeger  <aj@suse.de>
71254         [BZ #10709]
71255         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
71256         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
71257         * math/libm-test.inc (sin_test): Add test case.
71259 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71261         [BZ #13337]
71262         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
71263         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71265         * elf/chroot_canon.c (chroot_canon): Cleanups.
71267         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
71269         [BZ #13335]
71270         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
71271         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71273         * string/test-strchr.c: Make usable for strchrnul testing.
71274         * string/test-strchrnul.c: New file.
71275         * string/Makefile (strop-tests): Add strchrnul.
71277         * po/it.po: Update from translation team.
71278         * po/es.po: Likewise.
71280 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
71282         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
71283         the three constants needed as parameters.  Drop the others.
71284         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
71285         __m128i_strloadu_tolower.
71286         Create and initialize variable zero and use it in all the places
71287         where _mm_setzero_si128 was used.
71289         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
71290         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
71291         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
71292         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
71293         anymore.
71294         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
71295         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
71296         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
71297         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
71298         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
71299         __mpranred, __mptan.
71300         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
71301         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
71302         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
71303         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
71304         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
71305         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
71306         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
71307         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
71308         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
71310 2011-10-28  Andreas Schwab  <schwab@redhat.com>
71312         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
71313         redefine if SHARED.
71314         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
71316         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
71317         wide char related routines to wcsmbs subdir.
71319 2011-10-27  Andreas Schwab  <schwab@redhat.com>
71321         [BZ #13344]
71322         * misc/sys/cdefs.h (__THROWNL): Define.
71323         * posix/unistd.h: Use __THREADNL instead of __THREAD
71324         for memory synchronization functions.
71326 2011-10-26  Roland McGrath  <roland@hack.frob.com>
71328         [BZ #13349]
71329         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
71330         doesn't exist.
71331         * manual/stdio.texi (Obstack Streams): Node removed.
71333 2011-10-26  Andreas Schwab  <schwab@redhat.com>
71335         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
71336         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71337         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71339         * math/math_private.h (math_force_eval): Allow non-addressable
71340         arguments.
71341         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
71343 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71345         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
71346         file is not needed.
71348         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
71349         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
71350         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71351         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71352         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71353         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71354         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71355         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
71356         Add AVX variants.
71357         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
71358         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
71359         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
71360         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
71361         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
71362         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
71363         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
71364         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
71365         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
71366         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
71367         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
71368         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
71369         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
71370         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
71371         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
71372         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
71373         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
71374         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
71375         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
71377         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
71378         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
71380         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
71381         place.  Use VEX encoding when compiling for AVX.
71383 2011-10-25  Andreas Schwab  <schwab@redhat.com>
71385         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
71386         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
71388         * string/test-strchr.c (do_test): Don't generate NUL bytes.
71390 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71392         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
71393         useless if() expression.
71394         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71395         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71396         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71397         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71398         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71399         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71400         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71401         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71402         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71403         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71404         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71405         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71406         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71407         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71408         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71409         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71410         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71411         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71412         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71414         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
71416 2011-10-25  Andreas Schwab  <schwab@redhat.com>
71418         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
71419         condition.
71420         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71422 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71424         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
71425         .text section.  Avoid duplicate constants.
71426         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71427         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71428         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71429         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71430         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71431         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71432         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71433         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71434         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
71435         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
71436         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
71437         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71438         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
71439         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
71440         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
71441         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
71442         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
71443         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
71444         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71445         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71446         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71447         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71448         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71449         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
71450         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
71451         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
71452         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
71453         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
71454         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
71455         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
71456         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
71457         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
71458         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71459         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
71460         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
71461         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
71462         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
71463         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
71464         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
71465         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
71466         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
71467         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
71468         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
71469         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
71470         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
71472 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
71474         * sysdeps/x86_64/dla.h: Move to ...
71475         * sysdeps/x86_64/fpu/dla.h: ...here.
71476         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
71477         situations.  Use __builtin_fma only for gcc 4.6 and up.
71479         * config.make.in: Add have-mfma4 entry.
71480         * configure.in: Substitute libc_cv_cc_fma4.
71481         * math/Makefile (dbl-only-routines): Add sincostab.
71482         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
71483         Use __sincostab not sincos.
71484         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
71485         name is a macro.
71486         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71487         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71488         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71489         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
71490         using __copysign.
71491         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
71492         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
71493         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
71494         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
71495         and __inv.
71496         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
71497         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
71498         __copysign.
71499         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
71500         define aliases when function name is a macro.
71501         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
71502         sysdeps/ieee754/dbl-64/sincos.tbl.
71503         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
71504         fma4-enabled routines.
71505         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
71506         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
71507         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
71508         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
71509         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
71510         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
71511         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
71512         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
71513         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
71514         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
71515         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
71516         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
71517         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
71518         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
71519         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
71520         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
71521         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
71522         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
71523         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
71524         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
71525         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
71526         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
71527         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
71528         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
71529         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
71530         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
71531         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
71532         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
71533         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
71534         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
71536         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
71537         rename.
71538         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71539         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71540         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71541         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71542         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71543         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71544         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71545         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71547 2011-10-24  Andreas Schwab  <schwab@redhat.com>
71549         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
71551 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71553         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
71555         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
71556         prediction.
71557         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
71559         * string/strnlen.c: Don't define STRNLEN, reverse logic.
71560         Remove unused variable magic_bits.
71561         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
71563         * string/strnlen.c: Define and use STRNLEN macro.
71564         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
71565         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
71566         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
71567         * wcsmbs/wcslen.c: Define and use WCSLEN.
71568         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
71569         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
71570         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
71571         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
71572         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
71573         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
71574         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
71576 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71578         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71579         strnlen-sse2-no-bsf.
71580         Rename strlen-no-bsf to strlen-sse2-no-bsf.
71581         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
71582         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
71583         Add strnlen support.
71584         (USE_AS_STRNLEN): New macro.
71585         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
71586         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
71587         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
71588         * sysdeps/x86_64/wcslen.S: New file.
71590 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
71592         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
71593         XMM-moves are used for copying on small sizes.
71595 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71597         * wcsmbs/Makefile (strop-tests): Add wcschr.
71598         * wcsmbs/test-wcschr.c: New file.
71599         * string/test-strchr.c: Update.
71600         Add wcschr support.
71601         (WIDE): New macro.
71603 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71605         * wcsmbs/Makefile (strop-tests): Add wcslen.
71606         * wcsmbs/test-wcslen.c: New file.
71607         * string/test-strlen.c: Update.
71608         Add wcslen support.
71609         (WIDE): New macro.
71611 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71613         * po/it.po: Update from translation team.
71615 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71617         * sysdeps/x86_64/wcscmp.S: Update.
71618         Fix wrong comparison semantics.
71619         wcscmp shall use signed comparison not unsigned.
71620         Don't use substraction to avoid overflow bug.
71621         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
71622         * wcsmbc/wcscmp.c: Likewise.
71623         * string/test-strcmp.c: Likewise.
71624         Add new tests to check cases with negative values.
71626 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71628         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
71629         * sysdeps/x86_64/dla.h: ...here.  New file.
71630         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
71631         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71632         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71633         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71634         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71635         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71636         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71637         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71638         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71640 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
71642         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
71643         __ynl_finite aliases.
71645 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
71647         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71649         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
71650         define DLA_FMA.
71651         [DLA_FMA] (EMULV): Use DLA_FMA.
71652         [DLA_FMA] (MUL12): Use EMULV.
71653         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
71654         that are not needed.
71655         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71656         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71657         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71658         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71659         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71660         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71661         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71663 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
71665         * math/s_nan.c: Undef __nan.
71666         * math/s_nanf.c: Undef __nanf.
71667         * math/s_nanl.c: Undef __nanl.
71668         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
71669         "math_private.h".
71671 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
71673         * math/s_catan.c: Add branch predictions.
71674         * math/s_catanf.c: Likewise.
71675         * math/s_catanh.c: Likewise.
71676         * math/s_catanhf.c: Likewise.
71677         * math/s_catanhl.c: Likewise.
71678         * math/s_catanl.c: Likewise.
71679         * math/s_cexp.c: Likewise.
71680         * math/s_cexpf.c: Likewise.
71681         * math/s_cexpl.c: Likewise.
71682         * math/s_clog.c: Likewise.
71683         * math/s_clog10.c: Likewise.
71684         * math/s_clog10f.c: Likewise.
71685         * math/s_clog10l.c: Likewise.
71686         * math/s_clogf.c: Likewise.
71687         * math/s_clogl.c: Likewise.
71688         * math/s_csqrt.c: Likewise.
71689         * math/s_csqrtf.c: Likewise.
71690         * math/s_csqrtl.c: Likewise.
71691         * math/s_ctanf.c: Likewise.
71692         * math/s_ctanh.c: Likewise.
71693         * math/s_ctanhf.c: Likewise.
71694         * math/s_ctanhl.c: Likewise.
71695         * math/s_ctanl.c: Likewise.
71697         * math/math_private.h: Define __nan, __nanf, __nanl.
71698         * math/s_cacosh.c: Include <math_private.h>.
71699         * math/s_cacoshl.c: Likewise.
71700         * math/s_casinh.c: Likewise.
71701         * math/s_casinhf.c: Likewise.
71702         * math/s_casinhl.c: Likewise.
71703         * math/s_ccos.c: Rely entire on ccosh.
71704         * math/s_ccosf.c: Rely entire on ccoshf.
71705         * math/s_ccosl.c: Rely entirely on ccoshl.
71706         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
71707         Remove tests for FE_INVALID.
71708         * math/s_ccoshf.c: Likewise.
71709         * math/s_ccoshl.c: Likewise.
71710         * math/s_csin.c: Likewise.
71711         * math/s_csinf.c: Likewise.
71712         * math/s_csinh.c Likewise.
71713         * math/s_csinhf.c: Likewise.
71714         * math/s_csinhl.c: Likewise.
71715         * math/s_csinl.c: Likewise.
71716         * math/s_ctan.c: Likewise.
71717         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
71718         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
71719         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
71721 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
71723         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
71724         compilation problems.
71726         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
71727         __builtin_expect.
71729 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
71731         * sysdeps/i386/configure.in: Test for -mfma4 option.
71732         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
71733         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
71734         COMMON_CPUID_INDEX_80000001.
71735         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
71736         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
71737         use it if FMA3 is not supported.
71738         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
71740         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
71741         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
71743 2011-10-20  Andreas Schwab  <schwab@redhat.com>
71745         [BZ #12892]
71746         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
71747         it would create a cycle with a link time dependency.
71749 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
71751         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
71752         instruction.
71753         * string/Makefile (strop-tests): Add rawmemchr.
71754         * string/test-rawmemchr.c: New file.
71756         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
71757         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
71758         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
71759         when compiling str{,n}casecmp and when AVX is available.  Hook up
71760         new optimized code in initializers.
71762 2011-10-19  Andreas Schwab  <schwab@redhat.com>
71764         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
71765         __feraiseexcept instead of feraiseexcept.
71767 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
71769         * math/math_private.h: Define defaults for libc_fetestexcept and
71770         libc_feupdateenv.
71771         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
71772         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
71773         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
71774         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
71775         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71776         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71777         libc_fetestexcept and libc_feupdateenv.
71779         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
71780         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
71781         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
71782         * sysdeps/x86_64/fpu/math_private.h: Define special version of
71783         libc_feholdexcept_setround.
71785         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
71786         Add s_nearbyint-c and s_nearbyintf-c.
71787         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
71788         nearbyintf inlines.
71789         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
71790         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
71791         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
71792         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
71794         * math/math_private.h: Define defaults for libc_fegetround,
71795         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
71796         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
71797         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
71798         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
71799         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
71800         standard functions.
71801         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
71802         Remove comments and hacks for old compiler versions.
71803         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71804         libc_fegetround, libc_fesetround, libc_feholdexcept, and
71805         libc_feholdexceptl.
71807 2011-10-18  Andreas Schwab  <schwab@redhat.com>
71809         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
71810         (__feraiseexcept_renamed): Add __NTH.
71811         (feraiseexcept): Add __NTH.  Rename local variables to fix
71812         namespace violations.
71814 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
71816         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
71818         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
71820         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
71821         recently added interfaces.
71822         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
71824         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
71825         about macro parameter expansion.
71827         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
71828         __NO_MATH_INLINES is defined.  Cleanups.
71830         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
71831         and __floorf is target has SSE4.1.
71832         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
71833         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
71834         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
71835         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
71837         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
71838         name.
71839         (floorf): Likewise.
71841         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
71843 2011-10-17  Andreas Schwab  <schwab@redhat.com>
71845         * misc/sys/cdefs.h: Fix last change.
71847         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
71848         database lookup.
71850 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
71852         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
71854         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
71855         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71856         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71857         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71858         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71859         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71860         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71861         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71862         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71863         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
71864         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
71865         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
71866         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
71867         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
71868         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
71869         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
71870         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
71871         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
71872         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
71873         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
71874         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
71875         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
71877         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
71878         ceil, ceilf, floor, floorf.
71880         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
71881         Perform IRELATIVE relocations last.
71883         * elf/do-rel.h: Add another parameter nrelative, replacing the
71884         local variable with the same name.  Change name of the function
71885         to end in Rel or Rela (uppercase).
71886         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
71887         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
71888         elf_dynamic_do_##reloc function.
71890 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
71892         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
71893         is sufficient, at least on modern CPUs.
71895         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
71897         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
71898         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
71900         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
71901         __expl_finite.
71902         * math/bits/math-finite.h: Add entries for exp.
71903         * math/e_expl.c: Add __*_finite alias.
71904         * sysdeps/i386/fpu/e_exp.S: Likewise.
71905         * sysdeps/i386/fpu/e_expf.S: Likewise.
71906         * sysdeps/i386/fpu/e_expl.c: Likewise.
71907         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71908         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
71909         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
71910         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
71911         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
71912         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71913         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71915         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
71916         is sufficient, at least on modern CPUs.
71918         * ctype/ctype-info.c (__ctype_init): Define.
71919         * include/ctype.h (__ctype_init): Declare.
71920         (__ctype_b_loc): The variable is always initialized.
71921         (__ctype_toupper_loc): Likewise.
71922         (__ctype_tolower_loc): Likewise.
71923         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
71924         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
71926 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
71928         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
71930         * configure.in: Also look in $cxxmachine/include for C++ system
71931         headers.
71933 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71935         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
71936         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
71937         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
71938         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
71939         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
71940         (USE_AS_WMEMCMP): New macro.
71941         Fixing indents.
71942         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
71943         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
71944         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
71945         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
71946         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71947         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
71948         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
71949         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
71950         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
71951         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
71952         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
71953         (USE_AS_WMEMCMP): New macro.
71954         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
71955         * sysdeps/string/test-memcmp.c: Update.
71956         Fix simple_wmemcmp.
71957         Add new tests.
71958         * wcsmbs/wmemcmp.c: Update.
71959         (WMEMCMP): New macro.
71960         Fix overflow bug.
71962 2011-10-12  Andreas Jaeger  <aj@suse.de>
71964         [BZ #13268]
71965         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
71967 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
71969         * libio/iofwide.c (do_length): Avoid warning.
71971         * ctype/ctype.h (__isctype_f): Add missing __THROW.
71973 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
71975         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
71977         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
71978         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
71979         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
71980         * sysdeps/i386/i686/fpu/e_log.S: New file.
71981         * sysdeps/i386/i686/fpu/e_logf.S: New file.
71982         * sysdeps/i386/i686/fpu/e_logl.S: New file.
71984         * ctype/ctype.h: Add support for inlined isXXX functions when
71985         compiling C++ code.
71987 2011-10-14  Andreas Schwab  <schwab@redhat.com>
71989         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71991         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
71993 2011-10-13  Roland McGrath  <roland@hack.frob.com>
71995         [BZ #13291]
71996         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
71998 2011-10-13  Andreas Schwab  <schwab@redhat.com>
72000         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
72001         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
72002         feraiseexcept.
72004         * sysdeps/x86_64/memrchr.S: Check for zero size.
72006         * string/stratcliff.c: Add memrchr tests.
72008 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72010         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72011         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
72012         rawmemchr-sse2 rawmemchr-sse2-bsf.
72013         * sysdeps/i386/i686/multiarch/memchr.S: New file.
72014         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
72015         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
72016         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
72017         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
72018         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
72019         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
72020         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
72021         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
72022         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
72023         * string/memrchr.c (MEMRCHR): New macro.
72025 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
72027         Add integration with gcc's -ffinite-math-only and optimize wrapper
72028         functions in libm.
72029         * Versions.def: Define GLIBC_2.15 version for libm.
72030         * math/Makefile (headers): Add bits/math-finite.h.
72031         * math/bits/math-finite.h: New file.
72032         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
72033         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
72034         * math/e_acoshl.c: Add __*_finite alias.
72035         * math/e_acosl.c: Likewise.
72036         * math/e_asinl.c: Likewise.
72037         * math/e_atan2l.c: Likewise.
72038         * math/e_atanhl.c: Likewise.
72039         * math/e_coshl.c: Likewise.
72040         * math/e_exp10.c: Likewise.
72041         * math/e_exp10f.c: Likewise.
72042         * math/e_exp10l.c: Likewise.
72043         * math/e_exp2l.c: Likewise.
72044         * math/e_fmodl.c: Likewise.
72045         * math/e_gammal_r.c: Likewise.
72046         * math/e_hypotl.c: Likewise.
72047         * math/e_j0l.c: Likewise.
72048         * math/e_j1l.c: Likewise.
72049         * math/e_jnl.c: Likewise.
72050         * math/e_lgammal_r.c: Likewise.
72051         * math/e_log10l.c: Likewise.
72052         * math/e_log2l.c: Likewise.
72053         * math/e_logl.c: Likewise.
72054         * math/e_powl.c: Likewise.
72055         * math/e_sinhl.c: Likewise.
72056         * math/e_sqrtl.c: Likewise.
72057         * math/e_scalb.c: Completely rewritten and optimized.
72058         * math/e_scalbf.c: Likewise.
72059         * math/e_scalbl.c: Likewise.
72060         * math/w_acos.c: Likewise.
72061         * math/w_acosf.c: Likewise.
72062         * math/w_acosl.c: Likewise.
72063         * math/w_acosh.c: Likewise.
72064         * math/w_acoshf.c: Likewise.
72065         * math/w_acoshl.c: Likewise.
72066         * math/w_asin.c: Likewise.
72067         * math/w_asinf.c: Likewise.
72068         * math/w_asinl.c: Likewise.
72069         * math/w_atan2.c: Likewise.
72070         * math/w_atan2f.c: Likewise.
72071         * math/w_atan2l.c: Likewise.
72072         * math/w_atanh.c: Likewise.
72073         * math/w_atanhf.c: Likewise.
72074         * math/w_atanhl.c: Likewise.
72075         * math/w_exp10.c: Likewise.
72076         * math/w_exp10f.c: Likewise.
72077         * math/w_exp10l.c: Likewise.
72078         * math/w_fmod.c: Likewise.
72079         * math/w_fmodf.c: Likewise.
72080         * math/w_fmodl.c: Likewise.
72081         * math/w_j0.c: Likewise.
72082         * math/w_j0f.c: Likewise.
72083         * math/w_j0l.c: Likewise.
72084         * math/w_j1.c: Likewise.
72085         * math/w_j1f.c: Likewise.
72086         * math/w_j1l.c: Likewise.
72087         * math/w_jn.c: Likewise.
72088         * math/w_jnf.c: Likewise.
72089         * math/w_log.c: Likewise.
72090         * math/w_logf.c: Likewise.
72091         * math/w_logl.c: Likewise.
72092         * math/w_log10.c: Likewise.
72093         * math/w_log10f.c: Likewise.
72094         * math/w_log10l.c: Likewise.
72095         * math/w_log2.c: Likewise.
72096         * math/w_log2f.c: Likewise.
72097         * math/w_log2l.c: Likewise.
72098         * math/w_pow.c: Likewise.
72099         * math/w_powf.c: Likewise.
72100         * math/w_powl.c: Likewise.
72101         * math/w_remainder.c: Likewise.
72102         * math/w_remainderf.c: Likewise.
72103         * math/w_remainderl.c: Likewise.
72104         * math/w_scalb.c: Likewise.
72105         * math/w_scalbf.c: Likewise.
72106         * math/w_scalbl.c: Likewise.
72107         * math/w_sqrt.c: Likewise.
72108         * math/w_sqrtf.c: Likewise.
72109         * math/w_sqrtl.c: Likewise.
72110         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
72111         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
72112         used.
72113         * math/math_private.h: Declare __kernel_standard_f.
72114         * math/w_cosh.c: Remove cruft and optimize a bit.
72115         * math/w_coshf.c: Likewise.
72116         * math/w_coshl.c: Likewise.
72117         * math/w_exp2.c: Likewise.
72118         * math/w_exp2f.c: Likewise.
72119         * math/w_exp2l.c: Likewise.
72120         * math/w_hypot.c: Likewise.
72121         * math/w_hypotf.c: Likewise.
72122         * math/w_hypotl.c: Likewise.
72123         * math/w_lgamma.c: Likewise.
72124         * math/w_lgamma_r.c: Likewise.
72125         * math/w_lgammaf.c: Likewise.
72126         * math/w_lgammaf_r.c: Likewise.
72127         * math/w_lgammal.c: Likewise.
72128         * math/w_lgammal_r.c: Likewise.
72129         * math/w_sinh.c: Likewise.
72130         * math/w_sinhf.c: Likewise.
72131         * math/w_sinhl.c: Likewise.
72132         * math/w_tgamma.c: Likewise.
72133         * math/w_tgammaf.c: Likewise.
72134         * math/w_tgammal.c: Likewise.
72135         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72136         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72137         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
72138         Minor optimizations.  Pretty printing.  Remove cruft.
72139         * sysdeps/i386/fpu/e_acosf.S: Likewise.
72140         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72141         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72142         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72143         * sysdeps/i386/fpu/e_acosl.c: Likewise.
72144         * sysdeps/i386/fpu/e_asin.S: Likewise.
72145         * sysdeps/i386/fpu/e_asinf.S: Likewise.
72146         * sysdeps/i386/fpu/e_atan2.S: Likewise.
72147         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
72148         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
72149         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72150         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72151         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72152         * sysdeps/i386/fpu/e_exp10.S: Likewise.
72153         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
72154         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
72155         * sysdeps/i386/fpu/e_exp2.S: Likewise.
72156         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
72157         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
72158         * sysdeps/i386/fpu/e_fmod.S: Likewise.
72159         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
72160         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
72161         * sysdeps/i386/fpu/e_hypot.S: Likewise.
72162         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
72163         * sysdeps/i386/fpu/e_log.S: Likewise.
72164         * sysdeps/i386/fpu/e_log10.S: Likewise.
72165         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72166         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72167         * sysdeps/i386/fpu/e_log2.S: Likewise.
72168         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72169         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72170         * sysdeps/i386/fpu/e_logf.S: Likewise.
72171         * sysdeps/i386/fpu/e_logl.S: Likewise.
72172         * sysdeps/i386/fpu/e_pow.S: Likewise.
72173         * sysdeps/i386/fpu/e_powf.S: Likewise.
72174         * sysdeps/i386/fpu/e_powl.S: Likewise.
72175         * sysdeps/i386/fpu/e_remainder.S: Likewise.
72176         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
72177         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
72178         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72179         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72180         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72181         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
72182         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
72183         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
72184         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
72185         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72186         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72187         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72188         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72189         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72190         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
72191         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72192         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72193         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72194         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72195         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72196         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72197         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72198         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72199         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72200         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72201         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72202         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72203         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72204         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72205         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
72206         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72207         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72208         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
72209         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
72210         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72211         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
72212         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
72213         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
72214         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72215         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
72216         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72217         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72218         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72219         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72220         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72221         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72222         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72223         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72224         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72225         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72226         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
72227         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
72228         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72229         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
72230         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
72231         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
72232         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
72233         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
72234         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
72235         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
72236         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
72237         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72238         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
72239         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
72240         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
72241         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
72242         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
72243         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
72244         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
72245         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
72246         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72247         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72248         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
72249         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
72250         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
72251         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
72252         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
72253         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
72254         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
72255         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
72256         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
72257         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
72258         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
72259         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72260         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72261         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
72262         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72263         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
72264         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72265         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
72266         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
72267         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72268         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72269         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
72270         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72271         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
72272         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
72273         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
72274         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72275         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
72276         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
72277         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
72278         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
72279         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
72280         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
72281         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
72282         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
72283         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
72284         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
72285         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
72286         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
72287         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
72288         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72289         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72290         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72291         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72292         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
72293         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72294         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
72295         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
72296         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
72297         (__isnanf): Likewise.
72298         (__isinf_ns): Likewise.
72299         (__isinf_nsf): Likewise.
72300         (__finite): Likewise.
72301         (__finitef): Likewise.
72302         (__ieee754_sqrt): Define as macro.
72303         (__ieee754_sqrtf): Define as macro.
72304         (__ieee754_sqrtl): Define as macro.
72305         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
72306         inlined copy.
72307         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
72308         __FINITE_MATH_ONLY__ consistent.
72309         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
72311 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
72313         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
72314         of rawmemchr.
72316         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
72318 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
72320         * po/ja.po: Update from translation team.
72322 2011-10-08  Roland McGrath  <roland@hack.frob.com>
72324         * locale/programs/locarchive.c (prepare_address_space): New function.
72325         (create_archive, enlarge_archive, open_archive): Use it.
72327         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
72328         inside [SHARED], where it is used.
72330         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
72332         * nss/getent.c (netgroup_keys): Remove unused variable.
72333         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
72335 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
72337         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
72338         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
72339         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
72340         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
72341         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
72342         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
72343         * math/Makefile (libm-calls): Add s_isinf_ns.
72344         * math/divtc3.c: Use __isinf_nsl instead of isinf.
72345         * math/multc3.c: Likewise.
72346         * math/s_casin.c: Likewise.
72347         * math/s_casinf.c: Likewise.
72348         * math/s_casinl.c: Likewise.
72349         * math/s_ccos.c: Likewise.
72350         * math/s_ccosf.c: Likewise.
72351         * math/s_ccosl.c: Likewise.
72352         * math/s_ctan.c: Likewise.
72353         * math/s_ctanf.c: Likewise.
72354         * math/s_ctanh.c: Likewise.
72355         * math/s_ctanhf.c: Likewise.
72356         * math/s_ctanhl.c: Likewise.
72357         * math/s_ctanl.c: Likewise.
72358         * math/w_fmod.c: Likewise.
72359         * math/w_fmodf.c: Likewise.
72360         * math/w_fmodl.c: Likewise.
72361         * math/w_remainder.c: Likewise.
72362         * math/w_remainderf.c: Likewise.
72363         * math/w_remainderl.c: Likewise.
72364         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
72365         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
72366         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
72367         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
72368         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
72369         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
72370         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
72371         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
72373         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
72374         of the number.
72375         * stdio-common/printf_fphex.c: Likewise.
72376         * stdio-common/printf_size.c: Likewise.
72378         * math/e_exp10.c: Include math_private.h using <...> not "...".
72379         * math/e_exp10f.c: Likewise.
72380         * math/e_exp10l.c: Likewise.
72381         * math/e_exp2l.c: Likewise.
72382         * math/e_j0l.c: Likewise.
72383         * math/e_j1l.c: Likewise.
72384         * math/e_jnl.c: Likewise.
72385         * math/e_lgammal_r.c: Likewise.
72386         * math/e_rem_pio2l.c: Likewise.
72387         * math/e_scalb.c: Likewise.
72388         * math/e_scalbf.c: Likewise.
72389         * math/e_scalbl.c: Likewise.
72390         * math/k_cosl.c: Likewise.
72391         * math/k_sinl.c: Likewise.
72392         * math/k_tanl.c: Likewise.
72393         * math/s_cacoshf.c: Likewise.
72394         * math/s_catan.c: Likewise.
72395         * math/s_catanf.c: Likewise.
72396         * math/s_catanh.c: Likewise.
72397         * math/s_catanhf.c: Likewise.
72398         * math/s_catanhl.c: Likewise.
72399         * math/s_catanl.c: Likewise.
72400         * math/s_ccosh.c: Likewise.
72401         * math/s_ccoshf.c: Likewise.
72402         * math/s_ccoshl.c: Likewise.
72403         * math/s_cexp.c: Likewise.
72404         * math/s_cexpf.c: Likewise.
72405         * math/s_cexpl.c: Likewise.
72406         * math/s_clog.c: Likewise.
72407         * math/s_clog10.c: Likewise.
72408         * math/s_clog10f.c: Likewise.
72409         * math/s_clog10l.c: Likewise.
72410         * math/s_clogf.c: Likewise.
72411         * math/s_clogl.c: Likewise.
72412         * math/s_csin.c: Likewise.
72413         * math/s_csinf.c: Likewise.
72414         * math/s_csinh.c: Likewise.
72415         * math/s_csinhf.c: Likewise.
72416         * math/s_csinhl.c: Likewise.
72417         * math/s_csinl.c: Likewise.
72418         * math/s_csqrt.c: Likewise.
72419         * math/s_csqrtf.c: Likewise.
72420         * math/s_csqrtl.c: Likewise.
72421         * math/s_ctan.c: Likewise.
72422         * math/s_ctanf.c: Likewise.
72423         * math/s_ctanh.c: Likewise.
72424         * math/s_ctanhf.c: Likewise.
72425         * math/s_ctanhl.c: Likewise.
72426         * math/s_ctanl.c: Likewise.
72427         * math/s_ldexp.c: Likewise.
72428         * math/s_ldexpf.c: Likewise.
72429         * math/s_ldexpl.c: Likewise.
72430         * math/s_significand.c: Likewise.
72431         * math/s_significandf.c: Likewise.
72432         * math/s_significandl.c: Likewise.
72433         * math/w_acos.c: Likewise.
72434         * math/w_acosf.c: Likewise.
72435         * math/w_acosh.c: Likewise.
72436         * math/w_acoshf.c: Likewise.
72437         * math/w_acoshl.c: Likewise.
72438         * math/w_acosl.c: Likewise.
72439         * math/w_asin.c: Likewise.
72440         * math/w_asinf.c: Likewise.
72441         * math/w_asinl.c: Likewise.
72442         * math/w_atan2.c: Likewise.
72443         * math/w_atan2f.c: Likewise.
72444         * math/w_atan2l.c: Likewise.
72445         * math/w_atanh.c: Likewise.
72446         * math/w_atanhf.c: Likewise.
72447         * math/w_atanhl.c: Likewise.
72448         * math/w_cosh.c: Likewise.
72449         * math/w_coshf.c: Likewise.
72450         * math/w_coshl.c: Likewise.
72451         * math/w_dremf.c: Likewise.
72452         * math/w_exp10.c: Likewise.
72453         * math/w_exp10f.c: Likewise.
72454         * math/w_exp10l.c: Likewise.
72455         * math/w_exp2.c: Likewise.
72456         * math/w_exp2f.c: Likewise.
72457         * math/w_fmod.c: Likewise.
72458         * math/w_fmodf.c: Likewise.
72459         * math/w_fmodl.c: Likewise.
72460         * math/w_hypot.c: Likewise.
72461         * math/w_hypotf.c: Likewise.
72462         * math/w_hypotl.c: Likewise.
72463         * math/w_j0.c: Likewise.
72464         * math/w_j0f.c: Likewise.
72465         * math/w_j0l.c: Likewise.
72466         * math/w_j1.c: Likewise.
72467         * math/w_j1f.c: Likewise.
72468         * math/w_j1l.c: Likewise.
72469         * math/w_jn.c: Likewise.
72470         * math/w_jnf.c: Likewise.
72471         * math/w_jnl.c: Likewise.
72472         * math/w_lgamma.c: Likewise.
72473         * math/w_lgamma_r.c: Likewise.
72474         * math/w_lgammaf.c: Likewise.
72475         * math/w_lgammaf_r.c: Likewise.
72476         * math/w_lgammal.c: Likewise.
72477         * math/w_lgammal_r.c: Likewise.
72478         * math/w_log.c: Likewise.
72479         * math/w_log10.c: Likewise.
72480         * math/w_log10f.c: Likewise.
72481         * math/w_log10l.c: Likewise.
72482         * math/w_log2.c: Likewise.
72483         * math/w_log2f.c: Likewise.
72484         * math/w_log2l.c: Likewise.
72485         * math/w_logf.c: Likewise.
72486         * math/w_logl.c: Likewise.
72487         * math/w_pow.c: Likewise.
72488         * math/w_powf.c: Likewise.
72489         * math/w_powl.c: Likewise.
72490         * math/w_remainder.c: Likewise.
72491         * math/w_remainderf.c: Likewise.
72492         * math/w_remainderl.c: Likewise.
72493         * math/w_scalb.c: Likewise.
72494         * math/w_scalbf.c: Likewise.
72495         * math/w_scalbl.c: Likewise.
72496         * math/w_sinh.c: Likewise.
72497         * math/w_sinhf.c: Likewise.
72498         * math/w_sinhl.c: Likewise.
72499         * math/w_sqrt.c: Likewise.
72500         * math/w_sqrtf.c: Likewise.
72501         * math/w_sqrtl.c: Likewise.
72502         * math/w_tgamma.c: Likewise.
72503         * math/w_tgammaf.c: Likewise.
72504         * math/w_tgammal.c: Likewise.
72506         * po/ja.po: Update from translation team.
72508 2011-09-29  Andreas Jaeger  <aj@suse.de>
72510         [BZ #13179]
72511         * sunrpc/netname.c (netname2host): Fix logic.
72513         [BZ #6779]
72514         [BZ #6783]
72515         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
72516         correctly.
72517         * math/w_remainder.c (__remainder): Likewise.
72518         * math/w_remainderf.c (__remainderf): Likewise.
72519         * math/libm-test.inc (remainder_test): Add test cases.
72521 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72523         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
72524         sdiv_qrnnd.
72526 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
72528         * string/test-memcmp.c: Avoid unncessary #defines.
72529         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72531 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72533         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
72534         Use new sse2 version for core i3 - i7 as it's faster
72535         than sse42 version.
72536         (bit_Prefer_PMINUB_for_stringop): New.
72537         * sysdeps/x86_64/rawmemchr.S: Update.
72538         Replace with faster SSE2 version.
72539         * sysdeps/x86_64/memrchr.S: New file.
72540         * sysdeps/x86_64/memchr.S: Update.
72541         Replace with faster SSE2 version.
72543 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
72545         * elf/dl-load.c (lose): Add cast to avoid warning.
72547 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
72549         * po/ca.po: Update from translation team.
72551         * inet/getnetgrent_r.c: Hook up nscd.
72552         * nscd/Makefile (routines): Add nscd_netgroup.
72553         (nscd-modules): Add netgroupcache.
72554         (CFLAGS-netgroupcache.c): Define.
72555         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
72556         (cache_search): Add const to second parameter.
72557         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
72558         INNETGR.
72559         (dbs): Add netgrdb entry.
72560         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
72561         (verify_persistent_db): Handle netgrdb.
72562         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
72563         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
72564         GETFDNETGR.
72565         (netgroup_response_header): Define.
72566         (innetgroup_response_header): Define.
72567         (datahead): Add netgroup_response_header and innetgroup_response_header
72568         elements.
72569         * nscd/nscd.conf: Add entries for netgroup cache.
72570         * nscd/nscd.h (dbtype): Add netgrdb.
72571         (_PATH_NSCD_NETGROUP_DB): Define.
72572         (netgroup_iov_disabled): Declare.
72573         (xmalloc, xcalloc, xrealloc): Move declarations here.
72574         (cache_search): Adjust prototype.
72575         Add netgroup-related prototypes.
72576         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
72577         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
72578         (__nscd_innetgr): Declare.
72579         * nscd/selinux.c (perms): Use access_vector_t as element type and
72580         add netgroup-related initializers.
72581         * nscd/netgroupcache.c: New file.
72582         * nscd/nscd_netgroup.c: New file.
72583         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
72584         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
72585         For four parameters use innetgr.
72586         * nss/nss_files/files-init.c: Add definition and callback for netgr.
72587         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
72588         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
72589         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
72591         * nscd/connections.c (register_traced_file): Don't register file
72592         for disabled databases.
72594 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
72596         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
72598         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
72599         from tree and freeing node.
72601 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
72603         * nss/nsswitch.c (__nss_database_lookup): Handle
72604         nss_parse_service_list out of memory case.
72606 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
72608         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
72609         out of memory case.
72611 2011-10-04  Andreas Schwab  <schwab@redhat.com>
72613         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
72614         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
72615         pass it down.
72616         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
72617         elf_machine_rela, elf_machine_lazy_rel.
72618         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
72619         (ELF_DYNAMIC_DO_REL): Likewise.
72620         (ELF_DYNAMIC_DO_RELA): Likewise.
72621         (ELF_DYNAMIC_RELOCATE): Likewise.
72622         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
72623         to ELF_DYNAMIC_DO_REL.
72624         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
72625         (dl_main): In trace mode always set __RTLD_NOIFUNC.
72626         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
72627         elf_machine_rela.
72628         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
72629         skip_ifunc, don't call ifunc function if non-zero.
72630         (elf_machine_rela): Likewise.
72631         (elf_machine_lazy_rel): Likewise.
72632         (elf_machine_lazy_rela): Likewise.
72633         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
72634         (elf_machine_lazy_rel): Likewise.
72635         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
72636         Likewise.
72637         (elf_machine_lazy_rel): Likewise.
72638         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72639         Likewise.
72640         (elf_machine_lazy_rel): Likewise.
72641         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
72642         (elf_machine_lazy_rel): Likewise.
72643         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
72644         (elf_machine_lazy_rel): Likewise.
72645         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
72646         (elf_machine_lazy_rel): Likewise.
72647         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
72648         (elf_machine_lazy_rel): Likewise.
72649         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
72650         (elf_machine_lazy_rel): Likewise.
72651         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
72652         (elf_machine_lazy_rel): Likewise.
72654 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
72656         * nss/nss_files/files-init.c (_nss_files_init): Use static
72657         initialization for all the *_traced_file variables.
72659 2011-09-28  Andreas Schwab  <schwab@redhat.com>
72661         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72663 2011-09-27  Roland McGrath  <roland@hack.frob.com>
72665         [BZ #13226]
72666         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
72668 2011-09-27  Andreas Schwab  <schwab@redhat.com>
72670         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
72671         Reread the line before reparsing it.
72673 2011-09-26  Andreas Schwab  <schwab@redhat.com>
72675         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
72677 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
72678             Maxim Kuvyrkov  <maxim@codesourcery.com>
72679             Joseph Myers  <joseph@codesourcery.com>
72681         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
72682         if needed for __stack_chk_guard.
72684 2011-09-19  Roland McGrath  <roland@hack.frob.com>
72686         * sysdeps/posix/spawni.c (script_execute): Always define it.
72687         It will be optimized away if unused.
72688         (maybe_script_execute): New function.
72689         (__spawni): Call it.
72691         * Makerules: Don't include tls.make.
72692         (config-tls): Always set to thread.
72693         * tls.make.c: File removed.
72695 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
72697         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
72698         * config.make.in (CPPFLAGS-config): New substituted variable.
72700 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
72702         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
72704         [BZ #13192]
72705         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
72706         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
72708 2011-09-15  Roland McGrath  <roland@hack.frob.com>
72710         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
72711         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
72712         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
72713         (CALL_FAIL): Likewise.
72714         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
72715         (CALL_FAIL): Macro removed.
72716         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
72718 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
72720         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
72721         for __FINITE_MATH_ONLY__ == 1.
72723 2011-09-15  Andreas Schwab  <schwab@redhat.com>
72725         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
72726         __ieee754_sqrt instead of sqrt.
72727         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
72728         __ieee754_sqrtf instead of sqrtf.
72729         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
72730         __floorf instead of floorf.
72731         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
72732         __floorf, __truncf instead of floorf, truncf.
72734 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
72736         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
72738         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
72739         __extern_always_inline.
72740         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
72741         32-bit.
72743 2011-09-14  Andreas Schwab  <schwab@redhat.com>
72745         * elf/rtld.c (dl_main): Also relocate in dependency order when
72746         doing symbol dependency testing.
72748 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
72750         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72751         Always define `refsym'.
72753 2011-09-13  Andreas Schwab  <schwab@redhat.com>
72755         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
72756         (__FD_ELT): Renamed from __FDELT.
72757         * misc/bits/select2.h (__FD_ELT): Likewise.
72758         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
72759         __FD_MASK instead of __FDELT, __FDMASK.
72760         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72761         Likewise.
72762         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72763         Likewise.
72765         * elf/Makefile (gen-ldd): Fix pattern.
72767         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
72768         (init_tls): Likewise.
72770 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
72772         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
72774 2011-09-12  Andreas Schwab  <schwab@redhat.com>
72776         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
72777         `struct cmsghdr *' instead of `void *'.
72778         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
72779         Likewise.
72781 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
72783         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
72784         if non-absolute.
72785         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
72786         ldd_rewrite_script.
72788 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
72790         * configure.in: Remove --with-tls option.
72791         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
72792         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
72793         out in case it is missing.
72794         * sysdeps/ia64/elf/configure.in: Likewise.
72795         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
72796         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
72797         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
72798         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
72799         * sysdeps/sh/elf/configure.in: Likewise.
72800         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
72801         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72802         * sysdeps/x86_64/elf/configure.in: Likewise.
72803         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
72804         * sysdeps/mach/hurd/tls.h: Likewise.
72806         [BZ #13067]
72807         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
72809         [BZ #13090]
72810         * configure.in: Fix use of AC_INIT.
72812         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
72814 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
72816         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
72817         __set_errno.
72818         * malloc/hooks.c: Likewise.
72820         [BZ #11929]
72821         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
72822         variables statically.
72823         (narenas): Initialize.
72824         (list_lock): Initialize.
72825         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
72826         initializtion of main_arena and list_lock.  Small cleanups.
72827         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
72828         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
72829         Add initializers to main_arena and mp_.
72830         (malloc_state): Remove pagesize member.  Change all users to use
72831         GLRO(dl_pagesize).
72833         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
72834         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
72835         is always initialized.
72837         * malloc/malloc.c: Removed unused configurations and dead code.
72838         * malloc/arena.c: Likewise.
72839         * malloc/hooks.c: Likewise.
72840         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
72842         * include/tls.h: Removed.  USE___THREAD must always be defined.
72843         * bits/libc-tsd.h: Don't handle !USE___THREAD.
72844         * elf/dl-libc.c: Likewise.
72845         * elf/dl-tsd.c: Likewise.
72846         * include/errno.h: Likewise.
72847         * include/netdb.h: Likewise.
72848         * include/resolv.h: Likewise.
72849         * inet/herrno-loc.c: Likewise.
72850         * inet/herrno.c: Likewise.
72851         * malloc/arena.c: Likewise.
72852         * malloc/hooks.c: Likewise.
72853         * malloc/malloc.c: Likewise.
72854         * resolv/res-state.c: Likewise.
72855         * resolv/res_libc.c: Likewise.
72856         * sysdeps/i386/dl-machine.h: Likewise.
72857         * sysdeps/ia64/dl-machine.h: Likewise.
72858         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
72859         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72860         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
72861         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
72862         * sysdeps/sh/dl-machine.h: Likewise.
72863         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72864         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72865         * sysdeps/unix/i386/sysdep.S: Likewise.
72866         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
72867         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
72868         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
72869         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
72870         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
72871         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
72872         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
72873         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
72874         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72875         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
72876         * sysdeps/unix/x86_64/sysdep.S: Likewise.
72877         * sysdeps/x86_64/dl-machine.h: Likewise.
72878         * tls.make.c: Likewise.
72880         * configure.in: Remove --with-__thread option.  Make tests for
72881         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
72882         tls_model attribute fail if no support is available.  Remove
72883         USE_IN_LIBIO.
72884         * Makeconfig: Adjust for dropped configure option.  All features are
72885         now mandatory.
72886         * Makerules: Likewise.
72887         * Versions.def: Likewise.
72888         * argp/argp-fmtstream.c: Likewise.
72889         * argp/argp-fmtstream.h: Likewise.
72890         * argp/argp-help.c: Likewise.
72891         * assert/assert.c: Likewise.
72892         * config.h.in: Likewise.
72893         * config.make.in: Likewise.
72894         * configure: Likewise.
72895         * configure.in: Likewise.
72896         * csu/Versions: Likewise.
72897         * csu/init.c: Likewise.
72898         * elf/tst-audit2.c: Likewise.
72899         * elf/tst-tls10.c: Likewise.
72900         * elf/tst-tls10.h: Likewise.
72901         * elf/tst-tls11.c: Likewise.
72902         * elf/tst-tls12.c: Likewise.
72903         * elf/tst-tls14.c: Likewise.
72904         * elf/tst-tlsmod11.c: Likewise.
72905         * elf/tst-tlsmod12.c: Likewise.
72906         * elf/tst-tlsmod13.c: Likewise.
72907         * elf/tst-tlsmod13a.c: Likewise.
72908         * elf/tst-tlsmod14a.c: Likewise.
72909         * elf/tst-tlsmod15b.c: Likewise.
72910         * elf/tst-tlsmod16a.c: Likewise.
72911         * elf/tst-tlsmod16b.c: Likewise.
72912         * elf/tst-tlsmod7.c: Likewise.
72913         * elf/tst-tlsmod8.c: Likewise.
72914         * elf/tst-tlsmod9.c: Likewise.
72915         * gmon/gmon.c: Likewise.
72916         * grp/fgetgrent_r.c: Likewise.
72917         * grp/putgrent.c: Likewise.
72918         * hurd/fopenport.c: Likewise.
72919         * include/libc-symbols.h: Likewise.
72920         * include/tls.h: Likewise.
72921         * intl/gettextP.h: Likewise.
72922         * intl/loadinfo.h: Likewise.
72923         * locale/global-locale.c: Likewise.
72924         * locale/localeinfo.h: Likewise.
72925         * mach/devstream.c: Likewise.
72926         * malloc/arena.c: Likewise.
72927         * malloc/set-freeres.c: Likewise.
72928         * misc/err.c: Likewise.
72929         * misc/getttyent.c: Likewise.
72930         * misc/mntent_r.c: Likewise.
72931         * posix/getopt.c: Likewise.
72932         * posix/wordexp.c: Likewise.
72933         * pwd/fgetpwent_r.c: Likewise.
72934         * resolv/Versions: Likewise.
72935         * resolv/res_hconf.c: Likewise.
72936         * shadow/fgetspent_r.c: Likewise.
72937         * shadow/putspent.c: Likewise.
72938         * stdio-common/printf_fphex.c: Likewise.
72939         * stdio-common/tmpfile.c: Likewise.
72940         * stdlib/abort.c: Likewise.
72941         * stdlib/fmtmsg.c: Likewise.
72942         * sunrpc/auth_unix.c: Likewise.
72943         * sunrpc/clnt_perr.c: Likewise.
72944         * sunrpc/clnt_tcp.c: Likewise.
72945         * sunrpc/clnt_udp.c: Likewise.
72946         * sunrpc/clnt_unix.c: Likewise.
72947         * sunrpc/openchild.c: Likewise.
72948         * sunrpc/svc_simple.c: Likewise.
72949         * sunrpc/svc_tcp.c: Likewise.
72950         * sunrpc/svc_udp.c: Likewise.
72951         * sunrpc/svc_unix.c: Likewise.
72952         * sunrpc/xdr.c: Likewise.
72953         * sunrpc/xdr_array.c: Likewise.
72954         * sunrpc/xdr_rec.c: Likewise.
72955         * sunrpc/xdr_ref.c: Likewise.
72956         * sunrpc/xdr_stdio.c: Likewise.
72958 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72960         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72962 2011-07-03  Andreas Jaeger  <aj@suse.de>
72964         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
72965         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
72966         regenerate with gen-libm-tests.pl.
72968 2010-05-12  Petr Baudis  <pasky@suse.cz>
72970         [BZ #11589]
72971         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
72972         around j0() zero points by switching to j1().
72973         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72974         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72975         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72976         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72978 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72980         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
72981         instead of 0.
72982         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
72983         instead of 0.
72984         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72985         Patch in part by Pavel Roskin <proski@gnu.org>.
72987         [BZ #13138]
72988         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
72989         realloc.
72990         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
72991         Free memory block if necessary.
72993         [BZ #12847]
72994         * libio/genops.c (INTDEF): For string streams the _lock pointer can
72995         be NULL.  Don't lock in this case.
72997 2011-09-09  Roland McGrath  <roland@hack.frob.com>
72999         * elf/elf.h (ELFOSABI_GNU): New macro.
73000         (ELFOSABI_LINUX): Define to that.
73002 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
73004         * string/strncat.c (strncat): Undef the symbol in case it has been
73005         defined in bits/string.h.
73007 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73009         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
73011         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
73012         link map.
73014 2011-08-17  Andreas Jaeger  <aj@suse.de>
73016         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
73018 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
73019             Ian Lance Taylor  <iant@google.com>
73021         * math/libm-test.inc (lround_test): New testcase.
73022         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
73024 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
73026         * Makefile: Remove support for automatic cvs check-ins.
73027         * Makerules: Likewise.
73028         * config.make.in: Likewise.
73029         * configure.in: Likewise.
73030         * intl/Makefile: Likewise.
73031         * locale/Makefile: Likewise.
73032         * po/Makefile: Likewise.
73033         * posix/Makefile: Likewise.
73034         * sysdeps/gnu/Makefile: Likewise.
73035         * sysdeps/mach/hurd/Makefile: Likewise.
73036         * sysdeps/sparc/sparc32/Makefile: Likewise.
73038         [BZ #13118]
73039         * posix/Makefile (bug-regex32-ENV): Define.
73040         Patch by John Stanley <jpsinthemix@verizon.net>.
73042         * misc/Makefile (headers): Add bits/select2.h.
73043         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
73044         * misc/bits/select2.h: New file.
73045         * include/bits/select2.h: New file.
73046         * debug/Makefile (routines): Add fdelt_chk.
73047         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
73048         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
73049         FD_ISSET.
73050         * debug/fdelt_chk.c: New file.
73052         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
73053         * wcsmbs/test-wmemcmp.c: Likewise.
73054         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
73055         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
73057 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73059         * string/Makefile (strop-tests): Add memcmp.
73060         * string/test-wmemcmp.c: New file.
73061         * string/test-memcmp.c: Add wmemcmp support.
73063 2011-09-08  Roland McGrath  <roland@hack.frob.com>
73065         [BZ #13153]
73066         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
73067         2011-07-19 change.
73069         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
73070         garbage value in a __mach_port_mod_refs call in the cases of the
73071         task-self and thread-self ports.
73073 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73075         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
73077 2011-09-08  Andreas Schwab  <schwab@redhat.com>
73079         * elf/dl-load.c (lose): Check for non-null L.
73081 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
73083         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
73085         * elf/dl-libc.c (dlerror_run): Pass back error code from
73086         dl_catch_error.
73088         [BZ #13123]
73089         * elf/dl-load.c (lose): Free l_origin if it is valid.
73091         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
73092         names.
73093         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
73094         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73095         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73096         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73097         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
73098         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
73100 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73102         * sysdeps/powerpc/fpu/e_hypot.c: New file.
73103         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
73104         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
73105         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
73106         * sysdeps/powerpc/fpu/k_cosf.c: New file.
73107         * sysdeps/powerpc/fpu/k_sinf.c: New file.
73108         * sysdeps/powerpc/fpu/s_cosf.c: New file.
73109         * sysdeps/powerpc/fpu/s_sinf.c: New file.
73110         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
73111         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
73113 2011-08-15  Alan Modra  <amodra@gmail.com>
73115         [BZ #13092]
73116         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
73117         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
73118         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
73119         ppc_mcount to static-only-routines.
73120         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
73121         __mcount_internal.
73122         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
73123         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
73125 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
73127         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
73128         for finite and infinity parameters.
73130 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73132         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
73133         and add nop instructions for throughput optimization.
73134         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
73136 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
73138         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
73139         aligned copy for power7 with vector-scalar instructions.
73140         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
73142 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
73144         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
73145         AVX check.
73147 2011-09-07  Andreas Schwab  <schwab@redhat.com>
73149         [BZ #13144]
73150         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
73151         last change.
73153 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
73155         * sysdeps/unix/sysv/linux/x86_64/init-first.c
73156         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
73157         syscall wrapper around clock_gettime in __vdso_clock_gettime.
73158         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
73159         clock_gettime.
73161 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
73163         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
73164         Forgot to demangle the pointer.
73166         * sysdeps/i386/sysdep.h: Define atom_text_section.
73167         * sysdeps/x86_64/sysdep.h: Likewise.
73168         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
73169         section with atom_text_section.
73170         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73171         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73172         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
73173         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73174         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
73176         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
73177         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
73178         already be defined.  Change to take two parameters and don't assign
73179         result to variable.  Adjust all users.
73180         Define INTERNAL_GETTIME if not already defined.
73181         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
73182         call.
73183         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
73184         HAVE_CLOCK_GETTIME_VSYSCALL.
73185         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
73187         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
73188         gettimeofday vsyscall, just use time.
73190 2011-09-06  Andreas Schwab  <schwab@redhat.com>
73192         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
73193         <errno.h>.
73195 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
73197         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
73198         syscall on x86-64.
73199         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
73200         syscall.
73201         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
73202         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
73203         syscall if possible.
73205 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73207         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
73208         e_ident.  Don't pass to find_mapsXX.
73209         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
73211 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73213         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73214         strchr-sse2-no-bsf strrchr-sse2-no-bsf
73215         * sysdeps/x86_64/multiarch/strchr.S: Update.
73216         Check bit_slow_BSF bit.
73217         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
73218         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
73219         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
73221 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73223         [BZ #13134]
73224         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
73225         before glibc 2.15.
73226         (tryshell): Define.
73227         (__spawni): Change last parameter to be flag.  Test
73228         SPAWN_XFLAGS_USE_PATH flag to use path or not.
73229         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
73230         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
73231         * posix/spawni.c: Likewise.
73232         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
73233         * posix/spawnp.c: Likewise.  Change normal version to use
73234         SPAWN_XFLAGS_USE_PATH.
73235         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
73236         SPAWN_XFLAGS_TRY_SHELL.
73238         [BZ #13150]
73239         * posix/glob.h: Remove gcc 1.x support.
73241         [BZ #13068]
73242         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
73244 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73246         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73247         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
73248         strrchr-sse2-bsf
73249         * sysdeps/i386/i686/multiarch/strchr.S: New file.
73250         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
73251         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
73252         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
73253         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
73254         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
73256 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73258         * sysdeps/x86_64/wcscmp.S: New file.
73260         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
73261         wcscmp-c wcscmp-sse2
73262         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
73263         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
73264         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
73265         * wcsmbs/wcscmp.c: Allow renaming.
73267 2011-09-05  David S. Miller  <davem@davemloft.net>
73269         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
73270         stack slot, rather than the struct return pointer slot.
73271         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
73272         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
73273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
73274         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
73276 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73278         * po/ja.po: Update from translation team.
73280         [BZ #13144]
73281         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
73282         kernel in 64-bit binaries.
73284 2011-09-01  David S. Miller  <davem@davemloft.net>
73286         * elf/elf.h (HWCAP_SPARC_*): Move to..
73287         * sysdeps/sparc/sysdep.h: this new file and add new values.
73288         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
73289         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
73290         _DL_HWCAP_COUNT to 24.
73291         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
73292         entries.
73293         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
73294         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
73295         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
73296         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
73297         instead of magic constants.
73298         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73300 2011-08-31  David S. Miller  <davem@davemloft.net>
73302         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
73303         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
73304         Reimplement to do errno handling inline.
73305         (SYSCALL_ERROR_HANDLER): New macro.
73306         (__SYSCALL_STRING): Do not do errno handling in asm.
73307         (__CLONE_SYSCALL_STRING): Delete.
73308         (__INTERNAL_SYSCALL_STRING): Delete.
73309         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
73310         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
73311         (PSEUDO): Reimplement to do errno handling inline.
73312         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
73313         (SYSCALL_ERROR_HANDLER): New macro.
73314         (__SYSCALL_STRING): Do not do errno handling in asm.
73315         (__CLONE_SYSCALL_STRING): Delete.
73316         (__INTERNAL_SYSCALL_STRING): Delete.
73317         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
73318         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
73319         i386.
73320         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
73321         (inline_syscall*): Add 'err' argument.
73322         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
73323         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
73324         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
73325         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
73327         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
73328         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
73330 2011-08-30  Andreas Schwab  <schwab@redhat.com>
73332         * elf/rtld.c (dl_main): Relocate objects in dependency order.
73334 2011-08-29  Jiri Olsa <jolsa@redhat.com>
73336         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
73337         directive.
73339 2011-08-24  David S. Miller  <davem@davemloft.net>
73341         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
73343 2011-08-24  Andreas Schwab  <schwab@redhat.com>
73345         * elf/Makefile: Add rules to build and run unload8 test.
73346         * elf/unload8.c: New file.
73347         * elf/unload8mod1.c: New file.
73348         * elf/unload8mod1x.c: New file.
73349         * elf/unload8mod2.c: New file.
73350         * elf/unload8mod3.c: New file.
73352         * elf/dl-close.c (_dl_close_worker): Reset private search list if
73353         it wasn't used.
73355 2011-08-23  David S. Miller  <davem@davemloft.net>
73357         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
73358         subtract stack bias.
73359         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
73360         %sp not %fp in calculations.
73361         (_JMPBUF_UNWINDS_ADJ): Likewise.
73363         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
73364         (aio_suspend): Call it to force an exception region around the
73365         AIO_MISC_WAIT() invocation.
73367 2011-08-23  Andreas Schwab  <schwab@redhat.com>
73369         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
73370         backslash.
73372 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
73374         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
73375         protection macro.
73376         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
73377         and <dl-machine.h>.
73378         (Elf64_FuncDesc): Remove.
73380 2011-08-22  David S. Miller  <davem@davemloft.net>
73382         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
73383         sigaltstack check, add missing cfi directives.
73384         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
73385         missing cfi directives, and sigaltstack handling.
73387 2011-08-16  Andreas Schwab  <schwab@redhat.com>
73389         [BZ #11724]
73390         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
73391         object is seen twice.
73392         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73394         * elf/Makefile (distribute): Add tst-initorder2.c.
73395         (tests): Add tst-initorder2.
73396         (modules-names): Add tst-initorder2a tst-initorder2b
73397         tst-initorder2c tst-initorder2d.  Add rules to build them.
73398         ($(objpfx)tst-initorder2.out): New rule.
73399         * elf/tst-initorder2.c: New file.
73400         * elf/tst-initorder2.exp: New file.
73402 2011-08-22  Andreas Schwab  <schwab@redhat.com>
73404         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
73406         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
73407         dependencies back to end of function.
73409         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73410         $(elfobjdir)/ld.so.
73412 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
73414         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
73415         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
73416         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
73417         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
73418         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
73419         of __vdso_gettimeofday.
73420         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
73421         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
73422         attribute_hidden.
73423         (_libc_vdso_platform_setup): Remove initialization of
73424         __vdso_gettimeofday and __vdso_time.
73426 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
73428         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
73429         and fgetc_unlocked.
73430         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
73431         getc_unlocked.
73433         * elf/dl-open.c (add_to_global): Report additions to the global scope
73434         for LD_DEBUG=scopes.
73435         (dl_open_worker): Also print scope of newly loaded dependencies.
73436         (_dl_show_scope): Indicate if there is no scope.
73438         [BZ #13114]
73439         * stdio-common/Makefile (tests): Add bug24.
73440         * stdio-common/bug24.c: New file.
73442 2011-08-19  Andreas Jaeger  <aj@suse.de>
73444         [BZ #13114]
73445         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
73446         non-existant file when using close-on-exec mode.
73448 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
73450         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
73451         the very first instruction.
73453         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
73454         the CFI state in the end.
73455         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
73456         inclusion of dl-trampoline.h.
73457         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
73459 2011-08-19  Andreas Schwab  <schwab@redhat.com>
73461         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
73462         expectations for long double.
73464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
73465         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
73467 2011-08-14  David S. Miller  <davem@davemloft.net>
73469         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
73470         artificual limit depends upon the system page size.
73472 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
73474         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
73475         * resolv/Makefile: Define CFLAGS-libresolv.
73477 2011-08-17  Andreas Schwab  <schwab@redhat.com>
73479         * nss/makedb.c (compute_tables): Make variables used in nested
73480         function static.
73482 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
73484         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
73485         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
73486         if buffer was too small.
73488         * elf/pldd.c (main): Attach to all threads in the process.
73489         Rewrite /proc handling to use *at functions.
73491 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
73493         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
73494         specifies first scope to show.
73495         (dl_open_worker): Update callers.  Move printing scope of new
73496         object to before the relocation.
73497         * elf/rtld.c (dl_main): Update _dl_show_scope call.
73498         * sysdeps/generic/ldsodefs.h: Update declaration.
73500         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
73501         string for the scope number.
73503 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
73505         * nscd/servicescache.c (cache_addserv): Make sure written is always
73506         initialized.
73508 2011-08-14  Roland McGrath  <roland@hack.frob.com>
73510         * sysdeps/i386/i486/bits/atomic.h
73511         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
73512         statement expression, so as to suppress "set but not used" warning.
73513         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
73515         * string/strncat.c (STRNCAT): Use prototype definition.
73517         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
73518         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
73519         -Iprograms here.
73520         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
73521         (localedef-modules): Add localedef.
73522         (locale-modules): Add locale.
73524         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
73525         * elf/rtld.c (dl_main): Invert order of assignment in last change,
73526         to avoid a warning.
73528 2011-08-14  David S. Miller  <davem@davemloft.net>
73530         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
73531         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
73533 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
73535         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73536         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
73537         * elf/rtld.c (dl_main): Set l_name of vDSO.
73538         Call _dl_show_scope when DL_DEBUG_SCOPES.
73539         (process_dl_debug): Recognize scopes flag and also set it for all.
73540         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
73541         Declare _dl_show_scope.
73543         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
73544         (do_dlopen): Pass caller_dlopen to dl_open.
73545         (__libc_dlopen_mode): Initialize caller_dlopen.
73547         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
73548         of libc.  Make tolower call locale-independent.  Optimize a bit by
73549         using isdigit instead of isalnum.
73550         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
73552 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
73554         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
73555         was a dependency or dynamically loaded.
73557 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
73559         * intl/l10nflist.c: Allow architecture-specific pop function.
73560         * sysdeps/x86_64/l10nflist.c: New file.
73562         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
73563         classification.
73565 2011-08-10  Andreas Schwab  <schwab@redhat.com>
73567         * include/dirent.h: Add libc_hidden_proto for scandirat and
73568         scandirat64.  Don't declare __scandirat64.
73569         * dirent/scandirat.c: Add libc_hidden_def.
73570         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
73571         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
73573 2011-08-10  David S. Miller  <davem@davemloft.net>
73575         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
73576         enum.
73577         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73578         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73579         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73581 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
73583         * Versions.def [libc]: Add GLIBC_2.15.
73584         * dirent/Makefile (routines): Add scandirat and scandirat64.
73585         * dirent/Versions [libc]: Export scandirat and scandirat64 for
73586         GLIBC_2.15.
73587         * dirent/dirent.h: Declare scandirat and scandirat64.
73588         * dirent/scandirat.c: New file.
73589         * dirent/scandirat64.c: New file.
73590         * sysdeps/wordsize-64/scandirat.c: New file.
73591         * sysdeps/wordsize-64/scandirat64.c: New file.
73592         * dirent/opendir.c: Define opendirat.
73593         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
73594         using scandirat.
73595         * dirent/scandir64.c: Adjust for scandir.c change.
73596         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
73597         __scandirat64, and __scandir_cancel_handler.
73598         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
73599         additional parameter and use openat instead of open (outside of ld.so).
73600         Add new __opendir as wrapper around __opendirat.
73601         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
73602         here without requiring old scandirat implementation.
73604 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
73606         * dirent/scandir.c (cancel_handler): Renamed to
73607         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
73608         defined.  Adjust users.
73609         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
73610         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
73612 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
73614         * string/test-string.h (IMPL): Use __STRING to expand name and then
73615         stringify it.
73617         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
73618         of cleanups.
73620 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73622         * string/Makefile: Update.
73623         (strop-tests): Append strncat.
73624         * string/test-wcscmp.c: New file.
73625         New comprehensive test for wcscmp.
73626         * string/test-strcmp.c: Update.
73627         (WIDE): New define.
73629 2011-07-22  Andreas Schwab  <schwab@redhat.com>
73631         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
73632         line.
73634 2011-07-26  Andreas Schwab  <schwab@redhat.com>
73636         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
73637         encoding to ACE if AI_IDN.
73639 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
73641         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
73642         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
73644 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73646         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
73647         Fix overflow bug in strncat.
73648         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
73650         * string/test-strncat.c: Update.
73651         Add new tests for checking overflow bugs.
73653 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73655         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73656         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
73657         * sysdeps/i386/i686/multiarch/strcat.S: New file.
73658         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
73659         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
73660         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
73661         * sysdeps/i386/i686/multiarch/strncat.S: New file.
73662         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
73663         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
73665         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
73666         (USE_AS_STRCAT): Define.
73667         Add strcat and strncat support.
73668         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73670 2011-07-25  Andreas Schwab  <schwab@redhat.com>
73672         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
73673         __n bigger than INT_MAX+1.
73674         (__strncmp_g): Likewise.
73676 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
73678         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
73679         * libio/stido.h: Likewise.
73681         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
73682         (AF_NFC): Define.
73683         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
73684         (AF_NFC): Define.
73686         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
73687         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73688         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73689         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
73690         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73692         [BZ #13021]
73693         * scripts/test-installation.pl: Don't expect libnss_test1 to be
73694         installed.
73696         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
73697         typo.
73698         (_dl_x86_64_save_sse): Likewise.
73700 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
73702         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
73703         OSXSAVE.
73704         (_dl_x86_64_save_sse): Likewise.
73706         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
73708         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
73710 2011-07-21  Andreas Schwab  <schwab@redhat.com>
73712         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
73713         change.
73714         (_dl_x86_64_save_sse): Use correct AVX check.
73716 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73718         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
73719         bug in strncpy/strncat.
73720         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
73722 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
73724         * string/tester.c (test_strcat): Add tests for different alignments
73725         of source and destination.
73726         (test_strncat): Likewise.
73728 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
73730         [BZ #12852]
73731         * posix/glob.c (glob): Check passed in values before using them in
73732         expressions to avoid some overflows.
73733         (glob_in_dir): Likewise.
73735         [BZ #13007]
73736         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
73737         check for AVX enablement so that we don't crash with old kernels and
73738         new hardware.
73739         * elf/tst-audit4.c: Add same checks here.
73740         * elf/tst-audit6.c: Likewise.
73742         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
73744 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
73746         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
73748 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
73750         * po/cs.po: Update from translation team.
73751         * po/bg.po: Likewise.
73753 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
73755         * misc/sys/cdefs.h: Add support for const attribute.
73756         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
73757         to gnu_dev_{major,minor,makedev} functions.
73759 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
73761         * intl/dcigettext.c (get_output_charset): Add missing bracket.
73763 2011-07-20  Andreas Schwab  <schwab@redhat.com>
73765         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
73766         strlen results.
73768 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73770         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
73771         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
73772         register in order to avoid conflicts with the soft frame pointer
73773         being held in r11 when necessary.
73774         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
73775         (INTERNAL_VSYSCALL_NCS): Likewise.
73777 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
73779         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
73780         * elf/dl-fini.c (_dl_fini): Adjust caller.
73781         * elf/dl-close.c (_dl_close_worker): Likewise.
73782         * sysdeps/generic/ldsodefs.h: Adjust declaration.
73784 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
73786         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
73787         "aux_cache->nlibs < 0".
73789         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
73790         in the reload-count case.
73792 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73794         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73795         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
73796         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
73797         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
73798         * sysdeps/x86_64/multiarch/strcat.S: New file.
73799         * sysdeps/x86_64/multiarch/strncat.S: New file.
73800         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
73801         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
73802         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
73803         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
73804         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
73805         (USE_AS_STRCAT): Define.
73806         Add strcat and strncat support.
73807         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73808         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
73809         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
73810         * string/strncat.c: Update.
73811         (USE_AS_STRNCAT): Define.
73812         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73813         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
73814         and i7.
73815         * sysdeps/x86_64/multiarch/init-arch.h
73816         (bit_Prefer_PMINUB_for_stringop): New.
73817         (index_Prefer_PMINUB_for_stringop): Likewise.
73818         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
73819         bit_Prefer_PMINUB_for_stringop.
73821 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
73823         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
73824         buffer64.
73825         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
73826         of casting of buffer.
73827         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
73828         buffer32 and buffer64.
73829         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
73830         writes instead of casting of buffer.
73831         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
73832         buffer32.
73833         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
73834         casting of buffer.
73836 2011-07-19  Andreas Schwab  <schwab@redhat.com>
73838         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
73840 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
73842         * nscd/nscd.c (termination_handler): Don't do anything for a database
73843         if it has not yet been initialized.
73845 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
73847         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73849 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
73851         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73853 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
73855         * po/nl.po: Update from translation team.
73856         * po/sv.po: Likewise.
73858 2011-07-16  Roland McGrath  <roland@hack.frob.com>
73860         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
73861         now disallowed by GCC.
73863         * configure.in (use-default-link): Default to yes if a test -shared
73864         link meets our qualifications.
73865         * configure: Regenerated.
73867         * config.make.in (output-format): New variable.
73868         * configure.in: Check for ld --print-output-format support.
73869         * configure: Regenerated.
73870         * Makerules ($(common-objpfx)format.lds)
73871         [$(output-format) != unknown]: Just use $(output-format),
73872         instead of the linker-script munging.
73874 2011-07-14  Roland McGrath  <roland@hack.frob.com>
73876         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
73877         of $(common-objpfx)shlib.lds.
73878         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
73880         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
73881         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
73883         * configure.in (-z relro check): Adjust test code to add a large
73884         writable data section after it.
73885         * configure: Regenerated.
73887 2011-07-11  Roland McGrath  <roland@hack.frob.com>
73889         * configure.in (-z relro check): Fix test code to make the variable
73890         truly const.
73891         * configure: Regenerated.
73893 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
73895         * nscd/nscd.h (struct traced_file): Define.
73896         (struct database_dyn): Remove inotify_descr, reset_res, and filename
73897         elements.  Add traced_files.
73898         (inotify_fd): Declare.
73899         (register_traced_file): Declare.
73900         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
73901         (inotify_fd): Export.
73902         (resolv_conf_descr): Remove.
73903         (nscd_init): Move inotify descriptor creation to main.
73904         Don't register files for notification here.
73905         (register_traced_file): New function.
73906         (invalidate_cache): Don't use reset_res to determine whether to call
73907         res_init, go through the list of registered files.
73908         (main_loop_poll): The inotify descriptors are now stored in the
73909         structures for the traced files.
73910         (main_loop_epoll): Likewise.
73911         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
73912         to __nss_disable_nscd.
73913         * nscd/cache.c (prune_cache): There is no single inotify descriptor
73914         for a database anymore.  Check the records for all the registered
73915         files instead.
73916         * nss/Makefile (libnss_files-routines): Add files-init.
73917         (libnss_db-routines): Add db-init.
73918         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
73919         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
73920         * nss/nss_db/db-init.c: New file.
73921         * nss/nss_files/files-init.c: New file.
73922         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
73923         __nss_lookup_function.
73924         (__nss_lookup_function): Call nss_load_library.
73925         (nss_load_all_libraries): New function.
73926         (__nss_disable_nscd): Take parameter with callback function for files
73927         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
73928         used for the cached services.
73929         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
73930         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
73931         options for features to all the files in nscd.
73933         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
73935 2011-07-10  Roland McGrath  <roland@hack.frob.com>
73937         * csu/elf-init.c (__libc_csu_init): Comment typo.
73939 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
73941         * po/pl.po: Update from translation team.
73942         * po/ja.po: Likewise.
73943         * po/ru.po: Likewise.
73944         * po/ko.po: Likewise.
73945         * po/fr.po: Likewise.
73947 2011-07-09  Roland McGrath  <roland@hack.frob.com>
73949         * configure.in (.ctors/.dtors header and trailer check):
73950         Use an empirical test on a built program.
73951         * configure: Regenerated.
73953         * configure.in (-z relro check): Use an empirical test on a built DSO.
73954         Detect, but do not require, on ia64.
73955         * configure: Regenerated.
73957         * configure.in (READELF): Find it with AC_CHECK_TOOL.
73958         Update tests that use readelf to use $READELF instead.
73959         * configure: Regenerated.
73961 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
73963         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
73964         if the result is not used.
73966 2011-07-05  Andreas Jaeger  <aj@suse.de>
73968         [BZ#9696]
73969         * stdlib/tst-strtod.c: Add testcase.
73971 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
73973         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
73974         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
73975         The latter has a higher limit.  Take additional parameter to pass to
73976         the new function.
73977         (__pathconf): Pass file to __statfs_link_max.
73978         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
73979         __statfs_link_max.
73980         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
73981         __statfs_link_max.
73983         [BZ #12868]
73984         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
73985         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
73986         Handle Lustre.
73987         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
73988         (__statfs_filesize_max): Likewise.
73989         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
73991 2011-07-05  Andreas Jaeger  <aj@suse.de>
73993         * resolv/res_comp.c (dn_skipname): Remove unused variable.
73995 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
73997         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
73998         `status' variable.
73999         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
74000         Likewise.
74002 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
74004         * Makefile (strop-tests): Add strncat.
74005         * string/test-strncat.c: New file.
74007 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
74009         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
74011 2011-06-21  Andreas Jaeger  <aj@suse.de>
74013         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
74014         Copy rule from iconvdata/Makefile.
74016 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
74018         [BZ #12922]
74019         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
74020         but no long options are defined, just return 'W'.
74022 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
74024         [BZ #9696]
74025         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
74027 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
74029         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
74030         netgroups to read.
74031         (innetgr): Likewise.
74033 2011-07-05  Roland McGrath  <roland@hack.frob.com>
74035         * config.make.in (install_root): Default to $(DESTDIR).
74037 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
74039         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
74041 2011-07-02  Roland McGrath  <roland@hack.frob.com>
74043         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
74045         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
74046         containing directory rather than embedding absolute directory names.
74048         * scripts/check-local-headers.sh: Rewritten using awk.
74049         Match by word, not by line.  Print error messages for matches.
74050         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
74052         * Makerules [shlib-lds-flags empty]:
74053         ($(common-objpfx)libc_pic.opts): New target.
74054         ($(common-objpfx)libc_pic.os.clean): New target.
74055         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
74057         * config.make.in (OBJCOPY): New variable.
74058         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
74059         * configure: Regenerated.
74061         * config.make.in (use-default-link): New variable.
74062         * configure.in (use_default_link): Grok --with-default-link to set it.
74063         * configure: Regenerated.
74064         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
74065         (shlib-lds, shlib-lds-flags): Define to empty.
74067         * Makerules (shlib-lds): New variable.
74068         (shlib-lds-flags): New variable.
74069         (build-shlib, build-moduile, build-module-asneeded): Use it.
74070         ($(common-objpfx)libc.so): Use $(shlib-lds).
74071         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
74072         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
74074         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
74075         DT_FLAGS/DT_FLAGS_1 with zero flags.
74077         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
74078         linker script munging.
74080 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
74082         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
74083         as 128-bit value.
74084         * crypt/sha512.c (sha512_process_block): Perform total addition using
74085         128-bit if possible.
74086         (__sha512_finish_ctx): Likewise.
74087         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
74088         as 64-bit value.
74089         * crypt/sha256.c (SWAP64): Define.
74090         (sha256_process_block): Perform total addition using 64-bit if
74091         possible.
74092         (__sha256_finish_ctx): Likewise.
74094 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
74096         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
74097         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74098         * nscd/hstcache.c (cache_addhst): Likewise.
74099         * nscd/grpcache.c (cache_addgr): Likewise.
74100         * nscd/aicache.c (addhstaiX): Likewise.
74101         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
74103 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
74105         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
74106         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74107         * nscd/hstcache.c (cache_addhst): Likewise.
74108         * nscd/grpcache.c (cache_addgr): Likewise.
74109         * nscd/aicache.c (addhstaiX): Likewise.
74111 2011-07-01  Andreas Schwab  <schwab@redhat.com>
74113         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
74114         domain only when needed.
74116 2011-06-30  Andreas Schwab  <schwab@redhat.com>
74118         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
74119         is always restored.
74121 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
74123         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
74124         are re-adding the entry.
74125         * nscd/servicescache.c (cache_addserv): Likewise.
74127 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
74129         * sysdeps/generic/dl-irel.h: fix protection against multiple
74130         inclusions.
74131         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
74133 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
74135         [BZ #12935]
74136         * malloc/memusage.sh: Fix quoting in message.
74137         * debug/xtrace.sh: Likewise.
74139         * configure.in: Remove support for --experimental-malloc option, make
74140         it the default.
74141         * config.make.in: Likewise.
74142         * malloc/Makefile: Likewise.
74144 2011-06-27  Andreas Schwab  <schwab@redhat.com>
74146         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
74147         two-byte characters.
74149 2011-06-27  Roland McGrath  <roland@hack.frob.com>
74151         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
74152         AC_CACHE_CHECK invocation.
74153         * configure: Regenerated.
74155         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
74157 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
74159         [BZ #12350]
74160         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
74161         bit from old_res_options.
74163         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
74165         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
74166         value type for setfct.
74168 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
74170         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74171         __gettimeofday instead of gettimeofday.
74173 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
74175         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
74177 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
74179         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
74181         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
74182         info.
74184 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
74186         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74187         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74188         strcpy-sse2-unaligned strncpy-sse2-unaligned
74189         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
74190         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
74191         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
74192         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
74193         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
74194         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
74195         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
74196         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
74197         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
74198         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
74199         (STRCPY): Support SSE2 and SSSE3 versions.
74201 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
74203         [BZ #12874]
74204         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
74205         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
74206         kernels which artificially limit size of requests.
74208 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
74210         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74211         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74212         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
74213         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
74214         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
74215         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
74216         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
74217         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
74218         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
74219         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
74220         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
74221         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
74222         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
74223         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
74224         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
74225         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74226         Enable unaligned load optimization for Intel Core i3, i5 and i7
74227         processors.
74228         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
74229         Define.
74230         (index_Fast_Unaligned_Load): Define.
74231         (HAS_FAST_UNALIGNED_LOAD): Define.
74233 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
74235         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
74237 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74239         [BZ #12907]
74240         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
74241         until it is clear that the information is realy needed.
74242         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
74244 2011-06-22  Andreas Schwab  <schwab@redhat.com>
74246         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
74248 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74250         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74251         /sys/devices/system/cpu/online if it is usable.
74253         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
74254         reading the information from the /proc filesystem to once a second.
74256 2011-06-21  Andreas Jaeger  <aj@suse.de>
74258         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
74259         NULL after inclusion of kernel headers.
74261 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
74263         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
74264         calls to internal_setent.
74266         [BZ #12885]
74267         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
74268         addresses using gethostbyname4_r ignore IPv4 addresses.
74270         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
74271         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
74273         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
74275 2011-06-20  David S. Miller  <davem@davemloft.net>
74277         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
74278         inclusions.
74279         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
74281         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
74282         (elf_irel): Use it.
74283         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
74284         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
74285         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
74286         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
74287         * sysdeps/x86_64/dl-irel.h: Likewise.
74289         * elf/dl-runtime.c: Use elf_ifunc_invoke.
74290         * elf/dl-sym.c: Likewise.
74292 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74294         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
74295         need to dereference resplen2.
74297 2011-06-14  Andreas Schwab  <schwab@redhat.com>
74299         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
74301 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74303         * Makeconfig: Define vardbdir and inst_vardbdir.
74304         * nss/Makefile: Add rules to install db-Makefile.
74306         * nss/nss_db/db-XXX.c: Cleanup.
74308         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
74309         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
74310         GLIBC_PRIVATE.
74311         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
74312         * nss/makedb.c: Implement -g option to specify that value strings
74313         are generated and should not be added to table iterated over for
74314         get*ent calls.
74315         * nss/nss_db/db-initgroups.c: New file.
74317         * nss/getent.c: Add support for initgroups lookups through getgrouplist
74318         interface.
74320         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
74321         (internal_getgrouplist): Adjust to name change.
74322         Update use_initgroups_entry if this is not the first call.
74323         * nss/databases.def: Add initgroups entry.
74325         * nss/makedb.c (compute_tables): Check result of multiple hash table
74326         sizes to minimize maximum chain length.
74328 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
74330         * Versions.def: Add entry for libnss_db.
74331         * shlib-versions: Likewise.
74332         * nss/Makefile: Add rules to build libnss_db.
74333         * nss/Versions: Add libnss_db information.  Organize libnss_files
74334         entries better.
74335         * nss/db-Makefile: Add gshadow support.  Change rules for the new
74336         makedb progra.  Some minor improvements to generate smaller files.
74337         * nss/nss_db/nss_db.h: Move NSS database header data structures to
74338         here from...
74339         * nss/makedb.c: ...here.
74340         Improve database format to be smaller and require less memory at
74341         runtime.
74342         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
74343         db anymore.
74344         * nss/nss_db/db-netgrp.c: Likewise.
74345         * nss/nss_db/db-open.c: Likewise.
74346         * nss/nss_files/flies-XXX.x: Adjust comments.
74347         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
74348         * nss/nss_files/files-grp.c: Likewise.
74349         * nss/nss_files/files-hosts.c: Likewise.
74350         * nss/nss_files/files-network.c: Likewise.
74351         * nss/nss_files/files-proto.c: Likewise.
74352         * nss/nss_files/files-pwd.c: Likewise.
74353         * nss/nss_files/files-rpc.c: Likewise.
74354         * nss/nss_files/files-service.c: Likewise.
74355         * nss/nss_files/files-sgrp.c: Likewise.
74356         * nss/nss_files/files-spwd.c: Likewise.
74357         * nss/nss_db/db-alias.c: Removed.
74358         * nss/nss_db/dummy-db.h: Removed.
74360 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
74362         * nss/makedb.c: Rewritten to not use database library.
74363         * nss/Makefile: Update to build new makedb program.
74365 2011-06-14  Andreas Jaeger  <aj@suse.de>
74367         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
74368         memset declaration.
74370 2011-06-10  Andreas Schwab  <schwab@redhat.com>
74372         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
74373         tmpbuf.
74375 2011-06-10  Roland McGrath  <roland@hack.frob.com>
74377         * Makerules (shlib.lds): Fail if the linker script comes out empty.
74378         * elf/Makefile ($(objpfx)ld.so): Likewise.
74380         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
74381         Don't list ld.so twice in dependencies.
74383         * posix/bug-regex31.c: Include <stdlib.h>.
74385         * nscd/hstcache.c (cache_addhst): Remove unused variable.
74387         * nis/nss_compat/compat-spwd.c
74388         (getspent_next_nss_netgr): Remove unused variable.
74389         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
74391         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
74392         nonmembers" output to use the right array.
74394         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
74396         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
74398         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
74399         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
74400         * catgets/gencat.c (read_input_file): Likewise.
74401         * locale/programs/locarchive.c (enlarge_archive): Likewise.
74403         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
74404         variable definition inside #if's controlling its use.
74406         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
74408         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
74410         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
74412         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
74413         unreachable code.
74415         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
74417         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
74418         * configure: Regenerated.
74420         * Makerules: Revert last change.
74421         * elf/Makefile: Likewise.
74423 2011-06-09  Roland McGrath  <roland@hack.frob.com>
74425         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
74426         * elf/Makefile ($(objpfx)librtld.os): Likewise.
74427         (reloc-link): Likewise.
74429 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
74431         * elf/Makefile: Add rules to build pldd.
74432         * elf/pldd.c: New file.
74433         * elf/pldd-xx.c: New file.
74435 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
74437         * version.h: Update for 2.15 development version.
74439 2011-06-07  David S. Miller  <davem@davemloft.net>
74441         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
74442         ifuncs.
74443         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
74444         elf_machine_lazy_rel): Likewise.
74445         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
74446         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
74447         elf_machine_lazy_rel): Likewise.
74448         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
74449         dl_hwcap via passed in argument.
74450         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
74451         Likewise.
74453 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74455         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
74457 2011-06-06  Roland McGrath  <roland@hack.frob.com>
74459         [BZ #12849]
74460         * manual/fdl-1.1.texi: New file, verbatim from:
74461         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
74462         * manual/lgpl-2.1.texi: New file, verbatim from:
74463         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
74464         * manual/Makefile (licenses): New variable, list those new file names.
74465         (texis): Use it.
74466         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
74468         * manual/fdl.texi: File removed.
74469         * manual/lesser.texi: File removed.
74470         * manual/libc.texinfo (Copying, Documentation License):
74471         Use new @include file names, put @appendix directive before @include.
74473 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
74475         [BZ #12841]
74476         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
74477         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
74478         (mq_open): Add __NTH.
74480 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
74482         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74483         Assume Intel Core i3/i5/i7 processor if AVX is available.
74485 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
74487         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
74488         typo.
74490 2011-05-31  Andreas Schwab  <schwab@redhat.com>
74492         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
74493         memory.  Use alloca_account.  Fix memory leak when retrying.
74495 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
74497         * version.h (RELEASE): Bump for 2.14 release.
74498         * include/features.h (__GLIBC_MINOR__): Bump to 14.
74500         * config.make.in (RANLIB): Remove entry.
74502 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
74504         * po/Makefile (po-sed-cmd): Add ksh to extensions.
74505         (libc.pot): Work around missing support for .ksh extension in xgettext.
74507         [BZ #12684]
74508         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
74509         if both request failed.
74510         (send_dg): In case of server errors clear resplen or *resplen2.
74512         [BZ #12454]
74513         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
74514         when there are multiple maps.
74515         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
74516         (_dl_fini): Remove test here.
74518         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
74520 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
74522         [BZ #12350]
74523         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
74524         bit from old_res_options.
74525         (gaih_inet): Likewise.
74527         [BZ #11099]
74528         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
74529         as signed.
74531         * resolv/res_init.c (res_setoptions): Make the code more compact.
74533         [BZ #11558]
74534         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
74535         set RES_USEVC.
74537         [BZ #11634]
74538         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
74540         * malloc/malloc.h: Mark malloc hook variables as deprecated.
74542         [BZ #11781]
74543         * malloc/malloc.h: Declare malloc hook variables as volatile.
74545         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
74546         in last patch.
74548         [BZ #11799]
74549         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
74550         raise in the comment.
74551         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
74552         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74553         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
74555 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
74557         [BZ #12811]
74558         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
74559         grow the buffers more if it already has to be sufficient.
74560         (build_wcs_upper_buffer): Likewise.
74561         * posix/regexec.c (check_matching): Likewise.
74562         (clean_state_log_if_needed): Likewise.
74563         (extend_buffers): Don't enlarge buffers beyond size of the input
74564         buffer.
74565         Patches mostly by Emil Wojak <emil@wojak.eu>.
74566         * posix/bug-regex32.c: New file.
74567         * posix/Makefile (tests): Add bug-regex32.
74569         * locale/findlocale.c (_nl_find_locale): Return right away if
74570         _nl_explode_name failed.
74571         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
74573         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
74575         * debug/xtrace.sh: Unify messages.
74576         * malloc/memusage.sh: Likewise.
74578         [BZ #12813]
74579         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
74580         time symbol from vDSO.  Substitute with vsyscall if not available.
74581         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
74582         __vdso_time.
74584         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
74585         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
74586         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
74587         Add sendmmsg and internal_sendmmsg.
74588         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
74589         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
74590         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
74592         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
74593         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
74594         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
74596 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
74598         [BZ #12813]
74599         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
74600         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
74601         available.
74602         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
74603         __vdso_getcpu.
74605         [BZ #12814]
74606         * iconvdata/Makefile (tests): Add bug-iconv9.
74607         * iconvdata/bug-iconv9.c: New file.
74609 2011-05-27  Andreas Schwab  <schwab@redhat.com>
74611         [BZ #12814]
74612         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
74614 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
74616         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74617         (struct user_regs_struct): Change intcs field back to cs.
74619 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
74621         * po/ja.po: Update from translation team.
74623 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
74625         [BZ #12795]
74626         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
74627         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
74629 2011-05-20  Andreas Schwab  <schwab@redhat.com>
74631         * stdlib/longlong.h: Update from GCC.
74633 2011-05-23  Andreas Schwab  <schwab@redhat.com>
74635         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
74636         parameter name.
74637         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
74638         Add parameter name.
74639         (__sysconf): Pass it down.
74641 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
74643         [BZ #12671]
74644         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
74645         some situations.
74646         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
74647         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
74648         add in in __libc_use_alloca calls.  Adjust callers.
74649         (glob): Use malloc in some situations.
74651         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
74652         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
74653         pltexit.
74655 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
74657         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
74658         and CLOCK_BOOTTIME_ALARM.
74660         [BZ #12782]
74661         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
74662         is returned.
74664         * string/_strerror.c (__strerror_r): Print negative errors as signed
74665         numbers.
74667         [BZ #12777]
74668         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
74669         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
74670         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
74672         * configure.in: Fix typo in redirection and correct removal of test
74673         files in two cases.
74675         [BZ #12788]
74676         * locale/setlocale.c (new_composite_name): Fix test to check for
74677         identical name of all categories.
74679         [BZ #12792]
74680         * libio/filedoalloc.c (local_isatty): New function.
74681         (_IO_file_doallocate): Use local_isatty.
74682         * stdio-common/perror.c (perror): In case a new stream is used
74683         forward the stream error.
74684         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
74685         error flag.
74687 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
74689         [BZ #11884]
74690         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
74691         alloca.
74692         * include/alloca.h (extend_alloca_account): Define.
74694         [BZ #11857]
74695         * posix/regex.h: Fix comments with documentation of user-accessible
74696         fields after compilation and describe correct free'ing of pattern
74697         after re_compile_pattern.
74698         Patch by Reuben Thomas <rrt@sc3d.org>.
74700 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
74702         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
74703         and -mno-altivec to prevent the compiler from using Altivec and/or
74704         VSX instructions when the corresponding registers are not available.
74706 2011-05-19  Andreas Schwab  <schwab@redhat.com>
74708         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
74710 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
74712         * libio/freopen.c (freopen): Use __dup2, not dup2.
74713         * libio/freopen64.c (freopen64): Likewise.
74715 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74717         [BZ #12775]
74718         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
74719         * math/Makefile (tests): Add test-powl.
74720         (CFLAGS-test-powl.c): Define.
74721         * math/test-powl.c: New file.
74723 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74725         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
74727 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
74729         [BZ #11837]
74730         * iconvdata/gb18030.c: Update to GB18020-2005.
74732 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
74734         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
74735         RE_SYNTAX_POSIX_AWK): Update to match recent development.
74736         Patch by Aharon Robbins <arnold@skeeve.com>.
74738         [BZ #11892]
74739         * stdlib/putenv.c (putenv): Don't always create copy of the variable
74740         on the stack.
74742         [BZ #11895]
74743         * misc/pselect.c (__pselect): Handle timeout value errors hidden
74744         through underflows.
74746         [BZ #12766]
74747         * misc/error.c (error_at_line): Ensure file_name and old_file_name
74748         point to strings before performing equality test for error_one_per_line
74749         mode.
74751         [BZ #11697]
74752         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
74754         [BZ #11820]
74755         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74756         (struct user_fpregs_struct): Avoid __uint*_t types.
74758         [BZ #6420]
74759         * malloc/mtrace.c (tr_where): Add additional parameter to point to
74760         symbol info.  Use it instead of calling _dl_addr locally.
74761         (lock_and_info): New function.
74762         (tr_freehook): Call lock_and_info and pass symbol info as additional
74763         parameter to tr_where.
74764         (tr_mallochook): Likewise.
74765         (tr_reallochook): Likewise.
74766         (tr_memalignhook): Likewise.
74768         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
74769         used and couldn't be at all thread-safe.
74771 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
74773         * libio/freopen.c (freopen): Don't close old file descriptor
74774         before the new one is opened.  Instead dup the new file descriptor
74775         to the old one after the new stream is created.
74776         * libio/freopen64.c (freopen64): Likewise.
74777         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
74778         * libio/fileops.c (_IO_new_file_close_it): Handle new
74779         _IO_FLAGS2_NOCLOSE flag.
74780         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
74781         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
74782         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
74783         _IO_FLAGS2_NOCLOSE flag.
74784         * include/unistd.h: Add hidden_proto for dup3.
74785         Define __have_dup3.
74786         * io/dup3.c: Define hidden symbol.
74787         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
74789         [BZ #7101]
74790         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
74791         when an incomplete long option is used.
74792         * posix/tst-getopt_long1.c: New file.
74793         * posix/Makefile (tests): Add tst-getopt_long1.
74795         [BZ #10138]
74796         * scripts/config.guess: Update from autoconf-2.68.
74797         * scripts/config.sub: Likewise.
74799         [BZ #10157]
74800         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
74801         tests into ...
74802         (has_cpuclock): ...this.  New function.
74803         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
74804         macro here based on has_cpuclock code.
74806         [BZ #10149]
74807         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74808         First byte (not low byte) is now always NUL.
74809         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
74811         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74812         Use non-cancelable interfaces.
74814         [BZ #9809]
74815         * locale/iso-639.def: Add entry for Sorani.
74817         [BZ #11901]
74818         * include/stdlib.h: Move include protection to the right place.
74819         Define abort_msg_s.  Declare __abort_msg with it.
74820         * stdlib/abort.c (__abort_msg): Adjust type.
74821         * assert/assert.c (__assert_fail_base): New function.  Majority
74822         of code from __assert_fail.  Allocate memory for __abort_msg with
74823         mmap.
74824         (__assert_fail): Now call __assert_fail_base.
74825         * assert/assert-perr.c: Remove bulk of implementation.  Use
74826         __assert_fail_base.
74827         * include/assert.hL Declare __assert_fail_base.
74828         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
74829         mmap.
74830         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
74832 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
74834         [BZ #11952]
74835         [BZ #12453]
74836         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
74837         until all modules are registered in the DTV.
74838         * elf/Makefile: Add rules to build and run tst-tls19.
74839         * elf/tst-tls19.c: New file.
74840         * elf/tst-tls19mod1.c: New file.
74841         * elf/tst-tls19mod2.c: New file.
74842         * elf/tst-tls19mod3.c: New file.
74843         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
74845         [BZ #12083]
74846         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
74847         correctly.
74849         [BZ #12601]
74850         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
74851         two-byte sequence errors.
74852         * iconvdata/Makefile (tests): Add bug-iconv8.
74853         * iconvdata/bug-iconv8.c: New file.
74855         [BZ #12626]
74856         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
74857         buf2 definition.
74859         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
74861         [BZ #12432]
74862         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
74863         (dummy_getcfa): New function.
74864         (init): Get _Unwind_GetCFA address, use dummy if not found.
74865         (backtrace_helper): In recursion check, also check whether CFA changes.
74866         (__backtrace): Completely initialize arg.
74868         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
74869         storing incomplete byte sequence in state object.  Avoid testing for
74870         guaranteed too small input if we know there is enough data available.
74872 2011-05-11  Andreas Schwab  <schwab@redhat.com>
74874         * Makeconfig (+link-pie): Indent.
74875         * Rules (binaries-pie): Define if $(have-fpie) and
74876         $(build-shared).
74877         (binaries-shared): Also filter out $(binaries-pie).
74878         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
74879         * nscd/Makefile (others-pie): Add nscd.
74880         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
74881         ($(objpfx)nscd): Remove command override.
74882         * login/Makefile (others-pie): Add pt_chown.
74883         ($(objpfx)pt_chown): Remove command override.
74884         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
74885         remove command overrides.
74887 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
74889         * libio/tst_putwc.c: Fix error messages.
74891         [BZ #12724]
74892         * libio/fileops.c (_IO_new_file_close_it): Always flush when
74893         currently writing and seek to current position when not.
74894         * libio/Makefile (tests): Add bug-fclose1.
74895         * libio/bug-fclose1.c: New file.
74897 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
74899         [BZ #12511]
74900         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
74901         don't set DF_1_NODELETE here.
74902         (do_lookup_x): When entering new entry test for copy relocation
74903         and if necessary set DF_1_NODELETE flag.
74904         * elf/tst-unique4.cc: New file.
74905         * elf/tst-unique4.h: New file.
74906         * elf/tst-unique4lib.cc: New file.
74907         * elf/Makefile: Add rules to build and run tst-unique4.
74908         Patch by Piotr Bury <pbury@goahead.com>.
74910 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
74912         [BZ #12052]
74913         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
74915         [BZ #12625]
74916         * misc/mntent_r.c (addmntent): Flush the stream after the output
74918         [BZ #12393]
74919         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
74920         (is_trusted_path_normalize): Skip initial colon.  Append slash
74921         to empty buffer.  Duplicate is_trusted_path code but allow
74922         constructed patch to be prefix.
74923         (is_dst): Allow $ORIGIN followed by /.
74924         (_dl_dst_substitute): Correct clearing of check_for_trusted.
74925         Correct testing of result of is_trusted_path_normalize
74926         (decompose_rpath): Fix warning.
74928 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
74930         [BZ #11257]
74931         * grp/initgroups.c (internal_getgrouplist): When we found the service
74932         list through the initgroups entry in nsswitch.conf do not always
74933         continue on a successful lookup.  Don't always use the
74934         __nss_group_database value if it is set.
74935         * nss/nsswitch.conf (initgroups): Change action for successful db
74936         lookup to continue for compatibility.
74938 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
74940         [BZ #11532]
74941         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
74942         and CP774 modules.
74943         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
74944         and CP774 modules.
74945         * iconvdata/tst-tables.sh: Likewise.
74946         * iconvdata/cp770.c: New file.
74947         * iconvdata/cp771.c: New file.
74948         * iconvdata/cp772.c: New file.
74949         * iconvdata/cp773.c: New file.
74950         * iconvdata/cp774.c: New file.
74951         * iconvdata/testdata/CP770: New file.
74952         * iconvdata/testdata/CP770..UTF8: New file.
74953         * iconvdata/testdata/CP771: New file.
74954         * iconvdata/testdata/CP771..UTF8: New file.
74955         * iconvdata/testdata/CP772: New file.
74956         * iconvdata/testdata/CP772..UTF8: New file.
74957         * iconvdata/testdata/CP773: New file.
74958         * iconvdata/testdata/CP773..UTF8: New file.
74959         * iconvdata/testdata/CP774: New file.
74960         * iconvdata/testdata/CP774..UTF8: New file.
74962         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
74963         END CHARMAP line.
74964         * iconvdata/gen-8bit-gap.sh: Likewise.
74965         * iconvdata/gen-8bit.sh: Likewise.
74967         * locale/iso-639.def: Add ary entry.
74969         [BZ #11258]
74970         * locale/C-translit.h.in: Add U20A1 transliteration.
74972         [BZ #12178]
74973         * locale/iso-639.def: Add wae entry.
74974         Patch by Kevin Bortis <bortis@translate-wae.ch>.
74976         [BZ #12545]
74977         * locale/programs/localedef.c (construct_output_path): Use ssize_t
74978         for n.
74980         [BZ #12711]
74981         * locale/C-translit.h.in: Add entry for U20B9.
74982         Patch by pravin.d.s@gmail.com.
74984 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
74986         [BZ #12713]
74987         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
74988         ENAMETOOLONG use generic getcwd.
74989         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
74990         in rtld.  Use *stat64.
74991         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
74992         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
74993         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
74994         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
74995         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
74996         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
74997         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
74998         __fstatat64 macros.
74999         * include/dirent.h: Add libc_hidden_proto for rewinddir.
75000         * dirent/rewinddir.c: Add libc_hidden_def.
75001         * sysdeps/mach/hurd/rewinddir.c: Likewise.
75002         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
75004         * include/dirent.h (__alloc_dir): Add flags parameter.
75005         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
75006         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
75007         __alloc_dir.
75008         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
75009         from fdopendir if O_CLOEXEC is already set.
75011 2011-03-15  Alan Modra  <amodra@gmail.com>
75013         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
75014         l_tls_firstbyte_offset non-zero.  Save padding offset in
75015         l_tls_firstbyte_offset for later use.
75016         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
75017         freeing static tls block.
75019 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
75021         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
75022         where #ifdef was intended.  The intent is to prevent ARG_MAX from
75023         being defined by the kernel headers.
75025 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
75027         [BZ #12734]
75028         * resolv/resolv.h: Define RES_NOTLDQUERY.
75029         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
75030         no-tld-query and set RES_NOTLDQUERY.
75031         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
75032         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
75033         modern BIND to search name as TLD unless forbidden.
75035 2011-05-07  Petr Baudis  <pasky@suse.cz>
75036             Ulrich Drepper  <drepper@gmail.com>
75038         [BZ #12393]
75039         * elf/dl-load.c (fillin_rpath): Move trusted path check...
75040         (is_trusted_path): ...to here.
75041         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
75042         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
75043         using is_trusted_path_normalize() in setuid scripts.
75045 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
75047         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
75048         __BEGIN/__END_DECLS.
75050 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
75052         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
75053         NSS_STATUS_NOTFOUND if no record was found.
75055 2011-05-05  Andreas Schwab  <schwab@redhat.com>
75057         * sunrpc/Makefile (headers): Add rpc/netdb.h.
75058         (headers-not-in-tirpc): Remove rpc/netdb.h
75059         * resolv/netdb.h: Revert last change.
75061 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
75063         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
75064         circular dependency between libgcc.a and libc.a.
75066 2011-05-05  Andreas Schwab  <schwab@redhat.com>
75068         * resolv/netdb.h: Don't include <rpc/netdb.h>.
75069         * nis/Makefile: Don't install rpcsvc/*.
75070         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
75071         instead of <rpc/types.h>.
75072         (MAXHOSTNAMELEN): Define.
75074 2011-05-03  Andreas Schwab  <schwab@redhat.com>
75076         * elf/ldconfig.c (add_dir): Don't crash on empty path.
75078 2011-04-28  Maciej Babinski  <mbabinski@google.com>
75080         [BZ #12714]
75081         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
75082         gethostbyname4_r when IPv6 results are possible.
75084 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
75086         [BZ #12723]
75087         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
75088         _PC_PIPE_BUF handling.
75090 2011-04-30  Bruno Haible  <bruno@clisp.org>
75092         [BZ #12717]
75093         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
75094         * resolv/netdb.h (getnameinfo): Change type of flags parameter
75095         to 'int'.
75096         * inet/getnameinfo.c (getnameinfo): Likewise.
75098 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
75100         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
75101         to groups setting in database lookup.
75102         * nss/nsswitch.conf: Add initgroups entry.
75104 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
75106         [BZ #12685]
75107         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
75108         mode string.
75109         Patch by Eric Blake <eblake@redhat.com>.
75111 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
75113         * sunrpc/Makefile (need-export-routines): Add svc_run.
75114         (routines): Remove svc_run.
75115         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
75116         * sunrpc/clnt_perr.c (clnt_perrno): Export.
75117         * sunrpc/svc_run.c (svc_run): Likewise.
75118         * sunrpc/svc_udp.c (svcudp_create): Likewise.
75120 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
75122         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
75123         problem in reallocation in last patch.
75125 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
75127         * sunrpc/Makefile: Move inclusion of Rules.
75129 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75131         * nss/nss_files/files-initgroups.c: New file.
75132         * nss/Makefile (libnss_files-routines): Add files-initgroups.
75133         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
75134         _nss_files_initgroups_dyn.
75136 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
75138         * elf/elf.h (R_ARM_IRELATIVE): Define.
75140 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75142         * po/ru.po: Update from translation team.
75144 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
75146         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
75147         dependencies.
75149 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
75151         [BZ #12653]
75152         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
75153         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
75154         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75155         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
75156         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
75158 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
75160         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
75161         differing bytes.
75162         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
75163         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
75164         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75166 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
75168         [BZ #12420]
75169         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
75170         storing it.
75171         * stdlib/bug-getcontext.c: New file.
75172         * stdlib/Makefile: Add rules to build and run bug-getcontext.
75174 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75176         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
75177         instructions into .machine "z9-109".
75178         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
75179         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
75181 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75183         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
75184         between environment variables and auxiliary vector.
75186 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
75188         * Makefile: Add rules to build linkobj/libc.so.
75189         * include/libc-symbols.h: Define libc_hidden_nolink.
75190         * include/rpc/auth.h: Mark functions which are to be hidden.
75191         * include/rpc/auth_des.h: Likewise.
75192         * include/rpc/auth_unix.h: Likewise.
75193         * include/rpc/clnt.h: Likewise.
75194         * include/rpc/des_crypt.h: Likewise.
75195         * include/rpc/key_prot.h: Likewise.
75196         * include/rpc/pmap_clnt.h: Likewise.
75197         * include/rpc/pmap_prot.h: Likewise.
75198         * include/rpc/pmap_rmt.h: Likewise.
75199         * include/rpc/rpc_msg.h: Likewise.
75200         * include/rpc/svc.h: Likewise.
75201         * include/rpc/svc_auth.h: Likewise.
75202         * include/rpc/xdr.h: Likewise.
75203         * nis/Makefile: Link all DSOs against linkobj/libc.so.
75204         * nss/Makefile: Likewise.
75205         * sunrpc/Makefile: Don't install headers.  Build library with normal
75206         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
75207         * sunrpc/auth_des.c: Hide exported symbols by default, export some
75208         for the compat linking library.  Remove use of INTDEF/INTUSE.
75209         * sunrpc/auth_none.c: Likewise.
75210         * sunrpc/auth_unix.c: Likewise.
75211         * sunrpc/authdes_prot.c: Likewise.
75212         * sunrpc/authuxprot.c: Likewise.
75213         * sunrpc/clnt_gen.c: Likewise.
75214         * sunrpc/clnt_perr.c: Likewise.
75215         * sunrpc/clnt_raw.c: Likewise.
75216         * sunrpc/clnt_simp.c: Likewise.
75217         * sunrpc/clnt_tcp.c: Likewise.
75218         * sunrpc/clnt_udp.c: Likewise.
75219         * sunrpc/clnt_unix.c: Likewise.
75220         * sunrpc/des_crypt.c: Likewise.
75221         * sunrpc/des_soft.c: Likewise.
75222         * sunrpc/get_myaddr.c: Likewise.
75223         * sunrpc/key_call.c: Likewise.
75224         * sunrpc/key_prot.c: Likewise.
75225         * sunrpc/netname.c: Likewise.
75226         * sunrpc/pm_getmaps.c: Likewise.
75227         * sunrpc/pm_getport.c: Likewise.
75228         * sunrpc/pmap_clnt.c: Likewise.
75229         * sunrpc/pmap_prot.c: Likewise.
75230         * sunrpc/pmap_prot2.c: Likewise.
75231         * sunrpc/pmap_rmt.c: Likewise.
75232         * sunrpc/publickey.c: Likewise.
75233         * sunrpc/rpc_cmsg.c: Likewise.
75234         * sunrpc/rpc_common.c: Likewise.
75235         * sunrpc/rpc_dtable.c: Likewise.
75236         * sunrpc/rpc_prot.c: Likewise.
75237         * sunrpc/rpc_thread.c: Likewise.
75238         * sunrpc/rtime.c: Likewise.
75239         * sunrpc/svc.c: Likewise.
75240         * sunrpc/svc_auth.c: Likewise.
75241         * sunrpc/svc_authux.c: Likewise.
75242         * sunrpc/svc_raw.c: Likewise.
75243         * sunrpc/svc_run.c: Likewise.
75244         * sunrpc/svc_simple.c: Likewise.
75245         * sunrpc/svc_tcp.c: Likewise.
75246         * sunrpc/svc_udp.c: Likewise.
75247         * sunrpc/svc_unix.c: Likewise.
75248         * sunrpc/svcauth_des.c: Likewise.
75249         * sunrpc/xcrypt.c: Likewise.
75250         * sunrpc/xdr.c: Likewise.
75251         * sunrpc/xdr_array.c: Likewise.
75252         * sunrpc/xdr_float.c: Likewise.
75253         * sunrpc/xdr_intXX_t.c: Likewise.
75254         * sunrpc/xdr_mem.c: Likewise.
75255         * sunrpc/xdr_rec.c: Likewise.
75256         * sunrpc/xdr_ref.c: Likewise.
75257         * sunrpc/xdr_sizeof.c: Likewise.
75258         * sunrpc/xdr_stdio.c: Likewise.
75260 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
75262         [BZ #12650]
75263         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
75264         * sysdeps/ia64/dl-tls.h: Likewise.
75265         * sysdeps/powerpc/dl-tls.h: Likewise.
75266         * sysdeps/s390/dl-tls.h: Likewise.
75267         * sysdeps/sh/dl-tls.h: Likewise.
75268         * sysdeps/sparc/dl-tls.h: Likewise.
75269         * sysdeps/x86_64/dl-tls.h: Likewise.
75270         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
75272 2011-03-14  Andreas Schwab  <schwab@redhat.com>
75274         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
75275         rpath element also skip the following colon.
75276         (expand_dynamic_string_token): Add is_path parameter and pass
75277         down to DL_DST_REQUIRED and _dl_dst_substitute.
75278         (decompose_rpath): Call expand_dynamic_string_token with
75279         non-zero is_path.  Ignore empty rpaths.
75280         (_dl_map_object_from_fd): Call expand_dynamic_string_token
75281         with zero is_path.
75283 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
75285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75286         Make cancelable.
75288 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
75290         [BZ #12655]
75291         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
75292         Patch by Filipe David Manana <fdmanana@apache.org>.
75294 2011-04-07  Andreas Schwab  <schwab@redhat.com>
75296         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
75297         Maintain aligned stack.
75298         (CHECK_RSP): Remove unused macro.
75300 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
75302         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
75303         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
75305 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
75307         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
75309         * include/features.h: Mention __USE_XOPEN2K8 in comment.
75311 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
75313         [BZ #12518]
75314         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
75315         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
75316         * sysdeps/x86_64/memmove.c: New file.
75317         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
75318         (memcpy): Renamed to ...
75319         (__new_memcpy): This.
75320         (memcpy): Provide GLIBC_2_14 memcpy.
75321         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
75322         (memcpy): Provide GLIBC_2_2_5 memcpy.
75324 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75326         [BZ #12631]
75327         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
75329 2011-03-30  Andreas Schwab  <schwab@redhat.com>
75331         * misc/syncfs.c: New file.
75332         * misc/Makefile (routines): Add syncfs.
75333         * posix/unistd.h: Declare syncfs.
75334         * sysdeps/unix/syscalls.list: Add syncfs.
75336 2011-04-01  Andreas Schwab  <schwab@redhat.com>
75338         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
75339         open_by_handle_at.
75340         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
75341         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75342         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75343         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75344         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75345         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
75346         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75348 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75350         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
75351         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75352         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
75353         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75354         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75355         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75356         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75358         * io/Makefile: Compile fallocate.c, fallocate64.c, and
75359         sync_file_range.c with -fexceptions.
75360         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
75361         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
75362         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
75363         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
75364         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
75365         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75366         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
75367         sync_file_range as cancellation point
75368         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
75369         now a wrapper around __call_sync_file_range with cancellation handling.
75370         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
75371         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
75372         function name to __call_sync_file_range.
75373         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
75374         Add call_sync_file_range.
75376 2011-04-01  Andreas Schwab  <schwab@redhat.com>
75378         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75379         bits/timex.h.
75381 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75383         * iconv/iconv.h: Fix typo in comment.
75384         * io/fcntl.h: Likewise.
75385         * libio/stdio.h: Likewise.
75386         * posix/spawn.h: Likewise.
75387         * posix/unistd.h: Likewise.
75388         * stdlib/stdlib.h: Likewise.
75389         * time/time.h: Likewise.
75390         * wcsmbs/wchar.h: Likewise.
75392         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
75393         open_by_handle): Add.
75394         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
75395         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
75396         Augment a few comments.
75397         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75398         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75399         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75400         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75401         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75402         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
75403         open_by_handle.
75405         * io/fcntl.h (AT_EMPTY_PATH): Define.
75407 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
75409         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
75410         * sysdeps/unix/sysv/linux/bits/time.h: New file.
75411         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
75412         to...
75413         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
75414         * Versions.def: Add GLIBC_2.14.
75415         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
75416         Export.
75418 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
75420         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
75421         round counter.
75422         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75424 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75426         [BZ #12597]
75427         * string/test-strncmp.c (do_page_test): New function.
75428         (check2): Likewise.
75429         (test_main): Call check2.
75430         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
75432 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
75434         [BZ #12587]
75435         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
75436         Handle cache information in CPU leaf 4.
75437         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75439 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
75441         [BZ #12583]
75442         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
75443         character representation.
75444         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
75446 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
75448         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
75449         END(__isnan) to END(__isnanf) to match function entry point/label
75450         EALIGN(__isnanf,...).
75452 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
75454         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
75456 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
75458         [BZ #12510]
75459         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
75460         copy from the symbol referenced in the relocation to initialize the
75461         used variable.
75462         Patch by Piotr Bury <pbury@goahead.com>.
75463         * elf/Makefile: Add rules to build and tst-unique3.
75464         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
75465         * elf/tst-unique3.cc: New file.
75466         * elf/tst-unique3.h: New file.
75467         * elf/tst-unique3lib.cc: New file.
75468         * elf/tst-unique3lib2.cc: New file.
75470         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
75472 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
75474         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
75475         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
75476         to _start.
75478 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
75480         * elf/dl-load.c (_dl_map_object): If we are looking for the first
75481         to-be-loaded object along a path to loader is ld.so.
75483 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
75484             Ulrich Drepper  <drepper@gmail.com>
75486         * sysdeps/x86_64/memset.S: After aligning destination, code
75487         branches to different locations depending on the value of
75488         misalignment, when multiarch is enabled. Fix this.
75490 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
75492         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
75493         Set _x86_64_preferred_memory_instruction for AMD processsors.
75494         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75495         Set bit_Prefer_SSE_for_memop for AMD processors.
75497 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
75499         * libio/fmemopen.c (fmemopen): Optimize a bit.
75501 2011-03-03  Andreas Schwab  <schwab@redhat.com>
75503         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
75505 2011-03-03  Roland McGrath  <roland@redhat.com>
75507         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
75509 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
75511         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
75512         __bzero_ultra1 instead of __memset_ultra1.
75514 2011-02-23  Andreas Schwab  <schwab@redhat.com>
75515             Ulrich Drepper  <drepper@gmail.com>
75517         [BZ #12509]
75518         * include/link.h (struct link_map): Add l_orig_initfini.
75519         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
75520         returning unsuccessfully.
75521         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
75522         close of a file loaded at startup, restore the original l_initfini
75523         list.
75524         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
75525         list, store the pointer.
75526         * elf/Makefile ($(objpfx)noload-mem): New rule.
75527         (noload-ENV): Define.
75528         (tests): Add $(objpfx)noload-mem.
75529         * elf/noload.c: Include <memcheck.h>.
75530         (main): Call mtrace.  Close all opened handles.
75532 2011-02-17  Andreas Schwab  <schwab@redhat.com>
75534         [BZ #12454]
75535         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
75536         dependencies are missing.
75538 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75540         Fix __if_freereq crash: Unlike the generic version which uses free,
75541         Hurd needs munmap.
75542         * sysdeps/mach/hurd/ifreq.h: New file.
75544 2011-01-27  Petr Baudis  <pasky@suse.cz>
75545             Ulrich Drepper  <drepper@gmail.com>
75547         [BZ 12445]#
75548         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
75549         to extend_alloca().
75550         * stdio-common/bug23.c: New file.
75551         * stdio-common/Makefile (tests): Add bug23.
75553 2010-09-28  Andreas Schwab  <schwab@redhat.com>
75554             Ulrich Drepper  <drepper@gmail.com>
75556         [BZ #12489]
75557         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
75558         before performing relro protection.  At old place add assertion
75559         to make sure nothing changed.
75561 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
75562             Glauber de Oliveira Costa  <glommer@gmail.com>
75564         * elf/elf.h: Add new ARM TLS relocs.
75566 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
75568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
75569         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
75570         cast from r3.
75571         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
75572         'tests' variable.
75573         * sysdeps/wordsize-64/tst-writev.c: New file.
75575 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
75577         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
75578         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
75579         insns in _dl_start to prevent a TOC reference before relocs are
75580         resolved.
75582 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
75584         [BZ #12469]
75585         * Makeconfig: Remove RANLIB definition.
75586         * Makerules: Don't use RANLIB.
75587         * aclocal.m4: Remove ranlib test.
75588         * configure.in: No need to check for ranlib.
75589         * elf/rtld-Rules: Don't use RANLIB.
75591 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75593         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
75594         protection macro.
75595         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
75596         inclusion protection macro.
75598         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
75599         SIGRTMIN and SIGRTMAX and print information in that case only when
75600         SIGRTMIN is defined.
75602 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
75604         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
75605         arginfo fn returning -1.
75607         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
75608         and thousands string is zero terminated.
75610 2011-02-03  Andreas Schwab  <schwab@redhat.com>
75612         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
75613         sysdeps/unix/sysv/linux/bits/socket.h.
75615 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75617         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
75618         (__CPU_COUNT): Remove old macros.
75619         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
75620         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
75621         (__CPU_ALLOC, __CPU_FREE): Add macros.
75622         (__sched_cpualloc, __sched_cpufree): Add declarations.
75624 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
75626         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
75627         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
75628         * nscd/aicache.c (addhstaiX): Return timeout of added value.
75629         (readdhstai): Return value of addhstaiX call.
75630         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
75631         (addgrbyX): Return value returned by cache_addgr.
75632         (readdgrbyname): Return value returned by addgrbyX.
75633         (readdgrbygid): Likewise.
75634         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
75635         (addpwbyX): Return value returned by cache_addpw.
75636         (readdpwbyname): Return value returned by addhstbyX.
75637         (readdpwbyuid): Likewise.
75638         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
75639         (addservbyX): Return value returned by cache_addserv.
75640         (readdservbyname): Return value returned by addservbyX:
75641         (readdservbyport): Likewise.
75642         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
75643         (addhstbyX): Return value returned by cache_addhst.
75644         (readdhstbyname): Return value returned by addhstbyX.
75645         (readdhstbyaddr): Likewise.
75646         (readdhstbynamev6): Likewise.
75647         (readdhstbyaddrv6): Likewise.
75648         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
75649         (readdinitgroups): Return value returned by addinitgroupsX.
75650         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
75651         (prune_cache): Keep track of timeout value of re-added entries.
75652         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
75653         * nscd/nscd.h: Adjust prototypes of readd* functions.
75655 2011-02-04  Roland McGrath  <roland@redhat.com>
75657         * nis/nis_server.c (nis_servstate): Use the right name for 0.
75658         (nis_stats): Likewise.
75659         * nis/nis_modify.c (nis_modify): Likewise.
75660         * nis/nis_remove.c (nis_remove): Likewise.
75661         * nis/nis_add.c (nis_add): Likewise.
75663         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
75665         * posix/fnmatch_loop.c: Add some consts.
75667         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
75669 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
75671         [BZ #12460]
75672         * config.make.in (config-cflags-novzeroupper): Define.
75673         * configure.in: Substitute libc_cv_cc_novzeroupper.
75674         * elf/Makefile (AVX-CFLAGS): Define.
75675         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
75676         (CFLAGS-tst-auditmod4a.c): Likewise.
75677         (CFLAGS-tst-auditmod4b.c): Likewise.
75678         (CFLAGS-tst-auditmod6b.c): Likewise.
75679         (CFLAGS-tst-auditmod6c.c): Likewise.
75680         (CFLAGS-tst-auditmod7b.c): Likewise.
75681         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
75683 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
75685         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
75686         function to the callback.
75687         Patch partly by Jiri Olsa <jolsa@redhat.com>.
75689 2011-02-02  Andreas Schwab  <schwab@redhat.com>
75691         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
75692         of errno.
75694 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
75696         [BZ #11724]
75697         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
75698         of constructors.
75699         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
75700         of destructors.
75701         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
75703         [BZ #11724]
75704         * elf/Makefile: Add rules to build and run new test.
75705         * elf/tst-initorder.c: New file.
75706         * elf/tst-initorder.exp: New file.
75707         * elf/tst-initordera1.c: New file.
75708         * elf/tst-initordera2.c: New file.
75709         * elf/tst-initordera3.c: New file.
75710         * elf/tst-initordera4.c: New file.
75711         * elf/tst-initorderb1.c: New file.
75712         * elf/tst-initorderb2.c: New file.
75713         * elf/tst-order-a1.c: New file.
75714         * elf/tst-order-a2.c: New file.
75715         * elf/tst-order-a3.c: New file.
75716         * elf/tst-order-a4.c: New file.
75717         * elf/tst-order-b1.c: New file.
75718         * elf/tst-order-b2.c: New file.
75719         * elf/tst-order-main.c: New file.
75720         New test case by George Gensure <werkt0@gmail.com>.
75722 2010-10-01  Andreas Schwab  <schwab@redhat.com>
75724         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
75725         decoding ACE if AI_CANONIDN.
75727 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
75729         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
75731 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
75733         * version.h (RELEASE): Bump for 2.13 release.
75734         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
75736         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
75738         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
75739         MADV_NOHUGEPAGE.
75740         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
75741         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
75742         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
75743         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
75744         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
75745         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
75747         * posix/getconf.c: Update copyright year.
75748         * catgets/gencat.c: Likewise.
75749         * csu/version.c: Likewise.
75750         * debug/catchsegv.sh: Likewise.
75751         * debug/xtrace.sh: Likewise.
75752         * elf/ldconfig.c: Likewise.
75753         * elf/ldd.bash.in: Likewise.
75754         * elf/sprof.c (print_version): Likewise.
75755         * iconv/iconv_prog.c: Likewise.
75756         * iconv/iconvconfig.c: Likewise.
75757         * locale/programs/locale.c: Likewise.
75758         * locale/programs/localedef.c: Likewise.
75759         * malloc/memusage.sh: Likewise.
75760         * malloc/mtrace.pl: Likewise.
75761         * nscd/nscd.c (print_version): Likewise.
75762         * nss/getent.c: Likewise.
75764         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
75765         PF_CAIF, and PF_ALG.
75766         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75768 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
75770         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
75771         (modules-names): Use them.
75772         (ifunc-test-modules, ifunc-pie-tests): Define.
75773         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
75774         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
75775         (test-extras): Likewise.
75776         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
75777         $(compile-command.c).
75778         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
75779         (all-built-dso): Define.
75780         (check-textrel.out, check-execstack.out): Depend on it.
75782         * configure.in: Don't override --enable-multi-arch.
75784 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
75786         [BZ #6812]
75787         * nscd/hstcache.c (tryagain): Define.
75788         (cache_addhst): Return tryagain not notfound for temporary errors.
75789         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
75790         failed.
75792 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
75794         [BZ #10563]
75795         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
75796         to make the syscall.
75797         * sysdeps/unix/sysv/linux/setgroups.c: New file.
75799         [BZ #12378]
75800         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
75801         and fall back to matching as normal character if the string ends before
75802         the matching ']' is found.  This is what POSIX requires.
75803         * posix/testfnm.c: Adjust test result.
75804         * posix/globtest.sh: Adjust test result.  Add new test.
75805         * posix/tst-fnmatch.input: Likewise.
75806         * posix/tst-fnmatch2.c: Add new test.
75808 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
75810         * elf/Makefile (check-execstack): Revert last change.  Depend on
75811         check-execstack.h.
75812         (check-execstack.h): New target.
75813         (generated): Add check-execstack.h.
75814         * elf/check-execstack.c: Include "check-execstack.h".
75815         (main): Revert last change.
75816         (handle_file): Return zero if GNU_STACK is absent and
75817         DEFAULT_STACK_PERMS doesn't include PF_X.
75819 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
75821         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
75822         in child fails because the descriptor is already closed.
75823         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
75824         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
75825         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
75827         [BZ #12397]
75828         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
75829         syscall.
75831         [BZ #10484]
75832         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
75833         temporary buffer used to handle multi lookups locally.
75834         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
75836 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
75838         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
75839         loader is ld.so.
75841 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
75843         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
75844         alignment for SSE2.
75846 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
75848         [BZ #12394]
75849         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
75850         characters.  When rounding increased number of integer digits recompute
75851         number of groups.
75852         * stdio-common/tst-grouping.c: New file.
75853         * stdio-common/Makefile: Add rules to build and run tst-grouping.
75855 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
75857         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
75858         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
75860         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
75861         void.
75862         * bits/select.h: Likewise.
75864 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
75866         * po/ja.po: Update from translation team.
75868 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
75870         [BZ #11155]
75871         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
75872         implementation just like for lxstat, fxstatat, et al.
75874 2010-12-27  Jim Meyering  <meyering@redhat.com>
75876         [BZ #12348]
75877         * posix/regexec.c (build_trtable): Return failure indication upon
75878         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
75880 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
75882         [BZ #12201]
75883         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
75884         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
75885         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
75886         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
75888         [BZ #12207]
75889         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
75891         [BZ #12204]
75892         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
75893         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
75895 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
75897         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
75898         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
75899         script has SORT_BY_INIT_PRIORITY.
75900         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
75901         NO_CTORS_DTORS_SECTIONS is defined.
75902         * elf/soinit.c: Likewise.
75903         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
75904         NO_CTORS_DTORS_SECTIONS is defined.
75905         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
75906         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
75907         * sysdeps/sh/init-first.c: Likewise.
75908         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
75910 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
75912         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
75913         always use the slow path.
75915 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
75917         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
75918         similar rule which adds the sysdep directories to the header search in
75919         order to pick up the correct platform stackinfo.h.
75920         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
75921         perform test if it is, otherwise return successfully without testing.
75922         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
75923         DEFAULT_STACK_PERMS define in stackinfo.h.
75924         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
75925         defined in stackinfo.h.
75926         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
75927         DEFAULT_STACK_PERMS defined in stackinfo.h.
75928         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
75929         * sysdeps/ia64/stackinfo.h: Likewise.
75930         * sysdeps/s390/stackinfo.h: Likewise.
75931         * sysdeps/sh/stackinfo.h: Likewise.
75932         * sysdeps/sparc/stackinfo.h: Likewise.
75933         * sysdeps/x86_64/stackinfo.h: Likewise.
75934         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
75935         PF_X for powerpc64.  Retain PF_X for powerpc32.
75937 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
75939         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
75940         accurately.
75941         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
75942         GETDENTS_64BIT_ALIGNED.
75944 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
75946         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
75948 2010-12-10  Andreas Schwab  <schwab@redhat.com>
75950         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
75951         _GNU_SOURCE.
75953         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
75954         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
75955         Remove __restrict.
75956         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
75957         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
75959 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
75961         [BZ #11655]
75962         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
75963         are initialized.
75965 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
75967         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
75969 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
75971         * po/it.po: Update from translation team.
75973 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
75975         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
75976         unused codes.
75978 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
75980         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
75982 2010-11-24  Andreas Schwab  <schwab@redhat.com>
75984         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
75985         specially.
75986         (gaih_getanswer_slice): Likewise.
75988 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
75990         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
75992 2010-05-31  Petr Baudis  <pasky@suse.cz>
75994         [BZ #11149]
75995         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
75996         silently even in the chroot mode.
75998 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
76000         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
76001         last patch a bit.  Pretty printing
76003 2010-05-31  Petr Baudis <pasky@suse.cz>
76005         [BZ #10085]
76006         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
76007         initialization of skip_initgroups_dyn.
76009 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
76011         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
76012         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76014 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
76016         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
76018 2010-11-11  Andreas Schwab  <schwab@redhat.com>
76020         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
76021         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
76022         (tst-fnmatch-ENV): Set MALLOC_TRACE.
76023         ($(objpfx)tst-fnmatch-mem): New rule.
76024         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
76025         * posix/tst-fnmatch.c (main): Call mtrace.
76027 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
76029         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76030         Support Intel processor model 6 and model 0x2c.
76032 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
76034         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
76035           signed comparison.
76037 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
76039         [BZ #12205]
76040         * string/test-strncasecmp.c (check_result): New function.
76041         (do_one_test): Use it.
76042         (check1): New function.
76043         (test_main): Use it.
76044         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
76045         Support strcasecmp and strncasecmp.
76047 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
76049         [BZ #12194]
76050         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
76051         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76053 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
76055         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
76056         IFUNC support.
76057         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76058         memset-x86-64.
76059         * sysdeps/x86_64/multiarch/bzero.S: New file.
76060         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
76061         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
76062         * sysdeps/x86_64/multiarch/memset.S: New file.
76063         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
76064         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76065         Set bit_Prefer_SSE_for_memop for Intel processors.
76066         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
76067         Define.
76068         (index_Prefer_SSE_for_memop): Define.
76069         (HAS_PREFER_SSE_FOR_MEMOP): Define.
76071 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
76073         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
76074         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
76076 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
76078         [BZ #12191]
76079         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76080         (__x86_64_raw_data_cache_size_half): Likewise.
76081         (__x86_64_raw_shared_cache_size): Likewise.
76082         (__x86_64_raw_shared_cache_size_half): Likewise.
76084         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76085         (__x86_64_raw_data_cache_size_half): Likewise.
76086         (__x86_64_raw_shared_cache_size): Likewise.
76087         (__x86_64_raw_shared_cache_size_half): Likewise.
76088         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
76089         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
76090         and __x86_64_raw_shared_cache_size_half.  Round
76091         __x86_64_data_cache_size_half, __x86_64_data_cache_size
76092         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
76093         to multiple of 256 bytes.
76095 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
76097         [BZ #12167]
76098         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
76099         of inacessible symlinks.  Verify result of symlink before returning it.
76100         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
76101         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
76103 2010-10-28  Erich Ritz  <erichritz@gmail.com>
76105         * math/math.h (isinf): Fix typo in comment.
76107 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
76109         * po/da.po: Update from translation team.
76111 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
76113         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
76114         is added to the list.
76116 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76117             Ulrich Drepper  <drepper@gmail.com>
76119         * elf/dl-object.c (_dl_new_object): Don't append the new object to
76120         the global list here.  Move code to...
76121         (_dl_add_to_namespace_list): ...here.  New function.
76122         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
76123         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
76124         * elf/dl-load.c (lose): Don't remove the element from the list.
76125         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
76126         (_dl_map_object): Likewise.
76128 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
76130         [BZ #12159]
76131         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
76132         into all bytes of SSE register.
76133         Patch by Richard Li <richardpku@gmail.com>.
76135 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
76137         [BZ #12140]
76138         * malloc/malloc.c (_int_free): Fill correct number of bytes when
76139         perturbing.
76141 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
76143         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
76144         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
76145         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
76146         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
76147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
76148         submachine.
76149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
76151 2010-10-22  Andreas Schwab  <schwab@redhat.com>
76153         * include/dlfcn.h (__RTLD_SECURE): Define.
76154         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
76155         mode & __RTLD_SECURE instead.
76156         (open_path): Rename preloaded parameter to secure.
76157         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
76158         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
76159         * elf/dl-deps.c (openaux): Likewise.
76160         * elf/rtld.c (struct map_args): Remove is_preloaded.
76161         (map_doit): Don't use it.
76162         (dl_main): Likewise.
76163         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
76164         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
76166 2010-09-09  Andreas Schwab  <schwab@redhat.com>
76168         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
76169         (sysd-rules-targets): Remove duplicates.
76170         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
76171         rtld-%.$o dependency.
76173 2010-10-18  Andreas Schwab  <schwab@redhat.com>
76175         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
76176         _dl_map_object do it.
76178 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
76180         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
76181         fast fma builtins, define the macros in the C99 standard.
76182         (FP_FAST_FMAF): Likewise.
76183         (FP_FAST_FMAL): Likewise.
76184         * sysdeps/x86_64/bits/mathdef.h: Likewise.
76186         * bits/mathdef.h: Update copyright year.
76187         * sysdeps/powerpc/bits/mathdef.h: Likewise.
76189 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
76191         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
76192         builtins, define the macros in the C99 standard.
76193         (FP_FAST_FMAF): Likewise.
76194         (FP_FAST_FMAL): Likewise.
76195         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
76196         multiply/add.
76197         (FP_FAST_FMAF): Likewise.
76199 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
76201         [BZ #3268]
76202         * math/libm-test.inc (fma_test): Some new testcases.
76203         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
76204         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
76205         y and infinite z.  Do multiplication by C already in long double.
76206         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
76207         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
76208         y and infinite z.  Do bitwise or of inexact bit into u.d.
76209         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
76210         * sysdeps/i386/fpu/s_fmaf.S: Removed.
76211         * sysdeps/i386/fpu/s_fma.S: Removed.
76212         * sysdeps/i386/fpu/s_fmal.S: Removed.
76214 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
76216         [BZ #3268]
76217         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
76218         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
76219         computation is not scheduled after fetestexcept.  Fix value
76220         of minimum denormal long double.
76222 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
76224         [BZ #3268]
76225         * math/libm-test.inc (fma_test): Add some more tests.
76226         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
76227         correctly.
76229 2010-10-15  Andreas Schwab  <schwab@redhat.com>
76231         * scripts/data/localplt-s390-linux-gnu.data: New file.
76232         * scripts/data/localplt-s390x-linux-gnu.data: New file.
76234 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
76236         [BZ #3268]
76237         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
76238         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
76239         instead of dbl-64.
76240         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
76241         inlines.
76242         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
76243         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
76244         if one of x and y is very large and the other is subnormal.
76245         * sysdeps/s390/fpu/s_fmaf.c: New file.
76246         * sysdeps/s390/fpu/s_fma.c: New file.
76247         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
76248         * sysdeps/powerpc/fpu/s_fma.S: New file.
76249         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
76250         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
76251         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
76253 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
76255         [BZ #3268]
76256         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
76257         fma tests.
76258         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
76259         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
76260         * sysdeps/i386/i686/multiarch/s_fma.c: Include
76261         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
76262         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
76263         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
76264         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
76266 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
76268         [BZ #12078]
76269         * posix/regcomp.c (parse_branch): One more memory leak plugged.
76270         * posix/bug-regex31.input: Add test case.
76272 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76274         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
76275         * posix/bug-regex31.input: New file.
76277         [BZ #12078]
76278         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
76279         (parse_sub_exp): Fix last change, use postorder.
76281         * posix/bug-regex31.c: New file.
76282         * posix/Makefile: Add rules to build and run bug-regex31.
76284         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
76286         [BZ #12078]
76287         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
76289         [BZ #12108]
76290         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
76291         to have entries in sys_siglist.
76293         [BZ #12093]
76294         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
76295         be NULL.
76297 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
76299         [BZ #3268]
76300         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
76301         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
76302         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
76303         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
76304         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
76305         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
76306         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
76307         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
76308         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
76309         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
76310         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
76311         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
76312         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
76313         * math/ftestexcept.c (fetestexcept): Likewise.
76314         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
76315         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
76316         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
76317         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
76318         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
76319         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
76320         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76322 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76324         [BZ #12107]
76325         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
76326         newline.
76328 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
76330         * string/bug-strstr1.c: New file.
76331         * string/Makefile: Add rules to build and run bug-strstr1.
76333 2010-10-05  Eric Blake  <eblake@redhat.com>
76335         [BZ #12092]
76336         * string/str-two-way.h (two_way_long_needle): Always clear memory
76337         when skipping input due to the shift table.
76339 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
76341         [BZ #12005]
76342         * malloc/mcheck.c: Handle large requests.
76344         [BZ #12077]
76345         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
76346         for strncmp and strncasecmp.
76347         * string/stratcliff.c: Add tests for strcmp and strncmp.
76348         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
76350 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76352         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
76353         __set_fpscr.
76355 2010-09-30  Andreas Jaeger  <aj@suse.de>
76357         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
76358         (CGROUP_SUPER_MAGIC): Define.
76359         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76360         Handle btrfs and cgroup file systems.
76361         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
76362         Likewise.
76364 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
76366         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
76367         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
76369 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76371         [BZ #12067]
76372         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
76373         trying to locate the ELF header.
76375 2010-09-27  Andreas Schwab  <schwab@redhat.com>
76377         [BZ #11611]
76378         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
76379         Mask out sign-bit copies when constructing f_fsid.
76381 2010-09-24  Petr Baudis <pasky@suse.cz>
76383         * debug/stack_chk_fail_local.c: Add missing licence exception.
76384         * debug/warning-nop.c: Likewise.
76386 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
76388         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
76389         implementing getdents64 using getdents syscall, set d_type if
76390         __ASSUME_GETDENTS32_D_TYPE.
76392 2010-09-16  Andreas Schwab  <schwab@redhat.com>
76394         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
76395         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
76397 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
76399         [BZ #12037]
76400         * posix/unistd.h: Undo change of feature selection for ftruncate from
76401         2010-01-11.
76403 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
76405         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
76406         detection.
76408 2010-09-20  Andreas Schwab  <schwab@redhat.com>
76410         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
76411         fanotify_mark.
76412         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76414 2010-09-14  Andreas Schwab  <schwab@redhat.com>
76416         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
76417         variables after CHECK_SP call.
76418         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
76420 2010-09-13  Andreas Schwab  <schwab@redhat.com>
76421             Ulrich Drepper  <drepper@redhat.com>
76423         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
76424         re-relocationg ld.so.
76425         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
76426         _dl_init_paths call.
76427         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
76428         here anymore.
76430 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
76432         * resolv/res_init.c (__res_vinit): Count the default server we added.
76434 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
76435             Ulrich Drepper  <drepper@redhat.com>
76437         [BZ #11968]
76438         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76439         (____longjmp_chk): Use %ebx for saving value across system call.
76440         Add unwind info.
76442 2010-09-06  Andreas Schwab  <schwab@redhat.com>
76444         * manual/Makefile: Don't mix pattern rules with normal rules.
76446 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
76448         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
76449         operation.
76450         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
76451         * libio/iofopncook.c (_IO_cookie_init): Likewise.
76452         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
76453         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
76454         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76455         Likewise.
76457 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
76459         [BZ #11979]
76460         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
76461         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
76463 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
76465         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
76466         * sysdeps/x86_64/addmul_1.S: Likewise.
76467         * sysdeps/x86_64/lshift.S: Likewise.
76468         * sysdeps/x86_64/mul_1.S: Likewise.
76469         * sysdeps/x86_64/rshift.S: Likewise.
76470         * sysdeps/x86_64/sub_n.S: Likewise.
76471         * sysdeps/x86_64/submul_1.S: Likewise.
76473 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76475         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
76476         Define __sched_param instead of SCHED_* and sched_param when
76477         <bits/sched.h> is included with __need_schedparam defined.
76478         * bits/sched.h [__need_schedparam]
76479         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
76480         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
76481         (__defined_schedparam): Define to 1.
76482         (__sched_param): New structure, identical to sched_param.
76483         (__need_schedparam): Undefine.
76485 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
76487         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
76488         (epoll_create1): Declare.
76490         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
76492 2010-08-31  Andreas Schwab  <schwab@redhat.com>
76494         [BZ #7066]
76495         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
76496         shifting retval into place.
76498 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
76500         * nis/rpcsvc/nis.h: Update copyright notice.
76501         * nis/rpcsvc/nis.x: Likewise.
76502         * nis/rpcsvc/nis_callback.h: Likewise.
76503         * nis/rpcsvc/nis_callback.x: Likewise.
76504         * nis/rpcsvc/nis_object.x: Likewise.
76505         * nis/rpcsvc/nis_tags.h: Likewise.
76506         * nis/rpcsvc/yp.h: Likewise.
76507         * nis/rpcsvc/yp.x: Likewise.
76508         * nis/rpcsvc/ypupd.h: Likewise.
76509         * nis/yp_xdr.c: Likewise.
76510         * nis/ypupdate_xdr.c: Likewise.
76512         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
76513         mainly the body of pmap_getport.  Add parameters to specify timeouts.
76514         (pmap_getport): Use __libc_rpc_getport.
76515         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
76516         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
76517         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
76519 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
76521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
76522         fanotify_mark.
76524 2010-08-27  Roland McGrath  <roland@redhat.com>
76526         * sysdeps/i386/i686/multiarch/Makefile
76527         (CFLAGS-varshift.c): New variable.
76529 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
76531         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
76532         * sysdeps/i386/i686/multiarch/varshift.c: New file.
76534         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
76536         * sysdeps/x86_64/strlen.S: Minimal code improvement.
76538 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
76540         * sysdeps/x86_64/strlen.S: Unroll the loop.
76541         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76542         strlen-sse2 strlen-sse2-bsf.
76543         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
76544         __strlen_no_bsf if bit_Slow_BSF is set.
76545         (__strlen_sse42): Removed.
76546         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
76547         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
76549 2010-08-25  Roland McGrath  <roland@redhat.com>
76551         * sysdeps/x86_64/multiarch/varshift.S: File removed.
76552         * sysdeps/x86_64/multiarch/varshift.c: New file.
76553         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
76554         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
76555         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
76556         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76558 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
76560         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76561         strlen-sse2 strlen-sse2-bsf.
76562         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
76563         __strlen_sse2_bsf if bit_Slow_BSF is unset.
76564         (__strlen_sse2): Removed.
76565         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
76566         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
76567         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
76568         bit_Slow_BSF for Atom.
76569         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
76570         (index_Slow_BSF): Define.
76571         (HAS_SLOW_BSF): Define.
76573 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
76575         [BZ #10851]
76576         * resolv/res_init.c (__res_vinit): When no server address at all
76577         is given default to loopback.
76579 2010-08-24  Roland McGrath  <roland@redhat.com>
76581         * configure.in: Remove config-name.h generation.
76582         * configure: Regenerated.
76583         * config-name.in: File removed.
76584         * scripts/config-uname.sh: New file.
76585         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
76586         ($(objdir)config-name.h): New target.
76588         * sunrpc/rpc_parse.h: Avoid nested comment.
76590 2010-08-24  Richard Henderson  <rth@redhat.com>
76591             Ulrich Drepper  <drepper@redhat.com>
76592             H.J. Lu  <hongjiu.lu@intel.com>
76594         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
76595         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
76596         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
76597         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
76598         _mm_alignr_epi8 with _mm_loadu_si128.
76599         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
76600         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
76601         (__m128i_shift_right): Removed.
76602         * sysdeps/i386/i686/multiarch/varshift.h: New file.
76603         * sysdeps/i386/i686/multiarch/varshift.S: New file.
76604         * sysdeps/x86_64/multiarch/varshift.h: New file.
76605         * sysdeps/x86_64/multiarch/varshift.S: New file.
76607 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
76609         * configure.in: Move assembler checks to before sysdep dir checking.
76611 2010-08-20  Petr Baudis  <pasky@suse.cz>
76613         * LICENSES: Sync the sunrpc license.
76615 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
76617         * sunrpc/auth_des.c: Update copyright notice once again.
76618         * sunrpc/auth_none.c: Likewise.
76619         * sunrpc/auth_unix.c: Likewise.
76620         * sunrpc/authdes_prot.c: Likewise.
76621         * sunrpc/authuxprot.c: Likewise.
76622         * sunrpc/bindrsvprt.c: Likewise.
76623         * sunrpc/clnt_gen.c: Likewise.
76624         * sunrpc/clnt_perr.c: Likewise.
76625         * sunrpc/clnt_raw.c: Likewise.
76626         * sunrpc/clnt_simp.c: Likewise.
76627         * sunrpc/clnt_tcp.c: Likewise.
76628         * sunrpc/clnt_udp.c: Likewise.
76629         * sunrpc/clnt_unix.c: Likewise.
76630         * sunrpc/des_crypt.c: Likewise.
76631         * sunrpc/des_soft.c: Likewise.
76632         * sunrpc/get_myaddr.c: Likewise.
76633         * sunrpc/getrpcport.c: Likewise.
76634         * sunrpc/key_call.c: Likewise.
76635         * sunrpc/key_prot.c: Likewise.
76636         * sunrpc/openchild.c: Likewise.
76637         * sunrpc/pm_getmaps.c: Likewise.
76638         * sunrpc/pm_getport.c: Likewise.
76639         * sunrpc/pmap_clnt.c: Likewise.
76640         * sunrpc/pmap_prot.c: Likewise.
76641         * sunrpc/pmap_prot2.c: Likewise.
76642         * sunrpc/pmap_rmt.c: Likewise.
76643         * sunrpc/rpc/auth.h: Likewise.
76644         * sunrpc/rpc/auth_unix.h: Likewise.
76645         * sunrpc/rpc/clnt.h: Likewise.
76646         * sunrpc/rpc/des_crypt.h: Likewise.
76647         * sunrpc/rpc/key_prot.h: Likewise.
76648         * sunrpc/rpc/netdb.h: Likewise.
76649         * sunrpc/rpc/pmap_clnt.h: Likewise.
76650         * sunrpc/rpc/pmap_prot.h: Likewise.
76651         * sunrpc/rpc/pmap_rmt.h: Likewise.
76652         * sunrpc/rpc/rpc.h: Likewise.
76653         * sunrpc/rpc/rpc_des.h: Likewise.
76654         * sunrpc/rpc/rpc_msg.h: Likewise.
76655         * sunrpc/rpc/svc.h: Likewise.
76656         * sunrpc/rpc/svc_auth.h: Likewise.
76657         * sunrpc/rpc/types.h: Likewise.
76658         * sunrpc/rpc/xdr.h: Likewise.
76659         * sunrpc/rpc_clntout.c: Likewise.
76660         * sunrpc/rpc_cmsg.c: Likewise.
76661         * sunrpc/rpc_common.c: Likewise.
76662         * sunrpc/rpc_cout.c: Likewise.
76663         * sunrpc/rpc_dtable.c: Likewise.
76664         * sunrpc/rpc_hout.c: Likewise.
76665         * sunrpc/rpc_main.c: Likewise.
76666         * sunrpc/rpc_parse.c: Likewise.
76667         * sunrpc/rpc_parse.h: Likewise.
76668         * sunrpc/rpc_prot.c: Likewise.
76669         * sunrpc/rpc_sample.c: Likewise.
76670         * sunrpc/rpc_scan.c: Likewise.
76671         * sunrpc/rpc_scan.h: Likewise.
76672         * sunrpc/rpc_svcout.c: Likewise.
76673         * sunrpc/rpc_tblout.c: Likewise.
76674         * sunrpc/rpc_util.c: Likewise.
76675         * sunrpc/rpc_util.h: Likewise.
76676         * sunrpc/rpcinfo.c: Likewise.
76677         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
76678         * sunrpc/rpcsvc/key_prot.x: Likewise.
76679         * sunrpc/rpcsvc/klm_prot.x: Likewise.
76680         * sunrpc/rpcsvc/mount.x: Likewise.
76681         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
76682         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
76683         * sunrpc/rpcsvc/rex.x: Likewise.
76684         * sunrpc/rpcsvc/rstat.x: Likewise.
76685         * sunrpc/rpcsvc/rusers.x: Likewise.
76686         * sunrpc/rpcsvc/sm_inter.x: Likewise.
76687         * sunrpc/rpcsvc/spray.x: Likewise.
76688         * sunrpc/rpcsvc/yppasswd.x: Likewise.
76689         * sunrpc/rtime.c: Likewise.
76690         * sunrpc/svc.c: Likewise.
76691         * sunrpc/svc_auth.c: Likewise.
76692         * sunrpc/svc_authux.c: Likewise.
76693         * sunrpc/svc_raw.c: Likewise.
76694         * sunrpc/svc_run.c: Likewise.
76695         * sunrpc/svc_simple.c: Likewise.
76696         * sunrpc/svc_tcp.c: Likewise.
76697         * sunrpc/svc_udp.c: Likewise.
76698         * sunrpc/svc_unix.c: Likewise.
76699         * sunrpc/svcauth_des.c: Likewise.
76700         * sunrpc/xcrypt.c: Likewise.
76701         * sunrpc/xdr.c: Likewise.
76702         * sunrpc/xdr_array.c: Likewise.
76703         * sunrpc/xdr_float.c: Likewise.
76704         * sunrpc/xdr_mem.c: Likewise.
76705         * sunrpc/xdr_rec.c: Likewise.
76706         * sunrpc/xdr_ref.c: Likewise.
76707         * sunrpc/xdr_sizeof.c: Likewise.
76708         * sunrpc/xdr_stdio.c: Likewise.
76710         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
76711         handling.
76713 2010-08-19  Andreas Schwab  <schwab@redhat.com>
76715         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
76717 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
76719         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
76720         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
76721         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
76722         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
76723         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
76724         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
76725         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
76726         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
76727         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
76728         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
76729         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
76730         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
76731         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
76732         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
76734 2010-07-26  Anton Blanchard  <anton@samba.org>
76736         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
76737         * malloc/arena.c (heap_trim): Likewise.
76739 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
76741         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
76742         here.  Not...
76743         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
76744         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
76746 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
76748         * sysdeps/i386/elf/Makefile: New file.
76750 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
76752         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
76753         from fanotify_init.
76754         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
76755         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76757 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
76759         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
76760         of strncasecmp_l.
76761         * sysdeps/multiarch/strcmp.S: Likewise.
76763 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
76765         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
76766         strncase_l-nonascii.
76767         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
76768         Add strncase_l-ssse3.
76769         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
76770         * sysdeps/x86_64/strcmp.S: Likewise.
76771         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
76772         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
76773         * sysdeps/x86_64/strncase.S: New file.
76774         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
76775         * sysdeps/x86_64/strncase_l.S: New file.
76776         * string/Makefile (strop-tests): Add strncasecmp.
76777         * string/test-strncasecmp.c: New file.
76779         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
76780         warning.
76782         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
76783         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
76785 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
76787         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
76789 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
76791         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
76792         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
76793         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
76795 2010-05-01  Alan Modra  <amodra@gmail.com>
76797         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
76798         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
76799         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
76800         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
76801         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
76802         tidying.  Don't tail-call __sigjmp_save for static lib.
76803         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
76804         save location.
76805         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
76806         (CALL_MCOUNT): Add eh info, and nop after bl.
76807         (TAIL_CALL_SYSCALL_ERROR): New macro.
76808         (PSEUDO_RET): Use it.
76809         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
76810         Correct save location of integer regs and cr.
76811         (_dl_profile_resolve): Correct cr save location.  Delete nops
76812         after bl when SHARED.  Reduce cfi size a little by better
76813         placement of cfi directives.
76814         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
76815         make a stack frame.  Instead use parm save area as a temp.
76816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
76817         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
76818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
76819         Don't make a stack frame for parent, use parm save area.
76820         Increase child stack frame to 112 bytes.  Don't save unused reg,
76821         and adjust reg usage.  Set up cfi on error recovery and
76822         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
76823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
76824         (__makecontext): Add dummy nop after jump to exit.
76825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
76826         Use correct parm save area and cr save, reduce stack frame.
76827         Correct cfi for possible PSEUDO_RET frame setup.
76828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
76829         Branch to local label emitted by PSEUDO_RET rather than
76830         __syscall_error.
76832 2010-08-12  Andreas Schwab  <schwab@redhat.com>
76834         [BZ #11904]
76835         * locale/programs/locale.c (print_assignment): New function.
76836         (show_locale_vars): Use it.
76838 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
76840         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
76841         field.
76842         (struct statfs64): Likewise.
76843         (_STATFS_F_FLAGS): Define.
76844         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
76845         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76846         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
76847         (ST_VALID): Define locally.
76848         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
76849         __statvfs_getflags, use the provided value.
76850         * sysdeps/unix/sysv/linux/kernel-features.h: Define
76851         __ASSUME_STATFS_F_FLAGS.
76853         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
76855         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
76856         Add sys/fanotify.h.
76857         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
76858         fanotify_mask for GLIBC_2.13.
76859         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
76860         fanotify_init and fanotify_mark.
76861         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76862         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
76864         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
76865         Add prlimit.
76866         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
76867         prlimit64 for GLIBC_2.13.
76868         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
76869         prlimit64.
76870         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
76871         syscall.
76872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
76873         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76874         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
76875         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
76876         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
76877         add prlimit alias.
76878         * sysdeps/unix/sysv/linux/prlimit.c: New file.
76880         [BZ #11903]
76881         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
76882         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
76884         * nss/Makefile: Add rules to build and run tst-nss-test1.
76885         * shlib-versions: Add entry for libnss_test1.
76886         * nss/nss_test1.c: New file.
76887         * nss/tst-nss-test1.c: New file.
76889         * nss/nsswitch.c (__nss_database_custom): Define new variable.
76890         (__nss_configure_lookup): Set appropriate entry in
76891         __nss_configure_lookup to true.
76892         * nss/nsswitch.h: Define enum with indeces of databases in
76893         databases and __nss_database_custom arrays.  Declare
76894         __nss_database_custom.
76895         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
76896         to avoid using nscd when custom rules are installed.
76897         * nss/getXXbyYY_r.c: Likewise.
76898         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
76900         * nss/nss_files/files-parse.c: Whitespace fixes.
76902 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
76904         [BZ #11883]
76905         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
76906         * posix/fnmatch_loop.c: Likewise.
76908 2010-07-17  Andi Kleen  <ak@linux.intel.com>
76910         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
76911         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
76912         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
76913         * Versions.def [GLIBC_2.13]: Add.
76915 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
76917         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
76918         Also fail if tpwd after pwuid call is NULL.
76920 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76922         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
76923         when converting to ms.
76925 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76927         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
76928         EOPNOTSUPP errors with ENOTTY.
76929         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
76930         EOPNOTSUPP errors with ENOTTY.
76932 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
76934         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
76935         Add strcasecmp_l-ssse3.
76936         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
76937         strcasecmp.
76938         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
76939         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
76940         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
76942 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
76944         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
76946         * string/Makefile (strop-tests): Add strcasecmp.
76947         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
76948         strcasecmp_l-nonascii.
76949         (gen-as-const-headers): Add locale-defines.sym.
76950         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
76951         * sysdeps/x86_64/strcasecmp.S: New file.
76952         * sysdeps/x86_64/strcasecmp_l.S: New file.
76953         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
76954         * sysdeps/x86_64/locale-defines.sym: New file.
76955         * string/test-strcasecmp.c: New file.
76957         * string/test-strcasestr.c: Test both ends of the range of characters.
76958         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
76960 2010-07-29  Roland McGrath  <roland@redhat.com>
76962         [BZ #11856]
76963         * manual/locale.texi (Yes-or-No Questions): Fix example code.
76965 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
76967         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
76968         for ld.so.
76970 2010-07-27  Andreas Schwab  <schwab@redhat.com>
76972         * manual/memory.texi (Malloc Tunable Parameters): Document
76973         M_PERTURB.
76975 2010-07-26  Roland McGrath  <roland@redhat.com>
76977         [BZ #11840]
76978         * configure.in (-fgnu89-inline check): Set and substitute
76979         gnu89_inline, not libc_cv_gnu89_inline.
76980         * configure: Regenerated.
76981         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
76983 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
76985         * string/test-strnlen.c: New file.
76986         * string/Makefile (strop-tests): Add strnlen.
76987         * string/tester.c (test_strnlen): Add a few more test cases.
76988         * string/tst-strlen.c: Better error reporting.
76990         * sysdeps/x86_64/strnlen.S: New file.
76992 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
76994         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
76995         lower-latency instructions.
76997 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
76999         * string/test-strcasestr.c: New file.
77000         * string/test-strstr.c: New file.
77001         * string/Makefile (strop-tests): Add strstr and strcasestr.
77002         * string/str-two-way.h: Don't undefine MAX.
77003         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
77005 2010-07-21  Andreas Schwab  <schwab@redhat.com>
77007         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77008         strcasestr-nonascii.
77009         (CFLAGS-strcasestr-nonascii.c): Define.
77010         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
77011         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
77012         Remove unused attribute.
77014 2010-07-20  Roland McGrath  <roland@redhat.com>
77016         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
77017         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
77018         ld.so.cache was broken.  With it, there is no way to disable dsocaps
77019         like LD_HWCAP_MASK can disable hwcaps.
77021 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77023         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
77025 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
77027         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
77028         call in strcasestr.
77029         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
77030         __strcasestr_sse42_nonascii.
77031         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
77032         strcasestr-nonascii.c.
77033         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
77035 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
77037         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
77038         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
77039         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
77040         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
77042 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
77044         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
77045         fcntl.
77047 2010-07-06  Andreas Schwab  <schwab@redhat.com>
77049         [BZ #11577]
77050         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
77051         dl_signal_cerror.
77053 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
77055         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
77056         _PC_PIPE_BUF using F_GETPIPE_SZ.
77058 2010-07-05  Roland McGrath  <roland@redhat.com>
77060         * manual/arith.texi (Rounding Functions): Fix rint description
77061         implicit in round description.
77063 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
77065         * elf/Makefile: Fix linking for a few tests to make recent linker
77066         happy.
77068 2010-06-30  Andreas Schwab  <schwab@redhat.com>
77070         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77071         $(common-objpfx)libc_nonshared.a.
77073 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
77075         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
77076         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
77077         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77078         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77079         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
77080         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
77081         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77082         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
77084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
77085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
77086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
77088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
77090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
77091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
77092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
77093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
77095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
77097         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
77098         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
77099         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
77100         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
77101         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
77102         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
77103         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
77104         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
77105         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
77106         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
77107         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
77108         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
77109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
77110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
77111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
77112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
77113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
77114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
77115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
77116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
77117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
77118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
77119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
77120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
77121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
77122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
77124 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
77126         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
77127         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
77128         * string/memmove.c (memmove): Renamed to ...
77129         (MEMMOVE): ...this.  Default to memmove.
77130         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
77131         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
77132         (END_CHK): Define.
77133         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77134         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
77135         mempcpy-ssse3-back memmove-ssse3-back.
77136         * sysdeps/x86_64/multiarch/bcopy.S: New file .
77137         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
77138         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
77139         * sysdeps/x86_64/multiarch/memcpy.S: New file.
77140         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
77141         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
77142         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
77143         * sysdeps/x86_64/multiarch/memmove.c: New file.
77144         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
77145         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
77146         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
77147         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
77148         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
77149         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
77150         Define.
77151         (index_Fast_Copy_Backward): Define.
77152         (HAS_ARCH_FEATURE): Define.
77153         (HAS_FAST_REP_STRING): Define.
77154         (HAS_FAST_COPY_BACKWARD): Define.
77156 2010-06-21  Andreas Schwab  <schwab@redhat.com>
77158         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77159         Restore proper fallback handling.
77161 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
77163         [BZ #11701]
77164         * posix/group_member.c (__group_member): Correct checking loop.
77166         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
77167         OOM in getpwuid_r correctly.  Return error number when the caller
77168         should return, otherwise -1.
77169         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
77170         call returning > 0 value.
77171         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
77173 2010-06-07  Andreas Schwab  <schwab@redhat.com>
77175         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
77176         libc_nonshared.a from targets in modules-names.
77178 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
77180         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
77181         requires it.
77183 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
77185         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
77186         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
77187         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
77188         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
77190 2010-06-02  Andreas Schwab  <schwab@redhat.com>
77192         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
77194 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
77196         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
77197         and F_GETPIPE_SZ.
77198         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77199         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77200         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77201         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77202         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77203         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77205 2010-06-14  Roland McGrath  <roland@redhat.com>
77207         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
77209 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
77211         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
77212         __REDIRECT followed by __THROW.
77213         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
77214         * posix/getopt.h (getopt): Likewise.
77216 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77218         * hurd/lookup-at.c (__file_name_lookup_at): Accept
77219         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
77220         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
77221         in AT_FLAGS.
77222         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
77223         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
77225 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
77227         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
77229 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
77231         [BZ #11640]
77232         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77233         Properly check family and model.
77235 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
77237         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
77239 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
77241         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
77243 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
77245         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
77246         symbol reference.
77248 2010-05-19  Andreas Schwab  <schwab@redhat.com>
77250         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
77251         symbol reference.
77253 2010-05-21  Andreas Schwab  <schwab@redhat.com>
77255         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
77256         and internal_recvmmsg.
77257         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
77258         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
77259         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
77260         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
77262         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
77263         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
77264         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
77266 2010-05-20  Andreas Schwab  <schwab@redhat.com>
77268         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
77270 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
77272         POWER7 optimizations.
77273         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
77274         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
77276 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
77278         * version.h: Update for 2.13 development version.
77280 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
77282         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
77283         exceptions.  Return 0.
77285 2010-05-07  Roland McGrath  <roland@redhat.com>
77287         * elf/ldconfig.c (main): Add a const.
77289 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
77291         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
77292         (args_options): Add no-idn option.
77293         (ahosts_keys_int): Add idn_flags to ai_flags.
77294         (parse_option): Handle 'i' option to clear idn_flags.
77296         * malloc/malloc.c (_int_free): Possible race in the most recently
77297         added check.  Only act on the data if no current modification
77298         happened.
77300 See ChangeLog.17 for earlier changes.