nptl: Add more coverage in tst-cancel4
[glibc.git] / ChangeLog
blob66627f1fb5c555a002f1614e19bba19086f55902
1 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
4         * nptl/tst-cancel4-common.h (fifoname): New variable.
5         (fifofd): Likewise.
6         (cl_fifo): New function.
7         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
8         SIGINT.
9         (tf_open): Add early cancel test.
11 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
13         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
15 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
17         * sysdeps/generic/ldsodefs.h
18         (dl_symbol_visibility_binds_local_p): New inline function.
19         * elf/dl-addr.c (determine_info): Treat hidden and internal
20         symbols as local.
21         * elf/dl-lookup.c (do_lookup_x): Likewise.
22         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
24 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
26         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
27         invalid exception for a sNaN input.
28         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
29         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
30         (__nearbyint_vis3): Likewise
31         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
32         (__nearbyintf_vis3): Likewise
33         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
34         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
35         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
36         Likewise.
37         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
38         Likewise.
40 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
42         [BZ #20139]
43         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
44         (HAVE_AVX512DQ_ASM_SUPPORT): This.
45         * sysdeps/x86_64/configure.ac: Require assembler from binutils
46         2.24 or above.
47         (HAVE_AVX512_ASM_SUPPORT): Removed.
48         (HAVE_AVX512DQ_ASM_SUPPORT): New.
49         * sysdeps/x86_64/configure: Regenerated.
50         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
51         check unconditional.
52         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
53         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
54         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
55         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
56         Likewise.
57         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
58         Likewise.
59         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
60         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
61         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
62         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
63         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
64         Likewise.
65         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
66         Likewise.
67         * sysdeps/x86_64/multiarch/memset.S: Likewise.
68         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
69         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
70         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
71         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
72         Likewise.
73         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
74         Likewise.
75         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
76         Likewise.
77         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
78         Likewise.
79         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
80         Likewise.
81         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
82         Likewise.
83         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
84         Likewise.
85         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
86         Likewise.
87         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
88         Likewise.
89         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
90         Likewise.
91         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
92         Likewise.
94 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
96         [BZ #20024]
97         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
98         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
99         of this implementation of vector function.
100         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
101         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
102         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
103         Likewise.
104         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
105         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
106         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
107         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
108         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
109         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
110         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
111         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
112         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
113         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
114         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
115         for testing vector sincos with fixed ABI.
116         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
117         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
118         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
119         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
120         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
121         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
122         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
123         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
124         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
125         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
126         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
127         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
128         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
129         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
130         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
131         * sysdeps/x86_64/fpu/Makefile: Added new tests.
133 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
135         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
137 2016-06-30  Anton Blanchard  <anton@samba.org>
139         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
140         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
141         s_sinf-ppc64.
142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
145         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
147 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
149         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
150         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
151         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
152         e_expf-ppc64.
153         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
154         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
155         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
156         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
158 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
160         [BZ #20277]
161         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
162         when SHARED is defined.
164 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
166         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
167         (index_arch_Prefer_ERMS): Likewise.
168         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
169         __memcpy_erms for Prefer_ERMS.
170         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
171         (__memmove_erms): Enabled for libc.a.
172         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
173         __memmove_erms or Prefer_ERMS.
174         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
175         __mempcpy_erms for Prefer_ERMS.
176         * sysdeps/x86_64/multiarch/memset.S (memset): Return
177         __memset_erms for Prefer_ERMS.
179 2016-06-30  Andreas Schwab  <schwab@suse.de>
181         [BZ #20262]
182         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
183         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
184         of memory.
186 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
188         [BZ #18645]
189         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
190         (test-extras): Add tst-cleanupx4aux.
191         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
192         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
193         tst-cleanupx4aux.o.
194         * nptl/tst-cleanupx4aux.c: New file.
196 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
198         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
200 2016-06-29  Andreas Schwab  <schwab@suse.de>
202         [BZ #20260]
203         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
204         address before the beginning of the string as an integer to avoid
205         array-bounds warning.
207 2016-06-28  Richard Henderson  <rth@redhat.com>
209         * elf/elf.h (EM_BPF): New.
210         (EM_NUM): Update.
211         (R_BPF_NONE, R_BPF_MAP_FD): New.
213         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
214         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
215         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
216         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
217         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
218         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
219         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
220         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
221         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
222         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
223         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
224         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
225         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
226         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
227         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
228         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
229         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
230         (EM_NUM): Update.
232 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
234         [BZ #18960]
235         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
236         Set _nl_current_LC_CATEGORY_used to two instead of one.
238 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
240         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
241         (do_test): ... this.
242         (TEST_FUNCTION): New macro.
243          Include test-skeleton.c.
244         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
245         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
247 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
249         [BZ #15479]
250         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
251         floating-point environment rather than just control word.
252         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
253         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
254         floating-point environment, with "invalid" exceptions merged in,
255         rather than just control word.
256         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
257         * math/libm-test.inc (trunc_test_data): Do not allow spurious
258         "inexact" exceptions.
260         [BZ #15479]
261         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
262         floating-point environment rather than just control word.
263         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
264         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
265         floating-point environment, with "invalid" exceptions merged in,
266         rather than just control word.
267         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
268         * math/libm-test.inc (floor_test_data): Do not allow spurious
269         "inexact" exceptions.
271         [BZ #15479]
272         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
273         floating-point environment rather than just control word.
274         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
275         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
276         floating-point environment, with "invalid" exceptions merged in,
277         rather than just control word.
278         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
279         * math/libm-test.inc (ceil_test_data): Do not allow spurious
280         "inexact" exceptions.
282 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
284         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
285         __libc_vfork.
286         (__vfork) [IS_IN (libc)]: Remove alias.
287         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
288         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
289         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
291 2016-06-24  Torvald Riegel  <triegel@redhat.com>
293         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
294         of atomic_compare_and_exchange_bool_rel.
295         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
296         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
297         catomic_compare_and_exchange_bool_rel): Remove.
298         * sysdeps/aarch64/atomic-machine.h
299         (atomic_compare_and_exchange_bool_rel): Likewise.
300         * sysdeps/alpha/atomic-machine.h
301         (atomic_compare_and_exchange_bool_rel): Likewise.
302         * sysdeps/arm/atomic-machine.h
303         (atomic_compare_and_exchange_bool_rel): Likewise.
304         * sysdeps/mips/atomic-machine.h
305         (atomic_compare_and_exchange_bool_rel): Likewise.
306         * sysdeps/microblaze/atomic-machine.h
307         ( __arch_compare_and_exchange_bool_8_rel,
308         __arch_compare_and_exchange_bool_16_rel): Likewise.
309         * sysdeps/powerpc/atomic-machine.h
310         ( __arch_compare_and_exchange_bool_8_rel,
311         __arch_compare_and_exchange_bool_16_rel): Likewise.
312         * sysdeps/powerpc/powerpc32/atomic-machine.h
313         ( __arch_compare_and_exchange_bool_32_rel,
314         __arch_compare_and_exchange_bool_64_rel): Likewise.
315         * sysdeps/powerpc/powerpc64/atomic-machine.h
316         ( __arch_compare_and_exchange_bool_32_rel,
317         __arch_compare_and_exchange_bool_64_rel): Likewise.
318         * sysdeps/tile/atomic-machine.h
319         (atomic_compare_and_exchange_bool_rel): Likewise.
321 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
323         [BZ #20296]
324         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
325         when either argument is a NaN.
326         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
327         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
329         * math/libm-test.inc (snan_value_ld): New macro.
330         (isgreater_test_data): Add sNaN tests.
331         (isgreaterequal_test_data): Likewise.
332         (isless_test_data): Likewise.
333         (islessequal_test_data): Likewise.
334         (islessgreater_test_data): Likewise.
335         (isunordered_test_data): Likewise.
336         (nextafter_test_data): Likewise.
337         (nexttoward_test_data): Likewise.
338         (remainder_test_data): Likewise.
339         (remquo_test_data): Likewise.
340         (significand_test_data): Likewise.
341         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
343 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
345         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
346         environment macros are defined.
347         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
349 2016-06-23  Florian Weimer  <fweimer@redhat.com>
351         [BZ #20191]
352         Implement vtable verification in libio.
353         * Makerules (shlib.lds): Place __libc_IO_vtables section.
354         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
355         * debug/vdprintf_chk.c (__vdprintf_chk): Call
356         _IO_new_file_init_internal instead of _IO_file_init.
357         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
358         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
359         * libio/Makefile (routines): Add vtables.
360         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
361         (_IO_init): Remove, not for internal use.
362         (_IO_init_internal): Declare, internal replacement for _IO_init.
363         (_IO_file_init): Remove, not for internal use.
364         (_IO_new_file_init): Remove, not for internal use.
365         (_IO_new_file_init_internal): Declare, internal replacement for
366         _IO_new_file_init.
367         (_IO_old_file_init): Remove, not for internal use.
368         (_IO_old_file_init_internal): Declare, internal replacement for
369         _IO_old_file_init.
370         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
371         internal use.
372         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
373         Declare.
374         (libio_vtable): New macro.
375         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
376         functions.
377         * libio/fileops.c (_IO_new_file_init_internal): Rename from
378         _IO_new_file_init.
379         (_IO_new_file_init): New externally visible wrapper which disables
380         vtable verification.
381         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
382         Define as vtables.
383         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
384         (_IO_init): New externally visible wrapper which disables
385         vtable verification.
386         * libio/iofdopen.c (_IO_new_fdopen): Call
387         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
388         comment.
389         * libio/iofopen.c (__fopen_internal): Call
390         _IO_new_file_init_internal instead of _IO_file_init.
391         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
392         Define as vtables.
393         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
394         _IO_new_file_init_internal instead of _IO_file_init.
395         * libio/iopopen.c (_IO_new_popen): Likewise.
396         (_IO_proc_jumps): Define as vtable.
397         * libio/iovdprintf.c (_IO_vdprintf): Call
398         _IO_new_file_init_internal instead of _IO_file_init.
399         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
400         (__open_memstream): Call _IO_init_internal instead of _IO_init.
401         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
402         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
403         _IO_old_file_init.
404         (_IO_old_file_init): New externally visible wrapper which disables
405         vtable verification.
406         (_IO_old_file_jumps): Define as vtable.
407         * libio/oldiofdopen.c (_IO_old_fdopen): Call
408         _IO_old_file_init_internal instead of _IO_old_file_init.
409         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
410         * libio/oldiopopen.c (_IO_old_popen): Likewise.
411         (_IO_old_proc_jumps): Define as vtable.
412         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
413         Define as vtables.
414         * libio/vtables.c: New file.
415         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
416         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
417         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
418         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
419         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
420         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
421         instead of _IO_init.
423 2016-06-23  Florian Weimer  <fweimer@redhat.com>
425         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
427 2016-06-23  Florian Weimer  <fweimer@redhat.com>
429         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
430         potentially unused.
432 2016-06-22  Florian Weimer  <fweimer@redhat.com>
434         * test-skeleton.c (write_message): New function.
435         * malloc/tst-mallocfork2.c (write_message): Remove.
436         * debug/tst-longjmp_chk2.c (write_indented): New function.
437         (write_message): Remove.
438         (stackoverflow_handler): Call write_indented.
440 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
442         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
443         "inexact" exceptions after fnstenv.
444         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
445         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
446         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
448 2015-06-22  Zack Weinberg  <zackw@panix.com>
450         * sysdeps/generic/bits/hwcap.h: Moved to ...
451         * bits/hwcap.h: Here.
453 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
455         * sysdeps/aarch64/memcpy.S (memcpy):
456         Further tuning for performance.
458 2016-06-21  Florian Weimer  <fweimer@redhat.com>
460         [BZ #20284]
461         * malloc/arena.c (reused_arena): Do not return NULL if we start
462         out with a non-corrupted arena.
464 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
466         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
467         * misc/tst-preadvwritev.c: New file.
468         * misc/tst-preadvwritev64.c: Likewise.
469         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
470         usage.
471         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
472         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
473         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
474         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
476 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
478         [BZ #19654]
479         * sysdeps/x86_64/fpu/Makefile: Added new tests.
480         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
481         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
482         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
483         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
484         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
485         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
486         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
487         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
488         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
489         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
490         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
491         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
492         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
493         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
494         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
495         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
496         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
497         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
498         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
499         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
500         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
501         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
502         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
503         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
504         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
506 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
508         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
509         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
511 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
513         * sysdeps/aarch64/memcpy.S (memcpy):
514         Rewrite of optimized memcpy and memmove.
515         * sysdeps/aarch64/memmove.S (memmove): Remove
516         memmove code (merged into memcpy.S).
518 2016-06-20  Florian Weimer  <fweimer@redhat.com>
520         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
521         * sysdeps/generic/dl-dtv.h: New file.
522         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
523         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
524         (dtv_t): Remove.
525         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
526         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
527         (dtv_t): Remove.
528         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
529         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
530         (dtv_t): Remove.
531         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
532         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
533         (dtv_t): Remove.
534         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
535         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
536         (dtv_t): Remove.
537         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
538         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
539         (dtv_t): Remove.
540         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
541         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
542         (dtv_t): Remove.
543         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
544         (dtv_t): Remove.
545         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
546         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
547         (dtv_t): Remove.
548         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
549         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
550         (dtv_t): Remove.
551         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
552         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
553         (dtv_t): Remove.
554         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
555         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
556         (dtv_t): Remove.
557         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
558         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
559         (dtv_t): Remove.
560         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
561         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
562         (dtv_t): Remove.
563         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
564         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
565         (dtv_t): Remove.
566         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
567         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
568         (dtv_t): Remove.
570 2016-06-20  Florian Weimer  <fweimer@redhat.com>
572         Revert symbol poisoning of  __malloc_initialize_hook.
573         * include/stdc-predef.h (__malloc_initialize_hook): Remove
574         poisoning.
575         * malloc/Makefile: Remove un-poisoning.
576         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
577         instead of old__malloc_initialize_hook.
578         * malloc/malloc-hooks.h: Likewise.
579         * malloc/malloc.c: Likewise.
580         * malloc/mcheck-init.c: Likewise.
582 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
584         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
586 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
588         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
589         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
590         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
591         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
593 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
595         * NEWS: Mention addition of nextup and nextdown.
596         * manual/arith.texi: Document nextup and nextdown.
597         * manual/libm-err-tab.pl: Add nextup and nextdown.
598         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
599         * math/Versions (libm): Add GLIBC_2.24.
600         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
601         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
602         Add new test.
603         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
604         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
605         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
606         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
607         (nextup_test_data): Likewise.
608         (nextdown_test_data): Likewise.
609         * math/s_nextdown.c: New file.
610         * math/s_nextdownf.c: Likewise.
611         * math/s_nextdownl.c: Likewise.
612         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
613         F(nextup): New function.
614         F(nextdown): Likewise.
615         * math/tgmath.h: Add nextup and nextdown.
616         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
617         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
618         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
619         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
620         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
621         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
622         Add nextup and nextdown.
623         (CFLAGS-nldbl-nextup.c): New variable.
624         (CFLAGS-nldbl-nextdown.c): Likewise.
625         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
626         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
627         * sysdeps/nacl/libm.abilist: Update.
628         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
629         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
630         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
631         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
632         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
633         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
634         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
635         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
636         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
637         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
638         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
639         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
642         Likewise.
643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
645         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
646         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
647         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
648         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
649         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
652         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
653         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
654         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
655         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
657 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
659         * manual/pattern.texi: Fix typos & grammar errors.
661 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
663         * manual/search.texi: Fix typos & grammar errors.
665 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
667         * manual/message.texi: Fix typos & grammar errors.
669 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
671         * manual/contrib.texi: Fix spelling typos.
672         * manual/crypt.texi: Likewise.
673         * manual/filesys.texi: Likewise.
674         * manual/locale.texi: Likewise.
675         * manual/message.texi: Likewise.
676         * manual/nss.texi: Likewise.
677         * manual/string.texi: Likewise.
679 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
681         * manual/locale.texi: Fix typos & grammar errors.
683 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
685         * manual/charset.texi: Fix typos & grammar errors.
687 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
689         * manual/string.texi: Fix typos.
691 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
693         * manual/ctype.texi: Fix typos.
695 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
697         * manual/memory.texi: Fix various typos & grammar errors.
699 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
701         [BZ #20255]
702         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
703         * math/libm-test.inc (fdim_test_data): Add another test.
705         [BZ #6796]
706         [BZ #20255]
707         [BZ #20256]
708         * math/s_fdim.c: Include <math_private.h>.
709         (__fdim): Use math_narrow_eval on result.
710         * math/s_fdimf.c: Include <math_private.h>.
711         (__fdimf): Use math_narrow_eval on result.
712         * sysdeps/i386/fpu/s_fdim.S: Remove file.
713         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
714         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
715         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
716         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
717         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
718         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
719         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
720         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
721         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
722         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
723         * math/libm-test.inc (fdim_test_data): Expect errno setting on
724         overflow.  Add sNaN tests.
726         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
727         fpclassify.
728         * math/s_fdimf.c (__fdimf): Likewise.
729         * math/s_fdiml.c (__fdiml): Likewise.
731 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
733         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
734         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
735         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
736         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
737         ifunc'ed strcasecmp/strncasecmp.
738         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
739         [EALIGN]: Removed.
740         [END]: Likewise.
741         [__strcasecmp]: Define instead of the above to control symbol name.
742         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
743         for __strcasecmp_power8.
744         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
745         for __strncasecmp_power8.
746         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
747         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
748         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
749         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
750         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
751         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
753 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
755         [BZ #20252]
756         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
757         arguments when second argument is a NaN.
758         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
759         qNaN tests.
761         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
762         (conj_test_data): Likewise.
763         (copysign_test_data): Likewise.
764         (creal_test_data): Likewise.
765         (fma_test_data): Likewise.
766         (fmod_test_data): Likewise.
768         [BZ #20250]
769         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
770         itself.
771         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
772         zero input to itself.
773         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
774         Likewise.
775         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
776         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
777         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
778         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
779         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
781 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
783         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
784         * nptl/tst-cancel4-common.c: New file.
785         * nptl/tst-cancel4-common.h: Likewise.
786         * nptl/tst-cancel4.c: Move common definitions to
787         tst-cancel4-common.{c,h} file.
788         * nptl/tst-cancel4_1.c: New test.
789         * nptl/tst-cancel4_2.c: New test.
791 2016-06-13  Florian Weimer  <fweimer@redhat.com>
793         [BZ #20248]
794         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
795         (write_message): New function.
796         (stackoverflow_handler): Call it instead of printf, to avoid
797         excessive stack usage by printf.
798         (do_test): Restore SIGSEGV, SIGBUS default handlers.
800 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
802         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
803         (prio_inherit_missing): Remove define.
804         * sysdeps/unix/sysv/linux/arm/kernel-features.h
805         (__ASSUME_FUTEX_LOCK_PI): Likewise.
806         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
807         Likewise.
808         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
809         (__ASSUME_FUTEX_LOCK_PI): Likewise.
810         * sysdeps/unix/sysv/linux/mips/kernel-features.h
811         (__ASSUME_FUTEX_LOCK_PI): Likewise.
812         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
813         (__ASSUME_FUTEX_LOCK_PI): Likewise.
815 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
817         [BZ #19670]
818         [BZ #19672]
820         * io/test-lfs.c (do_prepare): Use xmalloc.
821         * io/tst-fcntl.c (do_prepare): Likewise.
822         * libio/tst-fopenloc.c (do_bz17916): Likewise.
823         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
824         * login/tst-utmp.c (do_prepare): Likewise.
825         * posix/tst-exec.c (do_prepare): Likewise.
826         * posix/tst-pathconf.c (prepare): Likewise.
827         * posix/tst-spawn.c (do_prepare): Likewise.
828         * posix/tst-truncate.c (do_prepare): Likewise.
829         * rt/tst-aio.c (do_prepare): Likewise.
830         * rt/tst-aio64.c (do_prepare): Likewise.
832 2016-06-11  Florian Weimer  <fweimer@redhat.com>
834         [BZ #20237]
835         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
836         (get*ent): Set entidx to NULL during initialization.  If entidx is
837         NULL, start iteration from the beginning.
839 2016-06-11  Florian Weimer  <fweimer@redhat.com>
841         * malloc/malloc.c (musable): Return correct size for dumped fake
842         mmapped chunk.
844 2016-06-11  Florian Weimer  <fweimer@redhat.com>
846         [BZ #20222]
847         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
848         (_IO_cookie_write): Likewise.
849         (_IO_cookie_seek): Likewise.
850         (_IO_cookie_close): Likewise.
851         (_IO_old_cookie_seek): Likewise.
852         (set_callbacks): New function.
853         (_IO_cookie_init): Call set_callbacks to copy callbacks.
855 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
857         * locale/programs/localedef.c (oldstyle_tables): Remove.
858         * locale/programs/localedef.h (oldstyle_tables): Likewise.
860 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
862         [BZ #20240]
863         * math/Makefile (CFLAGS-s_modf.c): New variable.
864         (CFLAGS-s_modff.c): Likewise.
865         (CFLAGS-s_modfl.c): Likewise.
866         * math/libm-test.inc (modf_test_data): Add sNaN tests.
868 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
870         [BZ #20215]
871         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
872         [!__GNUC_PREREQ (3,2)]: Likewise.
874 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
876         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
877         (msghdr.msg_controllen): Likewise.
878         (cmsghdr.cmsg_len): Likewise.
879         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
880         ptw-oldsendmsg.
881         (CFLAGS-oldrecvmsg.c): Remove rule.
882         (CFLAGS-oldsendmsg.c): Likewise.
883         (CFLAGS-recvmsg.c): Add rule.
884         (CFLAGS-sendmsg.c): Likewise.
885         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
886         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
887         (CFLAGS-recvmsg.c): Remove rule.
888         (CFLAGS-sendmsg.c): Likewise.
889         (CFLAGS-oldrecvmsg.c): Likewise.
890         (CFLAGS-oldsendmsg.c): Likewise.
891         (CFLAGS-recvmmsg.c): Likewise.
892         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
893         to kernel defined interfaces.
894         (msghdr.msg_controllen): Likewise.
895         (cmsghdr.cmsg_len): Likewise.
896         (msghdr.__glibc_reserved1): Remove member.
897         (msghdr.__glibc_reserved2): Likewise.
898         (cmsghdr.__glibc_reserved1): Likewise.
899         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
900         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
901         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
902         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
903         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
904         version.
905         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
906         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
907         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
908         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
909         Remove recvmsg and sendmsg.
910         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
911         Likewise.
912         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
913         Likewise.
914         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
915         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
916         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
917         Likewise.
918         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
919         Likewise.
920         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
921         [libc] (GLIBC_2.24): Likewise.
922         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
923         Likewise.
924         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
925         Likewise.
926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
927         [libc] (GLIBC_2.24): Likewise.
928         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
929         Likewise.
930         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
931         Likewise.
932         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
933         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
934         Likewise.
935         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
936         Likewise.
937         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
938         Likewise.
939         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
940         Likewise.
941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
942         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
943         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
944         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
945         version for {recv,send,recm,sendm}msg.
946         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
947         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
948         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
949         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
950         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
951         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
952         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
953         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
954         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
955         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
956         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
957         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
959         Likewise.
960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
961         Likewise.
962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
964         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
965         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
966         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
967         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
968         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
969         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
972         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
973         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
974         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
976 2016-06-10  Florian Weimer  <fweimer@redhat.com>
978         [BZ #19564]
979         Remove __malloc_initialize_hook from the API.
980         * malloc/malloc.h (__malloc_initialize_hook): Remove.
981         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
982         #pragma GCC poison.
983         * malloc/malloc-hooks.h: New file.
984         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
985         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
986         (old__malloc_initialize_hook): Rename from
987         __malloc_initialize_hook to evade poisoning.  Turn into compat
988         symbol.
989         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
990         __malloc_initialize_hook.
991         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
992         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
993         * manual/memory.texi (Hooks for Malloc): Remove
994         __malloc_initialize_hook.  Adjust hook example.
996 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
998         [BZ #20235]
999         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
1000         itself.
1001         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1002         * math/libm-test.inc (log2_test_data): Add sNaN tests.
1004         [BZ #20234]
1005         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
1006         infinity or NaN input to itself.
1008         [BZ #20233]
1009         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
1010         to itself.
1012         [BZ #20232]
1013         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
1014         itself.
1016 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1018         * sysdeps/x86_64/start.S (_start): Always indirect branch to
1019         __libc_start_main via GOT.
1021 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1023         * sysdeps/x86_64/memcopy.h: New file.
1024         * sysdeps/x86_64/wordcopy.c: Likewise.
1026 2016-06-09  Florian Weimer  <fweimer@redhat.com>
1028         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
1029         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
1030         <cstdlib>.
1031         (optimization_barrier): New.
1032         (do_test): Use it.  Call quick_exit in the global namespace.
1033         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
1034         instead of <cstdlib>, <thread>.
1035         (optimization_barrier): New.
1036         (non_main_thread): Adjust declaration.  Call optimization_barrier.
1037         Call quick_exit in the global namespace.
1038         (do_test): Call optimization_barrier.  Use pthread_create,
1039         pthread_join instead of std::thread.
1041 2016-06-09  Andreas Schwab  <schwab@suse.de>
1043         [BZ #19755]
1044         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
1045         new entries in auto-propagate mode.
1046         * nscd/grpcache.c (cache_addgr): Likewise.
1048 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1050         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
1051         New functions.
1052         (add_temp_file): Use them.
1054 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
1056         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
1058 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
1060         [BZ #20229]
1061         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
1062         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
1063         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
1065         [BZ #20228]
1066         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
1067         itself.
1068         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1069         * math/libm-test.inc (log10_test_data): Add sNaN tests.
1071         [BZ #20227]
1072         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
1073         itself.
1074         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1075         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1076         * math/libm-test.inc (log_test_data): Add sNaN tests.
1078         [BZ #20226]
1079         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
1080         itself.
1081         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1082         * math/libm-test.inc (exp_test_data): Add sNaN tests.
1083         (exp10_test_data): Likewise.
1084         (expm1_test_data): Likewise.
1086         [BZ #20225]
1087         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
1088         itself.
1089         * math/s_ldexpf.c (__ldexpf): Likewise.
1090         * math/s_ldexpl.c (__ldexpl): Likewise.
1091         * math/w_scalbln.c (__w_scalbln): Likewise.
1092         * math/w_scalblnf.c (__w_scalblnf): Likewise.
1093         * math/w_scalblnl.c (__w_scalblnl): Likewise.
1094         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
1095         (scalbln_test_data): Likewise.
1097         [BZ #20224]
1098         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
1099         argument to itself.
1100         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
1102 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1104         [BZ #19776]
1105         * sysdeps/x86_64/memcpy.S: Make it dummy.
1106         * sysdeps/x86_64/mempcpy.S: Likewise.
1107         * sysdeps/x86_64/memmove.S: New file.
1108         * sysdeps/x86_64/memmove_chk.S: Likewise.
1109         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1110         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1111         * sysdeps/x86_64/memmove.c: Removed.
1112         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1113         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1114         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
1115         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
1116         Likewise.
1117         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1118         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1119         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1120         memcpy-sse2-unaligned, memmove-avx-unaligned,
1121         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
1122         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1123         (__libc_ifunc_impl_list): Replace
1124         __memmove_chk_avx512_unaligned_2 with
1125         __memmove_chk_avx512_unaligned.  Remove
1126         __memmove_chk_avx_unaligned_2.  Replace
1127         __memmove_chk_sse2_unaligned_2 with
1128         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
1129         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
1130         with __memmove_avx512_unaligned.  Replace
1131         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
1132         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
1133         with __memcpy_chk_avx512_unaligned.  Remove
1134         __memcpy_chk_avx_unaligned_2.  Replace
1135         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
1136         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
1137         Replace __memcpy_avx512_unaligned_2 with
1138         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
1139         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
1140         with __mempcpy_chk_avx512_unaligned.  Remove
1141         __mempcpy_chk_avx_unaligned_2.  Replace
1142         __mempcpy_chk_sse2_unaligned_2 with
1143         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
1144         Replace __mempcpy_avx512_unaligned_2 with
1145         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
1146         Replace __mempcpy_sse2_unaligned_2 with
1147         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
1148         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
1149         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
1150         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
1151         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
1152         (ENTRY): Removed.
1153         (END): Likewise.
1154         (ENTRY_CHK): Likewise.
1155         (libc_hidden_builtin_def): Likewise.
1156         Don't include ../memcpy.S.
1157         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
1158         __memcpy_chk_avx512_unaligned_erms and
1159         __memcpy_chk_avx512_unaligned.  Use
1160         __memcpy_chk_avx_unaligned_erms and
1161         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1162         Default to __memcpy_chk_sse2_unaligned.
1163         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1164         Change function suffix from unaligned_2 to unaligned.
1165         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
1166         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
1167         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
1168         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
1169         (ENTRY): Removed.
1170         (END): Likewise.
1171         (ENTRY_CHK): Likewise.
1172         (libc_hidden_builtin_def): Likewise.
1173         Don't include ../mempcpy.S.
1174         (mempcpy): New.  Add a weak alias.
1175         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
1176         __mempcpy_chk_avx512_unaligned_erms and
1177         __mempcpy_chk_avx512_unaligned.  Use
1178         __mempcpy_chk_avx_unaligned_erms and
1179         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1180         Default to __mempcpy_chk_sse2_unaligned.
1182 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1184         [BZ #19881]
1185         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
1186         into ...
1187         * sysdeps/x86_64/memset.S: This.
1188         (__bzero): Removed.
1189         (__memset_tail): Likewise.
1190         (__memset_chk): Likewise.
1191         (memset): Likewise.
1192         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
1193         defined.
1194         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
1195         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
1196         (__memset_zero_constant_len_parameter): Check SHARED instead of
1197         PIC.
1198         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1199         memset-avx2 and memset-sse2-unaligned-erms.
1200         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1201         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
1202         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
1203         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1204         (__bzero): Enabled.
1205         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
1206         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
1207         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
1208         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
1209         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1210         (memset): Removed.
1211         (__memset_chk): Likewise.
1212         (MEMSET_SYMBOL): New.
1213         (libc_hidden_builtin_def): Replace __memset_sse2 with
1214         __memset_sse2_unaligned.
1215         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
1216         __memset_chk_sse2 and __memset_chk_avx2 with
1217         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
1218         Use __memset_chk_sse2_unaligned_erms or
1219         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
1220         __memset_chk_avx512_unaligned_erms and
1221         __memset_chk_avx512_unaligned.
1223 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1225         * math/gen-auto-libm-test.c (fp_format_desc): remove
1226         suffix member.
1227         (output_generic_value): Remove usage of suffix member,
1228         and the resulting unuse of the fp_format argument.
1229         (output_for_one_input_case): Remove unused fp_format
1230         parameter.
1232         * math/auto-libm-test-out: Regenerate.
1234         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
1235         usage with TEST_COND_ibm128.
1236         (TEST_COND_flt_32): Remove.
1237         (TEST_COND_dbl_64): Remove.
1238         (TEST_COND_ldbl_96_intel): Remove.
1239         (TEST_COND_ldbl_96_m68k): Remove.
1240         (TEST_COND_ldbl_128): Remove.
1242 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1244         * auto-libm-test-in:
1245         Replace flt-32 usage with binary32.
1246         Replace dbl-64 usage with binary64.
1247         Replace ldbl-intel-96 usage with intel96.
1248         Replace ldbl-m68k-96 usage with m68k96.
1249         Replace ldbl-128ibm usage with ibm128.
1250         Replace ldbl-128 usage with binary128.
1252         * auto-libm-test-out: Regenerate.
1254 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1256         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
1257         (parse_ulps): Dynamically generate type name matching
1258         string from all_floats.
1259         (get_ulps): Generate the ulps as an array instead.
1260         (output_ulps): Dynamically compose the type based
1261         on the number of supported formats, and print
1262         the indices as type specific helper macros.
1264         * math/libm-test.inc: Remove comment about CHOOSE.
1265         (ulp_data): Generate the type in libm-test-ulps.h.
1266         (ULP_IDX): New macro.
1267         (find_ulps): Update usage of max_ulp.
1269         * math/test-double-vlen2.h (CHOOSE): Remove.
1270         * math/test-double-vlen4.h (CHOOSE): Likewise.
1271         * math/test-double-vlen8.h (CHOOSE): Likewise.
1272         * math/test-float.c (CHOOSE): Likewise.
1273         * math/test-float-finite.c (CHOOSE): Likewise.
1274         * math/test-double.c (CHOOSE): Likewise.
1275         * math/test-double-finite.c (CHOOSE): Likewise.
1276         * math/test-idouble.c (CHOOSE): Likewise.
1277         * math/test-ifloat.c (CHOOSE): Likewise.
1278         * math/test-ildoubl.c (CHOOSE): Likewise.
1279         * math/test-ldouble-finite.c (CHOOSE): Likewise.
1280         * math/test-ldouble.c (CHOOSE): Likewise.
1282         * math/test-float.h (TEST_FLOAT): Remove.
1283         * math/test-double.h (TEST_DOUBLE): Likewise.
1284         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
1286 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1288         * math/gen-libm-test.pl: (apply_lit): New subroutine.
1289         (parse_args): Strip C suffix from floating point literals
1290         typed with 'f' and wrap them with LIT().
1292         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
1293         (test_ff_f_data_nexttoward): Rename to
1294         (test_fj_f_data): New struct.
1295         (nexttoward_test_data): Relabel tests as
1296         TEST_fj_f instead of TEST_ff_f.
1298 2016-06-08  Florian Weimer  <fweimer@redhat.com>
1300         Emacs bug 23726.
1301         * malloc/malloc.c (dumped_main_arena_start): Update comment.
1302         (__libc_realloc): Correct size computation for dumped fake mmapped
1303         chunks.
1305 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
1307         [BZ #20219]
1308         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
1309         to itself.
1310         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
1312         [BZ #20218]
1313         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
1314         to itself.
1315         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
1317 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1319         [BZ #20195]
1320         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
1321         check to ...
1322         (init_cpu_features): Here.
1324 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
1326         [BZ #20214]
1327         * sysdeps/unix/sysv/linux/bits/in.h
1328         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1329          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
1330         Define to 1.
1331         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1332          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
1333         Define to 0.
1334         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
1335         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
1337 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
1339         [BZ #20198]
1340         * stdlib/Makefile (tests): Add tst-quick_exit, and
1341         tst-thread-quick_exit.
1342         [ifeq ($(have-cxx-thread_local),yes)]
1343         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
1344         (CFLAGS-tst-thread-quick_exit.o): Likewise.
1345         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
1346         (LDLIBS-tst-thread-quick_exit): Likewise.
1347         [ifneq ($(have-cxx-thread_local),yes)]
1348         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
1349         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
1350         If run_dtors is true call __call_tls_dtors.
1351         (exit): Call __run_exit_handlers with run_dtors set to true.
1352         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
1353         definition.
1354         * stdlib/quick_exit.c (quick_exit): Remove function.
1355         (__new_quick_exit): New function.
1356         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
1357         function.
1358         * stdlib/tst-quick_exit.cc: New file.
1359         * stdlib/tst-thread-quick_exit.cc: New file.
1360         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
1361         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
1362         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
1363         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
1364         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
1365         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
1366         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
1367         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
1368         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
1369         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
1370         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
1371         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
1372         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
1373         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
1374         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
1375         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
1377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
1378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
1379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
1380         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
1381         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
1382         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
1383         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
1384         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
1385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
1386         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
1387         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
1388         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
1389         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
1391 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
1393         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
1394         a typo in comments.
1396 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
1398         [BZ #20213]
1399         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
1400         argument to itself.
1401         * math/libm-test.inc (asin_test_data): Add sNaN tests.
1403 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1405         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
1406         required flags.
1407         (CFLAGS-pwritev64.c): Likewise.
1408         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
1409         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1410         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
1411         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1412         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
1413         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
1414         syscall from auto-generation.
1415         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
1416         [WORDSIZE == 64] (pwritev64): Remove macro.
1417         [!PWRITEV] (PWRITEV): Likewise.
1418         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1419         [!PWRITEV] (PWRITE): Likewise.
1420         [!PWRITEV] (OFF_T): Likewise.
1421         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1422         (LO_HI_LONG): Remove macro.
1423         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
1424         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
1425         (PWRITEV): Remove macro.
1426         (PWRITEV_REPLACEMENTE): Likewise.
1427         (PWRITE): Likewise.
1428         (OFF_T): Likewise.
1429         (pwritev64): New function.
1430         * nptl/tst-cancel4.c (tf_writev): Add test.
1432         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
1433         required flags.
1434         (CFLAGS-preadv64.c): Likewise.
1435         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
1436         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1437         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
1438         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
1439         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
1440         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
1441         syscall from auto-generation.
1442         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
1443         [WORDSIZE == 64] (preadv64): Remove macro.
1444         [!PREADV] (PREADV): Likewise.
1445         [!PREADV] (PREADV_REPLACEMENT): Likewise.
1446         [!PREADV] (PREAD): Likewise.
1447         [!PREADV] (OFF_T): Likewise.
1448         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
1449         (LO_HI_LONG): Remove macro.
1450         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
1451         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
1452         (PREADV): Remove macro.
1453         (PREADV_REPLACEMENTE): Likewise.
1454         (PREAD): Likewise.
1455         (OFF_T): Likewise.
1456         (preadv64): New function.
1457         * nptl/tst-cancel4.c (tf_preadv): Add test.
1459 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
1461         [BZ #20212]
1462         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
1463         argument to itself.
1464         * math/libm-test.inc (acos_test_data): Add sNaN tests.
1466 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1468         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
1469         New symbol defined as libc_hidden_def.
1470         (strcasestr): Became a weak alias to __strcasestr.
1471         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
1472         according to multi-arch support.  Move __stpncpy hidden
1473         definition from here to...
1474         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
1475         symbol stpncpy.
1476         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
1477         libc_hidden_builtin_def.
1478         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
1479         memset symbol to use when multi-arch support is available.
1481 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1483         * dlfcn/tst-rec-dlopen.c: Include string.h.
1485 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1487         * manual/install.texi: Remove mention of --without-tls
1488         * INSTALL: Regenerate.
1490 2016-06-05  Florian Weimer  <fweimer@redhat.com>
1492         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
1493         Remove.
1494         (call_function, interposed_malloc_called): New variables.
1495         (malloc): New function.
1496         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
1497         and clear call_function as needed.
1499 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
1501         * include/wchar.h (__wmemset): Use __typeof.
1503 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
1505         * include/wchar.h (__wmemset): Declare function without typeof.
1507 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
1509         [BZ #20205]
1510         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
1511         exponent when incrementing negative subnormal with low mantissa
1512         word zero.
1513         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1514         Add another test.
1516 2016-06-03  Florian Weimer  <fweimer@redhat.com>
1518         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
1519         __wmemset instead of wmemset.
1521 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
1523         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
1524         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
1525         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
1526         __USE_KERNEL_IPV6_DEFS to 0.
1527         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
1528         Update comment.
1530 2016-06-01  Florian Weimer  <fweimer@redhat.com>
1532         [BZ #19861]
1533         Do not use IFUNC resolver with potentially unrelocated symbol.
1534         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
1535         (DEFINE_FORK): Remove macro and inline definition.
1536         (fork_alias): Renamed from fork_ifunc.
1537         (__fork_alias): Renamed from __fork_ifunc.
1539 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
1541         [BZ 19653]
1542         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
1543         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
1545 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1547         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
1548         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
1549         i386-linux-gnu).
1550         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
1551         Set to no.
1552         * sysdeps/mach/hurd/configure: Refresh.
1554 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1556         [BZ #20178]
1557         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
1558         on failure instead of exit.
1560 2016-05-30  Roland McGrath  <roland@hack.frob.com>
1562         [BZ #3629]
1563         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
1564         of POSIX.1-2008.
1566 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1568         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
1569           Use PLT entry for calling _hurd_self_sigstate.
1571 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
1573         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
1574         available logical processors with SMT level type sharing L2
1575         cache for Intel processors.
1577 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1579         [BZ #20160]
1580         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
1581         argument to itself before returning the result.
1582         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
1583         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
1584         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
1585         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
1586         Likewise.
1587         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
1588         Likewise.
1589         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
1590         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
1591         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
1592         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
1593         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
1594         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
1596         [BZ #20160]
1597         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
1598         argument to itself before returning the result.
1599         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1600         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1601         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1602         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
1603         Likewise.
1604         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1605         Likewise.
1606         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
1607         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
1608         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
1609         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
1610         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1611         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
1613 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1615         * libm-test.inc: Replace usage of M_El with
1616         (lit_e): New macro.
1618 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1620         * libm-test.inc: Replace usage of M_PI_4l with
1621         (lit_pi_4_d): New macro.
1623 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1625         * libm-test.inc: Replace usage of M_PIl with
1626         (lit_pi): New macro.
1628 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1630         * libm-test.inc: Replace usage of M_PI2l with
1631         (lit_pi_2_d): New macro.
1633         * math/test-double.h (LITM): New macro.
1634         * math/test-float.h (LITM): Likewise.
1635         * math/test-ldouble.h (LITM): Likewise.
1637 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1639         * libm-test.inc (M_PI_34l): Rename to
1640         (lit_pi_3_m_4_d): New Macro.
1641         (M_PI_34_LOG10El): Rename to
1642         (lit_pi_3_m_4_ln10_m_d): New Macro.
1643         (M_PI2_LOG10El): Rename to
1644         (lit_pi_2_ln10_m_d):  New Macro.
1645         (M_PI4_LOG10El): Rename to
1646         (lit_pi_4_ln10_m_d):  New Macro.
1647         (M_PI_LOG10El): Rename to
1648         (lit_pi_ln10_d):  New Macro.
1650 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1652         [BZ #20157]
1653         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
1654         determine whether to negate low half if [_ARCH_PPCGR], and integer
1655         comparison otherwise.
1656         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
1657         determine whether to negate low half.
1659         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
1660         (NO_TEST_INLINE_DOUBLE): Likewise.
1661         (TEST_COND_x86_64): Likewise.
1662         (TEST_COND_x86): Likewise.
1663         (M_PI_6l): Likewise.
1665 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1667         * math/libm-test.inc:
1668         (TEST_FLOAT): Change usage to TEST_COND_binary32.
1669         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
1670         (TEST_LDOUBLE): Update usage to evaluate as true if
1671         the guarded tests match the property being tested.
1672         (LDBL_MAX_EXP): Change to MAX_EXP.
1673         (LDBL_MIN_EXP): Change to MIN_EXP.
1674         (LDBL_MANT_DIG): Change to MANT_DIG, except for
1675         nexttoward tests.
1677 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1679         * math/libm-test.inc:
1680         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
1681         (TYPE_MIN): Likewise.
1682         (TYPE_TRUE_MIN): Likewise.
1683         (TYPE_MAX): Likewise.
1684         (MIN_EXP): Likewise.
1685         (MAX_EXP): Likewise.
1686         (MANT_DIG): Likewise.
1688         (FSTR_MAX): New macro.
1689         (__CONCATX): Likewise.
1690         (QTYPE_STR): Likewise.
1691         (TEST_COND_binary32): Likewise.
1692         (TEST_COND_binary64): Likewise.
1693         (TEST_COND_binary128): Likewise.
1694         (TEST_COND_ibm128): Likewise.
1695         (TEST_COND_intel96): Likewise.
1696         (TEST_COND_m68k96): Likewise.
1698         (TEST_COND_flt_32): Redefine as equivalent format test macro.
1699         (TEST_COND_dbl_64): Likewise.
1700         (TEST_COND_ldbl_96_intel): Likewise.
1701         (TEST_COND_ldbl_96_m68k): Likewise.
1702         (TEST_COND_ldbl_128): Likewise.
1703         (TEST_COND_ldbl_128ibm): Likewise.
1705         (plus_zero): Redefine using LIT macro.
1706         (minus_zero): Likewise.
1707         (plus_infty): Redefine as (INF).
1708         (minux_infty): Redefine as (-INF).
1709         (max_value): Redefine as TYPE_MAX.
1710         (min_value): Redefine as TYPE_MIN.
1711         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
1713         (print_float): Refactor to use snprintf to convert FLOAT values
1714         to string. This brings it closer to dropin replacement of strtof
1715         for the TS 18661 defined types.
1716         (update_stats): Likewise.
1717         (print_complex_function_ulps): Likewise.
1718         (print_max_error): Likewise.
1719         (print_complex_max_error): Likewise.
1720         (check_float_internal): Likewise.
1722         * math/test-float.h (PREFIX): New macro.
1723         (LIT): Likewise.
1724         (TYPE_STR): Likewise.
1725         (FTOSTR): Likewise.
1727         * math/test-double.h (PREFIX): New macro.
1728         (LIT): Likewise.
1729         (TYPE_STR): Likewise.
1730         (FTOSTR): Likewise.
1732         * math/test-ldouble.h (PREFIX): New macro.
1733         (LIT): Likewise.
1734         (TYPE_STR): Likewise.
1735         (FTOSTR): Likewise.
1737 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1739         [BZ #20156]
1740         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
1741         to itself when zero or not finite.
1742         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
1743         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1744         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
1745         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
1747 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
1749         [BZ #20153]
1750         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
1751         x * x + x for infinities and NaNs.
1753         [BZ #20151]
1754         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
1755         argument to itself before returning result.
1756         (__ieee754_y0l): Likewise.
1757         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1758         (__ieee754_y1l).
1760         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
1761         (atan_test_data): Likewise.
1762         (ceil_test_data): Likewise.
1763         (cos_test_data): Likewise.
1764         (cosh_test_data): Likewise.
1765         (erf_test_data): Likewise.
1766         (exp2_test_data): Likewise.
1767         (fabs_test_data): Likewise.
1768         (floor_test_data): Likewise.
1769         (ilogb_test_data): Likewise.
1770         (j0_test_data): Likewise.
1771         (j1_test_data): Likewise.
1772         (jn_test_data): Likewise.
1773         (lgamma_test_data): Likewise.
1774         (lrint_test_data): Likewise.
1775         (llrint_test_data): Likewise.
1776         (logb_test_data): Likewise.
1777         (lround_test_data): Likewise.
1778         (llround_test_data): Likewise.
1779         (nearbyint_test_data): Likewise.
1780         (rint_test_data): Likewise.
1781         (round_test_data): Likewise.
1782         (sin_test_data): Likewise.
1783         (sincos_test_data): Likewise.
1784         (sinh_test_data): Likewise.
1785         (sqrt_test_data): Likewise.
1786         (tan_test_data): Likewise.
1787         (tanh_test_data): Likewise.
1788         (tgamma_test_data): Likewise.
1789         (trunc_test_data): Likewise.
1790         (y0_test_data): Likewise.
1791         (y1_test_data): Likewise.
1792         (yn_test_data): Likewise.
1794         * math/libm-test.inc: Update comment about NaN testing.
1795         (TEST_SNAN): New macro.
1796         (snan_value): Likewise.
1797         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
1798         (fpclassify_test_data): Add sNaN tests.
1799         (isfinite_test_data): Likewise.
1800         (isinf_test_data): Likewise.
1801         (isnan_test_data): Likewise.
1802         (isnormal_test_data): Likewise.
1803         (issignaling_test_data): Likewise.
1804         (signbit_test_data): Likewise.
1805         * math/gen-libm-test.pl (%beautify): Add snan_value.
1806         (show_exceptions): Add argument $test_snan.
1807         (parse_args): Handle snan_value as non-finite.  Update call to
1808         show_exceptions.
1809         * math/Makefile (libm-test-no-inline-cflags): Add
1810         -fsignaling-nans.
1812 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1814         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
1815         (CFLAGS-oldsendmsg.c): Add rule.
1816         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1817         Correct recvmsg symbol name.
1818         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
1819         Likewise.
1821 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1823         * sysdeps/unix/sysv/linux/Makefile
1824         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
1825         oldsendmmsg.
1826         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
1827         sendmmsg.
1828         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1829         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1830         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1831         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1833         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1834         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1836         Likewise.
1837         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1838         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
1839         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1840         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
1841         iovlen and controllen fields to adjust to POSIX specification.
1842         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1844         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
1845         and change to correct expected type.
1846         (msghdr.msg_controllen): Likewise.
1847         (cmsghdr.cmsg_len): Likewise.
1848         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
1849         expected POSIX assumption about the size.
1850         (msghdr.msg_controllen): Likewise.
1851         (msghdr.__glibc_reserved1): Likewise.
1852         (msghdr.__glibc_reserved2): Likewise.
1853         (cmsghdr.cmsg_len): Likewise.
1854         (cmsghdr.__glibc_reserved1): Likewise.
1855         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
1856         Add ptw-oldrecvmsg and ptw-oldsendmsg.
1857         (CFLAGS-sendmsg.c): Remove rule.
1858         (CFLAGS-recvmsg.c): Likewise.
1859         (CFLAGS-oldsendmsg.c): Add rule.
1860         (CFLAGS-oldrecvmsg.c): Likewise.
1861         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
1862         recvmsg and sendmsg.
1863         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
1864         Likewise.
1865         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
1866         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
1867         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1868         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
1869         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1870         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1871         Likewise.
1872         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1873         Likewise.
1874         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
1875         Likewise.
1876         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
1877         Likewise.
1878         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1879         Likewise.
1880         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1881         Likewise.
1882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
1883         (GLIBC_2.24): Likewise.
1884         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1885         Likewise.
1886         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1887         Likewise.
1888         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1889         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1890         Likewise.
1891         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1892         Likewise.
1893         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1894         Likewise.
1895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
1896         (GLIBC_2.24): Likewise.
1897         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
1898         Likewise.
1899         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
1900         Likewise.
1901         * sysdeps/unix/sysv/linux/Makefile
1902         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
1903         (CFLAGS-sendmsg.c): Add rule.
1904         (CFLAGS-recvmsg.c): Likewise.
1905         (CFLAGS-oldsendmsg.c): Likewise.
1906         (CFLAGS-oldrecvmsg.c): Likewise.
1907         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
1908         initialization.
1909         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
1910         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
1911         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
1912         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1913         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
1914         iovlen and controllen fields to adjust to POSIX specification.
1915         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
1916         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
1917         added recvmsg and sendmsg.
1918         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1919         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1920         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1921         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1922         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1923         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1924         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1925         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1926         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1927         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1928         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1929         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1931         Likewise.
1932         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
1933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1934         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1935         Likewise.
1936         Likewise.
1937         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1938         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1939         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1940         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1941         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1942         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1944         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1946         Likewise.
1947         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1948         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1950         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
1951         from auto-generation.
1952         (sendmsg): Likewise.
1953         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
1954         (sendmsg): Likewise.
1955         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
1956         (sendmsg): Likewise.
1957         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
1958         (sendmsg): Likewise.
1959         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
1960         (sendmsg): Likewise.
1961         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
1962         (sendmsg): Likewise.
1963         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
1964         Likewise.
1965         (sendmsg): Likewise.
1966         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
1967         (sendmsg): Likewise.
1968         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1969         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1970         Remove.
1971         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1972         Likewise.
1973         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1974         Undefine.
1975         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1976         Likewise.
1977         * sysdeps/unix/sysv/linux/kernel-features.h
1978         (__ASSUME_SENDMSG_SYSCALL): Define.
1979         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1980         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1981         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1982         Remove.
1983         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1984         Likewise.
1985         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1986         Undefine.
1987         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1988         Likewise.
1989         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1990         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1991         Remove.
1992         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1993         Likewise.
1994         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1995         Undefine.
1996         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1997         Likewise.
1998         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1999         (__ASSUME_SENDMSG_SYSCALL): Undefine.
2000         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2001         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2002         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2003         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2004         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2005         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2006         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2008 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2010         * stdlib/gen-tst-strtod-round.c: Add backslash to
2011         compile command in comment.
2012         (printfp): Remove the literal suffix, and define an infinite
2013         value as INF to avoid expansion clash with INFINITY.
2014         (round_str): Remove the literal suffix.
2015         (round_for_all): Likewise, remove the now duplicate ldbl-64
2016         entry, and remove some magic constants.
2018         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
2019         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
2020         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
2021         (_CONCAT): New macro.
2022         (CONCAT): Likewise.
2023         (CHOOSE_ld): Likewise.
2024         (CHOOSE_f): Likewise.
2025         (CHOOSE_d): Likewise.
2026         (FTYPE_MEMBER): Likewise.
2027         (BOOL_MEMBER): Likewise.
2028         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
2029         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
2030         (_XNTRY): Likewise.
2031         (XNTRY): Likewise.
2032         (_ENTRY): Likewise.
2033         (ENTRY): Likewise.
2034         (test_exactness): Generate members via macro.
2035         (test_results): Likewise.
2036         (test): Update members.
2037         (TEST): Redefine using new macros.
2038         (INF): New macro.
2039         (fetestmodes): New structure.
2040         (do_test): Refactor to be type generic.
2041         (test_in_one_mode): Refactor duplicate code into
2042         (GEN_ONE_TEST): New macro.
2044         * stdlib/tst-strtod-round-data.h: Regenerate.
2046         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
2047         Extend to pass additional arbitrary parameters to
2048         generators.
2050 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
2052         [BZ #15479]
2053         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
2054         floating-point state after first floating-point operation on
2055         input.  Restore full floating-point state instead of just rounding
2056         mode.
2057         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2058         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2059         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2060         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2061         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2063         [BZ #15479]
2064         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
2065         floating-point state after first floating-point operation on
2066         input.  Restore full floating-point state instead of just rounding
2067         mode.
2068         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2069         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2070         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2071         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2072         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2074 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2076         [BZ #19727]
2077         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
2078         valid high surrogate.
2079         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
2080         of an utf16 surrogate.
2081         * iconv/gconv_simple.c (BODY): Likewise.
2082         * iconvdata/bug-iconv12.c: New file.
2083         * iconvdata/Makefile (tests): Add bug-iconv12.
2085 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2087         [BZ #19726]
2088         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
2089         outptrp in case of an illegal input.
2090         * iconv/tst-iconv6.c: New file.
2091         * iconv/Makefile (tests): Add tst-iconv6.
2093 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2095         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
2096         an error in case of a value in range of an utf16 low surrogate.
2098 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2100         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
2101         an error in case of a value in range of an utf16 low surrogate.
2103 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2105         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
2106         Move to ...
2107         * sysdeps/s390/Makefile: ... here.
2108         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
2109         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
2110         (BRANCH_ON_COUNT): New define.
2111         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
2112         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
2113         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
2114         run on s390-32, too.
2115         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
2116         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
2117         run on s390-32, too.
2118         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
2119         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
2120         run on s390-32, too.
2122 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2124         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
2125         etf3eh or new vector loop-variant.
2127 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2129         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
2130         etf3eh or new vector loop-variant.
2132 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2134         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
2135         or new vector loop-variant.
2137 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2139         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
2140         Rename to TR_LOOP and usage of tr instead of troo instruction.
2142 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2144         * sysdeps/s390/multiarch/gconv_simple.c: New File.
2145         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
2147 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2149         * sysdeps/s390/multiarch/8bit-generic.c: New File.
2150         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
2151         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
2152         New override define.
2153         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
2155 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2157         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
2158         * sysdeps/s390/configure.ac: Add test for S390 vector register
2159         support in gcc.
2160         * sysdeps/s390/configure: Regenerated.
2162 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2164         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
2165         Install file from $(objpfx)gconv-modules.
2166         ($(objpfx)gconv-modules): Concatenate architecture specific file
2167         in variable sysdeps-gconv-modules and gconv-modules in src dir.
2168         * sysdeps/s390/gconv-modules: New file.
2169         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
2170         Deleted.
2171         ($(objpfx)gconv-modules-s390): Deleted.
2172         (sysdeps-gconv-modules): New variable.
2174 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2176         [BZ #15479]
2177         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
2178         of immediate operand to rounding instruction.
2179         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
2180         Likewise.
2181         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
2182         Likewise.
2183         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
2184         Likewise.
2186 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2188         * math/libm-test.inc (MIN_EXP): Directly define as
2189         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
2191 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2193         * math/libm-test.inc (MANT_DIG): Directly define as
2194         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
2196 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2198         * stdlib/gen-tst-strtod-round.c (main):
2199           Change usage to more closely match the generated
2200           output.  Add usage and compilation instructions.
2201           (string_to_fp): Add and use FILE* parameter as
2202           output target.
2203           (print_fp): Likewise.
2204           (round_str): Likewise.
2205           (round_for_all): Likewise.
2206         * stdlib/tst-strtod-round.c (tests): Move into
2207         * stdlib/tst-strtod-round-data.h: New file.
2209 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2211         [BZ #15479]
2212         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
2213         (__round): Do not force "inexact" exception.
2214         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
2215         variable.
2216         (__round): Do not force "inexact" exception.
2217         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
2218         (__roundf): Do not force "inexact" exception.
2219         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
2220         (__roundl): Do not force "inexact" exception.
2221         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
2222         (__roundl): Do not force "inexact" exception.
2223         * math/libm-test.inc (round_test_data): Do not allow spurious
2224         "inexact" exceptions.
2226         [BZ #15479]
2227         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
2228         exception in comment.
2229         (huge): Remove variable.
2230         (__floor): Do not force "inexact" exception.
2231         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
2232         "inexact" exception in comment.
2233         (huge): Remove variable.
2234         (__floor): Do not force "inexact" exception.
2235         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
2236         exception in comment.
2237         (huge): Remove variable.
2238         (__floorf): Do not force "inexact" exception.
2239         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
2240         exception in comment.
2241         (huge): Remove variable.
2242         (__floorl): Do not force "inexact" exception.
2244         [BZ #15479]
2245         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
2246         exception in comment.
2247         (huge): Remove variable.
2248         (__ceil): Do not force "inexact" exception.
2249         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
2250         "inexact" exception in comment.
2251         (huge): Remove variable.
2252         (__ceil): Do not force "inexact" exception.
2253         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
2254         (__ceilf): Do not force "inexact" exception.
2255         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
2256         exception in comment.
2257         (huge): Remove variable.
2258         (__ceill): Do not force "inexact" exception.
2260 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2262         * config.h.in (BIND_NOW): New.
2263         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
2264         * configure: Regenerated.
2265         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
2266         indirect branch via the GOT slot.
2268 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2270         [BZ #19765]
2271         * sysdeps/s390/mempcpy.S: New File.
2272         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2273         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
2274         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2275         Add mempcpy variants.
2276         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
2277         (memcpy): Adjust to be usable from mempcpy entry point.
2278         (__memcpy_mvcle): Likewise.
2279         * sysdeps/s390/s390-64/memcpy.S: Likewise.
2280         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
2281         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
2282         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
2283         (__memcpy_z10): Likewise.
2284         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2286 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2288         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
2289         Remove __GI_ symbol.
2290         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
2291         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
2292         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
2293         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2294         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
2295         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
2297 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2299         * sysdeps/s390/s390-64/memcpy.S (memcpy):
2300         Use cghi instead of chi to compare 64bit value.
2302 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2304         * sysdeps/s390/s390-32/memcpy.S (memcpy):
2305         Jump to 1MB check before executing mvc-loop.
2307 2016-05-24  Florian Weimer  <fweimer@redhat.com>
2309         [BZ #6527]
2310         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
2311         unconditionally.
2312         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
2314 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2316         * stdlib/tst-strtod6.c (do_test): Use new type generic
2317         invocation of the test function.
2318         (test): Refactor into ...
2319         (TEST_STRTOD): New macro base function.
2321 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2323         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
2324         (TEST_STRTOD): New macro.
2325         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
2327 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2329         * stdlib/tst-strtod6.c (do_test): Use new type generic
2330         invocation of the test function.
2331         (test): Refactor into ...
2332         (TEST_STRTOD): New macro base function.
2334 2016-05-23  Florian Weimer  <fweimer@redhat.com>
2336         CVE-2016-4429
2337         [BZ #20112]
2338         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
2339         payload.
2341 2016-05-23  Florian Weimer  <fweimer@redhat.com>
2343         [BZ #20111]
2344         * bits/sockaddr.h (_SS_SIZE): Define.
2345         * bits/socket.h (_SS_SIZE): Remove.
2346         (_SS_PADSIZE): Adjust to account for all padding.
2347         (struct sockaddr_storage): Update comment.  Avoid implicit
2348         padding.
2349         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
2350         (_SS_PADSIZE): Adjust to account for all padding.
2351         (struct sockaddr_storage): Update comment.  Avoid implicit
2352         padding.
2353         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
2354         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
2355         (_SS_PADSIZE): Adjust to account for all padding.
2356         (struct sockaddr_storage): Update comment.  Avoid implicit
2357         padding.
2358         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
2359         __SS_SIZE is 126 in this version.
2360         * inet/tst-sockaddr.c: New file.
2361         * inet/Makefile (tests): Add tst-sockaddr.c
2362         (tst-sockaddr.c): Compile with non-strict aliasing.
2364 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
2366         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
2367         [XPG3 || XPG4].
2368         (NL_ARGMAX): Also expect for [XPG3].
2369         (NL_LANGMAX): Likewise.
2370         (NL_MSGMAX): Likewise.
2371         (NL_NMAX): Likewise.
2372         (NL_SETMAX): Likewise.
2373         (NL_TEXTMAX): Likewise.
2374         (NZERO): Likewise.
2375         (TMP_MAX): Likewise.
2376         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
2377         variable.
2379         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
2380         (PF_MAX): Update value.
2381         (AF_KCM): New macro.
2382         (SOL_NETBEUI): Likewise.
2383         (SOL_LLC): Likewise.
2384         (SOL_DCCP): Likewise.
2385         (SOL_NETLINK): Likewise.
2386         (SOL_TIPC): Likewise.
2387         (SOL_RXRPC): Likewise.
2388         (SOL_PPPOL2TP): Likewise.
2389         (SOL_BLUETOOTH): Likewise.
2390         (SOL_PNPIPE): Likewise.
2391         (SOL_RDS): Likewise.
2392         (SOL_IUCV): Likewise.
2393         (SOL_CAIF): Likewise.
2394         (SOL_ALG): Likewise.
2395         (SOL_NFC): Likewise.
2396         (SOL_KCM): Likewise.
2397         (MSG_BATCH): New enum value and macro.
2399 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
2401         [BZ #18185]
2402         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
2403         sharing L2 cache to 2 for Knights Landing.
2405 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
2407         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
2408         (FTW_DP): Do not expect for [XPG3 || XPG4].
2409         (FTW_SL): Do not expect for [XPG3].
2410         (FTW_SLN): Likewise.
2411         (FTW_PHYS): Likewise.
2412         (FTW_MOUNT): Likewise.
2413         (FTW_DEPTH): Likewise.
2414         (FTW_CHDIR): Likewise.
2415         (nftw): Likewise.
2416         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
2417         variable.
2419 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
2421         * manual/errno.texi: Fix various typos & grammar errors.
2423 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
2425         * manual/intro.texi: Fix duplicated typo.
2427 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
2429         [BZ #13304]
2430         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
2431         <float.h>, <math_private.h> and <stdlib.h>.
2432         (add_split): New function.
2433         (mul_split): Likewise.
2434         (ext_val): New typedef.
2435         (store_ext_val): New function.
2436         (mul_ext_val): New function.
2437         (compare): New function.
2438         (add_split_ext): New function.
2439         (__fmal): After checking for Inf, NaN and zero, compute result as
2440         an exact sum of scaled double values in round-to-nearest before
2441         adding those up and adjusting for other rounding modes.
2442         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
2443         tests of fma.
2444         * math/auto-libm-test-out: Regenerated.
2446 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2448         [BZ #20119]
2449         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
2450         processor level type mask for CPUID with EAX == 11.
2452 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2454         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
2455         logical threads if the HTT bit is 0.
2456         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
2457         (index_cpu_HTT): Likewise.
2458         (reg_HTT): Likewise.
2460 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2462         [BZ #20115]
2463         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
2464         Remove alignments on jump targets.
2466 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
2468         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
2469         (getpwent): Likewise.
2470         (setpwent): Likewise.
2471         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
2472         variable.
2474         * conform/data/search.h-data (insque): Do not expect for [XPG3].
2475         (remque): Likewise.
2476         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
2477         variable.
2479 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
2481         * math/libm-test.inc: Update comment not to refer to signs of NaNs
2482         not being tested.
2484 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2486         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2487         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
2488         call.
2489         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2490         (__condvar_cleanup1): Likewise.
2492 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2494         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
2495         New
2496         (__pthread_unwind): Renamed to ...
2497         (PTHREAD_UNWIND): This.
2498         (__pthread_enable_asynccancel): Replace
2499         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
2501 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
2503         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
2504         (CLONE_NEWCGROUP): New macro.
2506         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
2507         (Q_GETNEXTQUOTA): New macro.
2509 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2511         [BZ #19907]
2512         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
2513         buffer updated by the previous run.
2514         * string/test-memcpy.c (do_one_test): Likewise.
2515         * benchtests/bench-memmove.c (do_one_test): Add a comment.
2516         * string/test-memmove.c (do_one_test): Likewise.
2518 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
2520         [BZ #20094]
2521         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
2522         not [__USE_XOPEN].
2523         (unlockpt): Likewise.
2524         (ptsname): Likewise.
2525         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
2526         variable.
2528         [BZ #20076]
2529         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
2530         instead of [__USE_UNIX98].
2531         (S_ISSOCK): Likewise.
2532         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
2533         variable.
2535         [BZ #20074]
2536         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
2537         [__USE_POSIX].
2538         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
2539         variable.
2541         [BZ #20051]
2542         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
2543         (ttyslot): Do not declare.
2544         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
2545         (ttyslot): New prototype.
2546         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
2547         variable.
2548         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2550 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2552         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
2554 2016-05-13  Florian Weimer  <fweimer@redhat.com>
2556         Fix race condition in tst-mallocfork2, use fewer resources.
2557         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
2558         to current process group.
2559         (signal_sender): Yield in the non-sleeping case.
2561 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
2563         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
2564         (ecvt): Likewise.
2565         (fcvt): Likewise.
2566         (gcvt): Likewise.
2567         (getsubopt): Likewise.
2568         (grantpt): Likewise.
2569         (initstate): Likewise.
2570         (l64a): Likewise.
2571         (mktemp): Likewise.
2572         (mkstemp): Likewise.
2573         (ptsname): Likewise.
2574         (random): Likewise.
2575         (realpath): Likewise.
2576         (setstate): Likewise.
2577         (srandom): Likewise.
2578         (ttyslot): Likewise.
2579         (unlockpt): Likewise.
2580         (valloc): Likewise.
2582         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
2583         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
2584         variable.
2586 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2588         [BZ #20072]
2589         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
2590         init_cpu_features only if SHARED is defined.
2591         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
2593 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2595         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
2596         non-inclusive caches on Intel processors.
2598 2016-05-13  Florian Weimer  <fweimer@redhat.com>
2600         * malloc/malloc.c (dumped_main_arena_start)
2601         (dumped_main_arena_end): New variables.
2602         (DUMPED_MAIN_ARENA_CHUNK): New macro.
2603         (do_check_chunk): Skip dumped fake mmapped chunks.
2604         (munmap_chunk): Likewise.
2605         (__libc_free): Do not adjust statistics for fake mmapped chunks.
2606         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
2607         mmapped chunks.
2608         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
2609         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
2610         and dumped_main_arena_end to cover the dumped heap.
2612 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
2614         * conform/data/time.h-data (getdate_err): Do not expect for
2615         [XPG3].
2616         (getdate): Likewise.
2617         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
2618         variable.
2620         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
2621         (F_ULOCK): Likewise.
2622         (F_TEST): Likewise.
2623         (F_TLOCK): Likewise.
2624         (useconds_t): Likewise.
2625         (intptr_t): Do not expect for [XPG3] or [XPG4].
2626         (brk): Do not expect for [XPG3]
2627         (fchown): Likewise.
2628         (fchdir): Likewise.
2629         (ftruncate): Likewise.
2630         (getdtablesize): Likewise.
2631         (gethostid): Likewise.
2632         (getpagesize): Likewise.
2633         (getpgid): Likewise.
2634         (getsid): Likewise.
2635         (getwd): Likewise.
2636         (lchown): Likewise.
2637         (lockf): Likewise.
2638         (readlink): Likewise.
2639         (sbrk): Likewise.
2640         (setpgrp): Likewise.
2641         (setregid): Likewise.
2642         (setreuid): Likewise.
2643         (symlink): Likewise.
2644         (sync): Likewise.
2645         (truncate): Likewise.
2646         (ualarm): Likewise.
2647         (usleep): Likewise.
2648         (vfork): Likewise.
2649         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
2650         variable.
2652         [BZ #20054]
2653         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
2654         not [__USE_UNIX98].
2655         * conform/data/unistd.h-data (gethostname): Do not expect for
2656         [XPG3].
2658         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
2659         [!POSIX] (S_IFBLK): Likewise.
2660         [!POSIX] (S_IFCHR): Likewise.
2661         [!POSIX] (S_IFIFO): Likewise.
2662         [!POSIX] (S_IFREG): Likewise.
2663         [!POSIX] (S_IFDIR): Likewise.
2664         [!POSIX] (S_IFLNK): Likewise.
2665         [!POSIX] (S_IFSOCK): Likewise.
2666         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
2667         variable.
2668         (test-xfail-XPG4/fcntl.h/conform): Likewise.
2670 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
2672         * sysdeps/aarch64/memset.S (__memset):
2673         Rewrite of optimized memset.
2675 2016-05-12  Florian Weimer  <fweimer@redhat.com>
2677         [BZ #19703]
2678         Partially async-signal-safe fork for single-threaded processes.
2679         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
2680         variable.  Do not acquire and reset/release malloc and libio locks
2681         in single-threaded processes.
2682         * malloc/tst-mallocfork2.c: New file.
2683         * malloc/Makefile (tests): Add it.
2685 2016-05-12  Florian Weimer  <fweimer@redhat.com>
2687         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
2688         argument.  Use scratch buffer instead of extend_alloca.
2689         (gethosts): Use scratch buffer instead of extend_alloca.
2690         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
2691         extend_alloca.
2692         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
2694 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
2696         [BZ #20055]
2697         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
2698         instead of [__USE_UNIX98].
2699         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
2700         [__USE_UNIX98].
2701         * conform/data/termios.h-data (tcgetsid): Do not expect for
2702         [XPG3].
2703         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
2704         variable.
2705         (test-xfail-XPG4/termios.h/conform): Likewise.
2707 2016-05-11  Florian Weimer  <fweimer@redhat.com>
2709         Do not use mcheck in localedef.
2710         * locale/programs/localedef.c (turn_on_mcheck)
2711         (__malloc_initialize_hook): Remove.
2713 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2715         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
2716         * sysdeps/s390/s390-64/Makefile: Likewise.
2718 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
2720         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
2721         Remove ifunc-defines.sym.
2722         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
2723         Likewise.
2724         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
2725         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2726         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
2727         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
2728         rtld-global-offsets.sym.
2729         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
2730         * sysdeps/x86/cpu-features-offsets.sym: This.
2731         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
2732         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
2734 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
2736         [BZ #20073]
2737         * io/sys/stat.h (fchmod): Declare for
2738         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
2739         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
2740         variable.
2742         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
2743         [XPG3] (S_IFSOCK): Likewise.
2744         [XPG3] (S_ISVTX): Likewise.
2745         [XPG3] (S_ISLNK): Likewise.
2746         [XPG3] (S_ISSOCK): Likewise.
2747         [XPG3] (fchmod): Likewise.
2748         [XPG3] (lstat): Likewise.
2749         [XPG3] (mknod): Likewise.
2751         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
2752         [XPG3].  Expect type long and XFAIL for [XPG4].
2753         (st_blocks): Likewise.
2755         [BZ #20044]
2756         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
2757         (pthread_atfork): New prototype.
2758         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
2759         variable.
2761         [BZ #20043]
2762         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
2763         prototype.
2765 2016-05-10  Florian Weimer  <fweimer@redhat.com>
2767         [BZ #20017]
2768         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
2769         gmtime.
2771 2016-05-10  Florian Weimer  <fweimer@redhat.com>
2773         [BZ #19994]
2774         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
2775         flag in _res.options.
2777 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
2779         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
2780         [XPG3 || XPG4].
2781         (blksize_t): Likewise.
2782         (clockid_t): Likewise.
2783         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
2784         variable.
2785         (test-xfail-XPG4/sys/types.h/conform): Likewise.
2787 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2789         * sysdeps/unix/sysv/linux/s390/init-first.c:
2790         Add VDSO_SYMBOL(getcpu).
2791         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
2792         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
2793         Add VDSO_SYMBOL(getcpu).
2794         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
2795         New define HAVE_GETCPU_VSYSCALL.
2796         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2798 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
2800         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
2801         instead of <sysdeps/x86_64/cacheinfo.c>.
2802         * sysdeps/x86_64/cacheinfo.c: Moved to ...
2803         * sysdeps/x86/cacheinfo.c: Here.
2805 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2807         * malloc/malloc-internal.h: Adjust header file guard.
2809 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2811         [BZ #19787]
2812         * inet/getnameinfo.c (check_sprintf_result): New function.
2813         (CHECKED_SNPRINTF): New macro.
2814         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
2815         to the host buffer.
2816         (gni_host_local): Use checked_copy to copy the host name.
2817         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
2818         (gni_serv_local): Use checked_copy to copy the service name.
2819         (getnameinfo): Remove unnecessary truncation of result buffers.
2821 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2823         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
2824         in case of inet_ntop failure.
2826 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2828         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
2829         avoid long lines.
2830         (gni_host_inet_numeric): Likewise.  Reduce scope of local
2831         variables.
2832         (gni_host_inet, gni_host_local): Add comment.
2833         (gni_host): Add comment.  Use temporary to avoid long lines.
2835 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2837         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
2838         registers specifiers where general purpose registers specifiers should
2839         have been used.
2841 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2843         [BZ #19779]
2844         CVE-2016-1234
2845         Avoid copying names of directory entries.
2846         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
2847         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
2848         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
2849         (struct readdir_result): New type.
2850         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
2851         (GL_READDIR): New macros.
2852         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
2853         (convert_dirent, convert_dirent64): New functions.
2854         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
2855         convert_dirent64.  Adjust references to the readdir result.
2856         * sysdeps/unix/sysv/linux/i386/glob64.c:
2857         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
2858         * posix/bug-glob2.c (LONG_NAME): Define.
2859         (filesystem): Add LONG_NAME.
2860         (my_DIR): Increase the size of room_for_dirent.
2862 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
2864         [BZ #20041]
2865         * misc/sys/select.h (__need_timespec): Only define if
2866         [__USE_XOPEN2K].
2867         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
2868         variable.
2869         (test-xfail-XPG4/utmpx.h/conform): Likewise.
2870         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2871         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2873 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2874             Segher Boessenkool  <segher@gcc.gnu.org>
2876         [BZ #20004]
2877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
2878         (__novec_swapcontext): Add missing load.
2880 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
2882         [BZ #20023]
2883         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
2884         <time.h>.
2885         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
2886         variable.
2887         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2889 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
2892         flags CLONE_VM compare.
2894 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2896         [BZ #20031]
2897         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
2898         completely empty.
2900 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2902         [BZ #19573]
2903         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
2904         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
2905         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
2906         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
2907         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
2908         (hesiod_free_list): Mark as hidden.
2909         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
2910         res_set, res_get.
2911         * hesiod/hesiod.c: Remove unnecessary forward declarations.
2912         (init, __hesiod_res_get, __hesiod_res_set): Remove.
2913         (hesiod_init): Remove obsolete res_ninit call.
2914         (hesiod_end): Do not free resolver state.  Do not invoke callback.
2915         (hesiod_bind): Do not call init.
2916         (get_txt_records): Use res_mkquery, res_send instead of
2917         res_nmkquery, res_nsend.
2918         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
2919         instead of _nss_hesiod_init.
2920         (_nss_hesiod_initgroups_dyn): Likewise.
2921         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
2922         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
2923         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
2925 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2927         * hesiod/hesiod_p.h (DEF_RHS): Remove.
2928         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
2930 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2932         * hesiod/hesiod.h: Remove RCS keyword.
2933         * hesiod/hesiod_p.h: Likewise.
2935         * hesiod/hesiod.c: Likewise.
2937 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
2939         [BZ #12450]
2940         * locale/iso-639.def: Add Samogitian/sgs.
2942 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
2944         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
2946         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
2948 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
2949             Carlos O'Donell  <carlos@redhat.com>
2951         [BZ #19072]
2952         * grp/Makefile (headers): Add grp-merge.h
2953         (routines): Add grp-merge.
2954         * grp/getgrgid_r.c: Include grp-merge.h.
2955         (DEEPCOPY_FN): Define.
2956         (MERGE_FN): Define.
2957         * grp/getgrname_r.c: Include grp-merge.h.
2958         (DEEPCOPY_FN): Define.
2959         (MERGE_FN): Define.
2960         * grp/grp-merge.c: New file.
2961         * grp/grp-merge.h: New file.
2962         * include/grp-merge.h: New file.
2963         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
2964         __copy_grp@GLIBC_PRIVATE.
2965         * manual/nss.texi (Actions in the NSS configuration): Describe
2966         return, continue, and merge.
2967         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
2968         (DEEPCOPY_FN): Define.
2969         (MERGE_FN): Define.
2970         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
2971         (DEEPCOPY_FN): Define.
2972         (MERGE_FN): Define.
2973         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
2974         [!MERGE_FN]: Define __merge_einval.
2975         (CHECK_MERGE): Define.
2976         (REENTRANT_NAME): Process merge if do_merge is true.
2977         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
2978         (__nss_getent_r): Likewise.
2979         * nss/nsswitch.c (nss_parse_service_list): Likewise.
2980         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
2982 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2984         [BZ #20012]
2985         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
2986         length to calculate the buffer to read.
2987         (fmemopen_write): Set the buffer position based on bytes written.
2988         (fmemopen_seek): Return EINVAL for invalid whence modes.
2990         [BZ #19957]
2991         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
2992         tst-getpid2.
2993         (test): Add tst-clone2.
2994         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
2995         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
2996         pid/tid fields for CLONE_VM.
2997         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
2998         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
2999         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3000         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
3001         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3002         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3003         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3004         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3006         Likewise.
3007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3008         Likewise.
3009         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3010         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3011         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3012         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3013         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3014         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3015         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3016         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
3018 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3020         [BZ #19642]
3021         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
3022         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
3023         (gni_serv_local, gni_serv): New functions extracted from
3024         getnameinfo.
3025         (getnameinfo): Call gni_host and gni_serv to perform the
3026         processing.  Always free scratch buffer.
3028 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3030         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
3031         remaining bytes in the dest string, with zeros.
3033 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3035         [BZ #20010]
3036         CVE-2016-3706
3037         * sysdeps/posix/getaddrinfo.c
3038         (convert_hostent_to_gaih_addrtuple): New function.
3039         (gethosts): Call convert_hostent_to_gaih_addrtuple.
3040         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
3041         AF_INET data.
3043 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3045         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
3046         callback function gl_readdir.
3047         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
3048         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
3049         (glob_in_dir): Remove len.  Use strdup instead of malloc and
3050         memcpy to copy the name.
3051         * manual/pattern.texi (Calling Glob): Document requirements for
3052         implementations of the gl_readdir callback function.
3053         * manual/examples/mkdirent.c: New example.
3054         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
3055         per the manual guidance.
3056         * posix/tst-gnuglob.c (my_readdir): Likewise.
3058 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
3060         [BZ #20014]
3061         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
3062         not [__USE_POSIX].
3063         (getchar_unlocked): Likewise.
3064         (putc_unlocked): Likewise.
3065         (putchar_unlocked): Likewise.
3066         (flockfile): Likewise.
3067         (ftrylockfile): Likewise.
3068         (funlockfile): Likewise.
3069         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
3070         variable.
3071         (test-xfail-XPG4/stdio.h/conform): Likewise.
3073         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
3074         Expect constant.
3075         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
3076         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
3077         variable.
3078         (test-xfail-XPG4/langinfo.h/conform): Likewise.
3079         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3081         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
3082         [__USE_LARGEFILE64] (off64_t): Likewise.
3083         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
3084         variable.
3086 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3088         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
3090 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3092         * resolv/inet_addr.c: Reindent preprocessor conditionals.
3093         * resolv/res_init.c: Likewise.
3094         * resolv/res_mkquery.c: Likewise.
3096 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3098         * resolv/res_init.c (isascii): Do not define.  Use definition in
3099         <ctype.h>.
3100         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
3101         (LOG_AUTH): Remove.
3102         (SPRINTF): Remove, adjust caller.
3103         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
3105 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3107         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
3108         SUNSECURITY conditional.
3109         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
3111 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3113         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
3114         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
3115         Remove BSD-related preprocessor conditionals.
3116         * conf/portability.h: Remove.
3118 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3120         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
3121         * resolv/res_data.c: Likewise.
3123 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3125         * resolv/res_comp.c: Remove code conditional on __ultrix__.
3126         * resolv/res_data.c: Remove code conditional on ultrix.
3128 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3130         * resolv/res_init.c (RFC1535): Do not define.  Remove
3131         RFC1535 preprocessor conditionals.
3132         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
3133         because there configuration options which make the resolver
3134         behavior different.
3136 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3138         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
3139         RESOLVSORT preprocessor conditionals.
3140         * resolv/nss_dns/dns-host.c: Likewise.
3141         * resolv/res_init.c: Likewise.
3143 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3145         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
3146         is never defined.
3148 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3150         * inet/inet_lnaof.c: Remove SCSS keyword.
3151         * inet/inet_mkadr.c: Likewise.
3152         * inet/inet_net.c: Likewise.
3153         * inet/inet_netof.c: Likewise.
3154         * inet/rcmd.c: Likewise.
3155         * inet/rexec.c: Likewise.
3156         * inet/ruserpass.c: Likewise.
3158 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3160         * resolv/inet_addr.c: Remove _LIBC conditionals.
3161         * resolv/res_data.c: Likewise.
3162         * resolv/res_init.c: Likewise.
3163         * resolv/res_mkquery.c: Likewise.
3164         * resolv/res_libc.c: Update comment.
3165         * resolv/README: Update.
3167 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3169         * resolv/gethnamaddr.c: Remove SCSS keyword.
3170         * resolv/herror.c: Likewise.
3171         * resolv/inet_addr.c: Likewise.
3172         * resolv/inet_net_ntop.c: Likewise.
3173         * resolv/inet_net_pton.c: Likewise.
3174         * resolv/inet_neta.c: Likewise.
3175         * resolv/inet_ntop.c: Likewise.
3176         * resolv/inet_pton.c: Likewise.
3177         * resolv/ns_date.c: Remove RCS keyword.
3178         * resolv/ns_name.c: Likewise.
3179         * resolv/ns_netint.c: Likewise.
3180         * resolv/ns_parse.c: Likewise.
3181         * resolv/ns_print.c: Likewise.
3182         * resolv/ns_samedomain.c: Likewise.
3183         * resolv/ns_ttl.c: Likewise.
3184         * resolv/nsap_addr.c: Likewise.
3185         * resolv/res_comp.c: Remove SCSS and RCS keyword.
3186         * resolv/res_data.c: Remove RCS keyword.
3187         * resolv/res_debug.c: Remove SCSS and RCS keyword.
3188         * resolv/res_init.c: Likewise.
3189         * resolv/res_mkquery.c: Likewise.
3190         * resolv/res_query.c: Likewise.
3191         * resolv/res_send.c: Likewise.
3193 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3195         * conform/data/stdio.h-data (fdopen): Expect also for
3196         [XPG3 || XPG4].
3198         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
3199         (fseeko): Likewise.
3200         (ftello): Likewise.
3201         (ftrylockfile): Likewise.
3202         (funlockfile): Likewise.
3203         (getc_unlocked): Likewise.
3204         (getchar_unlocked): Likewise.
3205         (putc_unlocked): Likewise.
3206         (putchar_unlocked): Likewise.
3208 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3210         [BZ #19868]
3211         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
3212         DNS packet syntax checks (which were not needed before).  Skip
3213         over non-PTR records.
3215 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3217         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
3218         definition.  Include <stddef.h> instead.
3220 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3222         [BZ #19831]
3223         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
3224         function.
3225         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
3226         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
3228 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3230         [BZ #19862]
3231         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
3232         (getanswer_r): Do not call syslog.
3233         (gaih_getanswer_slice): Likewise.
3234         * resolv/gethnamaddr.c (AskedForGot): Remove.
3235         (getanswer): Do not call syslog.
3236         (gethostbyaddr): Likewise.
3238 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3240         * conform/data/signal.h-data (union sigval): Expect also if
3241         [XOPEN2K].
3242         (struct sigevent): Likewise.
3243         (SIGEV_NONE): Likewise.
3244         (SIGEV_SIGNAL): Likewise.
3245         (SIGEV_THREAD): Likewise.
3246         (SIGRTMIN): Likewise.
3247         (SIGRTMAX): Likewise.
3248         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
3249         variable.
3250         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3252 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3254         [BZ #19830]
3255         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
3256         (gaih_getanswer_slice): Likewise.
3257         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
3258         Also check for availability of RR metadata.
3260 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3262         [BZ #19825]
3263         * resolv/res_send.c (send_vc): Remove early *resplen2
3264         initialization.  Set *resplen2 on socket error.  Call
3265         close_and_return_error for other errors.
3267 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
3269         * sysdeps/unix/sysv/linux/netiucv/iucv.h
3270         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
3271         (SCM_IUCV_TRGCLS): New define.
3273 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3275         [BZ #20005]
3276         * libio/fmemopen.c (fmemopen_write): Update internal position after
3277         write.
3278         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
3279         * stdio-common/tst-fmemopen4.c: New file..
3281 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
3283         [BZ #19996]
3284         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
3285         not [__USE_XOPEN2K].
3286         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
3287         variable.
3289         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
3290         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
3291         variable.
3293         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
3294         [__USE_XOPEN2K8].
3295         [__USE_LARGEFILE64] (off64_t): Likewise.
3296         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
3297         variable.
3299 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
3301         [BZ #19989]
3302         * libio/stdio.h (cuserid): Do not declare if
3303         [__USE_XOPEN2K && !__USE_GNU].
3304         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
3305         variable.
3307 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3309         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3310         (sysdep_routines): Add P8 and PPC64 strcspn targets.
3311         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3312         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3313         ifunc'ed strcspn.
3314         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3315         [EALIGN]: Removed.
3316         [END]: Likewise
3317         [STRSPN]: Define instead of the above to control symbol name.
3318         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
3319         New file.
3320         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
3321         Likewise.
3322         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
3323         Likewise.
3324         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
3325         Likewise.
3326         * sysdeps/powerpc/powerpc64/power8/strspn.S:
3327         [INITIAL_MASK]: New macro.
3328         [STRCSPN]: Likewise.
3329         [UPDATE_MASK]: Likewise.
3330         [USE_AS_STRCSPN]: Lisewise.
3332 2016-04-25  Florian Weimer  <fweimer@redhat.com>
3334         [BZ #19931]
3335         * stdio-common/tst-vfprintf-width-prec.c: New file.
3336         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
3337         (tests-special): Add tst-vfprintf-width-prec-mem.out.
3338         (generated): Add mtrace-related files.
3339         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
3340         (tst-%-mem.out): New pattern rule, replaces
3341         tst-printf-bz18872-mem.out.
3342         * stdio-common/vfprintf.c (vfprintf): When handling a precision
3343         specifier, deallocate any previously allocated work buffer.
3345 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
3347         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
3348         Add nop before __startcontext, add explaining comments.
3350 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
3352         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
3353         any more. Notably since IPV6_PKTINFO has been reintroduced with a
3354         completely different API.
3356         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
3357         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
3358         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
3359         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
3360         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
3361         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
3362         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
3363         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
3364         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
3365         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
3367 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
3369         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
3371 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
3373         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
3374         when it is the default of 0.
3376 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3378         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
3379         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3380         (sysdep_routines): Add new strcasestr targets.
3381         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3382         (__libc_ifunc_impl_list): Likewise.
3383         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
3384         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
3385         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
3386         * sysdeps/powerpc/powerpc64/power8/Makefile:
3387         New file to add strcasestr-ppc64 to sysdep_routines.
3388         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
3389         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
3391 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
3393         * benchtests/Makefile (wcsmbs-benchset): Include only for
3394         native builds and runs.
3395         (LOCALES): Likewise.
3396         (bench-build): Build timing-type here instead of the bench
3397         target.  Generate locale only for native builds.
3398         * benchtests/README: Add note for cross-building.
3400         * benchtests/Makefile (bench-clean): Clean up extra-objs.
3402         * benchtests/README: Update README to include instructions on
3403         using bench-build.
3405         * Makefile.in (bench-build): New target.
3406         * Rules (PHONY): Add bench-build target.
3407         * benchtests/Makefile (bench): Depend on bench-build.
3408         (bench-build): New target.
3410 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3412         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
3413         profil_reply_port.
3414         (profile_waiter): Do not initialize profil_reply_port.
3415         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
3416         frequency instead of tick length in us.
3418 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
3420         [BZ #18712]
3421         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
3422         (__old_mempcpy_small): Likewise.
3423         (__old_strcpy_small): Likewise.
3424         (__old_stpcpy_small): Likewise.
3425         (__old_strpbrk_c2): Fix compat symbol name.
3426         (__old_strpbrk_c3): Likewise.
3427         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
3428         (__mempcpy_small): Remove.
3429         (__strcpy_small): Remove.
3430         (__stpcpy_small): Remove.
3432 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
3434         [BZ #19400]
3435         * locale/iso-639.def: Add the Talossan/tzl language.
3437 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
3439         [BZ #16983]
3440         * locale/programs/ld-address.c (address_finish): Update postal_fmt
3441         comment.  Add "ln" to strchr check on postal_fmt.
3443 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
3445         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
3446         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
3447         tel_dom_fmt.
3449 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3451         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3452         (sysdep_routines): Added __strlen_power8.
3453         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
3454         __strlen_power8 entry.
3455         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
3456         Implementation for POWER8.
3457         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
3458         for __strlen_power8.
3459         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
3460         Implementation for POWER8.
3462 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
3464         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
3466 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
3468         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
3469         Goldmont and Airmont processors.
3471 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
3473         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
3474         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
3475         (__STRING2_SMALL_GET32): Remove.
3476         (memset): Remove.
3477         (__memset_1): Remove.
3478         (__memset_gc): Remove.
3479         (__mempcpy): Remove.
3480         (mempcpy): Remove.
3481         (__mempcpy_args): Remove.
3482         (strchr): Remove.
3483         (strcpy): Remove.
3484         (strcpy_args): Remove.
3485         (__stpcpy_args): Remove.
3486         (__strcmp_cc): Remove.
3487         (__strcmp_gc): Remove.
3488         (strstr): Remove.
3490 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
3492         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
3493         * nis/nis_call.c (nis_server_cache_add): Likewise.
3495 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3497         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
3499 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3501         * malloc/arena.c (__malloc_fork_lock_parent)
3502         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
3503         internal_function attribute.
3505 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
3507         * stdio-common/printf_fp.c (__printf_fp_l):
3508         Rename ___printf_fp_l to __printf_fp_l and
3509         remove strong alias. Use libc_hidden_def instead
3510         of ldbl_hidden_def macro.
3512 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3514         Remove malloc hooks from fork handler.  They are no longer needed
3515         because malloc runs right before fork, and no malloc calls from
3516         other fork handlers are not possible anymore.
3517         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
3518         declarations.
3519         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
3520         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
3521         (atfork_recursive_cntr): Remove.
3522         (__malloc_fork_lock_parent): Do not override malloc hooks and
3523         thread_arena.
3524         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
3525         thread_arena.
3526         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
3527         thread_arena instead of save_arena.
3529 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3531         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
3532         (thread_atfork, thread_atfork_static): Remove.
3533         * sysdeps/mach/hurd/malloc-machine.h:
3534         (thread_atfork, thread_atfork_static): Remove.
3536 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3538         [BZ #19431]
3539         Run the malloc fork handler as late as possible to avoid deadlocks.
3540         * malloc/malloc-internal.h: New file.
3541         * malloc/malloc.c: Include it.
3542         * malloc/arena.c (ATFORK_MEM): Remove.
3543         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
3544         Update comment.
3545         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
3546         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
3547         Remove outdated comment.
3548         (ptmalloc_init): Do not call thread_atfork.  Remove
3549         thread_atfork_static.
3550         * malloc/tst-malloc-fork-deadlock.c: New file.
3551         * Makefile (tests): Add tst-malloc-fork-deadlock.
3552         (tst-malloc-fork-deadlock): Link against libpthread.
3553         * manual/memory.texi (Aligned Memory Blocks): Update safety
3554         annotation comments.
3555         * sysdeps/nptl/fork.c (__libc_fork): Call
3556         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
3557         __malloc_fork_unlock_child.
3558         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3560 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3562         [BZ #19613]
3563         Remove union wait.
3564         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
3565         (w_stopsig, w_stopval): Remove.
3566         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
3567         stat_loc argument.
3568         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
3569         (__WAIT_STATUS_DEFN): Remove.
3570         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3571         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
3572         (wait, wait3, wait4): Use int * for the stat_loc argument.
3573         * posix/wait.c (__wait): Likewise.
3574         * posix/wait3.c (__wait3): Likewise.
3575         * posix/wait4.c (__wait4): Likewise.
3576         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
3577         (__WAIT_STATUS_DEFN): Remove.
3578         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3579         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
3580         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
3581         argument.
3582         * sysdeps/posix/wait.c (__libc_wait): Likewise.
3583         * sysdeps/posix/wait3.c (__wait3): Likewise.
3584         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
3585         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
3586         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
3587         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
3588         stat_loc argument.
3589         * manual/process.texi (BSD Wait Functions): Remove union wait.
3591 2016-04-13  Andreas Schwab  <schwab@suse.de>
3593         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
3594         (test-extras): Add tst-tlsalign-vars.
3595         * math/Makefile: Wrap long lines.
3596         (libm-vec-test-wrappers): Define.
3597         (test-extras): Add $(libm-vec-test-wrappers).
3598         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
3599         * nss/Makefile (extra-test-objs): Add nss_test1.os.
3600         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
3601         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
3602         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
3603         (extra-test-objs): Add corresponding objects.
3605 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
3607         [BZ #19928]
3608         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
3609         New.
3610         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
3611         times of shared cache size.
3612         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
3613         (VMOVNT): New.
3614         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
3615         (VMOVNT): Likewise.
3616         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
3617         (VMOVNT): Likewise.
3618         (VMOVU): Changed to movups for smaller code sizes.
3619         (VMOVA): Changed to movaps for smaller code sizes.
3620         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
3621         comments.
3622         (PREFETCH): New.
3623         (PREFETCH_SIZE): Likewise.
3624         (PREFETCHED_LOAD_SIZE): Likewise.
3625         (PREFETCH_ONE_SET): Likewise.
3626         Rewrite to use forward and backward loops, which move 4 vector
3627         registers at a time, to support overlapping addresses and use
3628         non temporal store if size is above the threshold and there is
3629         no overlap between destination and source.
3631 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
3633         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
3634         Include dl-vdso.
3635         * sysdeps/unix/sysv/linux/mips/Versions: Add
3636         __vdso_clock_gettime.
3637         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
3638         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
3639         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
3640         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
3641         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
3642         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
3643         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3644         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
3645         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
3647 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3649         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
3650         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
3651         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3652         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3653         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3654         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3657         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
3658         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
3659         syscalls generation.
3660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3661         [__NR_pwrite64] (__NR_write): Remove define.
3662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3663         [__NR_pwrite64] (__NR_write): Remove define.
3664         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
3665         Remove define.
3666         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
3667         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
3668         Remove define.
3669         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
3670         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
3671         Linux implementation as base.
3672         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3674         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
3675         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
3676         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3677         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
3679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3680         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
3681         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
3682         syscall generation.
3683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3684         [__NR_pread64] (__NR_pread): Remove define.
3685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3686         [__NR_pread64] (__NR_pread): Likewise.
3687         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
3688         define.
3689         (__libc_pread): Use SYSCALL_LL macro on offset argument.
3690         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
3691         Remove define.
3692         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
3693         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
3694         Linux implementation as base.
3695         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3696         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3697         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3699         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
3700         definition.
3701         (__ALIGNMENT_COUNT): Likewise.
3702         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
3703         (__ALIGNMENT_COUNT): Likewise.
3704         (SYSCALL_LL): New define.
3705         (SYSCALL_LL64): Likewise.
3706         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
3707         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
3708         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
3709         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
3711         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3712         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
3713         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3714         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3715         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3716         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3718 2016-04-11  Florian Weimer  <fweimer@redhat.com>
3720         [BZ #19865]
3721         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
3722         original buffer before retry.
3724 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3726         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
3727         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
3728         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
3729         GLRO(dl_auxv) list.
3730         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
3731         including <ldsodefs.h>.
3732         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
3734 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
3736         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
3737         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
3738         $(CPPFLAGS).
3740 2016-04-09  Khem Raj  <raj.khem@gmail.com>
3742         [BZ #17950]
3743         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
3744         Add -mfpmath=387.
3746 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
3748         * sysdeps/i386/configure.ac: Change == to = when calling test.
3749         * sysdeps/x86_64/configure.ac: Likewise.
3750         * sysdeps/i386/configure: Regenerated.
3751         * sysdeps/x86_64/configure: Likewise.
3753 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
3755         [BZ #16137]
3756         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
3757         * benchtests/bench-strcoll.c (input_files): Likewise.
3758         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3759         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
3760         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
3762 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
3764         [BZ #19929]
3765         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
3766         [__USE_XOPEN2K8 && !__USE_GNU].
3767         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
3768         variable.
3770         [BZ #19925]
3771         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
3772         define if [!__USE_MISC && __USE_XOPEN2K].
3773         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
3774         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
3775         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
3776         Likewise.
3777         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
3778         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
3779         variable.
3780         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3782 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3784         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3785         (sysdep_routines): Add new strspn targets.
3786         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3787         (__libc_ifunc_impl_list): Add strspn.
3788         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3789         New file.
3790         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
3791         Likewise.
3792         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
3793         Likewise.
3794         * sysdeps/powerpc/powerpc64/power8/strspn.S:
3795         Likewise.
3797 2016-04-07  Florian Weimer  <fweimer@redhat.com>
3799         * misc/hsearch_r.c: Include <limits.h>.
3801 2016-04-07  Florian Weimer  <fweimer@redhat.com>
3803         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
3805 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3807         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3808         (MEMCPY_SYMBOL): New.
3809         (MEMPCPY_SYMBOL): Likewise.
3810         (MEMMOVE_CHK_SYMBOL): Likewise.
3811         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
3812         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
3813         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
3814         Provide alias for memcpy in libc.a and ld.so.
3816 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3818         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3819         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
3820         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
3821         Disabled fro now.
3822         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
3823         symbols.  Properly check USE_MULTIARCH on __memset symbols.
3825 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3827         * benchtests/Makefile (string-benchset): Add memcpy-large,
3828         memmove-large and memset-large.
3829         * benchtests/bench-memcpy-large.c: New file.
3830         * benchtests/bench-memmove-large.c: Likewise.
3831         * benchtests/bench-memmove-large.c: Likewise.
3832         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
3834 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
3836         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
3837         32-bit displacement to avoid long nop between instructions.
3839 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
3841         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
3842         a comment on VMOVU and VMOVA.
3844 2016-04-04  Florian Weimer  <fweimer@redhat.com>
3846         [BZ #19633]
3847         Use specified locale for number formatting in strfmon_l.
3848         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
3849         (__nl_lookup_word): New inline functions.
3850         * include/printf.h (__print_fp_l): Declare.
3851         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
3852         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
3853         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
3854         (___printf_fp): New function.
3855         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
3856         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
3857         * stdlib/tst-strfmon_l.c (do_test): New test.
3858         * stdlib/Makefile (tests): Add kt.
3859         (LOCALES): Build additional locales.
3860         (tst-strfmon_l.out): Require locales.
3862 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
3864         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
3865         if not in libc.
3866         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3867         Likewise.
3868         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
3869         Likewise.
3870         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3871         Likewise.
3873 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
3875         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3876         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
3877         with unaligned_erms.
3878         (__memmove_erms): Skip if source == destination.
3879         (__memmove_unaligned_erms): Don't check source == destination
3880         first.
3882 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3884         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
3885         bit_arch_Fast_Copy_Backward for Intel Core proessors.
3887 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3889         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
3890         * string/strspn.c (strspn): Likewise.
3892 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3894         * benchtests/bench-memset.c (do_test): Support 64-byte
3895         alignment.
3896         (test_main): Test 64-byte alignment.
3898 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3900         * benchtests/bench-memmove.c (test_main): Test 64-byte
3901         alignment.
3903 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3905         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
3907 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3909         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
3910         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
3911         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
3913         * string/strpbrk.c (strpbrk): Rewrite function.
3914         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
3915         (__strpbrk_c2): Likewise.
3916         (__strpbrk_c3): Likewise.
3917         * string/string-inlines.c
3918         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
3919         Likewise.
3920         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
3921         Likewise.
3923         * string/strspn.c (strcspn): Rewrite function.
3924         * string/bits/string2.h (strspn): Use __builtin_strcspn.
3925         (__strspn_c1): Remove inline function.
3926         (__strspn_c2): Likewise.
3927         (__strspn_c3): Likewise.
3928         * string/string-inlines.c
3929         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
3930         compatibility symbol.
3931         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
3932         Likewise.
3933         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
3934         Likewise.
3935         * string/string-inlines.c: Include generic version.
3937 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
3938             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3940         * string/Version (libc): Add GLIBC_2.24.
3941         * string/strcspn.c (strcspn): Rewrite function.
3942         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
3943         (__strcspn_c1): Remove inline function.
3944         (__strcspn_c2): Likewise.
3945         (__strcspn_c3): Likewise.
3946         * string/string-inline.c
3947         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
3948         compatibility symbol.
3949         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
3950         Likewise.
3951         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
3952         Likewise.
3953         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
3955 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
3957         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
3958         Use ahi instead of aghi to adjust stack pointer.
3960 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3962         [BZ #19853]
3963         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
3964         TEST to take significant digits as second parameter.
3965         [TEST]: Redefine in terms of TEST_N taking 30
3966         significant digits.
3967         (do_test): Add test case to demonstrate precision
3968         failure in the ldbl-128ibm printf.
3969         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
3970         (__mpn_extract_long_double): Carry 7 extra intermediate
3971         bits of precision to aide computing difference when
3972         signs differ.
3974 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
3976         [BZ #19881]
3977         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3978         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
3979         memset-avx512-unaligned-erms.
3980         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3981         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
3982         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
3983         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
3984         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
3985         __memset_sse2_unaligned_erms, __memset_erms,
3986         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
3987         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
3988         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
3989         file.
3990         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3991         Likewise.
3992         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
3993         Likewise.
3994         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
3995         Likewise.
3997 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
3999         [BZ #19776]
4000         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4001         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
4002         memmove-avx512-unaligned-erms.
4003         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4004         (__libc_ifunc_impl_list): Test
4005         __memmove_chk_avx512_unaligned_2,
4006         __memmove_chk_avx512_unaligned_erms,
4007         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
4008         __memmove_chk_sse2_unaligned_2,
4009         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
4010         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
4011         __memmove_avx512_unaligned_erms, __memmove_erms,
4012         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
4013         __memcpy_chk_avx512_unaligned_2,
4014         __memcpy_chk_avx512_unaligned_erms,
4015         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
4016         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
4017         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
4018         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
4019         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
4020         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
4021         __mempcpy_chk_avx512_unaligned_erms,
4022         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
4023         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
4024         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
4025         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
4026         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
4027         __mempcpy_erms.
4028         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
4029         file.
4030         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4031         Likwise.
4032         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4033         Likwise.
4034         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4035         Likwise.
4037 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4039         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
4040         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
4041         (La_s390_64_regs): Likewise.
4042         (La_s390_32_retval): Append vector register lrv_v24.
4043         (La_s390_64_retval): Likeweise.
4044         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
4045         Handle extended structs La_s390_32_regs and La_s390_32_retval.
4046         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
4047         Handle extended structs La_s390_64_regs and La_s390_64_retval.
4049 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4051         [BZ #19916]
4052         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
4053         to create a non-vector/vector version for _dl_runtime_resolve and
4054         _dl_runtime_profile. Move implementation to ...
4055         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
4056         (_dl_runtime_resolve) Save and restore fpr/vrs.
4057         (_dl_runtime_profile) Save and restore vrs and fix some issues
4058         if _dl_call_pltexit is called.
4059         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
4060         Choose the correct resolver function if running on a machine with vx.
4061         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
4062         to create a non-vector/vector version for _dl_runtime_resolve and
4063         _dl_runtime_profile. Move implementation to ...
4064         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
4065         (_dl_runtime_resolve) Save and restore fpr/vrs.
4066         (_dl_runtime_profile) Save and restore vrs and fix some issues
4067         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
4068         Choose the correct resolver function if running on a machine with vx.
4070 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4072         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
4074 2016-03-31  Florian Weimer  <fweimer@redhat.com>
4076         [BZ #19509]
4077         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
4078         skip_map != NULL.
4079         * elf/tst-dlsym-error.c: New file.
4080         * elf/Makefile (tests): Add tst-dlsym-error.
4081         (tst-dlsym-error): Link against libdl.
4083 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
4085         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4086         (__ASSUME_FUTIMESAT): Remove macro.
4087         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
4089 2016-03-29  Florian Weimer  <fweimer@redhat.com>
4091         [BZ #19879]
4092         CVE-2016-3075
4093         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
4094         copy name.
4096 2016-03-29  Florian Weimer  <fweimer@redhat.com>
4098         [BZ #19837]
4099         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
4100         error if parse_line fails.
4102 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4104         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
4105         (index_cpu_ERMS): Likewise.
4106         (reg_ERMS): Likewise.
4108 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
4110         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
4111         PER_LINUX_FDPIC): Add.
4113 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4115         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4116         memcpy-avx512-no-vzeroupper.
4117         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
4118         to ...
4119         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
4120         (MEMCPY): Don't define.
4121         (MEMCPY_CHK): Likewise.
4122         (MEMPCPY): Likewise.
4123         (MEMPCPY_CHK): Likewise.
4124         (MEMPCPY_CHK): Renamed to ...
4125         (__mempcpy_chk_avx512_no_vzeroupper): This.
4126         (MEMPCPY_CHK): Renamed to ...
4127         (__mempcpy_chk_avx512_no_vzeroupper): This.
4128         (MEMCPY_CHK): Renamed to ...
4129         (__memmove_chk_avx512_no_vzeroupper): This.
4130         (MEMCPY): Renamed to ...
4131         (__memmove_avx512_no_vzeroupper): This.
4132         (__memcpy_avx512_no_vzeroupper): New alias.
4133         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
4135 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4137         [BZ #18858]
4138         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4139         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
4140         and mempcpy-avx512-no-vzeroupper.
4141         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
4142         New.
4143         (MEMPCPY): Likewise.
4144         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
4145         (MEMPCPY_CHK): New.
4146         (MEMPCPY): Likewise.
4147         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
4148         (MEMPCPY): Likewise.
4149         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
4150         (MEMPCPY): Likewise.
4151         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
4152         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
4153         Likewise.
4154         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
4155         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
4157 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4158              Amit Pawar  <Amit.Pawar@amd.com>
4160         [BZ #19583]
4161         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4162         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
4163         processors.  Set Fast_Copy_Backward for AMD Excavator
4164         processors.
4165         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
4166         New.
4167         (index_arch_Fast_Unaligned_Copy): Likewise.
4168         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
4169         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
4171 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4173         [BZ #19791]
4174         * resolv/res_send.c (close_and_return_error): New function.
4175         (send_dg): Initialize *resplen2 after reopen failure.  Call
4176         close_and_return_error for error returns.  On error paths without
4177         __res_iclose, initialze *resplen2 explicitly.  Update comment for
4178         successful return.
4180 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4182         [BZ# 19860]
4183         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
4184         zero if the compiler does not provide the AVX512F bit.
4186 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
4188         [BZ #19848]
4189         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
4190         from 8 to 4.
4191         (__ieee754_powl): Compare integer exponent against 4 not 8.
4192         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
4193         from 8 to 4.
4194         (__ieee754_powl): Compare integer exponent against 4 not 8.
4195         * math/auto-libm-test-in: Add more tests of pow.
4196         * math/auto-libm-test-out: Regenerated.
4197         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
4198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4200 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4202         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
4203         Make code unconditional.
4204         [!__NR_utimensat]: Remove conditional code.
4205         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
4206         Make code unconditional.
4207         [!__NR_utimensat]: Remove conditional code.
4208         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
4209         Make code unconditional.
4210         [!__NR_utimensat]: Remove conditional code.
4212 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4214         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
4215         Make code unconditional.
4217 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
4219         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
4220         call-clobbered %eax on retry path.
4221         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
4223 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4225         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
4226         Don't set %rcx twice before "rep movsb".
4228 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4230         [BZ #19583]
4231         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
4232         inline.  Check family before setting family, model and
4233         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
4234         bits here.
4235         (init_cpu_features): Replace HAS_CPU_FEATURE and
4236         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
4237         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
4238         for Intel processors with usable AVX2.  Call get_common_indeces
4239         for other processors with family == NULL.
4240         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
4241         (CPU_FEATURES_ARCH_P): Likewise.
4242         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
4243         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
4245 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4247         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
4248         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
4249         $(shared-thread-library) instead of hardcoding the path to libpthread.
4251 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
4253         * sysdeps/unix/sysv/linux/kernel-features.h
4254         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
4255         * sysdeps/unix/sysv/linux/getdents.c
4256         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
4257         [!have_no_getdents64_defined]: Likewise.
4258         (__GETDENTS): Remove __have_no_getdents64 conditional.
4260 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
4262         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
4263         Remove macro.
4264         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
4265         <kernel-features.h>.
4266         (signalfd) [__NR_signalfd4]: Make code unconditional.
4267         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
4269 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4271         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
4272         style.
4274 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
4276         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
4277         (__pthread_enable_asynccancel): Use JUMPTARGET to call
4278         __pthread_unwind.
4279         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4280         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
4281         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4282         (__condvar_cleanup1): Likewise.
4284 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
4286         [BZ #19822]
4287         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
4288         move it to the final $@ location.
4290 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4292         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
4293         access where posix_spawn success and pid argument is null.
4294         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
4295         success case.
4297 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
4299         * sysdeps/mach/hurd/i386/c++-types.data: New file.
4301         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
4303         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
4304         and __fcntl.
4305         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
4306         __fcntl only.
4307         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
4308         adding attribute_hidden to __open and __fcntl.
4310         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
4311         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
4312         depend on libc-modules.h,
4313         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
4315 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
4317         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
4318         Remove macro.
4319         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
4320         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
4321         entry.
4323         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
4324         Remove macro.
4325         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
4326         include <kernel-features.h>.
4327         [!__ASSUME_FALLOCATE]: Remove conditional code.
4328         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
4330 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4332         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
4333         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
4334         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
4335         (_ZGVdN4v_cos_avx2): Likewise.
4336         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
4337         (_ZGVdN4v_cos): Likewise.
4338         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
4339         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
4340         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
4341         (_ZGVdN4v_exp_avx2): Likewise.
4342         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
4343         (_ZGVdN4v_exp): Likewise.
4344         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
4345         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
4346         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
4347         (_ZGVdN4v_log_avx2): Likewise.
4348         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
4349         (_ZGVdN4v_log): Likewise.
4350         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
4351         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
4352         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
4353         (_ZGVdN4vv_pow_avx2): Likewise.
4354         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
4355         (_ZGVdN4vv_pow): Likewise.
4356         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
4357         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
4358         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
4359         (_ZGVdN4v_sin_avx2): Likewise.
4360         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
4361         (_ZGVdN4v_sin): Likewise.
4362         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
4363         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
4364         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
4365         (_ZGVdN4vvv_sincos_avx2): Likewise.
4366         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
4367         (_ZGVdN4vvv_sincos): Likewise.
4368         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
4369         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
4370         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
4371         (_ZGVbN4v_cosf_sse4): Likewise.
4372         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
4373         (_ZGVdN8v_cosf_avx2): Likewise.
4374         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
4375         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
4376         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
4377         (_ZGVbN4v_expf_sse4): Likewise.
4378         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
4379         (_ZGVdN8v_expf_avx2): Likewise.
4380         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
4381         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
4382         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
4383         (_ZGVbN4v_logf_sse4): Likewise.
4384         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
4385         (_ZGVdN8v_logf_avx2): Likewise.
4386         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
4387         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
4388         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
4389         (_ZGVbN4vv_powf_sse4): Likewise.
4390         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
4391         (_ZGVdN8vv_powf_avx2): Likewise.
4392         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4393         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
4394         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4395         (_ZGVbN4vvv_sincosf_sse4): Likewise.
4396         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4397         (_ZGVdN8vvv_sincosf_avx2): Likewise.
4398         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
4399         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
4400         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
4401         (_ZGVbN4v_sinf_sse4): Likewise.
4402         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
4403         (_ZGVdN8v_sinf_avx2): Likewise.
4404         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4405         Use JUMPTARGET to call callee.
4406         (WRAPPER_IMPL_SSE2_ff): Likewise.
4407         (WRAPPER_IMPL_SSE2_fFF): Likewise.
4408         (WRAPPER_IMPL_AVX): Likewise.
4409         (WRAPPER_IMPL_AVX_ff): Likewise.
4410         (WRAPPER_IMPL_AVX_fFF): Likewise.
4411         (WRAPPER_IMPL_AVX512): Likewise.
4412         (WRAPPER_IMPL_AVX512_ff): Likewise.
4413         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4414         Likewise.
4415         (WRAPPER_IMPL_SSE2_ff): Likewise.
4416         (WRAPPER_IMPL_SSE2_fFF): Likewise.
4417         (WRAPPER_IMPL_AVX): Likewise.
4418         (WRAPPER_IMPL_AVX_ff): Likewise.
4419         (WRAPPER_IMPL_AVX_fFF): Likewise.
4420         (WRAPPER_IMPL_AVX512): Likewise.
4421         (WRAPPER_IMPL_AVX512_ff): Likewise.
4422         (WRAPPER_IMPL_AVX512_fFF): Likewise.
4424 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4426         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
4427         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
4428         qualifier.
4429         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
4430         internal_function qualifiers.
4432 2016-03-15  Carlos O'Donell <carlos@redhat.com>
4434         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
4435         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
4436         * math/atest-exp.c (exp_mpn): Mark chk unused.
4437         * math/atest-exp2.c (exp_mpn): Likwise.
4438         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
4439         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
4441 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
4443         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
4444         Remove macro.
4445         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
4446         <kernel-features.h>.
4447         [__NR_ppoll]: Make code unconditional.
4448         [!__ASSUME_PPOLL]: Remove conditional code.
4450         * sysdeps/unix/sysv/linux/kernel-features.h
4451         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
4452         (__ASSUME_ACCEPT4): Likewise.
4453         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4454         Define.
4455         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
4456         Likewise.
4457         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4458         Likewise.
4459         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
4460         Likewise.
4461         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
4462         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
4463         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4464         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4465         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4466         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4467         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4468         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4469         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4470         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4471         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4472         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4473         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4474         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4475         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4476         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4477         Likewise.
4478         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4479         Likewise.
4480         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4481         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4482         0x040300].
4483         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4484         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4485         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4486         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4487         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4488         0x030300].
4489         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
4490         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4491         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4492         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4493         0x040300].
4494         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4495         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4496         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4497         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4498         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4499         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4500         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4501         0x030300].
4502         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4503         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4504         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4505         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4506         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4507         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4508         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4509         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4510         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4511         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4512         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4513         0x040300].
4514         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4515         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4516         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4517         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4518         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4519         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4520         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4521         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4522         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4523         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4524         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4525         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4526         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4527         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4528         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
4529         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4530         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4531         Likewise.
4532         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4533         Likewise.
4535 2016-03-15  Andreas Schwab  <schwab@suse.de>
4537         [BZ #19257]
4538         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
4539         statp->_u._ext.nscount as loop count.
4541 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4543         * math/test-signgam-finite-c99.c: Also #undef
4544         __LIBC_INTERNAL_MATH_INLINES.
4545         * math/test-signgam-main.c: Likewise.
4547 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
4549         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
4550         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
4551         (MADV_FREE): Likewise.
4552         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
4553         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
4554         EPOLLEXCLUSIVE.
4556 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
4558         * timezone/README: Remove mention of checktab.awk. Mention wiki
4559         SharedSourceFiles.
4561 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
4563         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
4564         WUNTRACED.
4566 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4568         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
4569         order to match the type of p when calling atomic_exchange_acq().
4571 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4573         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
4574         cfi_offset calls.
4575         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
4576         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
4577         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
4578         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
4579         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
4581 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
4583         * timezone/checktab.awk: Removed.
4585 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
4587         * manual/math.texi (Errors in Math Functions): Document relaxed
4588         accuracy goals for IBM long double.
4589         * math/libm-test.inc (test_exceptions): Always allow spurious
4590         "underflow" and "inexact" exceptions for IBM long double.
4592 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
4594         [BZ #19762]
4595         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4596         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
4597         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4598         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
4599         (bit_arch_*): This for feature array.
4600         (bit_*): Renamed to ...
4601         (bit_cpu_*): This for cpu array.
4602         (index_*): Renamed to ...
4603         (index_arch_*): This for feature array.
4604         (index_*): Renamed to ...
4605         (index_cpu_*): This for cpu array.
4606         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
4607         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
4608         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
4609         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
4610         bit_##name with index_cpu_##name and bit_cpu_##name.
4611         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
4612         bit_##name with index_arch_##name and bit_arch_##name.
4614 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
4616         [BZ #19792]
4617         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4618         Terminate FDE before return label.
4620 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
4622         [BZ #19790]
4623         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
4624         (rintl): Define as macro.
4625         [USE_AS_NEARBYINTL] (__rintl): Likewise.
4626         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
4627         of fesetround.  Ensure results are evaluated before end of scope.
4628         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
4629         USE_AS_NEARBYINTL and include s_rintl.c.
4630         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
4631         Disable exception traps in new environment.
4632         (libc_feholdsetround_ppc_ctx): Likewise.
4634 2016-03-08  Roland McGrath  <roland@hack.frob.com>
4636         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
4637         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
4638         (tst_audit10_aux) [__AVX512F__]: ... here.
4640 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
4642         * include/sys/auxv.h: New file.
4644 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
4646         [BZ #19759]
4647         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
4649 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4651         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
4652         operand modifier.
4653         (feclearexcept): Likewise.
4655 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4657         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
4658         to reflect the entire 32-bit HWCAP.
4659         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
4660         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
4662 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
4664         [BZ #19783]
4665         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
4666         $(test-via-rtld-prefix).
4667         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
4669 2016-03-08  Florian Weimer  <fweimer@redhat.com>
4671         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
4672         union wait.  Report any non-zero exit status as error.
4674 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4676         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
4677         configured with --enable-hardcoded-path-in-tests.
4679 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
4681         [BZ #19677]
4682         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4683         (__ieee754_remainderl): Put zero low parts in canonical form.
4684         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
4685         file.  Based on
4686         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
4687         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
4688         with wrapper round test-fmodrem-ldbl-128ibm.c.
4689         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
4690         file.
4691         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
4692         Likewise.
4693         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
4694         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
4696 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4698         [BZ #19610]
4699         * elf/ldconfig.c (opt_link): Update comment.
4700         (options): Update help string for option -X.
4701         (search_dir): Unlink stale symbolic link only if updating symbolic
4702         links.
4703         * elf/tst-ldconfig-X.sh: New file.
4704         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
4705         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
4707 2016-03-07  Andreas Schwab  <schwab@suse.de>
4709         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
4710         needed arguments.
4712 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
4714         [BZ #15333]
4715         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
4716         to lstat64.
4718 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4720         * libio/filedoalloc.c (isatty): Remove.
4721         (local_isatty): Add comment.  Call __isatty directly.
4722         (_IO_file_doallocate): Update comment.  Assume _LIBC.
4723         * libio/wfiledoalloc.c (isatty): Remove.
4724         (_IO_wfile_doallocate): Update comment.
4726 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4728         [BZ #19269]
4729         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
4730         tst-audit4-aux.o.
4731         (tst-audit10): Depend on tst-audit10-aux.o.
4732         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
4733         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
4734         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
4735         instead of inline AVX code.
4736         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
4737         instead of inline AVX512 code.
4738         * sysdeps/x86_64/tst-audit4-aux.c: New file
4739         * sysdeps/x86_64/tst-audit10-aux.c: New file
4741         [BZ #19648]
4742         * test-skeleton.c (main): Do not set RLIMIT_DATA.
4744 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4746         [BZ #14750]
4747         [BZ #10354]
4748         [BZ #18433]
4749         * include/sched.h (__clone): Add hidden prototype.
4750         (__clone2): Likewise.
4751         * include/unistd.h (__dup): Likewise.
4752         * posix/Makefile (tests): Add tst-spawn2.
4753         * posix/tst-spawn2.c: New file.
4754         * sysdeps/posix/dup.c (__dup): Add hidden definition.
4755         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
4756         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
4757         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
4758         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
4759         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
4760         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
4761         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
4762         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
4763         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
4764         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
4765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
4766         Likewise.
4767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4768         Likewise.
4769         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
4770         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
4771         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
4772         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4773         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
4774         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
4775         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
4776         * sysdeps/unix/sysv/linux/nptl-signals.h
4777         (____nptl_is_internal_signal): New function.
4778         * sysdeps/unix/sysv/linux/spawni.c: New file.
4780         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
4781         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
4782         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
4783         * posix/tst-execvp2.c (do_test): Likewise.
4784         * posix/tst-execvp3.c (do_test): Likewise.
4785         * posix/tst-execvp4.c (do_test): Likewise.
4786         * posix/tst-execvpe1.c: New file.
4787         * posix/tst-execvpe2.c: Likewise.
4788         * posix/tst-execvpe3.c: Likewise.
4789         * posix/tst-execvpe4.c: Likewise.
4790         * posix/tst-execvpe5.c: Likewise.
4791         * posix/tst-execvpe6.c: Likewise.
4793         [BZ #19534]
4794         * posix/execl.c (execl): Remove dynamic memory allocation.
4795         * posix/execle.c (execle): Likewise.
4796         * posix/execlp.c (execlp): Likewise.
4798 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4800         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
4801         Replace .text with .text.avx512.
4802         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
4803         Likewise.
4805 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
4807         * sysdeps/generic/libnsl.abilist: New file.
4808         * sysdeps/generic/libutil.abilist: New file.
4810 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4812         [BZ #19762]
4813         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
4814         HAS_ARCH_FEATURE with Fast_Rep_String.
4815         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
4816         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
4817         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
4818         Likewise.
4819         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
4820         Likewise.
4821         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
4822         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
4823         Likewise.
4824         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
4825         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
4826         Likewise.
4828 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4830         [BZ #19745]
4831         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
4832         with *%rax in call.
4834 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4836         [BZ #19745]
4837         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
4838         with *__libc_start_main@GOTPCREL(%rip) in call.
4840 2016-03-04  Roland McGrath  <roland@hack.frob.com>
4842         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
4843         inside conditional for nonempty $(CXX).
4845         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
4846         nonempty.
4848         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
4849         to test for empty $(CXX) rather than $(CXX) of "no".
4851 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4853         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
4855 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
4856             H.J. Lu  <hongjiu.lu@intel.com>
4858         [BZ #18880]
4859         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
4860         instead of Slow_BSF, and also check for Fast_Copy_Backward to
4861         enable __memcpy_ssse3_back.
4863 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
4865         [BZ #19758]
4866         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4867         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
4869 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
4871         [BZ #19490]
4872         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
4873         (__fentry__): Likewise.
4875 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
4877         * gmon/Makefile (noprof): Add $(sysdep_noprof).
4878         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
4880 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
4882         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
4883         __mcount_internal directly.
4884         (C_LABEL(__fentry__)): Likewise.
4885         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
4886         directly.
4888 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
4890         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4891         (__start_context): Call __setcontext directly.
4893 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
4895         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4896         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4897         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
4898         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
4899         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4900         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4901         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
4902         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4903         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4904         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
4905         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
4906         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
4907         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4908         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4909         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4910         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4911         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
4912         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4913         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4914         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
4915         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
4916         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4917         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4918         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
4919         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
4920         Remove conditional code.
4921         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4922         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
4923         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4924         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4925         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
4926         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4927         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
4928         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4929         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4930         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4931         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4932         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4934 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
4936         * NEWS (2.23): Fix typo in bug 19048 text.
4938 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
4940         [BZ #14259]
4941         * Makeconfig: Rename msgcatdir to localedir.
4942         Rename inst_msgcatdir to inst_localedir.
4943         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
4944         * config.make.in: Add localedir.
4945         * elf/Makefile ($(objpfx)sotruss): Use localedir.
4946         (ldd-rewrite): Likewise.
4947         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
4948         (install-others): Use inst_localedir.
4949         (CPPFLAGS): Use localedir.
4950         * locale/Makefile (locale-CPPFLAGS): Likewise.
4951         * po/Makefile (mo-installed): Use inst_localedir.
4953         [BZ #19575]
4954         * localedata/charmaps/GB18030: Update comments regarding PAU to
4955         non-PUA mappings.
4957 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
4959         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
4960         test for header.
4961         * sysdeps/unix/sysv/linux/configure: Regenerated.
4962         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
4963         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
4964         Remove conditional code.
4965         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
4967         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4968         Define to 3.2.0.
4969         (arch_minimum_kernel): Likewise.
4970         * sysdeps/unix/sysv/linux/configure: Regenerated.
4971         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
4972         Define to 2.6.32.
4973         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
4974         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
4975         (arch_minimum_kernel): Define to 2.6.32.
4976         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
4977         * README: Document Linux 3.2 requirement.
4978         * manual/install.texi (Linux): Document Linux 3.2 headers
4979         requirement.
4980         * INSTALL: Regenerated.
4982 2016-02-24  Andreas Schwab  <schwab@suse.de>
4984         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
4985         if !NO_LONG_DOUBLE.
4987 2016-02-22  Roland McGrath  <roland@hack.frob.com>
4989         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
4990         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
4992 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
4994         [BZ #19512]
4995         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
4997 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
4999         * posix/tst-dir.c: Include libc-internal.h.
5001 2016-02-20  Florian Weimer  <fweimer@redhat.com>
5003         [BZ #19056]
5004         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
5005         * manual/filesys.texi (Reading/Closing Directory): Mention
5006         deprecaion.
5007         * posix/tst-dir.c (main): Disable deprecation warning in test.
5009 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
5011         [BZ #19679]
5012         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
5013         Renamed to ...
5014         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
5015         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5016         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
5017         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5018         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5019         * sysdeps/x86_64/dl-trampoline.h
5020         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5021         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5023 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5025         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
5027 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5029         * elf/elf.h (R_386_GOT32X): New.
5030         (R_386_NUM): Update.
5031         (R_X86_64_GOTPCRELX: New.
5032         (R_X86_64_REX_GOTPCRELX): New.
5033         (R_X86_64_NUM): Update.
5035 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
5037         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
5039 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
5041         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
5042         assign attr->stackaddr to it, and adjust it down when
5043         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
5044         [_STACK_GROWS_UP]: Delete assert.
5045         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
5046         Implement stack grows up logic.
5047         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
5048         stack grows up logic.
5050 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5052         * NEWS: Update with 2.24 template.
5054 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
5056         [BZ #19678]
5057         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5058         Ensure +0.0 is returned when taking the next value below the least
5059         positive value.
5061 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5063         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
5064         available.  Do not define NO_THREADS.
5065         * malloc/malloc.c: Do not check NO_THREADS.
5066         * malloc/arena.c: Likewise.
5068 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5070         * malloc/malloc.c (__libc_mallinfo): Update comment.
5071         (struct malloc_par): Remove max_total_mem member, it was always 0.
5072         (int_mallinfo): Store 0 into usmblks (no functional change).
5073         * malloc/hooks.c (struct malloc_state): Document that
5074         max_total_mem is always 0.
5075         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
5076         always 0.
5077         * manual/memory.texi (Statistics of Malloc): Likewise.
5079 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5081         * malloc/malloc.c (sysmalloc): Do not update arena_max.
5082         * malloc/arena.c (arena_max): Remove.
5083         (heap_trim, _int_new_arena): Do not update arena_max.
5085 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5087         * resolv/res_init.c (res_ninit): Update comment.
5089 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5091         [BZ #19505]
5092         * posix/spawn_int.h: Add headers and include guard.
5093         (__spawn_valid_fd): New function.
5094         * posix/spawn_faction_addopen.c
5095         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
5096         * posix/spawn_faction_addclose.c
5097         (posix_spawn_file_actions_addclose): Likewise.
5098         * posix/spawn_faction_adddup2.c
5099         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
5100         second file descriptor.
5101         * posix/spawn_valid_fd.c: New file.
5102         * posix/tst-posix_spawn-fd.c: New file.
5103         * posix/Makefile (routines): Add spawn_valid_fd.
5104         (tests): Add tst-posix_spawn-fd.
5106 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5108         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
5109         (do_test): Limit the number of arenas, so that we can use fewer
5110         outer threads.  Limit timeout to 3 seconds, in preparation for a
5111         larger TIMEOUT value.
5113 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
5115         [BZ #19674]
5116         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
5117         sign in overflowing and underflowing results when overflow or
5118         underflow is detected early.  Include sign in result before rather
5119         than after scaling.
5121         [BZ #19603]
5122         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5123         (__ieee754_remainderl): Adjust sign of integer version of low part
5124         when taking absolute value of high part.
5125         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5126         * math/libm-test.inc (remainder_test_data): Add another test.
5127         (remquo_test_data): Likewise.
5129 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
5131         [BZ #19602]
5132         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
5133         equal high parts and both low parts zero specially.
5134         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
5135         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5136         Add test-fmodl-ldbl-128ibm.
5138         [BZ #19595]
5139         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
5140         common logic for all cases of shifting subnormal results.  Do not
5141         insert sign bit in shifted mantissa.  Always pass -1023 as biased
5142         exponent to ldbl_insert_mantissa in subnormal case.
5144         [BZ #19594]
5145         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
5146         on high and low parts then adjust result and use
5147         ldbl_canonicalize_int if needed.
5149         [BZ #19593]
5150         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
5151         on high part and __floor or __ceil on low part then use
5152         ldbl_canonicalize_int if needed.
5154         [BZ #19592]
5155         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
5156         high and low parts then use ldbl_canonicalize_int if needed.
5158         [BZ #17899]
5159         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
5160         New function.
5161         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
5162         on high and low parts then use ldbl_canonicalize_int if needed.
5164 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5166         * configure: Regenerated.
5168         * po/libc.pot: Regenerated.
5170         * po/be.po: Updated translation.
5171         * po/bg.po: Likewise.
5172         * po/ca.po: Likewise.
5173         * po/cs.po: Likewise.
5174         * po/da.po: Likewise.
5175         * po/el.po: Likewise.
5176         * po/eo.po: Likewise.
5177         * po/es.po: Likewise.
5178         * po/fi.po: Likewise.
5179         * po/fr.po: Likewise.
5180         * po/gl.po: Likewise.
5181         * po/hr.po: Likewise.
5182         * po/hu.po: Likewise.
5183         * po/ia.po: Likewise.
5184         * po/id.po: Likewise.
5185         * po/it.po: Likewise.
5186         * po/ja.po: Likewise.
5187         * po/lt.po: Likewise.
5188         * po/nb.po: Likewise.
5189         * po/nl.po: Likewise.
5190         * po/pt_BR.po: Likewise.
5191         * po/rw.po: Likewise.
5192         * po/sk.po: Likewise.
5193         * po/sl.po: Likewise.
5194         * po/sv.po: Likewise.
5195         * po/tr.po: Likewise.
5196         * po/zh_CN.po: Likewise.
5197         * po/zh_TW.po: Likewise.
5199         * version.h (RELEAES): Set to "development".
5200         (VERSION): Set to 2.23.90.
5202         * version.h (RELEASE): Set to "stable".
5203         (VERSION): Set to 2.23.
5204         * include/feature.h (__GLIBC_MINOR__): Set to 23.
5206         * NEWS: Updated fixed bugs.
5208 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
5209             Wilco Dijkstra  <wdijkstr@arm.com>
5211         [BZ #19462]
5212         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
5213         (_STRING_INLINE_unaligned): This.
5214         * include/string.h: Include <string_private.h>.
5215         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
5216         _STRING_INLINE_unaligned.
5217         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
5218         (_STRING_INLINE_unaligned): New.
5219         * sysdeps/aarch64/string_private.h: New file.
5220         * sysdeps/generic/string_private.h: Likewise.
5221         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
5222         * sysdeps/s390/string_private.h: Likewise.
5223         * sysdeps/x86/string_private.h: Likewise.
5224         * sysdeps/m68k/m680x0/m68020/bits/string.h
5225         (_STRING_ARCH_unaligned): Renamed to ...
5226         (_STRING_INLINE_unaligned): This.
5227         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
5228         to ...
5229         (_STRING_INLINE_unaligned): This.
5230         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
5231         to ...
5232         (_STRING_INLINE_unaligned): This.
5233         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
5234         to ...
5235         (_STRING_INLINE_unaligned): This.
5237 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
5238             H.J. Lu  <hongjiu.lu@intel.com>
5240         [BZ #19590]
5241         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
5242         relocation.
5244 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
5246         [BZ #18665]
5247         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
5248         *herrno_p.
5249         (gaih_getanswer): Document functional behviour. Return tryagain
5250         if any result is tryagain.
5251         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
5252         when freed.
5253         * resolv/res_send.c: Add copyright text.
5254         (__libc_res_nsend): Document that MAXPACKET is expected.
5255         (send_vc): Document. Remove buffer reuse.
5256         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
5257         size of the buffer. Add Dprint for truncated UDP buffer.
5259 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
5261         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
5262         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
5263         * INSTALL: Regenerate.
5265 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
5266             Jonathan Wakely  <jwakely@redhat.com>
5267             Carlos O'Donell  <carlos@redhat.com>
5269         [BZ 19439]
5270         * math/Makefile (tests): Add test-math-isinff.
5271         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
5272         * math/bits/mathcalls.h [__USE_MISC]: Use
5273         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
5274         functions not in C++11 and which don't conflict e.g. isinff,
5275         isinfl etc.
5276         * math/test-math-isinff.cc: New file.
5278 2016-02-12  Florian Weimer  <fweimer@redhat.com>
5280         * misc/bug18240.c (do_test): Set RLIMIT_AS.
5282 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5284         [BZ #19529]
5285         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
5287 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5289         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5291 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
5293         [BZ #19550]
5294         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
5295         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
5296         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
5297         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
5298         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
5299         New syscall entry.
5300         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
5301         New syscall entry.
5302         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
5303         syscall entry.
5305 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
5307         [BZ #18240]
5308         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
5309         unsigned int wraparound.
5311 2016-01-27  Florian Weimer  <fweimer@redhat.com>
5313         [BZ #18240]
5314         * misc/bug18240.c: New test.
5315         * misc/Makefile (tests): Add it.
5317 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
5318             Joseph Myers  <joseph@codesourcery.com>
5320         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
5321         load in branch delay slot when less than a word of input left.
5323 2016-01-27  Andreas Schwab  <schwab@suse.de>
5325         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
5326         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
5327         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
5328         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
5330 2016-01-26  David S. Miller  <davem@davemloft.net>
5332         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
5334 2016-01-25  David S. Miller  <davem@davemloft.net>
5336         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
5337         __sqrtl_finite.
5338         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
5339         instead using versioned_symbol.
5340         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
5341         of entries.
5343         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
5344         __sqrtl_finite to GLIBC_2.23
5346 2016-01-25  Ricchard Henderson  <rth@redhat.com>
5348         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5350 2016-01-25  Andreas Schwab  <schwab@suse.de>
5352         [BZ #17514]
5353         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
5354         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
5355         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
5356         * nptl/tst-mutex-errorcheck.c: New file.
5358 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5360         [BZ #18560]
5361         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
5362         (IPCOP_semop): Likewise.
5363         (IPCOP_semget): Likewise.
5364         (IPCOP_semctl): Likewise.
5365         (IPCOP_msgsnd): Likewise.
5366         (IPCOP_msgrcv): Likewise.
5367         (IPCOP_msgget): Likewise.
5368         (IPCOP_msgctl): Likewise.
5369         (IPCOP_shmat): Likewise.
5370         (IPCOP_shmdt): Likewise.
5371         (IPCOP_shmget): Likewise.
5372         (IPCOP_shmctl): Likewise.
5374 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
5376         * string/tst-endian.c: Include <libc-internal.h>.
5377         (do_test): Ignore tautological-compare warnings around
5378         "htobeXX (beXXtoh (i)) != i" and
5379         "htoleXX (leXXtoh (i)) != i" if-statements.
5381 2016-01-24  David S. Miller  <davem@davemloft.net>
5383         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
5384         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
5385         alias.
5386         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
5387         __sqrtl_finite.
5389         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5391 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
5393         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
5394         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
5395         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5397 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5399         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
5400         (thread_func): Use new function to simplify barrier check.
5401         (do_test): Use new function to simplify checking barrier exit
5402         code, and actually join the child thread.
5404 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5406         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
5407         semicolon.
5408         (__libc_tend): Likewise.
5409         (__libc_tabort): Likewise.
5411 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
5413         * sysdeps/nios2/libm-test-ulps: Update.
5414         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
5415         (__gtsf2): Likewise.
5416         (__unorddf2): Likewise.
5417         (__unordsf2): Likewise.
5418         (__ledf2): Likewise.
5420 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
5422         * nis/nis_table.c (__follow_path): Disable diagnostic for
5423         uninitialized variable that is a false positive for gcc 4.7.
5424         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
5426 2016-01-20  Roland McGrath  <roland@hack.frob.com>
5428         * sysdeps/nacl/lowlevellock-futex.h
5429         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
5430         Always evaluate PRIVATE argument.
5432 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
5434         [BZ #19490]
5435         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
5436         (pthread_cond_broadcast): Use ENTRY/END
5437         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
5438         (pthread_cond_signal): Likewise.
5439         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
5440         Likewise.
5441         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
5442         Likewise.
5443         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
5444         Likewise.
5446 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
5448         * sysdeps/ieee754/dbl-64/s_finite.c
5449         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
5450         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
5451         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
5452         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
5453         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
5455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5456         (__gtsf2): Add as optional for libc.so.
5457         (__unordsf2): Likewise.
5458         (__signbit): Remove for libc.so.
5459         (__signbitl): Likewise.
5461 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
5463         * iconvdata/bug-iconv11.c (test_ibm93x):
5464         Use %zu printf format specifier for size_t argument.
5466 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
5468         * math/gen-libm-test.pl (parse_ulps): Do not reduce
5469         already-recorded ulps.
5470         * sysdeps/arm/libm-test-ulps: Regenerated.
5471         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5472         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5473         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5475 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5476             Paul Pluzhnikov  <ppluzhnikov@google.com>
5478         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
5479         assembler not supporting AVX-512.
5481 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
5483         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5485 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
5487         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5488         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5490         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5492         * sysdeps/arm/libm-test-ulps: Regenerated.
5494 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
5496         [BZ #19451]
5497         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
5499 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
5501         [BZ #19486]
5502         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
5503         * sysdeps/generic/fix-fp-int-convert-overflow.h
5504         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
5505         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
5506         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
5507         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
5508         Likewise.
5509         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
5510         Avoid conversions to long int where inexact exceptions
5511         could be raised.
5512         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
5513         Likewise.
5514         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
5515         Avoid conversions to long long int where inexact exceptions
5516         could be raised.
5517         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
5518         Likewise.
5520 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
5522         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
5523         * configure: Regenerated.
5525 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
5527         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
5529 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
5531         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
5532         outside of comment.
5534 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5536         * nptl/tst-barrier1.c: Add description on first line.
5537         * nptl/tst-barrier2.c: Likewise.
5538         * nptl/tst-barrier3.c: Likewise.
5539         * nptl/tst-barrier4.c: Likewise.
5540         * nptl/tst-barrier5.c: Likewise.
5542 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5544         [BZ #18868]
5545         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
5547 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
5549         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
5550         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
5551         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
5552         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
5553         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
5554         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
5555         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5556         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5557         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5558         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5559         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5561 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5563         [BZ #13065]
5564         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
5565         new implementation.
5566         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
5567         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
5568         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
5569         (BARRIER_IN_THRESHOLD): New macro.
5570         * nptl/pthread_barrierattr_setpshared.c
5571         (pthread_barrierattr_setpshared): Clean up.
5572         * nptl/tst-barrier4.c: Correct comment.
5573         * nptl/tst-barrier5.c: New file.
5574         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
5575         (gen-as-const-headers): Remove lowlevelbarrier.sym.
5576         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
5577         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
5578         * nptl/lowlevelbarrier.sym: Remove.
5579         * nptl/DESIGN-barrier.txt: Remove.
5580         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
5581         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
5582         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
5583         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
5584         error.
5585         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
5586         implementation.
5588 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5590         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
5591         (do_child): Mask SIGRTMIN while thr is running.
5593 2016-01-15  Martin Sebor  <msebor@redhat.com>
5595         [BZ #19432]
5596         * iconvdata/Makefile: Add bug-iconv11.
5597         * iconvdata/bug-iconv11.c: New test.
5598         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
5599         * iconvdata/ibm933.c: Same.
5600         * iconvdata/ibm935.c: Same.
5601         * iconvdata/ibm937.c: Same.
5602         * iconvdata/ibm939.c: Same.
5604 2016-01-15  Martin Sebor  <msebor@redhat.com>
5606         [BZ #19443]
5607         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
5608         [DEBUG] (_ufc_set_bits): Declare used.
5609         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
5610         [DEBUG] (print_all): Declare used.
5611         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
5612         operands of the ternary ?: expression to target type.
5613         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
5614         calling the undeclared abort.
5615         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
5617 2016-01-15  Martin Sebor  <msebor@redhat.com>
5619         [BZ #18755]
5620         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
5621         warnings.
5622         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
5623         (__gai_create_helper_thread): Same.
5624         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
5625         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
5626         to suppress -Wmaybe-uninitialized warnings.
5628 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
5630         [BZ #19465]
5631         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
5632         inside if.
5633         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5634         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5635         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5637 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
5639         [BZ #19466]
5640         * time/tst-mktime2.c (time_t_max): Removed.
5641         (time_t_min): Likewise.
5642         (TYPE_SIGNED): New.
5643         (TYPE_MINIMUM): Likewise.
5644         (TYPE_MAXIMUM): Likewise.
5645         (TIME_T_MIN): Likewise.
5646         (TIME_T_MAX): Likewise.
5647         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
5648         and TIME_T_MIN.
5649         (do_test): Likewise.
5651 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
5653         [BZ #19467]
5654         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5655         index_Fast_Unaligned_Load flag for Excavator family CPUs.
5657 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
5659         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
5661 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
5663         * benchtests/Makefile (PYTHON): Define.
5664         (bench-func): Use $(PYTHON) to run python scripts.
5665         ($(objpfx)bench-%.c): Likewise.
5667 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
5669         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
5670         leading slash when `file_name' is "/".
5672 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
5674         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
5675         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
5676         Likewise.
5677         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
5678         Likewise.
5679         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
5680         Likewise.
5681         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
5682         enum constant and macro.
5683         (PTRACE_SETSIGMASK): Likewise.
5684         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5685         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
5686         (PTRACE_GETSIGMASK): Likewise.
5687         (PTRACE_SETSIGMASK): Likewise.
5688         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5689         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
5690         Likewise.
5691         (PTRACE_SETSIGMASK): Likewise.
5692         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5693         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
5694         (PTRACE_GETSIGMASK): Likewise.
5695         (PTRACE_SETSIGMASK): Likewise.
5696         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5697         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
5698         Likewise.
5699         (PTRACE_SETSIGMASK): Likewise.
5700         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5701         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
5702         Likewise.
5703         (PTRACE_SETSIGMASK): Likewise.
5704         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5705         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
5706         Likewise.
5707         (PTRACE_SETSIGMASK): Likewise.
5708         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5710 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
5711             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5713         [BZ #19439]
5714         * math/bits/mathcalls.h
5715         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
5716         prototype.
5717         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
5719 2016-01-11  Andreas Schwab  <schwab@suse.de>
5721         [BZ #19253]
5722         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
5723         cache when TZDEFRULES was used.
5724         * time/tst-tzname.c: New file.
5725         * time/Makefile (test): Add tst-tzname.
5726         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
5727         * timezone/Makefile (test-zones): Add $(posixrules-file).
5728         ($(testdata)/$(posixrules-file)): New rule.
5730 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
5732         Fix doc quoting problems with Texinfo 5
5733         Without this change, in the info file output, Texinfo 5 quotes code
5734         in text with undirected single quotes 'like this' and generates
5735         code examples that with many PDF readers cannot be cut out of PDFs
5736         and pasted into code.
5737         * manual/libc.texinfo: Configure the libc manual like the GNU
5738         Emacs manual, by using @documentencoding and setting
5739         txicodequoteundirected and txicodequotebacktick.  This way,
5740         Texinfo 5 quotes code in text with directed single quotes ‘like
5741         this’ and produces examples that can be cut out of PDFs.  This
5742         change causes Texinfo 5 to generate info files that contain UTF-8
5743         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
5744         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
5746 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5748         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
5749         __libc_tabort, __libc_tend): New wrappers that enforce compiler
5750         barriers to their respective compiler built-ins.
5751         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
5752         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
5753         * sysdeps/powerpc/sysdep.h: Likewise.
5754         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
5755         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
5756         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
5758 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
5760         * scripts/config.guess: Revert previous shebang change.
5761         * scripts/config.sub: Likewise.
5762         * scripts/mkinstalldirs: Likewise.
5764 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5766         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
5767         PPC_FEATURE2_HAS_IEEE128.
5768         * sysdeps/powerpc/dl-procinfo.c:
5769         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
5771 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
5773         [BZ #19415]
5774         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
5775         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
5776         (_dl_lookup_address): Rewrite using function resolver trampoline.
5777         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
5778         two bits in address.
5780 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
5782         * longlong.h: Change !__SHMEDIA__ to
5783         (!defined (__SHMEDIA__) || !__SHMEDIA__).
5784         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
5786 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
5787             Joseph Myers  <joseph@codesourcery.com>
5788             Mark Shinwell  <shinwell@codesourcery.com>
5789             Andrew Stubbs  <ams@codesourcery.com>
5790             Rich Felker <dalias@libc.org>
5792         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
5794 2016-01-07  Richard Henderson  <rth@redhat.com>
5796         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
5798 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
5800         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
5801         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
5802         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5803         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5804         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
5806 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
5807             Joseph Myers  <joseph@codesourcery.com>
5809         * timezone/private.h: Update from tzcode 2015g.
5810         * timezone/tzfile.h: Likewise.
5811         * timezone/tzselect.ksh: Likewise.
5812         * timezone/zdump.c: Likewise.
5813         * timezone/zic.c: Likewise.
5814         * timezone/ialloc.c: Remove file.
5815         * timezone/scheck.c: Likewise.
5816         * timezone/Makefile (extra-objs): Remove variable.
5817         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
5818         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
5819         -Wno-maybe-uninitialized.
5820         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
5821         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
5822         (CFLAGS-ialloc.c): Remove variable.
5823         (CFLAGS-scheck.c): Likewise.
5824         * timezone/README: Update list of files from tzcode.
5826 2016-01-07  Khem Raj  <raj.khem@gmail.com>
5828         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
5829         instead of __fxprintf when _LIBC is undefined.
5831 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
5833         * catgets/test-gencat.sh: Remove space after shebang.
5834         * conform/GlibcConform.pm: Likewise.
5835         * conform/check-header-lists.sh: Likewise.
5836         * conform/conformtest.pl: Likewise.
5837         * conform/linknamespace.pl: Likewise.
5838         * conform/list-header-symbols.pl: Likewise.
5839         * debug/catchsegv.sh: Likewise.
5840         * elf/genrtldtbl.awk: Likewise.
5841         * elf/tst-pathopt.sh: Likewise.
5842         * elf/tst-rtld-load-self.sh: Likewise.
5843         * grp/tst_fgetgrent.sh: Likewise.
5844         * iconvdata/gen-8bit-gap-1.sh: Likewise.
5845         * iconvdata/gen-8bit-gap.sh: Likewise.
5846         * iconvdata/gen-8bit.sh: Likewise.
5847         * iconvdata/run-iconv-test.sh: Likewise.
5848         * intl/tst-gettext.sh: Likewise.
5849         * intl/tst-gettext2.sh: Likewise.
5850         * intl/tst-gettext4.sh: Likewise.
5851         * intl/tst-gettext6.sh: Likewise.
5852         * intl/tst-translit.sh: Likewise.
5853         * io/ftwtest-sh: Likewise.
5854         * libio/test-freopen.sh: Likewise.
5855         * locale/gen-translit.pl: Likewise.
5856         * malloc/tst-mtrace.sh: Likewise.
5857         * manual/check-safety.sh: Likewise.
5858         * manual/libc-texinfo.sh: Likewise.
5859         * manual/tsort.awk: Likewise.
5860         * manual/xtract-typefun.awk: Likewise.
5861         * nptl/tst-cancel-wrappers.sh: Likewise.
5862         * nptl/tst-tls6.sh: Likewise.
5863         * posix/globtest.sh: Likewise.
5864         * posix/tst-getconf.sh: Likewise.
5865         * posix/wordexp-tst.sh: Likewise.
5866         * scripts/check-c++-types.sh: Likewise.
5867         * scripts/check-local-headers.sh: Likewise.
5868         * scripts/config.guess: Likewise.
5869         * scripts/config.sub: Likewise.
5870         * scripts/cpp: Likewise.
5871         * scripts/cross-test-ssh.sh: Likewise.
5872         * scripts/documented.sh: Likewise.
5873         * scripts/evaluate-test.sh: Likewise.
5874         * scripts/gen-libc-abis: Likewise.
5875         * scripts/gen-sorted.awk: Likewise.
5876         * scripts/list-fixed-bugs.py: Likewise.
5877         * scripts/merge-test-results.sh: Likewise.
5878         * scripts/mkinstalldirs: Likewise.
5879         * scripts/rellns-sh: Likewise.
5880         * scripts/test-installation.pl: Likewise.
5881         * scripts/update-copyrights: Likewise.
5882         * stdio-common/tst-printf.sh: Likewise.
5883         * stdio-common/tst-unbputc.sh: Likewise.
5884         * stdlib/tst-fmtmsg.sh: Likewise.
5885         * stdlib/tst-setcontext3.sh: Likewise.
5886         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
5887         * sysdeps/unix/make-syscalls.sh: Likewise.
5889 2016-01-06  John David Anglin  <dave.anglin@bell.net>
5891         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
5892         asm stw with atomic_exchange_rel.  Add explanatory comment.
5893         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
5894         Likewise.
5896 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
5898         [BZ #19122]
5899         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
5900         * sysdeps/generic/dl-unistd.h: New file.
5901         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
5903 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
5905          [BZ #19122]
5906          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
5907          * sysdeps/generic/dl-mman.h: New file.
5908          * sysdeps/mach/hurd/dl-mman.h: Likewise.
5910 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
5912         * manual/texinfo.tex: Update to version 2016-01-04.21 with
5913         trailing whitespace removed.
5914         * scripts/config.guess: Update to version 2016-01-01.
5915         * scripts/config.sub: Update to version 2016-01-01.
5916         * scripts/move-if-change: Update from gnulib.
5918 2016-01-04  Anton Blanchard  <anton@samba.org>
5920         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
5921         for array indices.
5922         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
5924 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
5926         * NEWS: Update copyright dates.
5927         * catgets/gencat.c (print_version): Likewise.
5928         * csu/version.c (banner): Likewise.
5929         * debug/catchsegv.sh: Likewise.
5930         * debug/pcprofiledump.c (print_version): Likewise.
5931         * debug/xtrace.sh (do_version): Likewise.
5932         * elf/ldconfig.c (print_version): Likewise.
5933         * elf/ldd.bash.in: Likewise.
5934         * elf/pldd.c (print_version): Likewise.
5935         * elf/sotruss.sh: Likewise.
5936         * elf/sprof.c (print_version): Likewise.
5937         * iconv/iconv_prog.c (print_version): Likewise.
5938         * iconv/iconvconfig.c (print_version): Likewise.
5939         * locale/programs/locale.c (print_version): Likewise.
5940         * locale/programs/localedef.c (print_version): Likewise.
5941         * login/programs/pt_chown.c (print_version): Likewise.
5942         * malloc/memusage.sh (do_version): Likewise.
5943         * malloc/memusagestat.c (print_version): Likewise.
5944         * malloc/mtrace.pl: Likewise.
5945         * manual/libc.texinfo: Likewise.
5946         * nptl/version.c (banner): Likewise.
5947         * nscd/nscd.c (print_version): Likewise.
5948         * nss/getent.c (print_version): Likewise.
5949         * nss/makedb.c (print_version): Likewise.
5950         * posix/getconf.c (main): Likewise.
5951         * scripts/test-installation.pl: Likewise.
5952         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5954         * All files with FSF copyright notices: Update copyright dates
5955         using scripts/update-copyrights.
5956         * intl/plural.c: Regenerated.
5957         * locale/programs/charmap-kw.h: Likewise.
5958         * locale/programs/locfile-kw.h: Likewise.
5960 2016-01-02  Helge Deller  <deller@gmx.de>
5962         [BZ #19285]
5963         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
5964         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
5965         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
5966         (MADV_xxK_PAGES): Remove.
5968 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
5970         [BZ #15421]
5971         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
5972         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
5973         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
5974         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
5976 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
5978         [BZ #19408]
5979         * sysdeps/unix/sysv/linux/personality.c: New file.
5980         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
5981         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
5982         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
5983         (sysdep_routines): Add personality.
5984         (tests): Add tst-personality.
5985         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
5986         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
5987         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
5988         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
5989         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
5990         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
5991         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
5992         Likewise.
5993         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
5994         Likewise.
5995         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
5996         Likewise.
5997         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
5998         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
5999         Likewise.
6001 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
6003         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
6004         (PATH_ARM_SYSTYPE): Remove.
6005         (PATH_CPUINFO): Likewise.
6006         (IO_BASE_FOOTBRIDGE): Likewise.
6007         (IO_SHIFT_FOOTBRIDGE): Likewise.
6008         (struct platform): Likewise.
6009         (init_iosys): Remove compatibility code for 2.4 kernels.
6010         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
6012 2015-12-29  Florian Weimer  <fweimer@redhat.com>
6014         * malloc/tst-malloc-thread-fail.c: New file.
6015         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
6016         (tst-malloc-thread-fail): Link against libpthread.
6018 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
6020         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
6021         (get_parser): New function.
6022         (main): New function.
6024 2015-12-29  Rob Wu  <rob@robwu.nl>
6026         [BZ #19369]
6027         * resolv/res_init.c (__res_vinit): Reset defdname before use.
6029 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
6031         [BZ #19270]
6032         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6034 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
6036         [BZ #15421]
6037         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
6039 2015-12-23  Torvald Riegel  <triegel@redhat.com>
6041         [BZ #13690]
6042         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
6043         after releasing it.
6044         (__lll_robust_unlock): Likewise.
6045         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6046         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
6047         (lll_robust_unlock): Likewise.
6048         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
6049         Prevent warnings in callers.
6051 2015-12-23  Florian Weimer  <fweimer@redhat.com>
6053         * malloc/arena.c (list_lock): Update comment.
6055 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6057         * sysdeps/powerpc/hwcapinfo.c: Export symbol
6058         __parse_hwcap_and_convert_at_platform to libc.a.
6060 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6062         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
6063         platform and feature support for POWER9.
6064         * sysdeps/powerpc/dl-procinfo.h: Likewise.
6065         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
6066         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
6067         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
6068         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
6069         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
6070         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
6071         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
6073 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6075         Harmonize generic stdio-lock support with nptl
6077         This fixes build when _IO_funlockfile is a macro, fixes build where
6078         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
6079         stack unwind.
6081         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
6082         _IO_release_lock ): Use cleanup attribute on new
6083         _IO_acquire_lock_file variable instead of assuming that
6084         _IO_release_lock will be called.
6085         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
6086         _IO_acquire_lock_needs_exceptions_enabled.
6087         (_IO_acquire_lock_clear_flags2): New macro.
6089 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6091         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6093 2015-12-21  Florian Weimer  <fweimer@redhat.com>
6095         [BZ #19182]
6096         * malloc/arena.c (list_lock): Document lock ordering requirements.
6097         (free_list_lock): New lock.
6098         (ptmalloc_lock_all): Comment on free_list_lock.
6099         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
6100         (detach_arena): Update comment.  free_list_lock is now needed.
6101         (_int_new_arena): Use free_list_lock around detach_arena call.
6102         Acquire arena lock after list_lock.  Add comment, including FIXME
6103         about incorrect synchronization.
6104         (get_free_list): Switch to free_list_lock.
6105         (reused_arena): Acquire free_list_lock around detach_arena call
6106         and attached threads counter update.  Add two FIXMEs about
6107         incorrect synchronization.
6108         (arena_thread_freeres): Switch to free_list_lock.
6109         * malloc/malloc.c (struct malloc_state): Update comments to
6110         mention free_list_lock.
6112 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
6114         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
6115         Remove functions.
6116         (sloww, sloww1): Accept argument to offset quadrant.
6117         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
6118         quadrant.
6119         (__sin, __cos): Consolidate common code into new functions.
6120         (reduce_sincos_1, do_sincos_1): New functions.
6121         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6123         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
6124         code to new functions.
6125         (reduce_sincos_2, do_sincos_2): New functions.
6126         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6128         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
6129         common code for sincos.
6130         (__cos) [!IN_SINCOS]: Likewise.
6131         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
6132         New function.
6133         (__sincos): Use it.
6135 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
6137         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
6138         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
6139         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6141 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6143         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
6144         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
6145         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6146         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
6147         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6148         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
6149         index_Prefer_No_VZEROUPPER): New feature.
6150         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
6151         Prefer_No_VZEROUPPER for Knights Landing.
6153 015-12-18  Torvald Riegel  <triegel@redhat.com>
6155         * math/atest-exp2.c (mp_exp_m1): Remove.
6157 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6159         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
6160         syscalls.
6161         (__SYSCALL0): New macro.
6162         (__SYSCALL1): Likewise.
6163         (__SYSCALL2): Likewise.
6164         (__SYSCALL3): Likewise.
6165         (__SYSCALL4): Likewise.
6166         (__SYSCALL5): Likewise.
6167         (__SYSCALL6): Likewise.
6168         (__SYSCALL_CONCAT_X): Likewise.
6169         (__SYSCALL_CONCAT): Likewise.
6170         (__SYSCALL_DIST): Likewise.
6171         (__SYSCALL_CALL): Likewise.
6173 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
6175         [BZ #19363]
6176         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
6178 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6180         [BZ #19375]
6181         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
6182         negative subnormals.
6184 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
6186         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6187         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
6188         (INTERNAL_SYSCALL_NCS): Use it.
6189         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6191 2015-12-16  Florian Weimer  <fweimer@redhat.com>
6193         [BZ #19243]
6194         * malloc/arena.c (get_free_list): Remove assert and adjust
6195         reference count handling.  Add comment about reused_arena
6196         interaction.
6197         (reused_arena): Add comments abount get_free_list interaction.
6198         * malloc/tst-malloc-thread-exit.c: New file.
6199         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
6200         (tst-malloc-thread-exit): Link against libpthread.
6202 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6204         [BZ #19367]
6205         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
6206         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
6207         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6208         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
6209         (index_Prefer_MAP_32BIT_EXEC): Likewise.
6211 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6213         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
6214         Silvermont optimizations for Knights Landing.
6216 2015-12-15  Andreas Schwab  <schwab@suse.de>
6218         [BZ #17197]
6219         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
6220         immediately after emitting SI.
6221         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
6222         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
6223         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
6224         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
6225         * iconvdata/bug-iconv10.c: New file.
6226         * iconvdata/Makefile (tests): Add bug-iconv10.
6227         ($(objpfx)bug-iconv10.out): New rule.
6229 2015-12-15  Florian Weimer  <fweimer@redhat.com>
6231         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
6232         aliasing violation.
6234 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
6236         [BZ #18472]
6237         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
6238         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
6239         conditionals for them.
6240         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
6241         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
6242         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
6243         sys/kdaemon.h.
6244         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
6245         compat-only syscall, obsoleted in glibc 2.23.
6246         (create_module): Likewise.
6247         (get_kernel_syms): Likewise.
6248         (query_module): Likewise.
6249         (uselib): Likewise.
6250         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
6252 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
6254         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
6255         <linux/version.h>.
6256         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
6257         conditional code.
6258         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
6259         and ioshift_name initialization.
6261 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6263         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6264         Fix indentation.
6266 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6268         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
6270 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6272         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
6274 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
6275             Jakub Wilk  <jwilk@debian.org>
6277         [BZ #19347]
6278         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
6279         to change the group of the device to the tty group.
6281 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
6283         Split large string section; add truncation advice
6284         * manual/examples/strncat.c: Remove.
6285         This example was misleading, as the code would have undefined
6286         behavior if "hello" was longer than SIZE.  Anyway, the manual
6287         shouldn't encourage strncpy+strncat for this sort of thing.
6288         * manual/string.texi (Copying Strings and Arrays): Split into
6289         three sections Copying Strings and Arrays, Concatenating Strings,
6290         and Truncating Strings, as this section was way too long.  All
6291         cross-referenced changed.  Add advice about string-truncation
6292         functions.  Remove misleading strncat example.
6294 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
6296         * manual/nss.texi (NSS Modules Interface): Document
6297         NSS_STATUS_NOTFOUND and SUCCESS.
6299 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
6301         [BZ 18568]
6302         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6303         201505L, for Unicode 8.
6305 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
6307         * locale/C-translit.h: Regenerate.
6309 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
6311         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
6312         and U+0153.
6314 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
6316         [BZ #19351]
6317         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
6318         expanding log(1+z), compare z rather than its square with epsilon
6319         to determine when to avoid evaluating the expansion.
6321         [BZ #19350]
6322         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6323         Increase overflow threshold.
6325         [BZ #19349]
6326         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
6327         when small.
6329         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6330         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6331         New macro.
6332         [__LINUX_KERNEL_VERSION >= 0x040300]
6333         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6334         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6335         Likewise.
6336         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6337         Likewise.
6338         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6339         Likewise.
6340         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6341         Likewise.
6342         [__LINUX_KERNEL_VERSION >= 0x040300]
6343         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6344         [__LINUX_KERNEL_VERSION >= 0x040300]
6345         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6346         [__LINUX_KERNEL_VERSION >= 0x040300]
6347         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6348         [__LINUX_KERNEL_VERSION >= 0x040300]
6349         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6350         [__LINUX_KERNEL_VERSION >= 0x040300]
6351         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6352         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6353         Likewise.
6354         [__LINUX_KERNEL_VERSION >= 0x040300]
6355         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6356         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6357         Likewise.
6358         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6359         Likewise.
6360         [__LINUX_KERNEL_VERSION >= 0x040300]
6361         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6362         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6363         Likewise.
6364         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6365         Likewise.
6366         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6367         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
6368         Likewise.
6369         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
6370         Likewise.
6371         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6372         Likewise.
6373         [__LINUX_KERNEL_VERSION >= 0x040300]
6374         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6375         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6376         Likewise.
6377         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6378         Likewise.
6379         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6380         Likewise.
6381         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6382         Likewise.
6383         [__LINUX_KERNEL_VERSION >= 0x040300]
6384         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6385         [__LINUX_KERNEL_VERSION >= 0x040300]
6386         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6387         [__LINUX_KERNEL_VERSION >= 0x040300]
6388         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6389         [__LINUX_KERNEL_VERSION >= 0x040300]
6390         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6391         [__LINUX_KERNEL_VERSION >= 0x040300]
6392         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6393         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6394         Likewise.
6395         [__LINUX_KERNEL_VERSION >= 0x040300]
6396         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6397         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6398         Likewise.
6399         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6400         Likewise.
6401         [__LINUX_KERNEL_VERSION >= 0x040300]
6402         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6403         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6404         Likewise.
6405         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6406         Likewise.
6407         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6408         (__ASSUME_SOCKET_SYSCALL): Likewise.
6409         (__ASSUME_BIND_SYSCALL): Likewise.
6410         (__ASSUME_CONNECT_SYSCALL): Likewise.
6411         (__ASSUME_LISTEN_SYSCALL): Likewise.
6412         (__ASSUME_ACCEPT_SYSCALL): Likewise.
6413         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6414         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6415         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6416         (__ASSUME_SEND_SYSCALL): Likewise.
6417         (__ASSUME_SENDTO_SYSCALL): Likewise.
6418         (__ASSUME_RECV_SYSCALL): Likewise.
6419         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6420         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
6421         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6422         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6423         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6424         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6425         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6426         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
6427         Likewise.
6428         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
6429         Likewise.
6430         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
6431         Likewise.
6432         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
6433         Likewise.
6434         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
6435         Likewise.
6436         [__LINUX_KERNEL_VERSION >= 0x020625]
6437         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6438         [__LINUX_KERNEL_VERSION >= 0x020625]
6439         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6440         [__LINUX_KERNEL_VERSION >= 0x020625]
6441         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6442         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
6443         Likewise.
6444         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
6445         Likewise.
6446         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
6447         Likewise.
6448         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
6449         Likewise.
6450         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
6451         Likewise.
6452         [__LINUX_KERNEL_VERSION >= 0x020625]
6453         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6454         [__LINUX_KERNEL_VERSION >= 0x020625]
6455         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6456         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
6457         Likewise.
6458         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
6459         Likewise.
6461 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
6463         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
6464         record the current if the current ABI and CPU support the FP64
6465         extension.
6466         (has-modd-spreg): Define to record the current if the current ABI and
6467         CPU support 32-bit floating point values in odd FPU registers.
6468         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6469         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
6470         $(has-modd-spreg) equals yes.
6471         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
6472         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
6473         $(has-modd-spreg) equal yes.
6475 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
6477         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
6478         basename.
6480 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
6482         * benchtests/Makefile (bench-math): Move ffs and ffsll...
6483         (bench-string): ... here.
6484         (bench): Add bench-string.
6485         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
6486         to *-benchset to reflect what they are.
6487         (benchset): Adjust.
6489         * benchtests/sincos-inputs: Add inputs from sin-inputs and
6490         cos-inputs.
6492 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
6494         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
6495         __attribute__ ((__simd__)) for vector math function declarations.
6497 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6499         Fix typo in strncat, wcsncat manual entries
6500         * manual/string.texi (Copying and Concatenation): Fix typos in
6501         sample implementations of strncat and wcsncat, by having them use
6502         the old value of the destination length, not the new one.
6504 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
6506         [BZ #16961]
6507         [BZ #16962]
6508         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
6509         string on the stack for strtod.
6510         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
6511         a string on the stack for strtof.
6512         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
6513         constructing a string on the stack for strtold.
6514         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
6515         __strtold_nan to GLIBC_PRIVATE.
6516         * math/test-nan-overflow.c: New file.
6517         * math/test-nan-payload.c: Likewise.
6518         * math/Makefile (tests): Add test-nan-overflow and
6519         test-nan-payload.
6521 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6523         Consistency about byte vs character in string.texi
6524         * manual/string.texi (String and Array Utilities):
6525         Distinguish more carefully among bytes, multibyte characters,
6526         and wide characters.  Use "byte" when talking about C 'char',
6527         to distinguish it more clearly from multibyte characters.
6528         Say "wide character" or "multibyte character" instead of
6529         "character", when a wide or multibyte character is intended.
6530         Similarly for "multibyte string" versus "string".
6531         Define these terms more carefully.
6533 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
6535         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
6536         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
6537         Likewise.
6538         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6539         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6540         * sysdeps/sh/math_private.h: New file.
6541         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
6542         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
6543         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
6544         long double function name.
6545         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6546         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6547         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6548         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6549         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
6551         Remove __finitel, __isinfl, and __isnanl.
6552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6553         Likewise.
6554         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6556         Remove __finitel.
6557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6558         Likewise.
6559         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6561 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
6563         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
6564         installed libmvec_nonshared.a.
6566 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6568         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
6569         (sysdep_routines): Likewise.
6570         (sysdep-rtld-routines): Likewise.
6571         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
6572         [$(subdir) = nptl](tests-static): test-get_hwcap-static
6573         * sysdeps/powerpc/Versions: Added new
6574         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
6575         * sysdeps/powerpc/hwcapinfo.c: New file.
6576         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
6577         and parse hwcap, hwcap2 and platform number information.
6578         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
6579         to store HWCAP+HWCAP2 and platform number.
6580         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
6581         for HWCAP+HWCAP2 and platform number in the TCB.
6582         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
6583         the HWCAP, HWCAP2 and platform number in the TCB.
6584         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
6585         (TLS_INIT_TP): Included calls to add the hwcap and
6586         at_platform values in the TCB in TP initialization.
6587         (TLS_DEFINE_INIT_TP): Likewise.
6588         (THREAD_GET_HWCAP): New macro.
6589         (THREAD_SET_HWCAP): Likewise.
6590         (THREAD_GET_AT_PLATFORM): Likewise.
6591         (THREAD_SET_AT_PLATFORM): Likewise.
6592         * sysdeps/powerpc/powerpc32/dl-machine.h:
6593         (dl_platform_init): New function that calls
6594         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
6595         powerpc32.
6596         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
6597         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
6598         this functionality, static linking case.
6599         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
6600         linking case.
6601         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
6602         __parse_hwcap_and_convert_at_platform for the static linking case.
6603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
6604         Included the new __parse_hwcap_and_convert_at_platform symbol in the
6605         ABI list for GLIBC 2.23.
6606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
6607         Likewise.
6608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
6609         Likewise.
6611 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
6613         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
6614         * configure: Regenerate.
6615         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
6616         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
6618 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
6620         * iconvdata/ibm930.c: Add comment explaining encoding uses.
6621         * iconvdata/ibm933.c: Likewise.
6622         * iconvdata/ibm935.c: Likewise.
6623         * iconvdata/ibm937.c: Likewise.
6624         * iconvdata/ibm939.c: Likewise.
6626 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6628         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
6629         pthread_join.
6630         * nptl/tst-cancel21.c (tf): Likewise.
6632 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
6634         [BZ #19313]
6635         * bits/typesizes.h (__CPU_MASK_TYPE): New.
6636         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
6637         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
6638         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
6639         Likewise.
6640         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
6641         Likewise.
6642         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
6643         Likewise.
6644         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
6645         Likewise.
6646         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
6647         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
6648         unsigned long int with __CPU_MASK_TYPE.
6650 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6652         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6654 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
6656         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
6657         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
6658         t512.x.
6659         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
6661 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
6663         [BZ #19214]
6664         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
6665         argument to return extended model.  Update family and model
6666         with extended family and model when family == 0x0f.
6667         (init_cpu_features): Updated.
6669 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6671         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
6672         signed off_t, so 32bit bigger than 2GiB values are fine actually.
6674         * sysdeps/mach/hurd/mmap64.c: New file.
6676 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
6678         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
6679         rights for its main user thread in NEWTASK.
6681 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
6683         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
6684         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
6686 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
6688         [BZ #14259]
6689         * Makeconfig: Rename localedir to complocaledir.
6690         Rename inst_localedir to inst_complocaledir.
6691         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
6692         * config.make.in: Use complocaledir and libc_cv_complocaledir.
6693         * configure.ac: Use libc_cv_complocaledir.
6694         * configure: Regenerate.
6695         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
6696         -DCOMPLOCALEDIR.
6697         * locale/findlocale.c: Use COMPLOCALEDIR.
6698         * locale/loadarchive.c: Likewise.
6699         * locale/programs/locale.c: Likewise.
6700         * locale/programs/localedef.c: Likewise.
6701         * locale/programs/locarchive.c: Likewise.
6702         * localedata/Makefile: Use inst_complocaledir.
6703         * sysdeps/gnu/configure: Regenerate.
6704         * sysdeps/hppa/configure: Regenerate.
6705         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
6706         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6708         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
6709         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
6710         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
6711         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
6713 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
6715         [BZ #19058]
6716         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
6717         AS_NEEDED.
6718         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
6719         workaround.
6720         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
6721         libmvec-static-only-routines): Added new file.
6722         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
6724 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6726         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
6727         of interrupted RPC instead of restoring it.
6729         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
6730         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
6731         libc_hidden_def.
6732         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
6733         into initialized data instead of common. Define rtld_hidden_data_def.
6734         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
6735         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
6736         libc_hidden_def.
6737         (if_freenameindex): Add libc_hidden_weak.
6738         (if_nameindex): Add libc_hidden_weak.
6739         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
6740         __open64.
6741         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
6742         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
6743         * sysdeps/mach/nanosleep.c: Include <time.h>
6744         (__nanosleep): Rename to __libc_nanosleep.
6745         (__nanosleep): Add weak_alias.
6746         (nanosleep): Update alias.
6748 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
6750         * stdlib/strtod_nan.c: New file.
6751         * stdlib/strtod_nan_double.h: Likewise.
6752         * stdlib/strtod_nan_float.h: Likewise.
6753         * stdlib/strtod_nan_main.c: Likewise.
6754         * stdlib/strtod_nan_narrow.h: Likewise.
6755         * stdlib/strtod_nan_wide.h: Likewise.
6756         * stdlib/strtof_nan.c: Likewise.
6757         * stdlib/strtold_nan.c: Likewise.
6758         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
6759         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
6760         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
6761         * wcsmbs/wcstod_nan.c: Likewise.
6762         * wcsmbs/wcstof_nan.c: Likewise.
6763         * wcsmbs/wcstold_nan.c: Likewise.
6764         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
6765         strtold_nan.
6766         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
6767         wcstof_nan.
6768         * include/stdlib.h (__strtof_nan): Declare and use
6769         libc_hidden_proto.
6770         (__strtod_nan): Likewise.
6771         (__strtold_nan): Likewise.
6772         (__wcstof_nan): Likewise.
6773         (__wcstod_nan): Likewise.
6774         (__wcstold_nan): Likewise.
6775         * include/wchar.h (____wcstoull_l_internal): Declare.
6776         * stdlib/strtod_l.c: Do not include <ieee754.h>.
6777         (____strtoull_l_internal): Remove declaration.
6778         (STRTOF_NAN): Define macro.
6779         (SET_MANTISSA): Remove macro.
6780         (STRTOULL): Likewise.
6781         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
6782         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
6783         (STRTOF_NAN): Define macro.
6784         (SET_MANTISSA): Remove macro.
6785         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
6786         (SET_MANTISSA): Remove macro.
6787         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
6788         macro.
6789         (SET_MANTISSA): Remove macro.
6790         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
6791         macro.
6792         (SET_MANTISSA): Remove macro.
6793         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
6794         (SET_MANTISSA): Remove macro.
6795         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
6796         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
6797         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
6799         [BZ #19266]
6800         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
6801         upper case and lower case letters inside NAN(), not using TOLOWER.
6802         * stdlib/tst-strtod-nan-locale-main.c: New file.
6803         * stdlib/tst-strtod-nan-locale.c: Likewise.
6804         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
6805         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
6806         Depend on $(gen-locales).
6807         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
6808         * wcsmbs/tst-wcstod-nan-locale.c: New file.
6809         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
6810         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
6811         Depend on $(gen-locales).
6812         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
6814 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
6816         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
6818         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
6820         __finitel, __isinfl, and __isnanl.
6821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6822         Likewise.
6823         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
6825         __finitel.
6826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6827         Likewise.
6828         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6830 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6832         * malloc/memusage.c (me): Remove redundant getenv call.
6834 2015-10-24  Florian Weimer  <fweimer@redhat.com>
6836         [BZ #19143]
6837         [BZ #19164]
6838         * nptl/check-cpuset.h: Remove.
6839         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
6840         Remove CPU set size check.
6841         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
6842         Likewise.
6843         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
6844         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6845         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
6846         (__pthread_setaffinity_new): Remove CPU set size check.
6847         * sysdeps/unix/sysv/linux/sched_setaffinity.c
6848         (__kernel_cpumask_size): Remove.
6849         (__sched_setaffinity_new): Remove CPU set size check.
6850         * manual/threads.texi (Default Thread Attributes): Remove stale
6851         reference to check_cpuset_attr, determine_cpumask_size in comment.
6852         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
6853         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
6854         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
6855         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
6856         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
6857         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
6858         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
6859         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
6860         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
6861         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
6862         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
6863         skeleton test file.
6864         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
6865         tst-affinity-pid.
6867 2015-11-24  Florian Weimer  <fweimer@redhat.com>
6869         * scripts/update-abilist.sh: New file.
6870         * Makefile (+subdir_targets): Add subdir_update-all-abi.
6871         * Makerules (update-all-abi-%, update-all-abi)
6872         (subdir_update-all-abi): New targets.
6873         * elf/Makefile (update-all-abi): New target.
6875 2015-11-24  Florian Weimer  <fweimer@redhat.com>
6877         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
6878         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
6879         (__libc_lock_define_initialized): Use it.
6880         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
6881         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
6882         * malloc/malloc.c (main_arena): Likewise.
6883         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
6884         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
6886 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
6888         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
6889         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
6890         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6891         (PTRACE_O_MASK): Update value.
6892         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
6893         New value in enum __ptrace_setoptions.
6894         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6895         (PTRACE_O_MASK): Update value.
6896         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
6897         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6898         (PTRACE_O_MASK): Update value.
6899         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
6900         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6901         (PTRACE_O_MASK): Update value.
6902         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
6903         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6904         (PTRACE_O_MASK): Update value.
6905         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
6906         New value in enum __ptrace_setoptions.
6907         (PTRACE_O_MASK): Update value.
6908         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
6909         New value in enum __ptrace_setoptions.
6910         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6911         (PTRACE_O_MASK): Update value.
6913         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
6914         New macro.
6915         (PACKET_AUXDATA): Likewise.
6916         (PACKET_ORIGDEV): Likewise.
6917         (PACKET_VERSION): Likewise.
6918         (PACKET_HDRLEN): Likewise.
6919         (PACKET_RESERVE): Likewise.
6920         (PACKET_TX_RING): Likewise.
6921         (PACKET_LOSS): Likewise.
6922         (PACKET_VNET_HDR): Likewise.
6923         (PACKET_TX_TIMESTAMP): Likewise.
6924         (PACKET_TIMESTAMP): Likewise.
6925         (PACKET_FANOUT): Likewise.
6926         (PACKET_TX_HAS_OFF): Likewise.
6927         (PACKET_QDISC_BYPASS): Likewise.
6928         (PACKET_ROLLOVER_STATS): Likewise.
6929         (PACKET_FANOUT_DATA): Likewise.
6930         (PACKET_MR_UNICAST): Likewise.
6932         [BZ #19242]
6933         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
6934         (TOUPPER): Likewise.
6935         * stdlib/tst-strtol-locale-main.c: New file.
6936         * stdlib/tst-strtol-locale.c: Likewise.
6937         * stdlib/Makefile (tests): Add tst-strtol-locale.
6938         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
6939         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
6940         Depend on $(gen-locales).
6941         * wcsmbs/tst-wcstol-locale.c: New file.
6942         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
6943         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
6944         tr_TR.ISO-8859-9.
6945         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
6946         Depend on $(gen-locales).
6948 2015-11-20  Roland McGrath  <roland@hack.frob.com>
6950         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
6951         __glibc_likely instead of __builtin_expect.  After falling back to
6952         dyncode_create in a non-ET_DYN case, use the allocate_code_data
6953         system interface to register the code pages as occupied.
6955 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
6957         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6958         [!ARM_MATH_PRIVATE_H].
6959         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
6960         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6961         [!HPPA_MATH_PRIVATE_H].
6962         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
6963         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
6964         to [!I386_MATH_PRIVATE_H].
6965         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
6966         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
6967         Change guard to [!M68K_MATH_PRIVATE_H].
6968         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
6969         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
6970         guard to [!MICROBLAZE_MATH_PRIVATE_H].
6971         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
6972         macro.
6973         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6974         [!MIPS_MATH_PRIVATE_H].
6975         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
6976         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6977         [!NIO2_MATH_PRIVATE_H].
6978         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
6979         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6980         [!TILE_MATH_PRIVATE_H].
6981         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
6983         [BZ #15421]
6984         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
6985         initialize with 0 and define as weak alias of __signgam.
6986         * include/math.h [!_ISOMAC] (__signgam): Declare.
6987         * math/Makefile (libm-calls): Add w_lgamma_compat.
6988         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
6989         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
6990         test-signgam-ullong-init.
6991         (tests-static): Add test-signgam-uchar-static,
6992         test-signgam-uchar-init-static, test-signgam-uint-static,
6993         test-signgam-uint-init-static, test-signgam-ullong-static and
6994         test-signgam-ullong-init-static.
6995         (CFLAGS-test-signgam-uchar.c): New variable.
6996         (CFLAGS-test-signgam-uchar-init.c): Likewise.
6997         (CFLAGS-test-signgam-uchar-static.c): Likewise.
6998         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
6999         (CFLAGS-test-signgam-uint.c): Likewise.
7000         (CFLAGS-test-signgam-uint-init.c): Likewise.
7001         (CFLAGS-test-signgam-uint-static.c): Likewise.
7002         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
7003         (CFLAGS-test-signgam-ullong.c): Likewise.
7004         (CFLAGS-test-signgam-ullong-init.c): Likewise.
7005         (CFLAGS-test-signgam-ullong-static.c): Likewise.
7006         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
7007         * math/Versions (libm): Add GLIBC_2.23.
7008         * math/lgamma-compat.h: New file.
7009         * math/test-signgam-main.c: Likewise.
7010         * math/test-signgam-uchar-init-static.c: Likewise.
7011         * math/test-signgam-uchar-init.c: Likewise.
7012         * math/test-signgam-uchar-static.c: Likewise.
7013         * math/test-signgam-uchar.c: Likewise.
7014         * math/test-signgam-uint-init-static.c: Likewise.
7015         * math/test-signgam-uint-init.c: Likewise.
7016         * math/test-signgam-uint-static.c: Likewise.
7017         * math/test-signgam-uint.c: Likewise.
7018         * math/test-signgam-ullong-init-static.c: Likewise.
7019         * math/test-signgam-ullong-init.c: Likewise.
7020         * math/test-signgam-ullong-static.c: Likewise.
7021         * math/test-signgam-ullong.c: Likewise.
7022         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
7023         wrapper of w_lgamma_main.c.
7024         * math/w_lgamma_compat.c: New file.
7025         * math/w_lgamma_compatf.c: Likewise.
7026         * math/w_lgamma_compatl.c: Likewise.
7027         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
7028         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7029         defining compatibility symbols.
7030         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
7031         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
7032         wrapper of w_lgammaf_main.c.
7033         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
7034         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7035         defining compatibility symbols.
7036         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
7037         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
7038         wrapper of w_lgammal_main.c.
7039         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
7040         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7041         defining compatibility symbols.
7042         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
7043         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
7044         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
7045         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
7046         <lgamma-compat.h>.
7047         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
7048         (__ieee754_gamma): Define as alias.
7049         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
7050         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
7051         <lgamma-compat.h>.
7052         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
7053         (__ieee754_gammaf): Define as alias.
7054         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
7055         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
7056         <lgamma-compat.h>.
7057         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
7058         (__ieee754_gammal): Define as alias.
7059         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
7060         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
7061         <math/w_lgamma_compat.c>.
7062         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
7063         Define as alias of __lgamma_compat and use in defining lgammal.
7064         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
7065         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
7066         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
7067         (USE_AS_COMPAT): New macro.
7068         (LGAMMA_OLD_VER): Undefine and redefine.
7069         (lgammal): Do not define here.
7070         (gammal): Only define here if [GAMMA_ALIAS].
7071         * conform/linknamespace.pl (@whitelist): Remove signgam.
7072         * sysdeps/nacl/libm.abilist: Update.
7073         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7074         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7075         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7076         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7077         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7078         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7079         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7080         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7081         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7082         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7083         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7084         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7086         Likewise.
7087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7088         Likewise.
7089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7090         Likewise.
7091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7092         Likewise.
7093         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7094         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7095         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7096         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7097         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7099         Likewise.
7100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7101         Likewise.
7102         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7103         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7104         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7106 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7108         [BZ #16364]
7109         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
7110         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
7112 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7114         * sysdeps/s390/fpu/bits/mathinline.h:
7115         Use __asm__ [__volatile__] instead of asm [volatile].
7116         * sysdeps/s390/abort-instr.h: Likewise.
7117         * sysdeps/s390/atomic-machine.h: Likewise.
7118         * sysdeps/s390/bits/string.h: Likewise.
7119         * sysdeps/s390/dl-tls.h: Likewise.
7120         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7121         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7122         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7123         * sysdeps/s390/fpu/fesetround.c: Likewise.
7124         * sysdeps/s390/fpu/fpu_control.h: Likewise.
7125         * sysdeps/s390/fpu/s_fma.c: Likewise.
7126         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
7127         * sysdeps/s390/memusage.h: Likewise.
7128         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
7129         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
7130         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
7131         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
7132         * sysdeps/s390/nptl/tls.h: Likewise.
7133         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
7134         * sysdeps/s390/s390-32/backtrace.c: Likewise.
7135         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7136         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
7137         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7138         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7139         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
7140         * sysdeps/s390/s390-64/backtrace.c: Likewise.
7141         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7142         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
7143         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
7144         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7145         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7146         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
7147         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7148         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7149         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
7150         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7151         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
7152         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7153         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
7154         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7155         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
7157 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7158             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7160         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7161         Add lwarx hint, and use macro for acquire instruction.
7162         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7163         Likewise.
7164         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
7165         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
7166         update to use new atomic macros.
7168 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7170         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7171         (__lll_trylock_elision): Fix setting of adapt_count.
7172         * sysdeps/unix/sysv/linux/powerpc/htm.h
7173         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
7174         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
7175         (_ABORT_SYSCALL): Renumber, and clarify definition.
7176         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
7178 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7180         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
7181         after system headers to prevent MIN/MAX redefinition.  Define
7182         HAVE_ALLOCA to preserve builtin alloca usage.
7184 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
7186         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
7187         static and don't set or restore rounding.
7188         (__cos)[IN_SINCOS]: Likewise.
7189         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
7190         (__sincos): Set and restore rounding mode.  Remove check for infinite
7191         or NaN input.
7193         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
7195         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
7196         as used.
7198 2015-11-16  Florian Weimer  <fweimer@redhat.com>
7200         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
7202 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
7204         * config.make.in (have-glob-dat-reloc): New.
7205         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
7206         target supports GLOB_DAT relocaton. AC_SUBST.
7207         * configure: Regenerated.
7208         * elf/Makefile (tests): Add tst-prelink.
7209         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7210         (tst-prelink-ENV): New.
7211         ($(objpfx)tst-prelink-conflict.out): Likewise.
7212         ($(objpfx)tst-prelink-cmp.out): Likewise.
7213         * sysdeps/x86/tst-prelink.c: Moved to ...
7214         * elf/tst-prelink.c: Here.
7215         * sysdeps/x86/tst-prelink.exp: Moved to ...
7216         * elf/tst-prelink.exp: Here.
7217         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
7218         (tst-prelink-ENV): Removed.
7219         ($(objpfx)tst-prelink-conflict.out): Likewise.
7220         ($(objpfx)tst-prelink-cmp.out): Likewise.
7221         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
7223 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
7225         [BZ #14551]
7226         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
7227         (__mpn_construct_long_double): If high part overflows to infinity,
7228         set errno and recompute overflowed result of the correct sign.
7229         * sysdeps/ieee754/ldbl-128ibm/Makefile
7230         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
7231         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
7232         $(libm).
7233         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
7235 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
7237         [BZ #15479]
7238         [BZ #19238]
7239         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
7240         floating-point state after first operation on input.  Restore full
7241         state rather than just rounding mode.
7242         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7243         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7244         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7246         [BZ #19235]
7247         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
7248         add 0.5 to integer arguments.
7249         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
7250         Likewise.
7251         (.LC2): New object.
7253 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
7255         * scripts/pylintrc (reports): Set to no.
7257 2015-11-10  Roland McGrath  <roland@hack.frob.com>
7259         * elf/dl-load.c (open_verify): Take new argument FD.
7260         Skip __open call if passed FD is not -1.
7261         (_dl_map_object, open_path): Update callers.
7262         * elf/dl-sysdep-open.h: New file.
7263         * elf/dl-load.c: Include it.
7264         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
7265         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
7266         * sysdeps/nacl/dl-sysdep-open.h: New file.
7267         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
7268         from libc to rtld.
7270 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
7272         [BZ #19228]
7273         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
7274         and restore full floating-point state.
7275         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7276         Likewise.
7277         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7278         Likewise.
7279         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7280         Likewise.
7281         * math/test-nearbyint-except-2.c: New file.
7282         * math/Makefile (tests): Add test-nearbyint-except-2.
7284 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
7286         [BZ #19178]
7287         * sysdeps/x86/Makefile (tests): Add tst-prelink.
7288         (tst-prelink-ENV): New.
7289         ($(objpfx)tst-prelink-conflict.out): Likewise.
7290         ($(objpfx)tst-prelink-cmp.out): Likewise.
7291         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7292         * sysdeps/x86/tst-prelink.c: New file.
7293         * sysdeps/x86/tst-prelink.exp: Likewise.
7295 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
7297         * math/auto-libm-test-in: Add another test of pow.
7298         * math/auto-libm-test-out: Regenerated.
7299         * math/libm-test.inc (pow_test_data): Add another test.
7301 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7303         [BZ #19219]
7304         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
7305         weak_alias to nearbyintl.
7307 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
7309         * sysdeps/aarch64/bits/string.h: New file.
7310         (_STRING_ARCH_unaligned): Define.
7312 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
7314         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
7315         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
7316         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
7317         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
7318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
7320 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
7322         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
7323         for original name of the DSO.  Add it to the name list of the DSO
7324         if it is actually given.
7325         (_dl_map_object): Keep track of whether an audit module rewrote
7326         the file name.  If yes, pass the original name to
7327         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
7328         debugging is enabled, log the change of the file name.
7329         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
7330         _dl_map_object_from_fd.
7331         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
7332         * elf/tst-audit11.c: New file
7333         * elf/tst-auditmod11.c: New file.
7334         * elf/tst-audit11mod1.c: New file.
7335         * elf/tst-audit11mod2.c: New file.
7336         * elf/tst-audit11mod2.map: New file.
7337         * elf/tst-audit12.c: New file
7338         * elf/tst-auditmod12.c: New file.
7339         * elf/tst-audit12mod1.c: New file.
7340         * elf/tst-audit12mod2.c: New file.
7341         * elf/tst-audit12mod2.map: New file.
7342         * elf/tst-audit12mod3.c: New file.
7344 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7346         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
7347         Don't create weak aliases,
7348         because versioned symbols are created later.
7349         * sysdeps/s390/s390-32/setjmp.S
7350         (setjmp, _setjmp): Remove weak and rename to an unique name
7351         in SHARED case due to existing versioned symbols.
7352         * sysdeps/s390/s390-64/setjmp.S: Likewise.
7353         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
7354         (getcontext): Create weak alias only in non SHARED case.
7355         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7357 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7359         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
7360         (__ASSUME_*_SYSCALL) Define new macros.
7361         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
7362         Remove socketcall syscalls.
7363         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
7364         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
7365         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
7366         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
7367         * sysdeps/unix/sysv/linux/send.c (__libc_send):
7368         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
7370 2015-11-09  Florian Weimer  <fweimer@redhat.com>
7372         [BZ #12926]
7373         Terminate process on invalid netlink response.
7374         * sysdeps/unix/sysv/linux/netlinkaccess.h
7375         (__netlink_assert_response): Declare.
7376         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
7377         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
7378         (sysdep_routines): Add netlink_assert_response.
7379         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
7380         __netlink_assert_response.
7381         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
7382         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
7383         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
7384         __netlink_assert_response.
7386 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
7388         [BZ #19178]
7389         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
7390         (RTYPE_CLASS_PLT): Likewise.
7391         (RTYPE_CLASS_COPY): Likewise.
7392         (RTYPE_CLASS_TLS): Likewise.
7393         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
7394         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
7395         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
7396         DL_DEBUG_PRELINK.
7398 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
7400         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
7401         calls with argument -0.5.
7402         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
7404         * configure.ac (libc_cv_z_nodelete): Remove configure test.
7405         (libc_cv_z_nodlopen): Likewise.
7406         (libc_cv_z_initfirst): Likewise.
7407         * configure: Regenerated.
7409 2015-11-06  Florian Weimer  <fweimer@redhat.com>
7411         Simplify abilist format to be line-based.
7412         * scripts/abilist.awk: Collect descriptors in the descs variable.
7413         (emit): Write descs variable and sort it
7414         externally, with sort.
7415         * sysdeps/**/*.abilist: Convert to new format.
7417 2015-11-06  Mark Wielaard  <mjw@redhat.com>
7419         [BZ #11460]
7420         * io/Makefile (routines): Add fts64.
7421         (tests): Add tst-fts and tst-fts-lfs.
7422         (CFLAGS-fts64.c): New.
7423         * io/Versions (GLIBC_2.23): New.
7424         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
7425         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
7426         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
7427         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
7428         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
7429         (FTSENT64): Likewise.
7430         (fts64_children): Likewise.
7431         (fts64_close): Likewise.
7432         (fts64_open): Likewise.
7433         (fts64_read): Likewise.
7434         (fts64_set): Likewise.
7435         * io/fts64.c: New file.
7436         * io/tst-fts.c: New test.
7437         * io/tst-fts-lfs.c: Likewise.
7438         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
7439         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
7440         fts64_set.
7441         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7442         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7443         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7444         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7445         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7446         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7447         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7448         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7449         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7450         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7451         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7452         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7453         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7455         Likewise.
7456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7457         Likewise.
7458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7460         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7461         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7462         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7463         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7464         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7467         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7468         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7469         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7470         * sysdeps/wordsize-64/fts.c: New file.
7471         * sysdeps/wordsize-64/fts64.c: Likewise.
7472         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
7473         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
7474         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
7475         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
7477 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
7479         * math/libm-test.inc (NON_FINITE): New macro.
7480         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
7481         * math/gen-libm-test.pl (show_exceptions): Add argument
7482         $non_finite.
7483         (parse_args): Update call to show_exceptions.
7484         * math/test-math-finite.h: New file.
7485         * math/test-math-no-finite.h: Likewise.
7486         * math/test-double-finite.c: Likewise.
7487         * math/test-float-finite.c: Likewise.
7488         * math/test-ldouble-finite.c: Likewise.
7489         * math/test-double.c: Include "test-math-no-finite.h".
7490         * math/test-float.c: Include "test-math-no-finite.h".
7491         * math/test-ldouble.c: Include "test-math-no-finite.h".
7492         * math/test-math-inline.h (TEST_FINITE): New macro.
7493         * math/test-math-vector.h (TEST_FINITE): Likewise.
7494         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
7495         (libm-tests): Add test-float-finite and test-double-finite.
7496         ($(objpfx)test-float-finite.o): New dependency on
7497         $(objpfx)libm-test.stmp.
7498         ($(objpfx)test-double-finite.o): Likewise.
7499         ($(objpfx)test-ldouble-finite.o): Likewise.
7500         (libm-test-no-inline-cflags): New variable.
7501         (libm-test-finite-cflags): Likewise.
7502         (CFLAGS-test-float-finite.c): Likewise.
7503         (CFLAGS-test-double-finite.c): Likewise.
7504         (CFLAGS-test-ldouble-finite.c): Likewise.
7505         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
7506         (CFLAGS-test-double.c): Likewise.
7507         (CFLAGS-test-ldouble.c): Likewise.
7509 2015-11-05  Roland McGrath  <roland@hack.frob.com>
7511         * io/fcntl.c (__fcntl): Add ... to prototype.
7512         * misc/ioctl.c (__ioctl): Likewise.
7513         * misc/syscall.c (syscall): Likewise.
7515 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
7517         * scripts/list-fixed-bugs.py: New file.
7519         [BZ #19213]
7520         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
7521         returned for argument 1.
7522         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
7523         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
7524         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
7525         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
7526         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
7527         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
7529         [BZ #19211]
7530         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
7531         __USE_XOPEN], not if [!__USE_ISOC99].
7532         (lgammaf): Likewise.
7533         (lgammal): Likewise.
7534         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
7535         (gammaf): Likewise.
7536         (gammal): Likewise.
7537         * math/test-signgam-finite-c11.c: New file.
7538         * math/test-signgam-finite-c99.c: Likewise.
7539         * math/test-signgam-finite.c: Likewise.
7540         * math/Makefile (tests): Add test-signgam-finite,
7541         test-signgam-finite-c99 and test-signgam-finite-c11.
7542         (CFLAGS-test-signgam-finite.c): New variable.
7543         (CFLAGS-test-signgam-finite-c99.c): Likewise.
7544         (CFLAGS-test-signgam-finite-c11.c): Likewise.
7546         [BZ #19212]
7547         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
7548         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
7549         500].
7550         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
7551         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
7552         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
7553         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
7554         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
7555         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
7556         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
7557         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
7558         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
7559         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
7561         [BZ #19209]
7562         * math/bits/math-finite.h (ldexp): Remove declaration.
7563         (ldexpf): Likewise.
7564         (ldexpl): Likewise.
7566         [BZ #19205]
7567         * math/bits/math-finite.h (acosf): Condition declaration on
7568         [__USE_ISOC99].
7569         (acosl): Likewise.
7570         (acoshf): Likewise.
7571         (acoshl): Likewise.
7572         (asinf): Likewise.
7573         (asinl): Likewise.
7574         (atan2f): Likewise.
7575         (atan2l): Likewise.
7576         (atanhf): Likewise.
7577         (atanhl): Likewise.
7578         (coshf): Likewise.
7579         (coshl): Likewise.
7580         (expf): Likewise.
7581         (expl): Likewise.
7582         (fmodf): Likewise.
7583         (fmodl): Likewise.
7584         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
7585         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
7586         (j0l): Likewise.
7587         (y0f): Likewise.
7588         (y0l): Likewise.
7589         (j1f): Likewise.
7590         (j1l): Likewise.
7591         (y1f): Likewise.
7592         (y1l): Likewise.
7593         (jnf): Likewise.
7594         (jnl): Likewise.
7595         (ynf): Likewise.
7596         (ynl): Likewise.
7597         (lgammaf_r): Condition declaration on [__USE_ISOC99].
7598         (lgammal_r): Likewise.
7599         (__lgamma_r_finite): New declaration.
7600         (__lgammaf_r_finite): Likewise.
7601         (__lgammal_r_finite): Likewise.
7602         (lgamma): Use __lgamma_r_finite.
7603         (lgammaf): Condition definition on [__USE_ISOC99].  Use
7604         __lgammaf_r_finite.
7605         (lgammal): Condition definition on [__USE_ISOC99].  Use
7606         __lgammal_r_finite.
7607         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
7608         __lgamma_r_finite.
7609         (gammaf): Condition definition on [__USE_ISOC99].  Use
7610         __lgammaf_r_finite.
7611         (gammal): Condition definition on [__USE_ISOC99].  Use
7612         __lgammal_r_finite.
7613         (logf): Condition declaration on [__USE_ISOC99].
7614         (logl): Likewise.
7615         (log10f): Likewise.
7616         (log10l): Likewise.
7617         (ldexpf): Likewise.
7618         (ldexpl): Likewise.
7619         (powf): Likewise.
7620         (powl): Likewise.
7621         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
7622         __USE_ISOC99].
7623         (remainderf): Condition declaration on [__USE_ISOC99].
7624         (remainderl): Likewise.
7625         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
7626         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
7627         (scalbl): Likewise.
7628         (sinhf): Condition declaration on [__USE_ISOC99].
7629         (sinhl): Likewise.
7630         (sqrtf): Likewise.
7631         (sqrtl): Likewise.
7633 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
7635         * sysdeps/arm/atomic-machine.h
7636         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
7637         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
7638         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
7639         Remove conditional code.
7640         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
7641         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
7642         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
7643         Change conditional to [__ASSEMBLER__].
7644         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
7645         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
7646         [!__ASSEMBLER__].
7647         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
7648         code.
7649         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
7650         conditional macro definitions.
7651         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
7652         (__arch_compare_and_exchange_val_16_acq): Likewise.
7653         (__arch_compare_and_exchange_val_32_acq): Likewise.
7654         (atomic_exchange_and_add): Likewise.
7655         (atomic_add): Likewise.
7656         (atomic_add_negative): Likewise.
7657         (atomic_add_zero): Likewise.
7658         (atomic_bit_set): Likewise.
7659         (atomic_bit_test_set): Likewise.
7660         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
7661         code unconditional.
7662         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7664         * math/test-math-errno.h: New file.
7665         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
7666         empty.
7667         (TEST_ERRNO): New macro.
7668         (TEST_EXCEPTIONS): Likewise.
7669         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
7670         (TEST_EXCEPTIONS): Likewise.
7671         * math/test-math-vector.h (TEST_ERRNO): Likewise.
7672         * math/test-double.c: Include "test-math-errno.h".
7673         * math/test-float.c: Likewise.
7674         * math/test-ldouble.c: Likewise.
7675         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
7676         code unconditional.
7677         (test_exceptions): Only run code if TEST_EXCEPTIONS.
7678         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
7679         unconditional.
7680         (test_errno): Only run code if TEST_ERRNO.
7681         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
7683 2015-11-04  Florian Weimer  <fweimer@redhat.com>
7685         * nptl/tst-once5.cc: Remove attribution.
7687 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
7689         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
7690         sqrt, tan, tanh, y0, y1 and yn.
7691         * math/auto-libm-test-out: Regenerated.
7692         * math/libm-test.inc (scalb_test_data): Add more tests.
7693         (scalbn_test_data): Likewise.
7694         (scalbln_test_data): Likewise.
7695         (signbit_test_data): Likewise.
7696         (sin_test_data): Likewise.
7697         (sincos_test_data): Likewise.
7698         (sinh_test_data): Likewise.
7699         (sqrt_test_data): Likewise.
7700         (tan_test_data): Likewise.
7701         (tanh_test_data): Likewise.
7702         (tgamma_test_data): Likewise.
7703         (y0_test_data): Likewise.
7704         (y1_test_data): Likewise.
7705         (yn_test_data): Likewise.
7706         (significand_test_data): Likewise.
7707         * sysdeps/i386/fpu/libm-test-ulps: Update.
7709 2015-11-03  David Kastrup  <dak@gnu.org>
7711         [BZ #18604]
7712         * assert/assert.h (assert): Don't macro-expand failed assertion
7713         expression in error message.
7714         * malloc/malloc.c (assert): Likewise.
7716 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
7718         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
7719         test.
7720         * configure: Regenerated.
7722 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
7724         * math/libm-test.inc (modf_test_data): Add more tests.
7725         (nearbyint_test_data): Likewise.
7726         (nextafter_test_data): Likewise.
7727         (nexttoward_test_data): Likewise.
7728         (pow_test_data): Likewise.
7729         (remainder_test_data): Likewise.
7730         (remquo_test_data): Likewise.
7731         (rint_test_data): Likewise.
7733         [BZ #19201]
7734         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7735         Check for zero remainder in case of large exponents and ensure
7736         correct sign of result in that case.
7737         * math/libm-test.inc (remainder_test_data): Add more tests.
7739         [BZ #6799]
7740         * math/s_nextafter.c: Include <errno.h>.
7741         (__nextafter): Set errno on overflow and underflow.
7742         * math/s_nexttowardf.c: Include <errno.h>.
7743         (__nexttowardf): Set errno on overflow and underflow.
7744         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
7745         (__nextafterl): Set errno on overflow and underflow.
7746         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
7747         (__nexttoward): Set errno on overflow and underflow.
7748         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
7749         (__nexttowardf): Set errno on overflow and underflow.
7750         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
7751         (__nextafterf): Set errno on overflow and underflow.
7752         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
7753         (__nextafterl): Set errno on overflow and underflow.
7754         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
7755         (__nexttoward): Set errno on overflow and underflow.
7756         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
7757         (__nexttowardf): Set errno on overflow and underflow.
7758         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
7759         (__nextafterl): Set errno on overflow and underflow.
7760         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
7761         (__nexttoward): Set errno on overflow and underflow.
7762         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
7763         (__nexttowardf): Set errno on overflow and underflow.
7764         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
7765         (__nexttoward): Set errno on overflow and underflow.
7766         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
7767         (__nexttowardf): Set errno on overflow and underflow.
7768         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
7769         (__nldbl_nexttowardf): Set errno on overflow and underflow.
7770         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
7771         (__nextafterl): Set errno on overflow and underflow.
7772         * math/libm-test.inc (nextafter_test_data): Do not allow errno
7773         setting to be missing on overflow.  Add more tests.
7774         (nexttoward_test_data): Likewise.
7776         * configure.ac (libc_cv_initfini_array): Remove configure test.
7777         * configure: Regenerated.
7779 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
7781         [BZ #19189]
7782         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
7783         non-finite argument handle arguments with negative sign.
7785         * math/libm-test.inc (j0_test_data): Do not test sign of zero
7786         result from infinite argument.
7787         (j1_test_data): Likewise.
7788         (jn_test_data): Likewise.
7789         (y0_test_data): Likewise.
7790         (y1_test_data): Likewise.
7791         (yn_test_data): Likewise.
7793         [BZ #16171]
7794         * math/w_remainder.c (drem): Define as weak alias of __remainder.
7795         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
7796         * math/w_remainderf.c (dremf): Define as weak alias of
7797         __remainderf.
7798         * math/w_remainderl.c (dreml): Define as weak alias of
7799         __remainderl.
7800         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
7801         __remainder.
7802         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
7803         __remainderf.
7804         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
7805         __remainderl.
7806         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
7807         weak alias of remainderl.
7808         * sysdeps/ieee754/ldbl-opt/w_remainder.c
7809         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
7810         alias of __remainder.
7811         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
7812         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
7813         strong alias of __remainderl.
7814         (dreml): Use long_double_symbol.
7815         * math/Makefile (libm-calls): Remove w_drem.
7816         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
7817         (CFLAGS-nldbl-drem.c): Remove variable.
7818         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
7819         * math/w_drem.c: Remove file.
7820         * math/w_dremf.c: Likewise.
7821         * math/w_dreml.c: Likewise.
7822         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
7823         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
7824         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
7826         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
7827         * sysdeps/i386/configure: Regenerated.
7828         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
7829         * sysdeps/x86_64/configure: Regenerated.
7831         * configure.ac (libc_cv_asm_protected_directive): Remove configure
7832         test.
7833         (libc_cv_visibility_attribute): Likewise.
7834         (libc_cv_protected_data): Test unconditionally.
7835         (libc_cv_broken_visibility_attribute): Remove configure test.
7836         (libc_cv_have_sdata_section): Test unconditionally.
7837         * configure: Regenerated.
7839         * include/libc-internal.h (libc_max_align_t): Remove typedef.
7840         * include/scratch_buffer.h: Include <stddef.h> instead of
7841         <libc-internal.h>.
7842         (struct scratch_buffer): Use max_align_t instead of
7843         libc_max_align_t.
7845 2015-10-29  Florian Weimer  <fweimer@redhat.com>
7847         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
7848         instead of extend_alloca.  Change control flow to avoid a goto.
7849         Remove assert which is trivially always true.
7851 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7853         [BZ #16068]
7854         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
7855         (FE_ALL_EXCEPT_X86): New macro.
7856         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
7857         FE_ALL_EXCEPT.  Ensure precision control is included in
7858         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
7859         handle "denormal operand exception" and clear FZ and DAZ bits.
7860         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
7861         (FE_ALL_EXCEPT_X86): New macro.
7862         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
7863         FE_ALL_EXCEPT.  Ensure precision control is included in
7864         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
7865         handle "denormal operand exception" and clear FZ and DAZ bits.
7866         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
7867         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
7868         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7869         test-fenv-x87 and test-fenv-sse-2.
7870         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
7872         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
7873         * math/test-double.h (BUILD_COMPLEX): New macro.
7874         * math/test-float.h (BUILD_COMPLEX): Likewise.
7875         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
7877         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
7878         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
7879         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
7880         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
7881         instead of DBL_DENORM_MIN in comment.
7882         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
7883         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
7884         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
7885         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
7886         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
7887         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
7889 2015-10-28  Florian Weimer  <fweimer@redhat.com>
7891         [BZ# 19048]
7892         * malloc/malloc.c (struct malloc_state): Update comment.  Add
7893         attached_threads member.
7894         (main_arena): Initialize attached_threads.
7895         * malloc/arena.c (list_lock): Update comment.
7896         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
7897         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
7898         (deattach_arena): New function.
7899         (_int_new_arena): Initialize arena reference count and deattach
7900         replaced arena.
7901         (get_free_list, reused_arena): Update reference count and deattach
7902         replaced arena.
7903         (arena_thread_freeres): Update arena reference count and only put
7904         unreferenced arenas on the free list.
7906 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7908         [BZ #19181]
7909         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
7910         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
7911         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
7912         * math/test-fenv-clear-main.c: New file.
7913         * math/test-fenv-clear.c: Likewise.
7914         * math/Makefile (tests): Add test-fenv-clear.
7915         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
7916         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7917         test-fenv-clear-sse.
7918         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
7920         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
7921         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
7922         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
7924 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7926         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
7927         static libc.
7929 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7931         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
7932         test.
7933         * sysdeps/i386/configure: Regenerated.
7934         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
7935         test.
7936         * sysdeps/x86_64/configure: Regenerated.
7937         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
7938         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7939         memset-avx2 unconditionally instead of conditionally on
7940         [$(config-cflags-avx2) = yes].
7941         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7942         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
7943         unconditional.
7944         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
7945         * sysdeps/x86_64/multiarch/memset_chk.S
7946         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
7947         to [IS_IN (libc) && SHARED].
7949 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7951         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
7952         configure test.
7953         * sysdeps/arm/configure: Regenerated.
7954         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
7955         Define variable if not already defined.
7957         [BZ #17404]
7958         * sysdeps/mips/atomic-machine.h
7959         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
7960         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
7961         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
7963         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
7964         unconditional.
7965         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
7966         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7967         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
7968         unconditional.
7969         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7970         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
7971         unconditional.
7972         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7973         * stdlib/setenv.c
7974         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
7975         code unconditional.
7976         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
7977         Remove conditional code.
7978         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
7979         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
7980         unconditional.
7981         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7982         code.
7983         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
7984         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
7985         unconditional.
7986         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7987         code.
7988         * sysdeps/ieee754/ldbl-128/k_tanl.c
7989         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7990         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7991         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
7992         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7993         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7994         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
7995         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
7996         unconditional.
7997         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7998         code.
7999         * sysdeps/ieee754/ldbl-96/k_tanl.c
8000         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8001         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8003         * nptl/tst-initializers1-c11.c: New file.
8004         * nptl/tst-initializers1-gnu11.c: Likewise.
8005         * nptl/Makefile (tests): Add these new tests.
8006         (CFLAGS-tst-initializers1-c11.c): New variable.
8007         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
8009         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
8010         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
8011         instead of -std=gnu99.
8012         * configure.ac (systemtap): Test with -std=gnu11 instead of
8013         -std=gnu99.
8014         * configure: Regenerated.
8015         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
8016         in compilation command in comment.
8018         * sysdeps/nptl/configure.ac: Remove file.
8019         * sysdeps/nptl/configure: Remove generated file.
8020         * configure.ac (libc_cv_forced_unwind): Do not substitute.
8021         * configure: Regenerated.
8022         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
8023         * config.make.in (have-forced-unwind): Remove variable.
8024         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8025         unconditional.
8026         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
8027         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
8028         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
8029         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
8030         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8031         unconditional.
8033 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8035         [BZ #19174]
8036         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
8037         .skip_lock_out_of_tbegin_retries.
8038         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8039         (__lll_lock_elision): Likewise, and respect a value of
8040         try_tbegin <= 0.
8042 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8044         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
8045         statement.
8047 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8049         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
8050         variable.
8051         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8052         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8054         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
8055         of -std=c1x -D_ISOC11_SOURCE.
8057         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
8058         * configure: Regenerated.
8059         * manual/install.texi (Tools for Compilation): Document
8060         requirement for GCC 4.7 or later.
8061         * INSTALL: Regenerated.
8063 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
8065         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
8066         on CNT to a conditional jump to 'puntdata'.
8068 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8070         * configure.ac (libc_cv_gcc___thread): Remove configure test.
8071         (libc_cv_gcc_tls_model_attr): Likewise.
8072         * configure: Regenerated.
8074         * configure.ac (libc_cv_need_minus_P): Remove configure test.
8075         * configure: Regenerated.
8076         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
8078 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
8080         * configure.ac (old_glibc_headers): Remove configure test.
8081         * configure: Regenerated.
8082         * config.make.in (old-glibc-headers): Remove variable.
8083         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
8084         (install): Remove dependency on remove-old-headers.
8085         (headers2_0): Remove variable.
8086         (remove-old-headers): Remove rule.
8088         * configure.ac (libc_cv_dot_text): Remove configure test.
8089         (libc_cv_asm_set_directive): Use .text instead of
8090         ${libc_cv_dot_text} in configure test.
8091         * configure: Regenerated.
8093 2015-10-26  Florian Weimer  <fweimer@redhat.com>
8095         [BZ #19168]
8096         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8098 2015-10-26  Florian Weimer  <fweimer@redhat.com>
8100         * configure.ac (CXX): Clear the variable if the C++ toolchain does
8101         not support static linking.
8102         * configure: Regenerate.
8104 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
8106         * math/libm-test.inc (check_float_internal): Do not special-case
8107         errors up to 0.5 ulp.
8109         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8110         log2.
8111         * math/auto-libm-test-out: Regenerated.
8112         * math/libm-test.inc (MAX_EXP): New macro.
8113         (ilogb_test_data): Add more tests.
8114         (isfinite_test_data): Likewise.
8115         (isgreater_test_data): Likewise.
8116         (isgreaterequal_test_data): Likewise.
8117         (isinf_test_data): Likewise.
8118         (isless_test_data): Likewise.
8119         (islessequal_test_data): Likewise.
8120         (islessgreater_test_data): Likewise.
8121         (isnan_test_data): Likewise.
8122         (isnormal_test_data): Likewise.
8123         (issignaling_test_data): Likewise.
8124         (isunordered_test_data): Likewise.
8125         (j0_test_data): Likewise.
8126         (j1_test_data): Likewise.
8127         (jn_test_data): Likewise.
8128         (lgamma_test_data): Likewise.
8129         (log_test_data): Likewise.
8130         (log10_test_data): Likewise.
8131         (log1p_test_data): Likewise.
8132         (log2_test_data): Likewise.
8133         (logb_test_data): Likewise.
8134         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8136         [BZ #18611]
8137         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
8138         avoid excess range and precision on underflow.
8139         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8140         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
8141         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8142         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
8143         underflow.
8144         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8145         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8146         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8147         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8148         * math/auto-libm-test-in: Do not allow missing errno setting for
8149         tests of j1 and jn.
8150         * math/auto-libm-test-out: Regenerated.
8152 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
8154         [BZ #15491]
8155         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
8156         floating-point environment instead of clearing all exceptions.
8157         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8158         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
8159         merging in "invalid" exceptions from frndint.
8160         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8161         * math/test-nearbyint-except.c: New file.
8162         * math/Makefile (tests): Add test-nearbyint-except.
8164 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
8166         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
8168         * sysdeps/tile/libm-test-ulps: Regenerated.
8170 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
8173         (__NR_sync_file_range2): Assume it is always defined.
8174         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
8175         (__NR_sync_file_range): Assume it is always defined.
8177 2015-10-22  Andreas Schwab  <schwab@suse.de>
8179         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8180         INTERNAL_SYSCALL_ERRNO.
8181         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8182         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8183         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8184         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8185         Likewise.
8186         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8188 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8190         * io/tst-fcntl.c (fd): New static variable.
8191         (do_prepare): Open temporary file here....
8192         (do_test): ...not here.
8194         * io/ftwtest-sh: Also trap on exit to remove temporary files.
8196 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8198         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
8199         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8200         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8201         Moved before "#ifdef __ASSEMBLER__".
8203 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8205         [BZ #19156]
8206         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
8207         arguments very close to 0.
8209 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
8211         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
8212         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
8214 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8216         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8217         New.  Defined for GCC 5 and above when not compiling for
8218         profiling.
8219         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8221         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
8222         Renamed to ...
8223         (CFLAGS-epoll_pwait.o): This.
8224         (CFLAGS-mmap.c): Renamed to ...
8225         (CFLAGS-mmap.o): This.
8226         (CFLAGS-mmap64.c): Renamed to ...
8227         (CFLAGS-mmap64.o): This.
8228         (CFLAGS-epoll_pwait.os): New.
8229         (CFLAGS-mmap.os): Likewise.
8230         (CFLAGS-mmap64.os): Likewise.
8231         (CFLAGS-semtimedop.os): Likewise.
8232         (CFLAGS-semtimedop.c): Renamed to ...
8233         (CFLAGS-semtimedop.o): This.
8235 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8237         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
8238         warning message.
8240 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8242         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
8243         * Makefile ($(objpfx)c++-types-check.out): Filter out
8244         $(+gccwarn-c) instead of -Wstrict-prototypes.
8246         * io/fts.c (fts_open): Convert to prototype-style function
8247         definition.
8248         * malloc/mcheck.c (mcheck): Likewise.
8249         (mcheck_pedantic): Likewise.
8250         * posix/regexec.c (re_search_2_stub): Likewise.  Use
8251         internal_function.
8252         (re_search_internal): Likewise.
8253         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
8254         prototype-style function definition.
8255         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8256         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
8257         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
8258         (xdr_utmpptr): Likewise.
8259         (xdr_utmparr): Likewise.
8260         (xdr_utmpidle): Likewise.
8261         (xdr_utmpidleptr): Likewise.
8262         (xdr_utmpidlearr): Likewise.
8264         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
8265         log, log10 and log2.
8266         * math/auto-libm-test-out: Regenerated.
8267         * math/libm-test.inc (fmod_test_data): Add more tests.
8268         (fpclassify_test_data): Likewise.
8269         (frexp_test_data): Likewise.
8270         (hypot_test_data): Likewise.
8271         (ilogb_test_data): Likewise.
8273 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
8275         * debug/fortify_fail.c (__fortify_fail): Convert to
8276         prototype-style function definition.  Use internal_function.
8277         * libio/genops.c (save_for_backup): Convert to prototype-style
8278         function definition.
8279         * libio/wgenops.c (save_for_wbackup): Likewise.
8280         * login/grantpt.c (grantpt): Likewise.
8281         * login/ptsname.c (ptsname): Likewise.
8282         (__ptsname_r): Likewise.
8283         * login/unlockpt.c (unlockpt): Likewise.
8284         * mach/msgserver.c (__mach_msg_server): Likewise.
8285         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
8286         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
8287         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
8288         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
8289         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
8290         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
8291         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
8292         Likewise.
8293         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
8294         internal_function.
8295         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
8296         prototype-style function definition.
8297         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
8298         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
8299         (__pthread_create_2_0): Likewise.
8300         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
8301         * nptl/register-atfork.c (__register_atfork): Likewise.
8302         * posix/glob.c (glob): Likewise.
8303         * posix/regcomp.c (re_comp): Likewise.
8304         * posix/regexec.c (re_exec): Likewise.
8305         * stdlib/add_n.c [__STDC__]: Make code unconditional.
8306         [!__STDC__]: Remove conditional code.
8307         * stdlib/cmp.c [__STDC__]: Make code unconditional.
8308         [!__STDC__]: Remove conditional code.
8309         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
8310         [!__STDC__]: Remove conditional code.
8311         * stdlib/divrem.c [__STDC__]: Make code unconditional.
8312         [!__STDC__]: Remove conditional code.
8313         * stdlib/lshift.c [__STDC__]: Make code unconditional.
8314         [!__STDC__]: Remove conditional code.
8315         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
8316         [!__STDC__]: Remove conditional code.
8317         * stdlib/mul.c [__STDC__]: Make code unconditional.
8318         [!__STDC__]: Remove conditional code.
8319         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
8320         [!__STDC__]: Remove conditional code.
8321         * stdlib/rshift.c [__STDC__]: Make code unconditional.
8322         [!__STDC__]: Remove conditional code.
8323         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
8324         function definition.
8325         (STRTOF): Likewise.
8326         * stdlib/strtod_l.c (__STRTOF): Likewise.
8327         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
8328         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
8329         (__strtol_l): Likewise.
8330         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
8331         [!__STDC__]: Remove conditional code.
8332         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
8333         definition.
8334         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8335         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8336         type.
8337         (__strcasecmp): Convert to prototype-style function definition.
8338         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
8339         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8340         type.
8341         (__strncasecmp): Convert to prototype-style function definition.
8342         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
8343         * sunrpc/xdr.c (xdr_union): Likewise.
8344         * sunrpc/xdr_array.c (xdr_array): Likewise.
8345         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
8346         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
8347         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
8348         Likewise.
8349         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
8350         Likewise.
8351         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
8352         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8353         Likewise.
8354         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
8355         (LOCALE_PARAM_PROTO): Likewise.
8356         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
8357         argument type.
8358         (ut_argument_spec): Remove macro.
8359         (ut_argument_spec_iso): Rename to ut_argument_spec.
8360         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
8361         prototype-style function definition.
8362         (memcpy_uppcase): Likewise.
8363         (__strftime_internal): Likewise.
8364         (my_strftime): Likewise.
8365         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
8366         (LOCALE_PARAM_DECL): Likewise.
8367         [_LIBC] (LOCALE_PARAM): Include argument type.
8368         (__strptime_internal): Convert to prototype-style function
8369         definition.
8370         (strptime): Likewise.
8371         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8372         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8373         type.
8374         (__wcscasecmp): Convert to prototype-style function definition.
8375         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
8376         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8377         type.
8378         (__wcsncasecmp): Convert to prototype-style function definition.
8380         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
8381         function definition.
8382         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8383         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8384         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
8385         * elf/dl-minimal.c (_itoa): Likewise.
8386         * hurd/hurdmalloc.c (malloc): Likewise.
8387         (free): Likewise.
8388         (realloc): Likewise.
8389         * inet/inet6_option.c (inet6_option_space): Likewise.
8390         (inet6_option_init): Likewise.
8391         (inet6_option_append): Likewise.
8392         (inet6_option_alloc): Likewise.
8393         (inet6_option_next): Likewise.
8394         (inet6_option_find): Likewise.
8395         * io/ftw.c (FTW_NAME): Likewise.
8396         (NFTW_NAME): Likewise.
8397         (NFTW_NEW_NAME): Likewise.
8398         (NFTW_OLD_NAME): Likewise.
8399         * libio/iofwide.c (_IO_fwide): Likewise.
8400         * libio/strops.c (_IO_str_init_static_internal): Likewise.
8401         (_IO_str_init_static): Likewise.
8402         (_IO_str_init_readonly): Likewise.
8403         (_IO_str_overflow): Likewise.
8404         (_IO_str_underflow): Likewise.
8405         (_IO_str_count): Likewise.
8406         (_IO_str_seekoff): Likewise.
8407         (_IO_str_pbackfail): Likewise.
8408         (_IO_str_finish): Likewise.
8409         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
8410         (_IO_wstr_overflow): Likewise.
8411         (_IO_wstr_underflow): Likewise.
8412         (_IO_wstr_count): Likewise.
8413         (_IO_wstr_seekoff): Likewise.
8414         (_IO_wstr_pbackfail): Likewise.
8415         (_IO_wstr_finish): Likewise.
8416         * locale/programs/localedef.c (normalize_codeset): Likewise.
8417         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8418         (add_locales_to_archive): Likewise.
8419         (delete_locales_from_archive): Likewise.
8420         * malloc/malloc.c (__libc_mallinfo): Likewise.
8421         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
8422         * misc/tsearch.c (__tfind): Likewise.
8423         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
8424         * nptl/pthread_attr_getdetachstate.c
8425         (__pthread_attr_getdetachstate): Likewise.
8426         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
8427         Likewise.
8428         * nptl/pthread_attr_getinheritsched.c
8429         (__pthread_attr_getinheritsched): Likewise.
8430         * nptl/pthread_attr_getschedparam.c
8431         (__pthread_attr_getschedparam): Likewise.
8432         * nptl/pthread_attr_getschedpolicy.c
8433         (__pthread_attr_getschedpolicy): Likewise.
8434         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
8435         Likewise.
8436         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
8437         Likewise.
8438         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
8439         Likewise.
8440         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
8441         Likewise.
8442         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
8443         (__pthread_attr_init_2_0): Likewise.
8444         * nptl/pthread_attr_setdetachstate.c
8445         (__pthread_attr_setdetachstate): Likewise.
8446         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
8447         Likewise.
8448         * nptl/pthread_attr_setinheritsched.c
8449         (__pthread_attr_setinheritsched): Likewise.
8450         * nptl/pthread_attr_setschedparam.c
8451         (__pthread_attr_setschedparam): Likewise.
8452         * nptl/pthread_attr_setschedpolicy.c
8453         (__pthread_attr_setschedpolicy): Likewise.
8454         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
8455         Likewise.
8456         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
8457         Likewise.
8458         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
8459         Likewise.
8460         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
8461         Likewise.
8462         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
8463         Likewise.
8464         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
8465         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
8466         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
8467         use internal_function.
8468         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
8469         prototype-style function definition.
8470         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
8471         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
8472         internal_function.
8473         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
8474         Convert to prototype-style function definition.
8475         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8476         Likewise.
8477         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
8478         Likewise.
8479         (__pthread_mutex_unlock): Likewise.
8480         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
8481         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
8482         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
8483         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
8484         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
8485         * nss/makedb.c (process_input): Likewise.
8486         * posix/fnmatch.c (__strchrnul): Likewise.
8487         (__wcschrnul): Likewise.
8488         (fnmatch): Likewise.
8489         * posix/fnmatch_loop.c (FCT): Likewise.
8490         * posix/glob.c (globfree): Likewise.
8491         (__glob_pattern_type): Likewise.
8492         (__glob_pattern_p): Likewise.
8493         * posix/regcomp.c (re_compile_pattern): Likewise.
8494         (re_set_syntax): Likewise.
8495         (re_compile_fastmap): Likewise.
8496         (regcomp): Likewise.
8497         (regerror): Likewise.
8498         (regfree): Likewise.
8499         * posix/regexec.c (regexec): Likewise.
8500         (re_match): Likewise.
8501         (re_search): Likewise.
8502         (re_match_2): Likewise.
8503         (re_search_2): Likewise.
8504         (re_search_stub): Likewise.  Use internal_function
8505         (re_copy_regs): Likewise.
8506         (re_set_registers): Convert to prototype-style function
8507         definition.
8508         (prune_impossible_nodes): Likewise.  Use internal_function.
8509         * resolv/inet_net_pton.c (inet_net_pton): Convert to
8510         prototype-style function definition.
8511         (inet_net_pton_ipv4): Likewise.
8512         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8513         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
8514         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
8515         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
8516         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8517         Make variadic.
8518         * time/strptime_l.c (localtime_r): Convert to prototype-style
8519         function definition.
8520         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8521         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8522         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8523         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8525         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
8526         definition.
8527         (_ufc_doit_r): Likewise.
8528         * crypt/crypt_util.c (_ufc_copymem): Likewise.
8529         (_ufc_output_conversion_r): Likewise.
8530         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
8531         * inet/rcmd.c (rcmd_af): Likewise.
8532         (rcmd): Likewise.
8533         (ruserok_af): Likewise.
8534         (ruserok): Likewise.
8535         (ruserok2_sa): Likewise.
8536         (ruserok_sa): Likewise.
8537         (iruserok_af): Likewise.
8538         (iruserok): Likewise.
8539         (__ivaliduser): Likewise.
8540         (__validuser2_sa): Likewise.
8541         * inet/rexec.c (rexec_af): Likewise.
8542         (rexec): Likewise.
8543         * inet/ruserpass.c (ruserpass): Likewise.
8544         * locale/programs/xmalloc.c (xcalloc): Likewise.
8545         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
8546         * math/w_drem.c (__drem): Likewise.
8547         * math/w_dremf.c (__dremf): Likewise.
8548         * math/w_dreml.c (__dreml): Likewise.
8549         * misc/daemon.c (daemon): Likewise.
8550         * resolv/res_debug.c (p_fqnname): Likewise.
8551         * stdlib/div.c (div): Likewise.
8552         * string/memcmp.c (memcmp_bytes): Likewise.
8553         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
8554         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
8556         * crypt/cert.c (main): Convert to prototype-style function
8557         definition.
8558         * io/pipe.c (__pipe): Likewise.
8559         * io/pipe2.c (__pipe2): Likewise.
8560         * misc/futimesat.c (futimesat): Likewise.
8561         * misc/utimes.c (__utimes): Likewise.
8562         * posix/execve.c (__execve): Likewise.
8563         * posix/execvp.c (execvp): Likewise.
8564         * posix/execvpe.c (__execvpe): Likewise.
8565         * posix/fexecve.c (fexecve): Likewise.
8566         * socket/socketpair.c (socketpair): Likewise.
8567         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8568         * stdlib/erand48.c (erand48): Likewise.
8569         * stdlib/erand48_r.c (__erand48_r): Likewise.
8570         * stdlib/jrand48.c (jrand48): Likewise.
8571         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
8572         * stdlib/lcong48.c (lcong48): Likewise.
8573         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
8574         * stdlib/nrand48.c (nrand48): Likewise.
8575         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
8576         * stdlib/seed48.c (seed48): Likewise.
8577         * stdlib/seed48_r.c (__seed48_r): Likewise.
8578         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
8579         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
8580         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
8582 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
8584         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
8585         * configure: Regenerated.
8586         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
8587         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
8588         unconditional.
8589         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8590         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8591         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8592         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
8593         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
8594         unconditional.
8595         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8597         * posix/Makefile (CFLAGS-regex.c): Remove variable.
8598         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
8600         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
8601         function definition.
8602         * crypt/crypt_util.c (__encrypt_r): Likewise.
8603         * libio/genops.c (_IO_no_init): Likewise.
8604         * libio/iofopncook.c (_IO_fopencookie): Likewise.
8605         (_IO_old_fopencookie): Likewise.
8606         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8607         * libio/iogetline.c (_IO_getline): Likewise.
8608         (_IO_getline_info): Likewise.
8609         * libio/iogetwline.c (_IO_getwline): Likewise.
8610         (_IO_getwline_info): Likewise.
8611         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
8612         * libio/vswprintf.c (_IO_vswprintf): Likewise.
8613         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
8614         (find_entry): Likewise.
8615         (iterate_table): Likewise.
8616         (lookup): Likewise.
8617         * login/forkpty.c (forkpty): Likewise.
8618         * misc/hsearch_r.c (__hsearch_r): Likewise.
8619         * misc/select.c (__select): Likewise.
8620         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
8621         Likewise.
8622         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
8623         Likewise.
8624         * nptl/old_pthread_cond_timedwait.c
8625         (__pthread_cond_timedwait_2_0): Likewise.
8626         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
8627         * nptl/pthread_barrierattr_getpshared.c
8628         (pthread_barrierattr_getpshared): Likewise.
8629         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
8630         Likewise.
8631         * nptl/pthread_mutex_setprioceiling.c
8632         (pthread_mutex_setprioceiling): Likewise.
8633         * nptl/pthread_mutexattr_getprioceiling.c
8634         (pthread_mutexattr_getprioceiling): Likewise.
8635         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
8636         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8637         Likewise.
8638         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8639         Likewise.
8640         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
8641         Likewise.
8642         * socket/recvfrom.c (__recvfrom): Likewise.
8643         * socket/sendto.c (__sendto): Likewise.
8644         * socket/setsockopt.c (__setsockopt): Likewise.
8645         * stdio-common/_itoa.c (_itoa): Likewise.
8646         * stdio-common/_itowa.c (_itowa): Likewise.
8647         * stdio-common/reg-printf.c (__register_printf_specifier):
8648         Likewise.
8649         (__register_printf_function): Likewise.
8650         * stdio-common/tempname.c (__path_search): Likewise.
8651         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
8652         * stdlib/mul_1.c (mpn_mul_1): Likewise.
8653         * stdlib/random_r.c (__initstate_r): Likewise.
8654         * stdlib/setenv.c (__add_to_environ): Likewise.
8655         * stdlib/submul_1.c (mpn_submul_1): Likewise.
8656         * streams/getpmsg.c (getpmsg): Likewise.
8657         * streams/putmsg.c (putmsg): Likewise.
8658         * streams/putpmsg.c (putpmsg): Likewise.
8659         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
8660         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
8661         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
8662         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
8663         * sunrpc/pm_getport.c (pmap_getport): Likewise.
8664         * sunrpc/svc_udp.c (cache_get): Likewise.
8665         * sunrpc/xdr_array.c (xdr_vector): Likewise.
8666         * sysdeps/mach/hurd/getcwd.c
8667         (__canonicalize_directory_name_internal): Likewise.
8668         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
8669         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
8670         * sysdeps/mach/hurd/select.c (__select): Likewise.
8671         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
8672         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
8673         * sysdeps/sparc/nptl/pthread_barrier_init.c
8674         (__pthread_barrier_init): Likewise.
8675         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
8676         (__pthread_cond_timedwait): Likewise.
8677         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
8678         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
8679         Likewise.
8680         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
8681         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
8682         Likewise.
8683         * sysvipc/semtimedop.c (semtimedop): Likewise.
8684         * time/setitimer.c (__setitimer): Likewise.
8685         * time/strftime_l.c (emacs_strftime): Likewise.
8687 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
8689         * config.make.in (have-ssp): Delete.
8690         (stack-protector): New variable.
8691         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
8692         cache test for -fstack-protector-strong.  Export stack_protector to
8693         the best ssp flag.
8694         * configure: Regenerated.
8695         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
8696         * nscd/Makefile (CFLAGS-nscd): Likewise.
8697         * resolv/Makefile (CFLAGS-libresolv): Likewise.
8699 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
8701         [BZ #19122]
8702         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
8703         attribute_hidden.
8705 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8707         [BZ #18743]
8708         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
8709         code to...
8710         (ELIDE_LOCK): ...here.
8711         (__get_new_count): New function with part of the code from
8712         __elide_lock that updates the value of adapt_count after a
8713         transaction abort.
8714         (__elided_trylock): Moved this code to...
8715         (ELIDE_TRYLOCK): ...here.
8717 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
8719         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
8720         * configure: Regenerate.
8721         * INSTALL: Regenerate.
8722         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
8723         and tweak grammar.
8725 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
8727         * login/programs/pt_chown.c: Include signal.h
8728         (main): Clear any signal mask from the parent process.
8730 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
8732         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
8733         * configure: Regenerated.
8734         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
8735         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
8736         $(gnu89-inline-CFLAGS).
8738         * configure.ac (libc_cv_asm_weak_directive): Remove configure
8739         test.
8740         (libc_cv_asm_weakext_directive): Likewise.
8741         * configure: Regenerated.
8742         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
8743         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
8744         * include/libc-symbols.h
8745         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
8746         #error.
8747         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
8748         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
8750         * sysdeps/arm/backtrace.c (__backtrace): Convert to
8751         prototype-style function definition.
8752         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
8753         * sysdeps/i386/ffs.c (__ffs): Likewise.
8754         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
8755         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
8756         Likewise.
8757         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8758         Likewise.
8759         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8760         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8761         Likewise.
8762         * sysdeps/m68k/ffs.c (__ffs): Likewise.
8763         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
8764         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
8765         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
8766         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
8767         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
8768         * sysdeps/mach/hurd/access.c (__access): Likewise.
8769         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
8770         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
8771         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
8772         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
8773         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
8774         (cthread_getspecific): Likewise.
8775         (cthread_setspecific): Likewise.
8776         (__libc_getspecific): Likewise.
8777         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
8778         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
8779         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
8780         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
8781         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
8782         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
8783         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
8784         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
8785         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
8786         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
8787         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
8788         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
8789         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
8790         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
8791         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
8792         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
8793         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
8794         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
8795         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
8796         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
8797         * sysdeps/mach/hurd/link.c (__link): Likewise.
8798         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
8799         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
8800         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
8801         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
8802         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8803         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
8804         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
8805         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
8806         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
8807         * sysdeps/mach/hurd/rename.c (rename): Likewise.
8808         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
8809         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
8810         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
8811         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
8812         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
8813         * sysdeps/mach/hurd/send.c (__send): Likewise.
8814         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
8815         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
8816         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
8817         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
8818         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
8819         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
8820         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
8821         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
8822         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
8823         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
8824         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
8825         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
8826         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
8827         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
8828         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
8829         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
8830         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
8831         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
8832         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
8833         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
8834         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
8835         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
8836         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
8837         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
8838         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
8839         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
8840         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
8841         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8842         * sysdeps/posix/alarm.c (alarm): Likewise.
8843         * sysdeps/posix/cuserid.c (cuserid): Likewise.
8844         * sysdeps/posix/dirfd.c (dirfd): Likewise.
8845         * sysdeps/posix/dup.c (__dup): Likewise.
8846         * sysdeps/posix/dup2.c (__dup2): Likewise.
8847         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
8848         (main): Likewise.
8849         * sysdeps/posix/flock.c (__flock): Likewise.
8850         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
8851         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
8852         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
8853         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
8854         * sysdeps/posix/isatty.c (__isatty): Likewise.
8855         * sysdeps/posix/killpg.c (killpg): Likewise.
8856         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8857         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
8858         * sysdeps/posix/raise.c (raise): Likewise.
8859         * sysdeps/posix/remove.c (remove): Likewise.
8860         * sysdeps/posix/rename.c (rename): Likewise.
8861         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
8862         * sysdeps/posix/seekdir.c (seekdir): Likewise.
8863         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
8864         * sysdeps/posix/sigignore.c (sigignore): Likewise.
8865         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
8866         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
8867         * sysdeps/posix/sigset.c (sigset): Likewise.
8868         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
8869         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
8870         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
8871         * sysdeps/posix/time.c (time): Likewise.
8872         * sysdeps/posix/ttyname.c (getttyname): Likewise.
8873         (ttyname): Likewise.
8874         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
8875         * sysdeps/posix/utime.c (utime): Likewise.
8876         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
8877         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
8878         Likewise.
8879         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
8880         (pthread_spin_trylock): Likewise.
8881         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
8882         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
8883         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
8884         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
8885         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
8886         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
8887         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
8888         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
8889         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
8890         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
8891         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
8892         * sysdeps/s390/ffs.c (__ffs): Likewise.
8893         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
8894         Likewise.
8895         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8896         Likewise.
8897         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
8898         Likewise.
8899         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
8900         (pthread_barrier_destroy): Likewise.
8901         * sysdeps/sparc/nptl/pthread_barrier_wait.c
8902         (__pthread_barrier_wait): Likewise.
8903         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
8904         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
8905         (__pthread_barrier_wait): Likewise.
8906         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
8907         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
8908         (memcmp_not_common_alignment): Likewise.
8909         (MEMCMP): Likewise.
8910         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
8911         (_wordcopy_fwd_dest_aligned): Likewise.
8912         (_wordcopy_bwd_aligned): Likewise.
8913         (_wordcopy_bwd_dest_aligned): Likewise.
8914         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
8915         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
8916         * sysdeps/unix/bsd/stty.c (stty): Likewise.
8917         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
8918         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
8919         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
8920         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
8921         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
8922         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
8923         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
8924         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
8925         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
8926         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
8927         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
8928         * sysdeps/unix/stime.c (stime): Likewise.
8929         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
8930         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
8931         Likewise.  Use internal_function.
8932         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
8933         Convert to prototype-style function definition.
8934         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8935         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8936         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
8937         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8938         Likewise.  Use internal_function.
8939         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
8940         prototype-style function definition
8941         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8942         Likewise.
8943         (__getlogin_r): Likewise.
8944         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
8945         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
8946         (__pthread_cond_broadcast): Likewise.
8947         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
8948         (__pthread_cond_destroy): Likewise.
8949         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
8950         (__pthread_cond_init): Likewise.
8951         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
8952         (__pthread_cond_signal): Likewise.
8953         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
8954         (__pthread_cond_wait): Likewise.
8955         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
8956         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
8957         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
8958         Likewise.
8959         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
8960         Likewise.
8961         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
8962         Likewise.
8963         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
8964         Likewise.
8965         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
8966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
8967         (__ftruncate64): Likewise.
8968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
8969         (truncate64): Likewise.
8970         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
8971         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
8972         (pthread_getcpuclockid): Likewise.
8973         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
8974         Likewise.
8975         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
8976         Likewise.
8977         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
8978         Likewise.
8979         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
8980         Likewise.
8981         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
8982         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
8983         (__libc_sigaction): Likewise.
8984         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
8985         Likewise.
8986         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
8987         (__sigprocmask): Likewise.
8988         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
8989         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
8990         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
8991         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
8992         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8993         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
8994         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8995         Likewise.
8996         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
8997         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
8998         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8999         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
9000         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
9001         Likewise.
9002         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
9003         (__sigprocmask): Likewise.
9004         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
9005         (cfgetispeed): Likewise.
9006         (cfsetospeed): Likewise.
9007         (cfsetispeed): Likewise.
9008         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
9009         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
9010         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9011         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
9012         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
9013         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
9014         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
9015         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
9016         Likewise.
9017         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
9018         Likewise.
9019         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
9020         Likewise.
9021         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
9022         Likewise.
9023         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9025 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9027         sunrpc: Rewrite with explicit TLS access using __thread.
9028         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
9029         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
9030         directly.
9031         (__rpc_thread_variables): Access thread_rpc_vars directly.
9032         Eliminate redundant assignment of the tvp variable.
9034 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9036         malloc: Rewrite with explicit TLS access using __thread.
9037         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
9038         (tsd_setspecific, tsd_getspecific): Remove.
9039         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
9040         (tsd_setspecific, tsd_getspecific): Likewise.
9041         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
9042         (tsd_setspecific, tsd_getspecific): Likewise.
9043         * malloc/arena.c (thread_arena): New TLS variable.
9044         (arena_key): Remove variable.
9045         (arena_get): Use thread_arena.
9046         (arena_lookup): Remove macro.
9047         (malloc_atfork, free_atfork, ptmalloc_lock_all)
9048         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
9049         (_int_new_arena, get_free_list, reused_arena)
9050         (arena_thread_freeres): Use thread_arena.
9051         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
9052         tsd_getspecific, tsd_setspecific from safety annotations.
9053         (Allocating Cleared Space): Remove arena_lookup from safety
9054         annotations.
9056 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9058         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
9059         struct scratch_buffer instead of extend_alloca.
9061 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9063         * sysdeps/unix/sysv/linux/kernel-features.h
9064         (__ASSUME_SOCK_CLOEXEC): Remove.
9065         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
9066         (__have_paccept): Remove unused macro.
9067         * include/unistd.h (__have_sock_cloexec): Remove declaration.
9068         * misc/syslog.c (openlog_internal): Remove fallback code for
9069         !__ASSUME_SOCK_CLOEXEC.
9070         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
9071         missing SOCK_CLOEXEC.
9072         * nscd/connections.c (have_sock_cloexec): Remove definition.
9073         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9074         * nscd/nscd_helper.c (open_socket): Remove fallback code for
9075         !__ASSUME_SOCK_CLOEXEC.
9076         * resolv/res_send.c (__have_o_nonblock): Remove definition.
9077         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9078         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
9079         definition.
9080         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
9081         code for !__ASSUME_SOCK_CLOEXEC.
9083 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9085         [BZ #18982]
9086         * manual/stdio.texi (Variable Arguments Output): Add portability
9087         note, explaining that vfprintf clobbers the va_list pointer.
9089 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
9091         * math/libm-test.inc (fabs_test_data): Add more tests.
9092         (fdim_test_data): Likewise.
9093         (fma_test_data): Likewise.
9094         (fmax_test_data): Likewise.
9095         (fmin_test_data): Likewise.
9096         (fmod_test_data): Likewise.
9098 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
9100         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
9101         data.
9103 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
9105         * math/libm-test.inc (ceil_test_data): Add more tests and more
9106         expectations for "inexact".
9107         (floor_test_data): Add more tests.
9108         (round_test_data): Likewise.
9109         (trunc_test_data): Likewise.
9111         * crypt/cert.c (good_bye): Convert to prototype-style function
9112         definition.
9113         (get8): Likewise.
9114         (put8): Likewise.
9115         * crypt/crypt-entry.c (crypt): Likewise.
9116         (__fcrypt): Likewise.
9117         * crypt/crypt_util.c (_ufc_prbits): Likewise.
9118         (_ufc_set_bits): Likewise.
9119         (_ufc_clearmem): Likewise.
9120         (__init_des_r): Likewise.
9121         (shuffle_sb): Likewise.
9122         (shuffle_sb): Likewise.
9123         (_ufc_setup_salt_r): Likewise.
9124         (_ufc_mk_keytab_r): Likewise.
9125         (_ufc_dofinalperm_r): Likewise.
9126         (encrypt): Likewise.
9127         (__setkey_r): Likewise.
9128         (setkey): Likewise.
9129         * crypt/md5.c (md5_init_ctx): Likewise.
9130         (md5_read_ctx): Likewise.
9131         (md5_finish_ctx): Likewise.
9132         (md5_stream): Likewise.
9133         (md5_buffer): Likewise.
9134         (md5_process_bytes): Likewise.
9135         * crypt/sha256.c (__sha256_init_ctx): Likewise.
9136         (__sha256_finish_ctx): Likewise.
9137         (__sha256_process_bytes): Likewise.
9138         * crypt/sha512.c (__sha512_init_ctx): Likewise.
9139         (__sha512_finish_ctx): Likewise.
9140         (__sha512_process_bytes): Likewise.
9141         * ctype/isctype.c (__isctype): Likewise.
9142         * debug/backtrace.c (__backtrace): Likewise.
9143         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
9144         * debug/fgets_chk.c (__fgets_chk): Likewise.
9145         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
9146         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
9147         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9148         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9149         * debug/memset_chk.c (__memset_chk): Likewise.
9150         * debug/strcat_chk.c (__strcat_chk): Likewise.
9151         * debug/strncat_chk.c (__strncat_chk): Likewise.
9152         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
9153         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
9154         * dirent/dirfd.c (dirfd): Likewise.
9155         * dirent/getdents.c (__getdirentries): Likewise.
9156         * dirent/getdents64.c (getdirentries64): Likewise.
9157         * dirent/rewinddir.c (__rewinddir): Likewise.
9158         * dirent/seekdir.c (seekdir): Likewise.
9159         * dirent/telldir.c (telldir): Likewise.
9160         * elf/sln.c (makesymlinks): Likewise.
9161         (makesymlink): Likewise.
9162         * gmon/gmon.c (__moncontrol): Likewise.
9163         (__monstartup): Likewise.
9164         (write_hist): Likewise.
9165         (write_call_graph): Likewise.
9166         (write_bb_counts): Likewise.
9167         * grp/setgroups.c (setgroups): Likewise.
9168         * inet/inet_lnaof.c (inet_lnaof): Likewise.
9169         * inet/inet_net.c (inet_network): Likewise.
9170         * inet/inet_netof.c (inet_netof): Likewise.
9171         * inet/rcmd.c (rresvport_af): Likewise.
9172         (rresvport): Likewise.
9173         * io/access.c (__access): Likewise.
9174         * io/chdir.c (__chdir): Likewise.
9175         * io/chmod.c (__chmod): Likewise.
9176         * io/chown.c (__chown): Likewise.
9177         * io/close.c (__close): Likewise.
9178         * io/creat.c (creat): Likewise.
9179         * io/creat64.c (creat64): Likewise.
9180         * io/dup.c (__dup): Likewise.
9181         * io/dup2.c (__dup2): Likewise.
9182         * io/dup3.c (__dup3): Likewise.
9183         * io/euidaccess.c (__euidaccess): Likewise.
9184         * io/faccessat.c (faccessat): Likewise.
9185         * io/fchmod.c (__fchmod): Likewise.
9186         * io/fchmodat.c (fchmodat): Likewise.
9187         * io/fchown.c (__fchown): Likewise.
9188         * io/fchownat.c (fchownat): Likewise.
9189         * io/fcntl.c (__fcntl): Likewise.
9190         * io/flock.c (__flock): Likewise.
9191         * io/fts.c (fts_load): Likewise.
9192         (fts_close): Likewise.
9193         (fts_read): Likewise.
9194         (fts_set): Likewise.
9195         (fts_children): Likewise.
9196         (fts_build): Likewise.
9197         (fts_stat): Likewise.
9198         (fts_sort): Likewise.
9199         (fts_alloc): Likewise.
9200         (fts_lfree): Likewise.
9201         (fts_palloc): Likewise.
9202         (fts_padjust): Likewise.
9203         (fts_maxarglen): Likewise.
9204         (fts_safe_changedir): Likewise.
9205         * io/getwd.c (getwd): Likewise.
9206         * io/isatty.c (__isatty): Likewise.
9207         * io/lchown.c (__lchown): Likewise.
9208         * io/link.c (__link): Likewise.
9209         * io/linkat.c (linkat): Likewise.
9210         * io/lseek.c (__libc_lseek): Likewise.
9211         * io/mkdir.c (__mkdir): Likewise.
9212         * io/mkdirat.c (mkdirat): Likewise.
9213         * io/mkfifo.c (mkfifo): Likewise.
9214         * io/mkfifoat.c (mkfifoat): Likewise.
9215         * io/open.c (__libc_open): Likewise.
9216         * io/open64.c (__libc_open64): Likewise.
9217         * io/readlink.c (__readlink): Likewise.
9218         * io/readlinkat.c (readlinkat): Likewise.
9219         * io/rmdir.c (__rmdir): Likewise.
9220         * io/symlink.c (__symlink): Likewise.
9221         * io/symlinkat.c (symlinkat): Likewise.
9222         * io/ttyname.c (ttyname): Likewise.
9223         * io/ttyname_r.c (__ttyname_r): Likewise.
9224         * io/umask.c (__umask): Likewise.
9225         * io/unlink.c (__unlink): Likewise.
9226         * io/unlinkat.c (unlinkat): Likewise.
9227         * io/utime.c (utime): Likewise.
9228         * libio/clearerr.c (clearerr): Likewise.
9229         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
9230         * libio/feof.c (_IO_feof): Likewise.
9231         * libio/feof_u.c (feof_unlocked): Likewise.
9232         * libio/ferror.c (_IO_ferror): Likewise.
9233         * libio/ferror_u.c (ferror_unlocked): Likewise.
9234         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9235         * libio/fileno.c (__fileno): Likewise.
9236         * libio/fputc.c (fputc): Likewise.
9237         * libio/fputc_u.c (fputc_unlocked): Likewise.
9238         * libio/fputwc.c (fputwc): Likewise.
9239         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
9240         * libio/freopen.c (freopen): Likewise.
9241         * libio/freopen64.c (freopen64): Likewise.
9242         * libio/fseek.c (fseek): Likewise.
9243         * libio/fseeko.c (fseeko): Likewise.
9244         * libio/fseeko64.c (fseeko64): Likewise.
9245         * libio/ftello.c (__ftello): Likewise.
9246         * libio/ftello64.c (ftello64): Likewise.
9247         * libio/fwide.c (fwide): Likewise.
9248         * libio/genops.c (_IO_un_link): Likewise.
9249         (_IO_link_in): Likewise.
9250         (_IO_least_marker): Likewise.
9251         (_IO_switch_to_main_get_area): Likewise.
9252         (_IO_switch_to_backup_area): Likewise.
9253         (_IO_switch_to_get_mode): Likewise.
9254         (_IO_free_backup_area): Likewise.
9255         (_IO_switch_to_put_mode): Likewise.
9256         (__overflow): Likewise.
9257         (__underflow): Likewise.
9258         (__uflow): Likewise.
9259         (_IO_setb): Likewise.
9260         (_IO_doallocbuf): Likewise.
9261         (_IO_default_underflow): Likewise.
9262         (_IO_default_uflow): Likewise.
9263         (_IO_default_xsputn): Likewise.
9264         (_IO_sgetn): Likewise.
9265         (_IO_default_xsgetn): Likewise.
9266         (_IO_sync): Likewise.
9267         (_IO_default_setbuf): Likewise.
9268         (_IO_default_seekpos): Likewise.
9269         (_IO_default_doallocate): Likewise.
9270         (_IO_init): Likewise.
9271         (_IO_old_init): Likewise.
9272         (_IO_default_sync): Likewise.
9273         (_IO_default_finish): Likewise.
9274         (_IO_default_seekoff): Likewise.
9275         (_IO_sputbackc): Likewise.
9276         (_IO_sungetc): Likewise.
9277         (_IO_set_column): Likewise.
9278         (_IO_set_column): Likewise.
9279         (_IO_adjust_column): Likewise.
9280         (_IO_get_column): Likewise.
9281         (_IO_init_marker): Likewise.
9282         (_IO_remove_marker): Likewise.
9283         (_IO_marker_difference): Likewise.
9284         (_IO_marker_delta): Likewise.
9285         (_IO_seekmark): Likewise.
9286         (_IO_unsave_markers): Likewise.
9287         (_IO_nobackup_pbackfail): Likewise.
9288         (_IO_default_pbackfail): Likewise.
9289         (_IO_default_seek): Likewise.
9290         (_IO_default_stat): Likewise.
9291         (_IO_default_read): Likewise.
9292         (_IO_default_write): Likewise.
9293         (_IO_default_showmanyc): Likewise.
9294         (_IO_default_imbue): Likewise.
9295         (_IO_iter_next): Likewise.
9296         (_IO_iter_file): Likewise.
9297         * libio/getc.c (_IO_getc): Likewise.
9298         * libio/getwc.c (_IO_getwc): Likewise.
9299         * libio/iofclose.c (_IO_new_fclose): Likewise.
9300         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9301         * libio/iofflush.c (_IO_fflush): Likewise.
9302         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
9303         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
9304         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
9305         * libio/iofgets.c (_IO_fgets): Likewise.
9306         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
9307         * libio/iofgetws.c (fgetws): Likewise.
9308         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9309         * libio/iofopen64.c (_IO_fopen64): Likewise.
9310         * libio/iofopncook.c (_IO_cookie_read): Likewise.
9311         (_IO_cookie_write): Likewise.
9312         (_IO_cookie_seek): Likewise.
9313         (_IO_cookie_close): Likewise.
9314         (_IO_cookie_seekoff): Likewise.
9315         (_IO_old_cookie_seek): Likewise.
9316         * libio/iofputs.c (_IO_fputs): Likewise.
9317         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
9318         * libio/iofputws.c (fputws): Likewise.
9319         * libio/iofputws_u.c (fputws_unlocked): Likewise.
9320         * libio/iofread.c (_IO_fread): Likewise.
9321         * libio/iofread_u.c (__fread_unlocked): Likewise.
9322         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
9323         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
9324         * libio/ioftell.c (_IO_ftell): Likewise.
9325         * libio/iofwrite.c (_IO_fwrite): Likewise.
9326         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9327         * libio/iogets.c (_IO_gets): Likewise.
9328         * libio/iopadn.c (_IO_padn): Likewise.
9329         * libio/iopopen.c (_IO_new_proc_open): Likewise.
9330         (_IO_new_popen): Likewise.
9331         (_IO_new_proc_close): Likewise.
9332         * libio/ioputs.c (_IO_puts): Likewise.
9333         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
9334         (_IO_seekoff): Likewise.
9335         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
9336         (_IO_seekpos): Likewise.
9337         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
9338         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
9339         * libio/ioungetc.c (_IO_ungetc): Likewise.
9340         * libio/ioungetwc.c (ungetwc): Likewise.
9341         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9342         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
9343         * libio/iowpadn.c (_IO_wpadn): Likewise.
9344         * libio/libc_fatal.c (__libc_fatal): Likewise.
9345         * libio/memstream.c (__open_memstream): Likewise.
9346         (_IO_mem_sync): Likewise.
9347         (_IO_mem_finish): Likewise.
9348         * libio/oldfileops.c (_IO_old_file_init): Likewise.
9349         (_IO_old_file_close_it): Likewise.
9350         (_IO_old_file_finish): Likewise.
9351         (_IO_old_file_fopen): Likewise.
9352         (_IO_old_file_attach): Likewise.
9353         (_IO_old_file_setbuf): Likewise.
9354         (_IO_old_do_write): Likewise.
9355         (old_do_write): Likewise.
9356         (_IO_old_file_underflow): Likewise.
9357         (_IO_old_file_overflow): Likewise.
9358         (_IO_old_file_sync): Likewise.
9359         (_IO_old_file_seekoff): Likewise.
9360         (_IO_old_file_write): Likewise.
9361         (_IO_old_file_xsputn): Likewise.
9362         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
9363         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9364         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
9365         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
9366         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9367         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
9368         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
9369         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9370         (_IO_old_popen): Likewise.
9371         (_IO_old_proc_close): Likewise.
9372         * libio/oldpclose.c (__old_pclose): Likewise.
9373         * libio/pclose.c (__new_pclose): Likewise.
9374         * libio/peekc.c (_IO_peekc_locked): Likewise.
9375         * libio/putc.c (_IO_putc): Likewise.
9376         * libio/putc_u.c (putc_unlocked): Likewise.
9377         * libio/putchar.c (putchar): Likewise.
9378         * libio/putchar_u.c (putchar_unlocked): Likewise.
9379         * libio/putwc.c (putwc): Likewise.
9380         * libio/putwc_u.c (putwc_unlocked): Likewise.
9381         * libio/putwchar.c (putwchar): Likewise.
9382         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
9383         * libio/rewind.c (rewind): Likewise.
9384         * libio/setbuf.c (setbuf): Likewise.
9385         * libio/setlinebuf.c (setlinebuf): Likewise.
9386         * libio/vasprintf.c (_IO_vasprintf): Likewise.
9387         * libio/vscanf.c (_IO_vscanf): Likewise.
9388         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
9389         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
9390         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
9391         * libio/wgenops.c (_IO_least_wmarker): Likewise.
9392         (_IO_switch_to_main_wget_area): Likewise.
9393         (_IO_switch_to_wbackup_area): Likewise.
9394         (_IO_wsetb): Likewise.
9395         (_IO_wdefault_pbackfail): Likewise.
9396         (_IO_wdefault_finish): Likewise.
9397         (_IO_wdefault_uflow): Likewise.
9398         (__woverflow): Likewise.
9399         (__wuflow): Likewise.
9400         (__wunderflow): Likewise.
9401         (_IO_wdefault_xsputn): Likewise.
9402         (_IO_wdefault_xsgetn): Likewise.
9403         (_IO_wdoallocbuf): Likewise.
9404         (_IO_wdefault_doallocate): Likewise.
9405         (_IO_switch_to_wget_mode): Likewise.
9406         (_IO_free_wbackup_area): Likewise.
9407         (_IO_switch_to_wput_mode): Likewise.
9408         (_IO_sputbackwc): Likewise.
9409         (_IO_sungetwc): Likewise.
9410         (_IO_adjust_wcolumn): Likewise.
9411         (_IO_init_wmarker): Likewise.
9412         (_IO_wmarker_delta): Likewise.
9413         (_IO_seekwmark): Likewise.
9414         (_IO_unsave_wmarkers): Likewise.
9415         * libio/wmemstream.c (open_wmemstream): Likewise.
9416         (_IO_wmem_sync): Likewise.
9417         (_IO_wmem_finish): Likewise.
9418         * locale/nl_langinfo.c (nl_langinfo): Likewise.
9419         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
9420         * locale/programs/simple-hash.c (init_hash): Likewise.
9421         (delete_hash): Likewise.
9422         (insert_entry): Likewise.
9423         (set_entry): Likewise.
9424         (next_prime): Likewise.
9425         (is_prime): Likewise.
9426         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
9427         (xmalloc): Likewise.
9428         (xrealloc): Likewise.
9429         * locale/programs/xstrdup.c (xstrdup): Likewise.
9430         * localedata/collate-test.c (xstrcoll): Likewise.
9431         * localedata/xfrm-test.c (xstrcmp): Likewise.
9432         * login/getlogin_r.c (__getlogin_r): Likewise.
9433         * login/getpt.c (__posix_openpt): Likewise.
9434         * login/login_tty.c (login_tty): Likewise.
9435         * login/setlogin.c (setlogin): Likewise.
9436         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
9437         (mach_msg_destroy_port): Likewise.
9438         (mach_msg_destroy_memory): Likewise.
9439         * malloc/mcheck.c (flood): Likewise.
9440         * misc/acct.c (acct): Likewise.
9441         * misc/brk.c (__brk): Likewise.
9442         * misc/chflags.c (chflags): Likewise.
9443         * misc/chroot.c (chroot): Likewise.
9444         * misc/fchflags.c (fchflags): Likewise.
9445         * misc/fstab.c (getfsspec): Likewise.
9446         (getfsfile): Likewise.
9447         * misc/fsync.c (fsync): Likewise.
9448         * misc/ftruncate.c (__ftruncate): Likewise.
9449         * misc/ftruncate64.c (__ftruncate64): Likewise.
9450         * misc/getdomain.c (getdomainname): Likewise.
9451         (getdomainname): Likewise.
9452         * misc/gethostname.c (__gethostname): Likewise.
9453         * misc/getpass.c (getpass): Likewise.
9454         * misc/getttyent.c (skip): Likewise.
9455         (value): Likewise.
9456         * misc/gtty.c (gtty): Likewise.
9457         * misc/hsearch.c (hsearch): Likewise.
9458         (hcreate): Likewise.
9459         * misc/hsearch_r.c (__hcreate_r): Likewise.
9460         (__hdestroy_r): Likewise.
9461         * misc/ioctl.c (__ioctl): Likewise.
9462         * misc/mkdtemp.c (mkdtemp): Likewise.
9463         * misc/mkostemp.c (mkostemp): Likewise.
9464         * misc/mkostemp64.c (mkostemp64): Likewise.
9465         * misc/mkostemps.c (mkostemps): Likewise.
9466         * misc/mkostemps64.c (mkostemps64): Likewise.
9467         * misc/mkstemp.c (mkstemp): Likewise.
9468         * misc/mkstemp64.c (mkstemp64): Likewise.
9469         * misc/mkstemps.c (mkstemps): Likewise.
9470         * misc/mkstemps64.c (mkstemps64): Likewise.
9471         * misc/mktemp.c (__mktemp): Likewise.
9472         * misc/preadv.c (preadv): Likewise.
9473         * misc/preadv64.c (preadv64): Likewise.
9474         * misc/pwritev.c (pwritev): Likewise.
9475         * misc/pwritev64.c (pwritev64): Likewise.
9476         * misc/readv.c (__readv): Likewise.
9477         * misc/revoke.c (revoke): Likewise.
9478         * misc/setdomain.c (setdomainname): Likewise.
9479         * misc/setegid.c (setegid): Likewise.
9480         * misc/seteuid.c (seteuid): Likewise.
9481         * misc/sethostid.c (sethostid): Likewise.
9482         * misc/sethostname.c (sethostname): Likewise.
9483         * misc/setregid.c (__setregid): Likewise.
9484         * misc/setreuid.c (__setreuid): Likewise.
9485         * misc/sstk.c (sstk): Likewise.
9486         * misc/stty.c (stty): Likewise.
9487         * misc/syscall.c (syscall): Likewise.
9488         * misc/syslog.c (setlogmask): Likewise.
9489         * misc/truncate.c (__truncate): Likewise.
9490         * misc/truncate64.c (truncate64): Likewise.
9491         * misc/ualarm.c (ualarm): Likewise.
9492         * misc/usleep.c (usleep): Likewise.
9493         * misc/ustat.c (ustat): Likewise.
9494         * misc/writev.c (__writev): Likewise.
9495         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
9496         * nptl/old_pthread_cond_broadcast.c
9497         (__pthread_cond_broadcast_2_0): Likewise.
9498         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
9499         Likewise.
9500         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
9501         Likewise.
9502         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
9503         Likewise.
9504         * nptl/pt-raise.c (raise): Likewise.
9505         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
9506         Likewise.
9507         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
9508         * nptl/pthread_barrierattr_destroy.c
9509         (pthread_barrierattr_destroy): Likewise.
9510         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
9511         Likewise.
9512         * nptl/pthread_barrierattr_setpshared.c
9513         (pthread_barrierattr_setpshared): Likewise.
9514         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9515         Likewise.
9516         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
9517         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
9518         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
9519         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
9520         Likewise.
9521         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
9522         Likewise.
9523         * nptl/pthread_condattr_getpshared.c
9524         (pthread_condattr_getpshared): Likewise.
9525         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
9526         Likewise.
9527         * nptl/pthread_condattr_setpshared.c
9528         (pthread_condattr_setpshared): Likewise.
9529         * nptl/pthread_detach.c (pthread_detach): Likewise.
9530         * nptl/pthread_equal.c (__pthread_equal): Likewise.
9531         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
9532         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
9533         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
9534         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
9535         Likewise.
9536         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
9537         Likewise.
9538         * nptl/pthread_mutex_getprioceiling.c
9539         (pthread_mutex_getprioceiling): Likewise.
9540         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
9541         Likewise.
9542         * nptl/pthread_mutexattr_getprotocol.c
9543         (pthread_mutexattr_getprotocol): Likewise.
9544         * nptl/pthread_mutexattr_getpshared.c
9545         (pthread_mutexattr_getpshared): Likewise.
9546         * nptl/pthread_mutexattr_getrobust.c
9547         (pthread_mutexattr_getrobust): Likewise.
9548         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
9549         Likewise.
9550         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
9551         Likewise.
9552         * nptl/pthread_mutexattr_setprioceiling.c
9553         (pthread_mutexattr_setprioceiling): Likewise.
9554         * nptl/pthread_mutexattr_setprotocol.c
9555         (pthread_mutexattr_setprotocol): Likewise.
9556         * nptl/pthread_mutexattr_setpshared.c
9557         (pthread_mutexattr_setpshared): Likewise.
9558         * nptl/pthread_mutexattr_setrobust.c
9559         (pthread_mutexattr_setrobust): Likewise.
9560         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
9561         Likewise.
9562         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
9563         Likewise.
9564         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
9565         Likewise.
9566         * nptl/pthread_rwlockattr_getkind_np.c
9567         (pthread_rwlockattr_getkind_np): Likewise.
9568         * nptl/pthread_rwlockattr_getpshared.c
9569         (pthread_rwlockattr_getpshared): Likewise.
9570         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
9571         Likewise.
9572         * nptl/pthread_rwlockattr_setkind_np.c
9573         (pthread_rwlockattr_setkind_np): Likewise.
9574         * nptl/pthread_rwlockattr_setpshared.c
9575         (pthread_rwlockattr_setpshared): Likewise.
9576         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
9577         Likewise.
9578         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
9579         Likewise.
9580         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
9581         Likewise.
9582         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
9583         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
9584         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
9585         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
9586         * nptl/sem_close.c (sem_close): Likewise.
9587         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
9588         * nptl/sem_init.c (__old_sem_init): Likewise.
9589         * nptl/sigaction.c (__sigaction): Likewise.
9590         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
9591         * posix/_exit.c (_exit): Likewise.
9592         * posix/alarm.c (alarm): Likewise.
9593         * posix/confstr.c (confstr): Likewise.
9594         * posix/fpathconf.c (__fpathconf): Likewise.
9595         * posix/getgroups.c (__getgroups): Likewise.
9596         * posix/getpgid.c (__getpgid): Likewise.
9597         * posix/group_member.c (__group_member): Likewise.
9598         * posix/pathconf.c (__pathconf): Likewise.
9599         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
9600         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
9601         * posix/setgid.c (__setgid): Likewise.
9602         * posix/setpgid.c (__setpgid): Likewise.
9603         * posix/setuid.c (__setuid): Likewise.
9604         * posix/sleep.c (__sleep): Likewise.
9605         * posix/sysconf.c (__sysconf): Likewise.
9606         * posix/times.c (__times): Likewise.
9607         * posix/uname.c (__uname): Likewise.
9608         * posix/waitid.c (__waitid): Likewise.
9609         * pwd/getpw.c (__getpw): Likewise.
9610         * resolv/base64.c (b64_pton): Likewise.
9611         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
9612         * resolv/gethnamaddr.c (Dprintf): Likewise.
9613         (gethostbyname): Likewise.
9614         (gethostbyname2): Likewise.
9615         (gethostbyaddr): Likewise.
9616         (_sethtent): Likewise.
9617         (_gethtbyname): Likewise.
9618         (_gethtbyname2): Likewise.
9619         (_gethtbyaddr): Likewise.
9620         (map_v4v6_address): Likewise.
9621         (map_v4v6_hostent): Likewise.
9622         (addrsort): Likewise.
9623         (ht_sethostent): Likewise.
9624         (ht_gethostbyname): Likewise.
9625         (ht_gethostbyaddr): Likewise.
9626         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
9627         (inet_net_ntop_ipv4): Likewise.
9628         * resolv/inet_neta.c (inet_neta): Likewise.
9629         * resolv/inet_ntop.c (inet_ntop): Likewise.
9630         (inet_ntop4): Likewise.
9631         (inet_ntop6): Likewise.
9632         * resolv/inet_pton.c (__inet_pton): Likewise.
9633         (inet_pton4): Likewise.
9634         (inet_pton6): Likewise.
9635         * resolv/res_debug.c (loc_aton): Likewise.
9636         (loc_ntoa): Likewise.
9637         * resource/getpriority.c (__getpriority): Likewise.
9638         * resource/getrusage.c (__getrusage): Likewise.
9639         * resource/nice.c (nice): Likewise.
9640         * resource/setpriority.c (__setpriority): Likewise.
9641         * resource/setrlimit64.c (setrlimit64): Likewise.
9642         * resource/vlimit.c (vlimit): Likewise.
9643         * resource/vtimes.c (vtimes): Likewise.
9644         * rt/aio_error.c (aio_error): Likewise.
9645         * rt/aio_return.c (aio_return): Likewise.
9646         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
9647         * signal/kill.c (__kill): Likewise.
9648         * signal/killpg.c (killpg): Likewise.
9649         * signal/raise.c (raise): Likewise.
9650         * signal/sigaction.c (__sigaction): Likewise.
9651         * signal/sigaddset.c (sigaddset): Likewise.
9652         * signal/sigaltstack.c (sigaltstack): Likewise.
9653         * signal/sigandset.c (sigandset): Likewise.
9654         * signal/sigblock.c (__sigblock): Likewise.
9655         * signal/sigdelset.c (sigdelset): Likewise.
9656         * signal/sigempty.c (sigemptyset): Likewise.
9657         * signal/sigfillset.c (sigfillset): Likewise.
9658         * signal/sighold.c (sighold): Likewise.
9659         * signal/sigignore.c (sigignore): Likewise.
9660         * signal/sigintr.c (siginterrupt): Likewise.
9661         * signal/sigisempty.c (sigisemptyset): Likewise.
9662         * signal/sigismem.c (sigismember): Likewise.
9663         * signal/signal.c (signal): Likewise.
9664         * signal/sigorset.c (sigorset): Likewise.
9665         * signal/sigpause.c (__sigpause): Likewise.
9666         * signal/sigpending.c (sigpending): Likewise.
9667         * signal/sigprocmask.c (__sigprocmask): Likewise.
9668         * signal/sigrelse.c (sigrelse): Likewise.
9669         * signal/sigreturn.c (__sigreturn): Likewise.
9670         * signal/sigset.c (sigset): Likewise.
9671         * signal/sigsetmask.c (__sigsetmask): Likewise.
9672         * signal/sigstack.c (sigstack): Likewise.
9673         * signal/sigsuspend.c (__sigsuspend): Likewise.
9674         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
9675         * signal/sysv_signal.c (__sysv_signal): Likewise.
9676         * socket/accept.c (accept): Likewise.
9677         * socket/accept4.c (__libc_accept4): Likewise.
9678         * socket/bind.c (__bind): Likewise.
9679         * socket/connect.c (__connect): Likewise.
9680         * socket/getpeername.c (getpeername): Likewise.
9681         * socket/getsockname.c (__getsockname): Likewise.
9682         * socket/getsockopt.c (getsockopt): Likewise.
9683         * socket/listen.c (__listen): Likewise.
9684         * socket/recv.c (__recv): Likewise.
9685         * socket/recvmsg.c (__recvmsg): Likewise.
9686         * socket/send.c (__send): Likewise.
9687         * socket/sendmsg.c (__sendmsg): Likewise.
9688         * socket/shutdown.c (shutdown): Likewise.
9689         * socket/sockatmark.c (sockatmark): Likewise.
9690         * socket/socket.c (__socket): Likewise.
9691         * stdio-common/ctermid.c (ctermid): Likewise.
9692         * stdio-common/cuserid.c (cuserid): Likewise.
9693         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
9694         * stdio-common/remove.c (remove): Likewise.
9695         * stdio-common/rename.c (rename): Likewise.
9696         * stdio-common/renameat.c (renameat): Likewise.
9697         * stdio-common/tempname.c (__gen_tempname): Likewise.
9698         * stdio-common/xbug.c (InitBuffer): Likewise.
9699         (AppendToBuffer): Likewise.
9700         (ReadFile): Likewise.
9701         * stdlib/a64l.c (a64l): Likewise.
9702         * stdlib/drand48_r.c (drand48_r): Likewise.
9703         * stdlib/getcontext.c (getcontext): Likewise.
9704         * stdlib/getenv.c (getenv): Likewise.
9705         * stdlib/l64a.c (l64a): Likewise.
9706         * stdlib/llabs.c (llabs): Likewise.
9707         * stdlib/lldiv.c (lldiv): Likewise.
9708         * stdlib/lrand48_r.c (lrand48_r): Likewise.
9709         * stdlib/mrand48_r.c (mrand48_r): Likewise.
9710         * stdlib/putenv.c (putenv): Likewise.
9711         * stdlib/random.c (__srandom): Likewise.
9712         (__initstate): Likewise.
9713         (__setstate): Likewise.
9714         * stdlib/random_r.c (__srandom_r): Likewise.
9715         (__setstate_r): Likewise.
9716         (__random_r): Likewise.
9717         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
9718         * stdlib/setcontext.c (setcontext): Likewise.
9719         * stdlib/setenv.c (setenv): Likewise.
9720         (unsetenv): Likewise.
9721         * stdlib/srand48.c (srand48): Likewise.
9722         * stdlib/srand48_r.c (__srand48_r): Likewise.
9723         * stdlib/swapcontext.c (swapcontext): Likewise.
9724         * stdlib/system.c (__libc_system): Likewise.
9725         * stdlib/tst-strtod.c (expand): Likewise.
9726         * stdlib/tst-strtol.c (expand): Likewise.
9727         * stdlib/tst-strtoll.c (expand): Likewise.
9728         * streams/fattach.c (fattach): Likewise.
9729         * streams/fdetach.c (fdetach): Likewise.
9730         * streams/getmsg.c (getmsg): Likewise.
9731         * streams/isastream.c (isastream): Likewise.
9732         * string/ffs.c (__ffs): Likewise.
9733         * string/ffsll.c (ffsll): Likewise.
9734         * string/memcmp.c (memcmp_common_alignment): Likewise.
9735         (memcmp_not_common_alignment): Likewise.
9736         (MEMCMP): Likewise.
9737         * string/memcpy.c (memcpy): Likewise.
9738         * string/memmove.c (MEMMOVE): Likewise.
9739         * string/memset.c (memset): Likewise.
9740         * string/rawmemchr.c (RAWMEMCHR): Likewise.
9741         * string/strchrnul.c (STRCHRNUL): Likewise.
9742         * string/strerror.c (strerror): Likewise.
9743         * string/strndup.c (__strndup): Likewise.
9744         * string/strverscmp.c (__strverscmp): Likewise.
9745         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
9746         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
9747         (clnttcp_freeres): Likewise.
9748         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
9749         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
9750         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
9751         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
9752         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
9753         (xdr_callhdr): Likewise.
9754         * sunrpc/rpcinfo.c (udpping): Likewise.
9755         (tcpping): Likewise.
9756         (pstatus): Likewise.
9757         (pmapdump): Likewise.
9758         (brdcst): Likewise.
9759         (deletereg): Likewise.
9760         (getprognum): Likewise.
9761         (getvers): Likewise.
9762         (get_inet_address): Likewise.
9763         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
9764         * sunrpc/svc_udp.c (svcudp_create): Likewise.
9765         (svcudp_stat): Likewise.
9766         (svcudp_recv): Likewise.
9767         (svcudp_reply): Likewise.
9768         (svcudp_getargs): Likewise.
9769         (svcudp_freeargs): Likewise.
9770         (svcudp_destroy): Likewise.
9771         * sunrpc/xdr.c (xdr_bytes): Likewise.
9772         (xdr_netobj): Likewise.
9773         (xdr_string): Likewise.
9774         (xdr_wrapstring): Likewise.
9775         * sunrpc/xdr_float.c (xdr_float): Likewise.
9776         (xdr_double): Likewise.
9777         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
9778         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
9779         * sysvipc/ftok.c (ftok): Likewise.
9780         * sysvipc/msgctl.c (msgctl): Likewise.
9781         * sysvipc/msgget.c (msgget): Likewise.
9782         * sysvipc/msgrcv.c (msgrcv): Likewise.
9783         * sysvipc/msgsnd.c (msgsnd): Likewise.
9784         * sysvipc/semget.c (semget): Likewise.
9785         * sysvipc/semop.c (semop): Likewise.
9786         * sysvipc/shmat.c (shmat): Likewise.
9787         * sysvipc/shmctl.c (shmctl): Likewise.
9788         * sysvipc/shmdt.c (shmdt): Likewise.
9789         * sysvipc/shmget.c (shmget): Likewise.
9790         * termios/cfmakeraw.c (cfmakeraw): Likewise.
9791         * termios/speed.c (cfgetospeed): Likewise.
9792         (cfgetispeed): Likewise.
9793         (cfsetospeed): Likewise.
9794         (cfsetispeed): Likewise.
9795         * termios/tcflow.c (tcflow): Likewise.
9796         * termios/tcflush.c (tcflush): Likewise.
9797         * termios/tcgetattr.c (__tcgetattr): Likewise.
9798         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
9799         * termios/tcgetsid.c (tcgetsid): Likewise.
9800         * termios/tcsendbrk.c (tcsendbreak): Likewise.
9801         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
9802         * time/adjtime.c (__adjtime): Likewise.
9803         * time/dysize.c (dysize): Likewise.
9804         * time/ftime.c (ftime): Likewise.
9805         * time/getitimer.c (__getitimer): Likewise.
9806         * time/gettimeofday.c (__gettimeofday): Likewise.
9807         * time/gmtime.c (__gmtime_r): Likewise.
9808         (gmtime): Likewise.
9809         * time/localtime.c (__localtime_r): Likewise.
9810         (localtime): Likewise.
9811         * time/offtime.c (__offtime): Likewise.
9812         * time/settimeofday.c (__settimeofday): Likewise.
9813         * time/stime.c (stime): Likewise.
9814         * time/strftime_l.c (tm_diff): Likewise.
9815         (iso_week_days): Likewise.
9816         * time/strptime.c (strptime): Likewise.
9817         * time/time.c (time): Likewise.
9818         * time/timespec_get.c (timespec_get): Likewise.
9819         * time/tzset.c (tzset_internal): Likewise.
9820         (compute_change): Likewise.
9821         (__tz_compute): Likewise.
9822         * wcsmbs/btowc.c (__btowc): Likewise.
9823         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
9824         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
9825         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
9826         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
9827         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
9828         * wcsmbs/wcscat.c (__wcscat): Likewise.
9829         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9830         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
9831         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
9832         * wcsmbs/wcscspn.c (wcscspn): Likewise.
9833         * wcsmbs/wcsdup.c (wcsdup): Likewise.
9834         * wcsmbs/wcslen.c (__wcslen): Likewise.
9835         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
9836         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
9837         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
9838         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
9839         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9840         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
9841         * wcsmbs/wcsspn.c (wcsspn): Likewise.
9842         * wcsmbs/wcsstr.c (wcsstr): Likewise.
9843         * wcsmbs/wcstok.c (wcstok): Likewise.
9844         * wcsmbs/wctob.c (wctob): Likewise.
9845         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
9846         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9847         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
9848         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
9849         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
9850         * wcsmbs/wmemset.c (__wmemset): Likewise.
9851         * wctype/wcfuncs.c (__towlower): Likewise.
9852         (__towupper): Likewise.
9854         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
9855         (lll_unlock_elision): Add adapt_count parameter.
9857 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
9859         * sysdeps/nptl/configure.ac: Do not give errors based on the
9860         results of top-level configure tests.
9861         * sysdeps/nptl/configure: Regenerated.
9863         * configure.ac (libc_cv_Bgroup): Remove configure test.
9864         * configure: Regenerated.
9865         * config.make.in (have-Bgroup): Remove variable.
9867         * configure.ac (sizeof_long_double): Remove configure test.
9868         * configure: Regenerated.
9869         * config.make.in (sizeof-long-double): Remove variable.
9871         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
9872         * configure: Regenerated.
9873         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
9874         variable.
9875         (exceptions): Likewise.
9876         * sysdeps/arm/configure: Regenerated.
9877         * config.make.in (exceptions): Remove variable.
9878         * Makeconfig (uses-callbacks): Use -fexceptions instead of
9879         $(exceptions).
9880         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
9881         (CFLAGS-vdprintf_chk.c): Likewise.
9882         (CFLAGS-printf_chk.c): Likewise.
9883         (CFLAGS-fprintf_chk.c): Likewise.
9884         (CFLAGS-vprintf_chk.c): Likewise.
9885         (CFLAGS-vfprintf_chk.c): Likewise.
9886         (CFLAGS-gets_chk.c): Likewise.
9887         (CFLAGS-fgets_chk.c): Likewise.
9888         (CFLAGS-fgets_u_chk.c): Likewise.
9889         (CFLAGS-fread_chk.c): Likewise.
9890         (CFLAGS-fread_u_chk.c): Likewise.
9891         (CFLAGS-wprintf_chk.c): Likewise.
9892         (CFLAGS-fwprintf_chk.c): Likewise.
9893         (CFLAGS-vwprintf_chk.c): Likewise.
9894         (CFLAGS-vfwprintf_chk.c): Likewise.
9895         (CFLAGS-fgetws_chk.c): Likewise.
9896         (CFLAGS-fgetws_u_chk.c): Likewise.
9897         * libio/Makefile (CFLAGS-fileops.c): Likewise.
9898         (CFLAGS-fputc.c): Likewise.
9899         (CFLAGS-fputwc.c): Likewise.
9900         (CFLAGS-freopen64.c): Likewise.
9901         (CFLAGS-freopen.c): Likewise.
9902         (CFLAGS-fseek.c): Likewise.
9903         (CFLAGS-fseeko64.c): Likewise.
9904         (CFLAGS-fseeko.c): Likewise.
9905         (CFLAGS-ftello64.c): Likewise.
9906         (CFLAGS-ftello.c): Likewise.
9907         (CFLAGS-fwide.c): Likewise.
9908         (CFLAGS-genops.c): Likewise.
9909         (CFLAGS-getc.c): Likewise.
9910         (CFLAGS-getchar.c): Likewise.
9911         (CFLAGS-getwc.c): Likewise.
9912         (CFLAGS-getwchar.c): Likewise.
9913         (CFLAGS-iofclose.c): Likewise.
9914         (CFLAGS-iofflush.c): Likewise.
9915         (CFLAGS-iofgetpos64.c): Likewise.
9916         (CFLAGS-iofgetpos.c): Likewise.
9917         (CFLAGS-iofgets.c): Likewise.
9918         (CFLAGS-iofgetws.c): Likewise.
9919         (CFLAGS-iofputs.c): Likewise.
9920         (CFLAGS-iofputws.c): Likewise.
9921         (CFLAGS-iofread.c): Likewise.
9922         (CFLAGS-iofsetpos64.c): Likewise.
9923         (CFLAGS-iofsetpos.c): Likewise.
9924         (CFLAGS-ioftell.c): Likewise.
9925         (CFLAGS-iofwrite.c): Likewise.
9926         (CFLAGS-iogetdelim.c): Likewise.
9927         (CFLAGS-iogetline.c): Likewise.
9928         (CFLAGS-iogets.c): Likewise.
9929         (CFLAGS-iogetwline.c): Likewise.
9930         (CFLAGS-ioputs.c): Likewise.
9931         (CFLAGS-ioseekoff.c): Likewise.
9932         (CFLAGS-ioseekpos.c): Likewise.
9933         (CFLAGS-iosetbuffer.c): Likewise.
9934         (CFLAGS-iosetvbuf.c): Likewise.
9935         (CFLAGS-ioungetc.c): Likewise.
9936         (CFLAGS-ioungetwc.c): Likewise.
9937         (CFLAGS-oldfileops.c): Likewise.
9938         (CFLAGS-oldiofclose.c): Likewise.
9939         (CFLAGS-oldiofgetpos64.c): Likewise.
9940         (CFLAGS-oldiofgetpos.c): Likewise.
9941         (CFLAGS-oldiofsetpos64.c): Likewise.
9942         (CFLAGS-oldiofsetpos.c): Likewise.
9943         (CFLAGS-peekc.c): Likewise.
9944         (CFLAGS-putc.c): Likewise.
9945         (CFLAGS-putchar.c): Likewise.
9946         (CFLAGS-putwc.c): Likewise.
9947         (CFLAGS-putwchar.c): Likewise.
9948         (CFLAGS-rewind.c): Likewise.
9949         (CFLAGS-wfileops.c): Likewise.
9950         (CFLAGS-wgenops.c): Likewise.
9951         (CFLAGS-oldiofopen.c): Likewise.
9952         (CFLAGS-iofopen.c): Likewise.
9953         (CFLAGS-iofopen64.c): Likewise.
9954         (CFLAGS-oldtmpfile.c): Likewise.
9955         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
9956         (CFLAGS-fprintf.c): Likewise.
9957         (CFLAGS-printf.c): Likewise.
9958         (CFLAGS-vfwprintf.c): Likewise.
9959         (CFLAGS-vfscanf.c): Likewise.
9960         (CFLAGS-vfwscanf.c): Likewise.
9961         (CFLAGS-fscanf.c): Likewise.
9962         (CFLAGS-scanf.c): Likewise.
9963         (CFLAGS-isoc99_vfscanf.c): Likewise.
9964         (CFLAGS-isoc99_vscanf.c): Likewise.
9965         (CFLAGS-isoc99_fscanf.c): Likewise.
9966         (CFLAGS-isoc99_scanf.c): Likewise.
9967         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
9968         (CFLAGS-isoc99_fwscanf.c): Likewise.
9969         (CFLAGS-isoc99_vwscanf.c): Likewise.
9970         (CFLAGS-isoc99_vfwscanf.c): Likewise.
9972         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
9973         after mkstemp64.
9974         * login/tst-utmp.c (do_prepare): Likewise.
9975         * rt/tst-aio.c (do_prepare): Likewise.
9976         * rt/tst-aio64.c (do_prepare): Likewise.
9978 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9980         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9981         (__lll_lock_elision): Remove adapt_count decrement...
9982         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9983         (__lll_trylock_elision): Likewise.
9984         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
9985         (__lll_unlock_elision): ... to here. And utilize
9986         new adapt_count parameter.
9987         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
9988         (__lll_unlock_elision): Update to include adapt_count
9989         parameter.
9990         (lll_unlock_elision): Pass pointer to adapt_count
9991         variable.
9993 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9995         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
9996         Add elision adapt_count parameter to list of arguments.
9997         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
9998         (lll_unlock_elision): Update with new parameter list
9999         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
10000         (lll_unlock_elision): Likewise.
10001         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
10002         (lll_unlock_elision): Likewise.
10004 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10006         [BZ #19122]
10007         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
10008         attribute_hidden.
10010         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
10011         attribute_hidden.
10012         [IS_IN (rtld)] (__strdup): Likewise.
10013         [IS_IN (rtld)] (__strerror_r): Likewise.
10014         [IS_IN (rtld)] (__strsep_g): Likewise.
10015         [IS_IN (rtld)] (memchr): Likewise.
10016         [IS_IN (rtld)] (memcmp): Likewise.
10017         [IS_IN (rtld)] (memcpy): Likewise.
10018         [IS_IN (rtld)] (memmove): Likewise.
10019         [IS_IN (rtld)] (memset): Likewise.
10020         [IS_IN (rtld)] (rawmemchr): Likewise.
10021         [IS_IN (rtld)] (stpcpy): Likewise.
10022         [IS_IN (rtld)] (strchr): Likewise.
10023         [IS_IN (rtld)] (strcmp): Likewise.
10024         [IS_IN (rtld)] (strlen): Likewise.
10025         [IS_IN (rtld)] (strnlen): Likewise.
10026         [IS_IN (rtld)] (strsep): Likewise.
10028         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
10029         attribute_hidden.
10030         [IS_IN (rtld)] (__strtoul_internal): Likewise.
10032         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
10033         attribute_hidden.
10034         [IS_IN (rtld)] (__libc_sigaction): Likewise.
10036         * include/setjmp.h (__longjmp): Add attribute_hidden.
10037         [IS_IN (rtld)] (__sigsetjmp): Likewise.
10039         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
10040         Add attribute_hidden.
10042         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
10043         [IS_IN (rtld)] (__open): Likewise.
10044         [IS_IN (rtld)] (__fcntl): Likewise.
10046         * include/dirent.h (__opendirat): Add attribute_hidden.
10047         (__getdents): Likewise.
10048         (__getdents64): Likewise.
10049         (__alloc_dir): Likewise.
10050         [IS_IN (rtld)] (__closedir): Likewise.
10051         [IS_IN (rtld)] (__fdopendir): Likewise.
10052         [IS_IN (rtld)] (__readdir): Likewise.
10053         [IS_IN (rtld)] (__readdir64): Likewise.
10054         [IS_IN (rtld)] (__rewinddir): Likewise.
10056         * include/dlfcn.h (_dl_catch_error): Moved to ...
10057         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
10058         attribute_hidden.
10060         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
10061         (_itoa_word): Likewise.
10063         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
10064         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
10065         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
10066         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
10067         (_dl_higher_prime_number): Likewise.
10068         (_dl_debug_printf_c): Likewise.
10069         (_dl_signal_cerror): Likewise.
10070         (_dl_receive_error): Likewise.
10071         (_dl_reloc_bad_type): Likewise.
10072         (_dl_resolve_conflicts): Likewise.
10073         (_dl_check_all_versions): Likewise.
10074         (_dl_check_map_versions): Likewise.
10075         (_dl_sort_fini): Likewise.
10076         (_dl_debug_initialize): Likewise.
10077         (_dl_init_paths): Likewise.
10078         (_dl_show_auxv): Likewise.
10079         (_dl_next_ld_env_entry): Likewise.
10080         (_dl_important_hwcaps): Likewise.
10081         (_dl_load_cache_lookup): Likewise.
10082         (_dl_update_slotinfo): Likewise.
10083         (_dl_show_scope): Likewise.
10085         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
10086         attribute_hidden.
10087         (_wordcopy_fwd_dest_aligned): Likewise.
10088         (_wordcopy_bwd_aligned): Likewise.
10089         (_wordcopy_bwd_dest_aligned): Likewise.
10091         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10092         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10093         Likewise.
10094         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10095         Likewise.
10096         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
10098 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10100         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
10101         GCC 5 requirement.
10103 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
10105         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
10106         test.
10107         * sysdeps/i386/configure: Regenerated.
10108         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
10109         code unconditional.
10111         * configure.ac (libc_cv_asm_previous_directive): Remove configure
10112         test.
10113         (libc_cv_asm_popsection_directive): Likewise.
10114         * configure: Regenerated.
10115         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
10116         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
10117         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
10118         (__make_section_unallocated): Make definition unconditional.
10119         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
10120         Remove conditional definition.
10121         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
10122         (__make_section_unallocated): Likewise.
10124         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
10125         * configure: Regenerated.
10126         * config.make.in (static-libgcc): Remove variable.
10127         * Makerules (build-shlib-helper): Use -static-libgcc instead of
10128         $(static-libgcc).
10129         (build-module-helper): Likewise.
10131         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
10132         * configure: Regenerated.
10134 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10136         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
10137         (struct char_buffer): New type.
10138         (char_buffer_start, char_buffer_size, char_buffer_error)
10139         (char_buffer_rewind, char_buffer_add): New functions.
10140         (ADDW): Remove macro, replaced by the char_buffer_add function.
10141         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
10142         of extend_alloca.  Make control flow more explicit.
10144 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10146         [BZ #19137]
10147         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10148         Add -fomit-frame-pointer.
10149         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
10151 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10153         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
10154         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
10155         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
10156         only if !__GNUC_PREREQ (5,0).
10157         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
10158         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
10159         (INTERNAL_SYSCALL_NCS): Likewise.
10160         (LOADREGS_0): New macro for GCC 5.
10161         (ASMARGS_0): Likewise.
10162         (LOADREGS_1): Likewise.
10163         (ASMARGS_1): Likewise.
10164         (LOADREGS_2): Likewise.
10165         (ASMARGS_2): Likewise.
10166         (LOADREGS_3): Likewise.
10167         (ASMARGS_3): Likewise.
10168         (LOADREGS_4): Likewise.
10169         (ASMARGS_4): Likewise.
10170         (LOADREGS_5): Likewise.
10171         (ASMARGS_5): Likewise.
10172         (LOADREGS_6): Likewise.
10173         (ASMARGS_6): Likewise.
10175 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10177         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
10178         -fomit-frame-pointer.
10179         (CFLAGS-mmap64.c): Likewise.
10180         (CFLAGS-semtimedop.c): Likewise.
10181         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
10182         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
10183         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10184         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10186 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10188         [BZ #18928]
10189         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
10190         _dl_pointer_guard member.
10191         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
10192         initializer.
10193         (security_init): Always set up pointer guard.
10194         (process_envvars): Do not process LD_POINTER_GUARD.
10196 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
10198         [BZ #19134]
10199         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
10200         (.LC2): Likewise.
10201         (.LC3): Likewise.
10202         (__lround): Do not add 0.5 to integer or out-of-range arguments.
10204 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10206         [BZ #19129]
10207         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
10208         r0 and r1.
10210 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
10212         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
10214 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
10216         * include/stap-probe.h: Fix macro definition formatting.
10218 2015-10-14  Florian Weimer  <fweimer@redhat.com>
10220         [BZ #19074]
10221         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
10222         load and store num_ifs.
10224 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10226         [BZ #18822]
10227         * sysdeps/unix/sysv/linux/sched_getaffinity.c
10228         (__sched_getaffinity_new): Add libc_hidden_proto and
10229         libc_hidden_def.
10231 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10233         [BZ #19007]
10234         * scripts/localplt.awk: Also allow GOT references.
10235         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
10236         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
10237         with "+ REL R_386_GLOB_DAT".
10238         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
10239         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
10241 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10243         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
10244         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10245         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
10246         Likewise.
10247         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
10248         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
10249         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10250         INTERNAL_SYSCALLINTERNAL_SYSCALL and
10251         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10252         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10253         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10254         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10255         Likewise.
10256         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10258 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
10260         [BZ #19125]
10261         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
10262         <math_private.h> and <stdint.h>.
10263         (__llround): Avoid conversions to and from long long int, and
10264         subtractions, where those might raise spurious exceptions.
10265         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
10266         <math_private.h> and <stdint.h>.
10267         (__llroundf): Avoid conversions to and from long long int, and
10268         subtractions, where those might raise spurious exceptions.
10270 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10272         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
10273         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10274         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10275         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
10276         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10277         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10278         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
10279         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
10280         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
10281         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10282         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10283         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10284         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
10285         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10286         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10287         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
10288         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
10289         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10290         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
10291         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
10292         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
10293         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
10294         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
10295         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
10296         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
10297         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10298         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
10299         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10300         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10301         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
10302         (__xstat64_conv): Likewise.
10303         (__xstat32_conv): Likewise.
10305 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10307         * sysdeps/unix/sysv/linux/sysdep.h: New file.
10308         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
10309         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
10310         <sysdeps/unix/sysv/linux/sysdep.h>.
10311         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10312         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
10313         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
10314         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10315         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10316         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
10317         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
10318         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
10319         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
10320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10322         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10323         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10324         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10325         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10326         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10327         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
10328         (sysdep-dl-routines): Add sysdep.
10329         [$(subdir) == nptl] (libpthread-routines): Likewise.
10330         [$(subdir) == rt] (librt-routines): Likewise.
10331         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
10332         PIC when branching to SYSCALL_ERROR_LABEL.
10333         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
10334         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
10335         <sysdeps/unix/sysv/linux/sysdep.h>.
10336         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
10337         (SYSCALL_ERROR_ERRNO): Removed.
10338         (SYSCALL_ERROR_HANDLER): Changed to empty.
10339         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
10340         (__syscall_error): New prototype.
10341         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
10342         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
10344 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10346         [BZ #19124]
10347         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
10348         (_dl_runtime_resolve_avx512): Make it a hidden alias of
10349         _dl_runtime_resolve_avx.
10350         (_dl_runtime_profile_avx512): Make it a hidden alias of
10351         _dl_runtime_profile_avx.
10353 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
10355         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
10356         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
10357         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
10358         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
10360         [BZ #16422]
10361         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
10362         New configure test.
10363         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
10364         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
10365         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
10366         <math_private.h> and <stdint.h>.
10367         (__llrint): Avoid conversions to long long int where those might
10368         raise spurious exceptions.
10369         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
10370         <math_private.h> and <stdint.h>.
10371         (__llrintf): Avoid conversions to long long int where those might
10372         raise spurious exceptions.
10374 2015-10-12  Andreas Schwab  <schwab@suse.de>
10376         [BZ #18969]
10377         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
10378         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
10379         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
10380         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
10381         $(gen-locales).
10382         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
10383         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
10384         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
10385         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
10386         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
10387         $(gen-locales).
10388         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
10389         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
10390         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
10391         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
10392         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
10393         ($(objpfx)tst-ftell-active-handler.out)
10394         ($(objpfx)tst-ftell-append.out)
10395         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
10396         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
10397         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
10398         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
10399         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
10400         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
10401         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
10402         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
10403         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
10404         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
10405         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
10406         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
10407         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
10408         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
10409         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
10410         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
10411         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
10412         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
10413         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
10414         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
10415         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
10416         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
10417         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
10418         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
10419         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
10420         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
10421         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
10422         $(gen-locales).
10423         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
10424         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
10425         $(gen-locales).
10426         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
10427         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
10428         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
10429         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
10430         $(gen-locales).
10431         * libio/tst_wprintf2.c (main): Use explicit locale.
10432         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
10434 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10436         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
10437         __msg_sig_post.
10438         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
10440 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
10442         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10443         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10445         * sysdeps/arm/libm-test-ulps: Regenerated.
10447         [BZ #15470]
10448         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
10450         [BZ #16399]
10451         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
10452         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
10453         and <fix-fp-int-convert-overflow.h>.
10454         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10455         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10456         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
10457         and <fix-fp-int-convert-overflow.h>.
10458         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
10459         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10460         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
10461         <fix-fp-int-convert-overflow.h>.
10462         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10463         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10464         * sysdeps/ieee754/dbl-64/s_lround.c: Include
10465         <fix-fp-int-convert-overflow.h>.
10466         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
10467         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10468         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
10469         and <fix-fp-int-convert-overflow.h>.
10470         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10471         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10472         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
10473         <limits.h> and <fix-fp-int-convert-overflow.h>.
10474         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10475         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10476         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
10477         and <fix-fp-int-convert-overflow.h>.
10478         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10479         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10480         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
10481         and <fix-fp-int-convert-overflow.h>.
10482         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10483         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10484         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
10486 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
10488         [BZ #18589]
10489         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
10490         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
10491         $(gen-locales).
10493 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10494             Phil Blundell <pb@pbcl.net>
10496         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
10497         * nptl/tst-cancel26.c: New file.
10498         * nptl/tst-cancel27.c: Likewise.
10500 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
10502         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
10503         __ILP32__ isn't defined.
10504         (lrint): Likewise.
10505         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
10506         (lrintf): Likewise.
10507         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
10508         (lrintl): Likewise.
10509         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
10510         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
10511         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
10513 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10515         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10516         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10518         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
10519         file.
10520         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
10521         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10523 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
10525         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
10526         configure test.
10527         * sysdeps/i386/configure: Regenerated.
10528         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
10529         configure test.
10530         * sysdeps/x86_64/configure: Regenerated.
10531         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
10532         Make code unconditional.
10534         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
10535         test.
10536         * sysdeps/i386/configure: Regenerated.
10537         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
10538         test.
10539         * sysdeps/x86_64/configure: Regenerated.
10540         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
10541         Make code unconditional.
10542         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
10543         Likewise.
10544         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
10545         Likewise.
10546         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10547         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
10548         code unconditional.
10549         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10550         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
10551         code unconditional.
10552         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10553         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
10554         code unconditional.
10555         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
10556         code unconditional.
10557         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10558         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
10559         code unconditional.
10560         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10561         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
10562         code unconditional.
10563         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10564         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
10565         code unconditional.
10566         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10567         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
10568         code unconditional.
10569         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10570         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
10572         [BZ #19095]
10573         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
10574         mantissa to long int before shifting left.
10576 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
10578         [BZ #19094]
10579         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
10580         <limits.h>.
10581         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10582         when result overflows but exception would not result from cast.
10583         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
10584         <limits.h>.
10585         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10586         when result overflows but exception would not result from cast.
10587         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
10588         <limits.h>.
10589         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10590         when result overflows but exception would not result from cast.
10591         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
10592         <limits.h>.
10593         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10594         when result overflows but exception would not result from cast.
10595         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
10596         <limits.h>.
10597         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10598         when result overflows but exception would not result from cast.
10599         * math/libm-test.inc (lrint_test_data): Add more tests.
10600         (llrint_test_data): Likewise.
10602 2015-10-08  Roland McGrath  <roland@hack.frob.com>
10604         [BZ #18872]
10605         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
10606         Move out from under [$(run-built-tests) = yes] conditional.
10607         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
10608         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
10610 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
10612         [BZ #18589]
10613         * string/Makefile (tests): Add bug-strcoll2.
10614         (LOCALES): Add cs_CZ.UTF-8.
10615         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
10617         [BZ #18589]
10618         * string/bug-strcoll2.c: New file.
10619         * locale/categories.def: Revert commit
10620         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
10621         * locale/langinfo.h: Likewise.
10622         * locale/localeinfo.h: Likewise.
10623         * locale/C-collate.c: Likewise.
10624         * locale/programs/ld-collate.c (collate_output): Likewise.
10625         * string/strcoll_l.c (STRDIFF): Likewise.
10626         (STRCOLL): Likewise.
10627         * wcsmbs/wcscoll_l.c: Likewise.
10629 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
10631         * math/libm-test.inc (lround_test_data): Do not expect the absence
10632         of "inexact" for some tests with non-integer arguments.
10633         (llround_test_data): Likewise.
10635         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
10636         test.
10637         (libc_cv_cc_sse2avx): Likewise.
10638         * sysdeps/i386/configure: Regenerated.
10639         * sysdeps/i386/i686/multiarch/Makefile
10640         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
10641         [$(subdir) = math].
10642         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
10643         code unconditional.
10644         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
10645         Likewise.
10646         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
10647         Likewise.
10648         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
10649         Likewise.
10650         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
10651         test.
10652         (libc_cv_cc_sse2avx): Likewise.
10653         * sysdeps/x86_64/configure: Regenerated.
10654         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
10655         unconditional.
10656         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
10657         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
10658         unconditional.
10659         (_dl_runtime_profile)
10660         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
10661         conditional code.
10662         * sysdeps/x86_64/fpu/multiarch/Makefile
10663         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
10664         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
10665         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10666         * sysdeps/x86_64/fpu/multiarch/e_exp.c
10667         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10668         * sysdeps/x86_64/fpu/multiarch/e_log.c
10669         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10670         * sysdeps/x86_64/fpu/multiarch/s_atan.c
10671         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10672         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
10673         Likewise.
10674         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
10675         Likewise.
10676         * sysdeps/x86_64/fpu/multiarch/s_sin.c
10677         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10678         * sysdeps/x86_64/fpu/multiarch/s_tan.c
10679         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10680         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
10681         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
10682         (HAVE_SSE2AVX_SUPPORT): Likewise.
10684 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
10686         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
10687         instead of #pragma optimize.
10689 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
10691         [BZ #17195]
10692         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
10693         as is similarly done in systrim and _int_free already.
10695 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10697         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
10699 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10701         [BZ #19088]
10702         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
10703         <limits.h>.
10704         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10705         overflows but exception would not result from cast.
10706         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
10707         and <limits.h>.
10708         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10709         overflows but exception would not result from cast.
10710         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
10711         <limits.h>.
10712         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10713         overflows but exception would not result from cast.
10714         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
10715         <limits.h>.
10716         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10717         overflows but exception would not result from cast.
10718         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
10719         <limits.h>.
10720         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10721         overflows but exception would not result from cast.
10722         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
10723         <limits.h>.
10724         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10725         overflows but exception would not result from cast.
10726         * math/libm-test.inc (lround_test_data): Add more tests.
10727         (llround_test_data): Likewise.
10729 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
10731         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
10732         (CFLAGS-ialloc.c): Ditto.
10733         (CFLAGS-scheck.c): Ditto.
10735 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
10737         [BZ #19086]
10738         * manual/filesys.texi (Storage Allocation): Fix argument order for
10739         posix_fallocate64.
10741 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10743         [BZ #19085]
10744         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
10745         exponent below 48 inside case for non-overflowing exponent.
10746         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
10748 2015-10-07  Florian Weimer  <fweimer@redhat.com>
10750         * iconvdata/cp737.h (from_idx): Add const.
10751         * iconvdata/cp775.h (from_idx): Likewise.
10753 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10755         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
10756         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
10757         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
10759         [BZ #19079]
10760         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
10761         file, conditioned on [!_LP64].
10762         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
10763         [!_LP64] (__lround): Do not define as function or alias.
10764         [!_LP64] (lround): Likewise.
10765         [!_LP64] (__lroundl): Likewise.
10766         [!_LP64] (lroundl): Likewise.
10767         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
10768         macro.
10769         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10770         Likewise.
10772 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
10774         * math/libm-test.inc (lrint_test_data): Add more tests.
10775         (llrint_test_data): Likewise.
10776         (lround_test_data): Likewise.
10777         (llround_test_data): Likewise.
10779         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
10780         (llrint_test_data): Add tests used for lrint.
10782         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
10783         test.
10784         * sysdeps/i386/configure: Regenerated.
10785         * sysdeps/i386/i686/multiarch/Makefile
10786         [$(config-cflags-sse4) = yes]: Make code unconditional.
10787         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10788         Likewise.
10789         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
10790         Likewise.
10791         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
10792         test.
10793         * sysdeps/x86_64/configure: Regenerated.
10794         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
10795         Make code unconditional.
10796         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10797         Likewise.
10798         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
10799         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
10801         * scripts/rpm2dynsym.sh: Remove file.
10803 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10805         * configure.ac (libc_cv_cxx_thread_local): Define.
10806         * configure: Regenerate.
10807         * config.make.in (have-cxx-thread_local): Define.
10808         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
10809         (LDLIBS-tst-thread_local1): Define.
10810         (tests): Add tst-thread_local1.
10811         [have-cxx-thread_local != yes] (tests-unsupported): Add
10812         tst-thread_local1.
10813         * nptl/tst-thread_local1.cc: New file.
10815 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
10817         [BZ #19078]
10818         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
10819         (u_thres): Likewise.
10820         (__expl): Determine whether to call __kernel_standard_l based on
10821         value of result, not argument.
10823         * math/libm-test.inc (scalb_test_data): Add more expectations for
10824         the "inexact" exception.
10826         [BZ #19077]
10827         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
10828         0.0L for argument 1.0L.
10830         [BZ #19076]
10831         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
10832         constant 0.0L when computing infinite result.
10834 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10836         [BZ #10432]
10837         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
10838         malloc_usable_size.
10840 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10842         [BZ #19018]
10843         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10844         Mangle function pointer before storing it.
10845         (__call_tls_dtors): Demangle function pointer before calling it.
10847 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10849         [BZ #19012]
10850         * iconv/gconv_db.c (gen_steps): Check for additional errors.
10851         Clean up on failure.
10853 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
10855         [BZ #19071]
10856         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
10857         long int variable to store possibly incremented high part of
10858         mantissa.
10859         * math/libm-test.inc (lround_test_data): Add tests used for
10860         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
10861         for tests requiring 64-bit long.  Do not condition tests on
10862         [TEST_FLOAT] unnecessarily.
10863         (llround_test_data): Add tests used for lround.  Add another
10864         expectation for the "inexact" exception.  Do not condition tests
10865         on [TEST_FLOAT] unnecessarily.
10867         [BZ #887]
10868         [BZ #19049]
10869         [BZ #19050]
10870         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
10871         * sysdeps/ieee754/dbl-64/e_log10.c: Include
10872         <fix-int-fp-convert-zero.h>.
10873         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10874         * sysdeps/ieee754/dbl-64/e_log2.c: Include
10875         <fix-int-fp-convert-zero.h>.
10876         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10877         * sysdeps/ieee754/dbl-64/s_erf.c: Include
10878         <fix-int-fp-convert-zero.h>.
10879         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10880         * sysdeps/ieee754/dbl-64/s_logb.c: Include
10881         <fix-int-fp-convert-zero.h>.
10882         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10883         * sysdeps/ieee754/flt-32/e_log10f.c: Include
10884         <fix-int-fp-convert-zero.h>.
10885         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10886         * sysdeps/ieee754/flt-32/e_log2f.c: Include
10887         <fix-int-fp-convert-zero.h>.
10888         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10889         * sysdeps/ieee754/flt-32/s_erff.c: Include
10890         <fix-int-fp-convert-zero.h>.
10891         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10892         * sysdeps/ieee754/flt-32/s_logbf.c: Include
10893         <fix-int-fp-convert-zero.h>.
10894         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10895         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
10896         <fix-int-fp-convert-zero.h>.
10897         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10898         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
10899         <fix-int-fp-convert-zero.h>.
10900         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10901         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
10902         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
10903         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
10904         file.
10905         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
10907 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
10909         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10911 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
10913         [BZ #19059]
10914         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
10915         overflowing computation.
10916         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10917         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10918         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10919         Likewise.
10920         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10921         Likewise.
10922         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
10923         Likewise.
10924         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10925         Likewise.
10926         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10927         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10928         Likewise.
10929         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10930         Likewise.
10931         * math/libm-test.inc (nexttoward_test_data): Add more tests.
10933         * nss/rewrite_field.c (__nss_rewrite_field): Use
10934         internal_function.
10935         * nss/valid_field.c (__nss_valid_field): Likewise.
10936         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
10938 2015-10-02  Florian Weimer  <fweimer@redhat.com>
10940         [BZ #18724]
10941         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
10942         (__nss_invalid_field_characters, __nss_valid_field)
10943         (__nss_valid_list_field, __nss_rewrite_field): Declare.
10944         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
10945         tst-field.c: New file.
10946         * nss/Makefile (routines): Add valid_field, rewrite_field.
10947         (tests-static): Define unconditionally.
10948         (tests): Include tests-static.
10949         [build-static-nss] (tests-static): Use append.
10950         [build-static-nss] (tests): Remove modification.
10951         * nss/getent.c (print_group): Call putgrent.  Report error.
10952         (print_gshadow): Call putsgent.  Report error.
10953         (print_passwd): Call putpwent.  Report error.
10954         (print_shadow): Call putspent.  Report error.
10955         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
10956         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
10957         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
10958         name, password, directory, shell fields for valid syntax.  Rewrite
10959         GECOS field to match syntax.
10960         * pwd/Makefile (tests): Add tst-putpwent.
10961         * pwd/tst-putpwent.c: New file.
10962         * grp/putgrent.c (putgrent): Convert to ISO function definition.
10963         Check grName, grpasswd, gr_mem fields for valid syntax.
10964         Change loop variable i to size_t.
10965         * grp/Makefile (tests): Add tst-putgrent.
10966         * grp/tst-putgrent.c: New file.
10967         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
10968         valid syntax.
10969         * shadow/Makefile (tests): Add tst-putspent.
10970         * shadow/tst-putspent.c: New file.
10971         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
10972         sg_mem fields for valid syntax.
10973         * gshadow/Makefile (tests): Add tst-putsgent.
10974         * gshadow/tst-putsgent.c: New file.
10976 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10978         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
10979         assembly instructions.
10981 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10983         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
10984         prefix from operands.
10986 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
10988         [BZ #16347]
10989         [BZ #19046]
10990         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
10991         <libc-internal.h>.
10992         (MAXLGM): Do not use diagnostic control macros.
10993         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
10994         threshold for ldbl-128ibm.
10995         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
10996         instead of multiplying by log then subtracting.
10997         * math/auto-libm-test-in: Add more tests of lgamma.
10998         * math/auto-libm-test-out: Regenerated.
11000         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
11001         (TYPE_HEX_DIG): Likewise.
11002         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
11003         precisions when printing floating-point numbers.
11004         (check_float_internal): Likewise.
11006 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
11008         [BZ #16620]
11009         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
11010         of log (10) rounded downward to 48 bits.
11011         (log10_low): Use corresponding low part of log (10).
11013         [BZ #19032]
11014         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
11015         compute result as (x - x) / (x - x) not as 0 / 0.
11016         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11017         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
11019         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11020         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
11021         and expm1.
11022         * math/auto-libm-test-out: Regenerated.
11023         * math/libm-test.inc (acos_test_data): Add more tests.
11024         (asin_test_data): Likewise.
11025         (asinh_test_data): Likewise.
11026         (atan_test_data): Likewise.
11027         (atanh_test_data): Likewise.
11028         (atan2_test_data): Likewise.
11029         (cbrt_test_data): Likewise.
11030         (ceil_test_data): Likewise.
11031         (copysign_test_data): Likewise.
11032         (cos_test_data): Likewise.
11033         (cosh_test_data): Likewise.
11034         (erf_test_data): Likewise.
11035         (erfc_test_data): Likewise.
11036         (exp_test_data): Likewise.
11037         (exp10_test_data): Likewise.
11038         (exp2_test_data): Likewise.
11039         (expm1_test_data): Likewise.
11040         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11042 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
11044         [BZ #19006]
11045         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
11046         to ...
11047         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
11048         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
11049         to ...
11050         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
11051         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
11052         to ...
11053         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
11054         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
11055         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
11056         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
11057         to ...
11058         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
11059         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11060         Moved to ...
11061         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
11062         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11063         Moved to ...
11064         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
11065         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
11066         to ...
11067         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
11068         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11069         Moved to ...
11070         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
11071         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
11072         to ...
11073         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
11074         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
11075         Removed.
11076         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
11077         Likewise.
11078         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
11079         Likewise.
11080         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
11081         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
11082         Likewise.
11083         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11084         Likewise.
11085         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11086         Likewise.
11087         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11088         Likewise.
11089         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11090         Likewise.
11091         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
11092         Likewise.
11093         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
11094         Likewise.
11095         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
11096         Likewise.
11097         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
11098         Likewise.
11099         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
11100         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
11101         Likewise.
11102         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11103         Likewise.
11104         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11105         Likewise.
11106         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11107         Likewise.
11108         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
11109         Likewise.
11110         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11111         Replace ../i486/pthread_cond_timedwait.S with
11112         ../pthread_cond_timedwait.S.
11114 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
11116         * math/libm-test.inc (acos_test_data): Refine expectations for
11117         errno and "inexact" exceptions.
11118         (acosh_test_data): Likewise.
11119         (asin_test_data): Likewise.
11120         (asinh_test_data): Likewise.
11121         (atan_test_data): Likewise.
11122         (atanh_test_data): Likewise.
11123         (atan2_test_data): Likewise.
11124         (cbrt_test_data): Likewise.
11125         (ceil_test_data): Likewise.
11126         (copysign_test_data): Likewise.
11127         (cosh_test_data): Likewise.
11128         (erf_test_data): Likewise.
11129         (erfc_test_data): Likewise.
11130         (exp_test_data): Likewise.
11131         (exp10_test_data): Likewise.
11132         (exp2_test_data): Likewise.
11133         (expm1_test_data): Likewise.
11134         (fabs_test_data): Likewise.
11135         (floor_test_data): Likewise.
11136         (fma_test_data): Likewise.
11137         (fmax_test_data): Likewise.
11138         (fmin_test_data): Likewise.
11139         (fmod_test_data): Likewise.
11140         (fpclassify_test_data): Likewise.
11141         (frexp_test_data): Likewise.
11142         (hypot_test_data): Likewise.
11143         (ilogb_test_data): Likewise.
11144         (isgreater_test_data): Likewise.
11145         (isgreaterequal_test_data): Likewise.
11146         (isinf_test_data): Likewise.
11147         (isless_test_data): Likewise.
11148         (islessequal_test_data): Likewise.
11149         (islessgreater_test_data): Likewise.
11150         (isnan_test_data): Likewise.
11151         (isnormal_test_data): Likewise.
11152         (issignaling_test_data): Likewise.
11153         (isunordered_test_data): Likewise.
11154         (j0_test_data): Likewise.
11155         (j1_test_data): Likewise.
11156         (jn_test_data): Likewise.
11157         (lgamma_test_data): Likewise.
11158         (lrint_test_data): Likewise.
11159         (llrint_test_data): Likewise.
11160         (log_test_data): Likewise.
11161         (log10_test_data): Likewise.
11162         (log1p_test_data): Likewise.
11163         (log2_test_data): Likewise.
11164         (logb_test_data): Likewise.
11165         (lround_test_data): Likewise.
11166         (llround_test_data): Likewise.
11167         (modf_test_data): Likewise.
11168         (nearbyint_test_data): Likewise.
11169         (nextafter_test_data): Likewise.
11170         (nexttoward_test_data): Likewise.
11171         (pow_test_data): Likewise.
11172         (remainder_test_data): Likewise.
11173         (remquo_test_data): Likewise.
11174         (rint_test_data): Likewise.
11175         (round_test_data): Likewise.
11176         (signbit_test_data): Likewise.
11177         (sinh_test_data): Likewise.
11178         (sqrt_test_data): Likewise.
11179         (tanh_test_data): Likewise.
11180         (tgamma_test_data): Likewise.
11181         (trunc_test_data): Likewise.
11182         (y0_test_data): Likewise.
11183         (y1_test_data): Likewise.
11184         (yn_test_data): Likewise.
11185         (significand_test_data): Likewise.
11187 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
11189         * manual/filesys.texi (Storage Allocation): Document that
11190         posix_fallocate emulation fails when fd is open with O_WRONLY.
11192 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
11194         [BZ #19016]
11195         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
11196         allow more cases with X^2 + Y^2 >= 0.5.
11197         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
11198         normal element in sum instead of special-casing based on values of
11199         arguments.
11200         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
11201         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
11202         -1 as normal element in sum instead of special-casing based on
11203         values of arguments.
11204         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
11205         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
11206         (__x2y2m1): Update comment.
11207         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
11208         as normal element in sum instead of special-casing based on values
11209         of arguments.
11210         * math/s_clog.c (__clog): Handle more cases using log1p without
11211         hypot.
11212         * math/s_clog10.c (__clog10): Likewise.
11213         * math/s_clog10f.c (__clog10f): Likewise.
11214         * math/s_clog10l.c (__clog10l): Likewise.
11215         * math/s_clogf.c (__clogf): Likewise.
11216         * math/s_clogl.c (__clogl): Likewise.
11217         * math/auto-libm-test-in: Add more tests of clog and clog10.
11218         * math/auto-libm-test-out: Regenerated.
11219         * sysdeps/i386/fpu/libm-test-ulps: Update.
11220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11222 2015-09-28  Martin Sebor  <msebor@redhat.com>
11224         [BZ #18969]
11225         * string/Makefile (LOCALES): Define.
11226         (gen-locales.mk): Include.
11227         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
11228         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
11229         * string/tst-strxfrm2.c (do_test): Print the name of the locale
11230         on setlocale failure.
11232 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
11234         [BZ #18985]
11235         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
11236         (__strftime_internal): Likewise.
11237         * time/tst-strftime.c (do_bz18985): New test.
11238         (do_test): Call it.
11240 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
11242         [BZ #18956]
11243         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
11244         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
11245         extracting high part.
11246         * math/auto-libm-test-in: Add another test of pow.
11247         * math/auto-libm-test-out: Regenerated.
11248         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11250 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
11252         [BZ #18825]
11253         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
11254         New macro.
11255         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
11256         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11257         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
11258         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
11259         DBL_NARROW_EVAL, reloading the PIC register as needed.
11260         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
11261         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
11262         FLT_NARROW_EVAL.  Use separate return path for case when first
11263         argument is NaN.
11264         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
11265         DEFINE_LDBL_MIN.
11266         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
11267         PIC register.
11268         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
11269         math_check_force_underflow_nonneg.
11270         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
11271         underflow for subnormal result.
11272         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11273         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
11274         math_check_force_underflow_nonneg.
11275         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
11276         math_check_force_underflow.
11277         * sysdeps/x86_64/fpu/x86_64-math-asm.h
11278         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
11279         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
11280         DEFINE_LDBL_MIN.
11281         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
11282         * math/auto-libm-test-in: Add more tests of pow.
11283         * math/auto-libm-test-out: Regenerated.
11285 2015-09-25  Florian Weimer  <fweimer@redhat.com>
11287         * nss/bug17079.c (init_test_items): Add diagnostic for
11288         inconsistent entries.
11289         (test_buffer_size): Skip inconsistent entries.
11291 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
11293         [BZ #13304]
11294         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
11295         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
11296         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
11298         [BZ #13304]
11299         * sysdeps/microblaze/s_fma.c: New file.
11300         * sysdeps/microblaze/s_fmaf.c: Likewise.
11301         * sysdeps/microblaze/sfp-machine.h: Likewise.
11303 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
11305         [BZ #17250]
11306         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
11307         member.
11309 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
11311         [BZ #18803]
11312         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
11313         (MO): New macro.
11314         (__ieee754_hypot) [PIC]: Load PIC register.
11315         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
11316         DBL_NARROW_EVAL.
11317         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
11318         math_check_force_underflow_nonneg in case where result might be
11319         tiny.
11320         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11321         Likewise.
11322         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11323         Likewise.
11324         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11325         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
11326         * math/auto-libm-test-in: Add more tests of hypot.
11327         * math/auto-libm-test-out: Regenerated.
11329 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
11331         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
11333 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
11335         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
11336         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
11337         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11338         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11339         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
11340         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11341         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11343         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
11344         LOAD_PIC_REG.
11346         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
11347         (FLT_CHECK_FORCE_UFLOW): Likewise.
11348         (DBL_CHECK_FORCE_UFLOW): Likewise.
11349         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
11350         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
11351         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
11352         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11353         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11354         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11355         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11356         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11357         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
11358         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11359         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
11360         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
11361         (flt_min): Replace with use of DEFINE_FLT_MIN.
11362         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
11363         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
11364         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11365         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
11366         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
11367         (flt_min): Replace with use of DEFINE_FLT_MIN.
11368         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
11369         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
11370         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11371         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
11372         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
11373         (flt_min): Replace with use of DEFINE_FLT_MIN.
11374         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
11375         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
11376         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11377         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11378         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
11379         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11380         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11381         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
11382         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11383         (__atan): Use DBL_CHECK_FORCE_UFLOW.
11384         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
11385         (flt_min): Replace with use of DEFINE_FLT_MIN.
11386         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
11387         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
11388         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11389         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
11390         main computation.
11391         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
11392         (flt_min): Replace with use of DEFINE_FLT_MIN.
11393         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
11394         main computation.
11395         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
11396         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11397         (MO): New macro.
11398         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
11399         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
11400         (flt_min): Replace with use of DEFINE_FLT_MIN.
11401         (MO): New macro.
11402         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
11403         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
11404         (__log1pl): Use MO.
11406         [BZ #19003]
11407         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
11408         $(config-cflags-nofma).
11410 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11412         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11414 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
11416         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
11417         (TWO127): Likewise.
11419         * sysdeps/generic/math_private.h (fabs_tg): New macro.
11420         (min_of_type): Likewise.
11421         (math_check_force_underflow): Likewise.
11422         (math_check_force_underflow_nonneg): Likewise.
11423         (math_check_force_underflow_complex): Likewise.
11424         * math/e_exp2l.c (__ieee754_exp2l): Use
11425         math_check_force_underflow_nonneg.
11426         * math/k_casinh.c (__kernel_casinh): Likewise.
11427         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11428         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11429         * math/s_catan.c (__catan): Use
11430         math_check_force_underflow_complex.
11431         * math/s_catanf.c (__catanf): Likewise.
11432         * math/s_catanh.c (__catanh): Likewise.
11433         * math/s_catanhf.c (__catanhf): Likewise.
11434         * math/s_catanhl.c (__catanhl): Likewise.
11435         * math/s_catanl.c (__catanl): Likewise.
11436         * math/s_ccosh.c (__ccosh): Likewise.
11437         * math/s_ccoshf.c (__ccoshf): Likewise.
11438         * math/s_ccoshl.c (__ccoshl): Likewise.
11439         * math/s_cexp.c (__cexp): Likewise.
11440         * math/s_cexpf.c (__cexpf): Likewise.
11441         * math/s_cexpl.c (__cexpl): Likewise.
11442         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
11443         * math/s_clog10.c (__clog10): Likewise.
11444         * math/s_clog10f.c (__clog10f): Likewise.
11445         * math/s_clog10l.c (__clog10l): Likewise.
11446         * math/s_clogf.c (__clogf): Likewise.
11447         * math/s_clogl.c (__clogl): Likewise.
11448         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
11449         * math/s_csinf.c (__csinf): Likewise.
11450         * math/s_csinh.c (__csinh): Likewise.
11451         * math/s_csinhf.c (__csinhf): Likewise.
11452         * math/s_csinhl.c (__csinhl): Likewise.
11453         * math/s_csinl.c (__csinl): Likewise.
11454         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
11455         * math/s_csqrtf.c (__csqrtf): Likewise.
11456         * math/s_csqrtl.c (__csqrtl): Likewise.
11457         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
11458         * math/s_ctanf.c (__ctanf): Likewise.
11459         * math/s_ctanh.c (__ctanh): Likewise.
11460         * math/s_ctanhf.c (__ctanhf): Likewise.
11461         * math/s_ctanhl.c (__ctanhl): Likewise.
11462         * math/s_ctanl.c (__ctanl): Likewise.
11463         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
11464         instead of volatile.
11465         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
11466         math_check_force_underflow.
11467         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11468         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
11469         volatile when forcing underflow.
11470         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11471         math_check_force_underflow_nonneg.
11472         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11473         Likewise.
11474         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
11475         math_check_force_underflow.
11476         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11477         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11478         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11479         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
11480         math_check_force_underflow_nonneg.
11481         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
11482         math_check_force_underflow.
11483         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
11484         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
11485         instead of volatile.
11486         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
11487         math_check_force_underflow.
11488         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11489         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
11490         math_check_force_underflow_nonneg.
11491         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
11492         math_check_force_underflow.
11493         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
11494         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11495         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
11496         math_check_force_underflow_nonneg.
11497         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11498         Likewise.
11499         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
11500         math_check_force_underflow.
11501         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11502         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11503         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
11504         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
11505         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11506         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
11507         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
11508         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
11509         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11510         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
11511         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
11512         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
11513         Likewise.
11514         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
11515         math_check_force_underflow_nonneg.
11516         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11517         Likewise.
11518         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
11519         math_check_force_underflow.
11520         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11521         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
11522         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11523         Likewise.
11524         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
11525         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
11526         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
11527         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
11528         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
11529         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
11530         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
11531         instead of volatile.
11532         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
11533         math_check_force_underflow.
11534         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
11535         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
11536         math_check_force_underflow.
11537         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
11538         Likewise.
11539         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11540         Use math_check_force_underflow_nonneg.
11541         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
11542         math_check_force_underflow.
11543         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
11544         Likewise.
11545         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11546         Likewise.
11547         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11548         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11549         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11550         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11551         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
11552         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11553         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
11554         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
11555         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
11556         math_check_force_underflow_nonneg.
11557         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
11558         math_check_force_underflow.
11559         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11560         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
11561         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
11562         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
11563         math_check_force_underflow_nonneg.
11564         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
11565         math_check_force_underflow.
11566         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
11567         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
11568         instead of volatile.
11569         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
11570         math_check_force_underflow.
11572         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
11573         * stdlib/strtod_l.c: Include <math_private.h>.
11574         (overflow_value): Use math_narrow_eval.
11575         (underflow_value): Likewise.
11576         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11577         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11578         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
11579         (__ieee754_gamma_r): Likewise.
11580         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
11581         Likewise.
11582         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11583         Likewise.
11584         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
11585         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
11586         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
11587         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
11588         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11589         (__ieee754_gammaf_r): Likewise.
11590         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11591         Likewise.
11592         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
11593         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
11594         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
11595         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
11596         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
11597         volatile.
11598         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
11599         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
11600         math_narrow_eval.
11601         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11602         Likewise.
11603         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11604         Likewise.
11605         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
11606         Likewise.
11607         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
11608         volatile.
11609         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
11610         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
11611         math_narrow_eval.
11612         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11613         Likewise.
11614         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11615         Likewise.
11617 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
11619         * nptl/Versions: Remove ignored symbols.
11621 2015-09-22  Florian Weimer  <fweimer@redhat.com>
11623         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
11624         * nss/Makefile (tests): Update.
11626 2015-09-22  Florian Weimer  <fweimer@redhat.com>
11628         * nss/bug18287.c: New file.
11629         * nss/Makefile (tests): Add bug18287.
11631 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11633         * mach/Versions (__mach_host_self_): Add symbol.
11635 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11637         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
11638         vm_page_size.
11640 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11642         Really fix sysdeps/i386/fpu/s_scalbn.S build
11644         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
11645         (libc: GLIBC_2_22): Remove unused version set.
11647 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
11649         * config.make.in (enable-timezone-tools): New variable.
11650         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
11651         (enable_timezone_tools): Export to generated files.
11652         * configure: Regenerate.
11653         * INSTALL: Regenerate.
11654         * manual/install.texi (--disable-timezone-tools): Document new flag.
11655         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
11656         ifeq ($(enable-timezone-tools),yes) check.
11658 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11660         * timezone/Makefile: Revert previous change.
11662         [BZ #18980]
11663         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
11664         (DEFINE_DBL_MIN): Likewise.
11665         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
11666         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
11667         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
11668         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
11669         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
11670         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11671         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11672         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
11673         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
11674         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11675         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11676         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
11677         (flt_min): Replace with use of DEFINE_FLT_MIN.
11678         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11679         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
11680         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11681         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11682         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
11683         (flt_min): Replace with use of DEFINE_FLT_MIN.
11684         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11685         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
11686         (flt_min): Replace with use of DEFINE_FLT_MIN.
11687         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11688         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
11689         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
11690         (__ieee754_hypot): Use DBL_NARROW_EVAL.
11691         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
11692         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
11693         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
11694         (__ieee754_pow): Use DBL_NARROW_EVAL.
11695         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
11696         (__ieee754_powf): Use FLT_NARROW_EVAL.
11697         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
11698         (__ieee754_expf_sse2): Convert double-precision result to single
11699         precision.
11700         * sysdeps/i386/fpu/libm-test-ulps: Update.
11702 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11704         * timezone/Makefile: Ignore unused variable errors due to private.h
11705         (time_t_min) and (time_t_max).
11706         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
11707         Likewise.
11709 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11711         [BZ #18981]
11712         * sysdeps/i386/fpu/i386-math-asm.h: New file.
11713         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
11714         (__ieee754_scalb): Use DBL_NARROW_EVAL.
11715         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
11716         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
11717         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
11718         (__scalbn): Use DBL_NARROW_EVAL.
11719         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
11720         (__scalbnf): Use FLT_NARROW_EVAL.
11722 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11724         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
11725         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
11726         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
11727         * stdio-common/printf_fp.c (___printf_fp):
11728         Use signbit to get the sign. Use isinf macro to allow inlining.
11729         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
11730         * stdio-common/printf_size.c (__printf_size): Likewise.
11732 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
11734         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
11736 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11738         [BZ #18980]
11739         * sysdeps/generic/math_private.h: Include <float.h>.
11740         (math_narrow_eval): New macro.
11741         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11742         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
11743         math_narrow_eval on overflowing return value.
11744         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
11745         Likewise.
11746         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11747         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
11748         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
11749         Likewise.
11750         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11752 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11754         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
11755         * math/Makefile: Remove isinf_ns.c.
11756         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
11757         * math/multc3.c (__multc3): Likewise.
11758         * math/s_casin.c (__casin): Likewise.
11759         * math/s_casinf.c (__casinf): Likewise.
11760         * math/s_casinl.c (__casinl): Likewise.
11761         * math/s_cproj.c (__cproj): Likewise.
11762         * math/s_cprojf.c (__cprojf): Likewise.
11763         * math/s_cprojl.c (__cprofl): Likewise.
11764         * math/s_ctan.c (__ctan): Likewise.
11765         * math/s_ctanf.c (__ctanf): Likewise.
11766         * math/s_ctanh.c (__ctanh): Likewise.
11767         * math/s_ctanhf.c (__ctanhf): Likewise.
11768         * math/s_ctanhl.c (__ctanhl): Likewise.
11769         * math/s_ctanl.c (__ctanl): Likewise.
11770         * math/w_fmod.c (__fmod): Likewise.
11771         * math/w_fmodf.c (__fmodf): Likewise.
11772         * math/w_fmodl.c (_fmodl): Likewise.
11773         * math/w_remainder.c (__remainder): Likewise.
11774         * math/w_remainderf.c (__remainderf): Likewise.
11775         * math/w_remainderl.c (__remainderl): Likewise.
11776         * math/w_scalb.c (__scalb): Likewise.
11777         * math/w_scalbf.c (__scalbf): Likewise.
11778         * math/w_scalbl.c (__scalbl): Likewise.
11779         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
11780         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
11781         with isinf.
11782         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
11783         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
11784         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
11785         __isinf_nsf with isinf.
11786         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
11787         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
11788         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
11789         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
11790         with isinf.
11791         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
11792         __isinf_nsl with isinf.
11793         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
11794         with isinf.
11795         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
11796         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
11797         __isinf_nsl with isinf.
11798         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
11799         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
11800         with isinf.
11802 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11804         * resolv/base64.c (rcsid): Remove unused static.
11805         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
11806         static.  (tqpi1): Likewise.
11807         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
11808         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
11809         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
11810         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
11811         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
11812         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
11813         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
11814         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
11815         Likewise.
11817 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
11819         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
11820         <nptl/pthreadP.h>.
11821         (_longjmp_unwind): Use __libc_ptf_call.
11822         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
11824 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
11826         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
11827         * sysdeps/arm/__longjmp.S: Likewise.
11829 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11831         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
11832         Use __builtin_signbit.
11833         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
11834         Use __builtin_signbitf.
11835         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
11836         Use __builtin_signbitl.
11837         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11838         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
11840 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11842         [BZ #15367]
11843         [BZ #17441]
11845         * math/Makefile: Build test-snan.c with -fsignaling-nans.
11846         * math/math.h (fpclassify): Use __builtin_fpclassify when
11847         available.  (signbit): Use __builtin_signbit(f/l).
11848         (isfinite): Use__builtin_isfinite.  (isnormal): Use
11849         __builtin_isnormal.  (isnan): Use __builtin_isnan.
11850         (isinf): Use __builtin_isinf_sign.
11852 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11854         * benchtests/Makefile: Add bench-math-inlines, link with libm.
11855         * benchtests/bench-math-inlines.c: New benchmark.
11856         * benchtests/bench-util.h: New file.
11857         * benchtests/bench-util.c: New file.
11858         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
11860 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
11862         * elf/tst-dlmopen1.c: Define TEST_SO.
11863         (do_test): Use TEST_SO.
11865         * elf/dl-load.c: Include libc-internal.h.
11866         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
11868 2015-09-18  Vincent Bernat  <vincent@bernat.im>
11870         [BZ #17887]
11871         * time/strptime_l.c (__strptime_internal): Make %z accept
11872         [+-]HH:MM time zones.
11874 2015-09-18  Vincent Bernat  <vincent@bernat.im>
11876         [BZ #17886]
11877         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
11878         valid time zone.
11880 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
11882         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
11883         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
11884         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11885         (__ASSUME_FDATASYNC): Delete.
11887 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11889         * conform/linknamespace.pl: Require weak undefined symbols to be
11890         in the standard namespace.
11891         (%strong_syms): Rename to %seen_syms.
11892         (%strong_seen): Rename to %seen_where.
11894 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
11896         [BZ #18970]
11897         * misc/error.c (error): Replace pthread_setcancelstate with
11898         __pthread_setcancelstate.
11899         (error_at_line): Likewise.
11900         * posix/wordexp.c (parse_comm): Likewise.
11901         * stdlib/fmtmsg.c (fmtmsg): Likewise.
11902         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
11903         (__pthread_setcancelstate): This.
11904         (pthread_setcancelstate): Add an alias.
11905         * nptl/nptl-init.c (pthread_functions): Replace
11906         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
11907         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
11908         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
11909         hidden_proto.
11910         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
11911         it with hidden_def.
11912         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
11913         (pthread_setcancelstate): Renamed to ...
11914         (__pthread_setcancelstate): This.
11915         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
11916         __libc_ptf_call with __pthread_setcancelstate.
11918 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11919             Andreas Schwab  <schwab@suse.de>
11921         [BZ #17118]
11922         * math/s_ctan.c (__ctan): Determine sign of zero real part of
11923         result when imaginary part of argument is infinite using sine and
11924         cosine.
11925         * math/s_ctanf.c (__ctanf): Likewise.
11926         * math/s_ctanl.c (__ctanl): Likewise.
11927         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
11928         of result when real part of argument is infinite using sine and
11929         cosine.
11930         * math/s_ctanhf.c (__ctanhf): Likewise.
11931         * math/s_ctanhl.c (__ctanhl): Likewise.
11932         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
11933         (ctanh_test_data): Add more tests of ctanh.
11935 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11937         [BZ #15384]
11938         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
11939         bit-mask as in subtraction.
11940         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
11941         Likewise.
11942         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
11943         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
11944         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
11946         [BZ #18951]
11947         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
11948         underflow exception for small results.
11949         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11950         Likewise.
11951         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11952         Likewise.
11953         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11954         Likewise.
11955         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11956         Likewise.
11957         * math/auto-libm-test-in: Add more tests of tgamma.
11958         * math/auto-libm-test-out: Regenerated.
11960 2015-09-17  Andreas Schwab  <schwab@suse.de>
11962         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
11964 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
11966         [BZ #18977]
11967         * math/bits/mathcalls.h
11968         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
11969         not declare.
11970         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
11971         Likewise.
11972         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
11973         Likewise.
11974         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
11975         Likewise.
11976         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
11977         Likewise.
11978         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
11979         Likewise.
11980         * conform/data/math.h-data
11981         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
11982         function.
11983         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
11984         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
11985         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
11986         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
11987         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
11988         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
11989         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
11990         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
11991         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
11992         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
11993         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
11995         [BZ #6803]
11996         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
11997         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
11998         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
11999         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
12000         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
12001         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
12002         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
12003         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
12004         [NO_LONG_DOUBLE] (scalbnl): Likewise.
12005         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
12006         Likewise.
12007         [NO_LONG_DOUBLE] (scalbnl): Likewise.
12008         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
12009         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
12010         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
12011         long_double_symbol calls.
12012         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
12013         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
12014         strong alias of __ldexpl.
12015         (scalbnl): Define using long_double_symbol.
12016         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
12017         Remove alias.
12018         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
12019         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
12020         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
12021         (scalbln_test_data): Add more errno expectations.
12023 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
12025         Cache the host port like we cache the task port.  This way we do not
12026         need to call the kernel just to get the port.  Furthermore, we no
12027         longer increase the reference count on every invocation of
12028         `mach_host_self'.
12030         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
12031         Protect declarations against the macro expansion.
12032         * mach/mach_init.c (__mach_host_self_): New variable.
12033         (mach_init): Initialize `__mach_host_self_'.
12034         * mach/mach_init.h (__mach_host_self_): New declaration.
12035         (__mach_host_self, mach_host_self): New macros.
12036         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
12037         Release reference.
12039 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
12041         [BZ #4404]
12042         * po/de.po: Update from Translation Project.
12044         [BZ #16415]
12045         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
12046         (__expm1l): Remove code to handle positive infinity and overflow.
12047         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
12048         variable.
12049         (__expm1l): Remove code to handle positive infinity and overflow.
12051 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
12052             Paul Pluzhnikov  <ppluzhnikov@google.com>
12054         [BZ #18872]
12055         * stdio-common/Makefile (tst-printf-bz18872): New test.
12056         (tst-printf-bz18872-mem.out): Likewise.
12057         * stdio-common/tst-printf-bz18872.sh: Generate new test.
12058         * stdio-common/vfprintf.c: Fix memory leaks.
12060 2015-09-16  Andreas Schwab  <schwab@suse.de>
12062         [BZ #17244]
12063         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
12064         Remove extra va_start/va_end calls.
12066         [BZ #17243]
12067         * posix/execl.c (execl): Add missing va_end.
12068         * posix/execle.c (execle): Likewise.
12069         * posix/execlp.c (execlp): Likewise.
12071 2015-09-15  Roland McGrath  <roland@hack.frob.com>
12073         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
12074         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
12076 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
12078         [BZ #18967]
12079         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
12080         undefine around includes of <bits/mathcalls.h>.
12081         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
12082         not declare function.
12083         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
12084         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
12085         (scalb): Likewise.
12086         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
12087         not define macro.
12088         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
12089         variable.
12090         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12091         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12092         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12094         [BZ #18857]
12095         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
12096         return non-finite argument without doing ordered comparisons on
12097         it.
12099         [BZ #16296]
12100         * math/fenv.h (fegetround): Use __attribute_pure__.
12101         * include/fenv.h (__fegetround): Likewise.
12103         [BZ #18595]
12104         * math/s_ctan.c (__ctan): Force underflow exception for results
12105         whose real or imaginary part has small absolute value.
12106         * math/s_ctanf.c (__ctanf): Likewise.
12107         * math/s_ctanh.c (__ctanh): Likewise.
12108         * math/s_ctanhf.c (__ctanhf): Likewise.
12109         * math/s_ctanhl.c (__ctanhl): Likewise.
12110         * math/s_ctanl.c (__ctanl): Likewise.
12111         * math/auto-libm-test-in: Do not allow missing underflow for ctan
12112         and ctanh.  Add more tests of ctan and ctanh.
12114         [BZ #15918]
12115         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
12116         handling of cases where one argument is an infinity.
12118         [BZ #18875]
12119         [BZ #18966]
12120         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
12121         (MO): New macro.
12122         (__ieee754_exp10): For small results, force underflow exception
12123         and remove excess range and precision from return value.
12124         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
12125         (MO): New macro.
12126         (__ieee754_exp10f): For small results, force underflow exception
12127         and remove excess range and precision from return value.
12128         * math/auto-libm-test-in: Add more tests of exp10.
12129         * math/auto-libm-test-out: Regenerated.
12131 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
12133         [BZ #18875]
12134         [BZ #18961]
12135         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
12136         (MO): New macro.
12137         (__ieee754_exp): For small results, force underflow exception and
12138         remove excess range and precision from return value.
12139         (__exp_finite): Likewise.
12140         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
12141         (MO): New macro.
12142         (__ieee754_expf): For small results, force underflow exception and
12143         remove excess range and precision from return value.
12144         (__expf_finite): Likewise.
12145         * math/auto-libm-test-in: Add more tests of exp.
12146         * math/auto-libm-test-out: Regenerated.
12148         [BZ #16521]
12149         [BZ #18875]
12150         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
12151         small results.
12152         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
12153         (MO): New macro.
12154         (__ieee754_exp2): For small results, force underflow exception and
12155         remove excess range and precision from return value.
12156         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
12157         (MO): New macro.
12158         (__ieee754_exp2f): For small results, force underflow exception
12159         and remove excess range and precision from return value.
12160         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
12161         (MO): New macro.
12162         (__ieee754_exp2l): Force underflow exception for small results.
12163         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12164         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12165         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
12166         (MO): New macro.
12167         (__ieee754_exp2l): Force underflow exception for small results.
12168         * math/auto-libm-test-in: Add more tests or exp2.
12169         * math/auto-libm-test-out: Regenerated.
12171 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
12173         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
12175         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
12176         /dev/null.
12178 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12180         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12181         io fs process)): Drop spurious backslash.
12183 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12185         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
12186         Use sysinfo system call instead of parsing /proc/meminfo.
12187         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
12188         Likewise.
12190 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
12192         [BZ #16985]
12193         * programs/localedef.c (main): Display argv[remaining] when
12194         output_path is NULL.
12196 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12198         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12199         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
12200         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
12201         tanh.
12202         * math/auto-libm-test-out: Regenerated.
12203         * sysdeps/i386/fpu/libm-test-ulps: Update.
12204         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12205         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12208 2015-09-11  Roland McGrath  <roland@hack.frob.com>
12210         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
12211         Use 'override' keyword to freeze the value here, preventing
12212         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
12214 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12216         [BZ #14912]
12217         * sysdeps/aarch64/bits/atomic.h: Move to ...
12218         * sysdeps/aarch64/atomic-machine.h: ...here.
12219         (_AARCH64_BITS_ATOMIC_H): Rename macro to
12220         _AARCH64_ATOMIC_MACHINE_H.
12221         * sysdeps/alpha/bits/atomic.h: Move to ...
12222         * sysdeps/alpha/atomic-machine.h: ...here.
12223         * sysdeps/arm/bits/atomic.h: Move to ...
12224         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
12225         * bits/atomic.h: Move to ...
12226         * sysdeps/generic/atomic-machine.h: ...here.
12227         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12228         * sysdeps/i386/bits/atomic.h: Move to ...
12229         * sysdeps/i386/atomic-machine.h: ...here.
12230         * sysdeps/ia64/bits/atomic.h: Move to ...
12231         * sysdeps/ia64/atomic-machine.h: ...here.
12232         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
12233         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
12234         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12235         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
12236         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
12237         * sysdeps/microblaze/bits/atomic.h: Move to ...
12238         * sysdeps/microblaze/atomic-machine.h: ...here.
12239         * sysdeps/mips/bits/atomic.h: Move to ...
12240         * sysdeps/mips/atomic-machine.h: ...here.
12241         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
12242         * sysdeps/powerpc/bits/atomic.h: Move to ...
12243         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
12244         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
12245         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
12246         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
12247         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
12248         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
12249         <atomic-machine.h> instead of <bits/atomic.h>.
12250         * sysdeps/s390/bits/atomic.h: Move to ...
12251         * sysdeps/s390/atomic-machine.h: ...here.
12252         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
12253         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
12254         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12255         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
12256         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
12257         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
12258         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
12259         * sysdeps/tile/bits/atomic.h: Move to ...
12260         * sysdeps/tile/atomic-machine.h: ...here.
12261         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
12262         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
12263         <sysdeps/tile/atomic-machine.h> instead of
12264         <sysdeps/tile/bits/atomic.h>.
12265         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12266         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
12267         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
12268         <sysdeps/tile/atomic-machine.h> instead of
12269         <sysdeps/tile/bits/atomic.h>.
12270         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12271         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
12272         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
12273         <sysdeps/arm/atomic-machine.h> instead of
12274         <sysdeps/arm/bits/atomic.h>.
12275         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
12276         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
12277         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12278         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
12279         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
12280         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12281         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
12282         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
12283         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
12284         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
12285         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
12286         * sysdeps/x86_64/bits/atomic.h: Move to ...
12287         * sysdeps/x86_64/atomic-machine.h: ...here.
12288         * include/atomic.h: Include <atomic-machine.h> instead of
12289         <bits/atomic.h>.
12291         * sysdeps/mips/mips32/libm-test-ulps: Update.
12292         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12294         [BZ #18952]
12295         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
12296         not convert non-integer negative arguments to int to determine the
12297         value of signgam.
12298         * math/auto-libm-test-in: Add more tests of lgamma.
12299         * math/auto-libm-test-out: Regenerated.
12301         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
12302         cosh, csqrt, erfc, expm1 and lgamma.
12303         * math/auto-libm-test-out: Regenerated.
12304         * sysdeps/i386/fpu/libm-test-ulps: Update.
12305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12307 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
12309         [BZ #2542]
12310         [BZ #2543]
12311         [BZ #2558]
12312         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
12313         __lgamma_neg for arguments from -28.0 to -2.0.
12314         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
12315         __lgamma_negf for arguments from -15.0 to -2.0.
12316         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12317         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
12318         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
12319         Call __lgamma_negl for arguments from -33.0 to -2.0.
12320         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
12321         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
12322         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12323         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
12324         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12325         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12326         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12327         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
12328         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12329         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
12330         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
12331         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
12332         (__lgamma_neg): Likewise.
12333         (__lgamma_negl): Likewise.
12334         (__lgamma_product): Likewise.
12335         (__lgamma_productl): Likewise.
12336         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
12337         * math/auto-libm-test-in: Add more tests of lgamma.
12338         * math/auto-libm-test-out: Regenerated.
12339         * sysdeps/i386/fpu/libm-test-ulps: Update.
12340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12342 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
12344         [BZ #18675]
12345         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
12347 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
12349         [BZ #14912]
12350         * bits/libc-lock.h: Move to ...
12351         * sysdeps/generic/libc-lock.h: ...here.
12352         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12353         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
12354         * sysdeps/mach/hurd/libc-lock.h: ...here.
12355         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12356         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
12357         * sysdeps/mach/bits/libc-lock.h: Move to ...
12358         * sysdeps/mach/libc-lock.h: ...here.
12359         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12360         * sysdeps/nptl/bits/libc-lock.h: Move to ...
12361         * sysdeps/nptl/libc-lock.h: ...here.
12362         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12363         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
12364         * sysdeps/nptl/libc-lockP.h: ...here.
12365         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
12366         * crypt/crypt_util.c: Include <libc-lock.h> instead of
12367         <bits/libc-lock.h>.
12368         * dirent/scandir-tail.c: Likewise.
12369         * dlfcn/dlerror.c: Likewise.
12370         * elf/dl-close.c: Likewise.
12371         * elf/dl-iteratephdr.c: Likewise.
12372         * elf/dl-lookup.c: Likewise.
12373         * elf/dl-open.c: Likewise.
12374         * elf/dl-support.c: Likewise.
12375         * elf/dl-writev.h: Likewise.
12376         * elf/rtld.c: Likewise.
12377         * grp/fgetgrent.c: Likewise.
12378         * gshadow/fgetsgent.c: Likewise.
12379         * gshadow/sgetsgent.c: Likewise.
12380         * iconv/gconv_conf.c: Likewise.
12381         * iconv/gconv_db.c: Likewise.
12382         * iconv/gconv_dl.c: Likewise.
12383         * iconv/gconv_int.h: Likewise.
12384         * iconv/gconv_trans.c: Likewise.
12385         * include/link.h: Likewise.
12386         * inet/getnameinfo.c: Likewise.
12387         * inet/getnetgrent.c: Likewise.
12388         * inet/getnetgrent_r.c: Likewise.
12389         * intl/bindtextdom.c: Likewise.
12390         * intl/dcigettext.c: Likewise.
12391         * intl/finddomain.c: Likewise.
12392         * intl/gettextP.h: Likewise.
12393         * intl/loadmsgcat.c: Likewise.
12394         * intl/localealias.c: Likewise.
12395         * intl/textdomain.c: Likewise.
12396         * libidn/idn-stub.c: Likewise.
12397         * libio/libioP.h: Likewise.
12398         * locale/duplocale.c: Likewise.
12399         * locale/freelocale.c: Likewise.
12400         * locale/newlocale.c: Likewise.
12401         * locale/setlocale.c: Likewise.
12402         * login/getutent_r.c: Likewise.
12403         * login/getutid_r.c: Likewise.
12404         * login/getutline_r.c: Likewise.
12405         * login/utmp-private.h: Likewise.
12406         * login/utmpname.c: Likewise.
12407         * malloc/mtrace.c: Likewise.
12408         * misc/efgcvt.c: Likewise.
12409         * misc/error.c: Likewise.
12410         * misc/fstab.c: Likewise.
12411         * misc/getpass.c: Likewise.
12412         * misc/mntent.c: Likewise.
12413         * misc/syslog.c: Likewise.
12414         * nis/nis_call.c: Likewise.
12415         * nis/nis_callback.c: Likewise.
12416         * nis/nss-default.c: Likewise.
12417         * nis/nss_compat/compat-grp.c: Likewise.
12418         * nis/nss_compat/compat-initgroups.c: Likewise.
12419         * nis/nss_compat/compat-pwd.c: Likewise.
12420         * nis/nss_compat/compat-spwd.c: Likewise.
12421         * nis/nss_nis/nis-alias.c: Likewise.
12422         * nis/nss_nis/nis-ethers.c: Likewise.
12423         * nis/nss_nis/nis-grp.c: Likewise.
12424         * nis/nss_nis/nis-hosts.c: Likewise.
12425         * nis/nss_nis/nis-network.c: Likewise.
12426         * nis/nss_nis/nis-proto.c: Likewise.
12427         * nis/nss_nis/nis-pwd.c: Likewise.
12428         * nis/nss_nis/nis-rpc.c: Likewise.
12429         * nis/nss_nis/nis-service.c: Likewise.
12430         * nis/nss_nis/nis-spwd.c: Likewise.
12431         * nis/nss_nisplus/nisplus-alias.c: Likewise.
12432         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
12433         * nis/nss_nisplus/nisplus-grp.c: Likewise.
12434         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
12435         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
12436         * nis/nss_nisplus/nisplus-network.c: Likewise.
12437         * nis/nss_nisplus/nisplus-proto.c: Likewise.
12438         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
12439         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
12440         * nis/nss_nisplus/nisplus-service.c: Likewise.
12441         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
12442         * nis/ypclnt.c: Likewise.
12443         * nptl/libc_pthread_init.c: Likewise.
12444         * nss/getXXbyYY.c: Likewise.
12445         * nss/getXXent.c: Likewise.
12446         * nss/getXXent_r.c: Likewise.
12447         * nss/nss_db/db-XXX.c: Likewise.
12448         * nss/nss_db/db-netgrp.c: Likewise.
12449         * nss/nss_db/nss_db.h: Likewise.
12450         * nss/nss_files/files-XXX.c: Likewise.
12451         * nss/nss_files/files-alias.c: Likewise.
12452         * nss/nsswitch.c: Likewise.
12453         * posix/regex_internal.h: Likewise.
12454         * posix/wordexp.c: Likewise.
12455         * pwd/fgetpwent.c: Likewise.
12456         * resolv/res_hconf.c: Likewise.
12457         * resolv/res_libc.c: Likewise.
12458         * shadow/fgetspent.c: Likewise.
12459         * shadow/lckpwdf.c: Likewise.
12460         * shadow/sgetspent.c: Likewise.
12461         * socket/opensock.c: Likewise.
12462         * stdio-common/reg-modifier.c: Likewise.
12463         * stdio-common/reg-printf.c: Likewise.
12464         * stdio-common/reg-type.c: Likewise.
12465         * stdio-common/vfprintf.c: Likewise.
12466         * stdio-common/vfscanf.c: Likewise.
12467         * stdlib/abort.c: Likewise.
12468         * stdlib/cxa_atexit.c: Likewise.
12469         * stdlib/fmtmsg.c: Likewise.
12470         * stdlib/random.c: Likewise.
12471         * stdlib/setenv.c: Likewise.
12472         * string/strsignal.c: Likewise.
12473         * sunrpc/auth_none.c: Likewise.
12474         * sunrpc/bindrsvprt.c: Likewise.
12475         * sunrpc/create_xid.c: Likewise.
12476         * sunrpc/key_call.c: Likewise.
12477         * sunrpc/rpc_thread.c: Likewise.
12478         * sysdeps/arm/backtrace.c: Likewise.
12479         * sysdeps/generic/ldsodefs.h: Likewise.
12480         * sysdeps/generic/stdio-lock.h: Likewise.
12481         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
12482         * sysdeps/i386/backtrace.c: Likewise.
12483         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12484         * sysdeps/m68k/backtrace.c: Likewise.
12485         * sysdeps/mach/hurd/cthreads.c: Likewise.
12486         * sysdeps/mach/hurd/dirstream.h: Likewise.
12487         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12488         * sysdeps/nptl/malloc-machine.h: Likewise.
12489         * sysdeps/nptl/stdio-lock.h: Likewise.
12490         * sysdeps/posix/dirstream.h: Likewise.
12491         * sysdeps/posix/getaddrinfo.c: Likewise.
12492         * sysdeps/posix/system.c: Likewise.
12493         * sysdeps/pthread/aio_suspend.c: Likewise.
12494         * sysdeps/s390/s390-32/backtrace.c: Likewise.
12495         * sysdeps/s390/s390-64/backtrace.c: Likewise.
12496         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12497         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12498         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
12499         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
12500         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
12501         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
12502         * sysdeps/unix/sysv/linux/system.c: Likewise.
12503         * sysdeps/x86_64/backtrace.c: Likewise.
12504         * time/alt_digit.c: Likewise.
12505         * time/era.c: Likewise.
12506         * time/tzset.c: Likewise.
12507         * wcsmbs/wcsmbsload.c: Likewise.
12508         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
12509         instead of <bits/libc-lock.h> in comment.
12511 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
12513         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
12514         Only use .set mips2 if the current ISA is below mips2.
12515         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
12516         Likewise.
12517         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
12518         mips32r2 if the current ISA is below mips32r2.
12519         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
12520         (TLS_IE): Updated to use the TLD_RDHWR macro.
12521         (TLS_LE): Likewise.
12522         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
12523         __ASSEMBLER__ condition.
12525 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12527         Fix parallel build of before-compile targets.
12529         * sysdeps/mach/Makefile ($(patsubst
12530         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
12531         mach-before-compile target.
12532         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12533         io fs process)): Move rule to dedicated hurd-before-compile target.
12535 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12537         Fix rules generating headers in hurd/ and mach/ when initial make call
12538         has subdir= explicitly set.
12540         * sysdeps/mach/Makefile ($(patsubst
12541         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
12542         calling $(MAKE).
12543         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12544         io fs process)): Force subdir to hurd when calling $(MAKE).
12545         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
12546         subdir to mach when calling $(MAKE).
12548 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
12550         Check sysheaders when looking for Mach and Hurd headers
12552         * sysdeps/mach/configure.ac: Add sysheaders check.
12553         * sysdeps/mach/configure: Regenerate.
12554         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
12555         * sysdeps/mach/hurd/configure: Regenerate.
12557 2015-09-04  Roland McGrath  <roland@hack.frob.com>
12559         [BZ #18921]
12560         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
12561         Fix inverted sense of test of 'o_directory_works' value.
12562         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
12563         Bernhard Voelker <mail@bernhard-voelker.de>.
12565 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
12567         [BZ #14912]
12568         * bits/linkmap.h: Move to ...
12569         * sysdeps/generic/linkmap.h: ...here.
12570         * sysdeps/aarch64/bits/linkmap.h: Move to ...
12571         * sysdeps/aarch64/linkmap.h: ...here.
12572         * sysdeps/arm/bits/linkmap.h: Move to ...
12573         * sysdeps/arm/linkmap.h: ...here.
12574         * sysdeps/hppa/bits/linkmap.h: Move to ...
12575         * sysdeps/hppa/linkmap.h: ...here.
12576         * sysdeps/ia64/bits/linkmap.h: Move to ...
12577         * sysdeps/ia64/linkmap.h: ...here.
12578         * sysdeps/mips/bits/linkmap.h: Move to ...
12579         * sysdeps/mips/linkmap.h: ...here.
12580         * sysdeps/s390/bits/linkmap.h: Move to ...
12581         * sysdeps/s390/linkmap.h: ...here.
12582         * sysdeps/sh/bits/linkmap.h: Move to ...
12583         * sysdeps/sh/linkmap.h: ...here.
12584         * sysdeps/x86/bits/linkmap.h: Move to ...
12585         * sysdeps/x86/linkmap.h: ...here.
12586         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
12588 2015-09-04  Andreas Schwab  <schwab@suse.de>
12590         [BZ #18635]
12591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
12592         (__makecontext): Terminate FDE before return label.
12593         (__novec_makecontext): Likewise.
12595 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12597         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
12598         first member of struct sv in syscall macro.
12600 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
12602         [BZ #14912]
12603         * bits/stdio-lock.h: Move to ...
12604         * sysdeps/generic/stdio-lock.h: ...here.
12605         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12606         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
12607         * sysdeps/nptl/stdio-lock.h: ...here.
12608         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12609         * include/libio.h: Include <stdio-lock.h> instead of
12610         <bits/stdio-lock.h>.
12611         * sysdeps/nptl/fork.c: Likewise.
12612         * sysdeps/pthread/flockfile.c: Likewise.
12613         * sysdeps/pthread/ftrylockfile.c: Likewise.
12614         * sysdeps/pthread/funlockfile.c: Likewise.
12616         [BZ #14912]
12617         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
12618         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
12619         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
12620         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
12621         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
12622         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12623         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
12625 2015-09-03  Roland McGrath  <roland@hack.frob.com>
12627         * elf/Makefile (test-xfail-tst-protected1a): New variable.
12628         (test-xfail-tst-protected1b): New variable.
12630 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
12632         [BZ #14912]
12633         * bits/libc-tsd.h: Move to ...
12634         * sysdeps/generic/libc-tsd.h: ...here.
12635         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
12636         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
12637         * sysdeps/mach/hurd/libc-tsd.h: ...here.
12638         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
12639         * include/ctype.h: Include <libc-tsd.h> instead of
12640         <bits/libc-tsd.h>.
12641         * include/rpc/rpc.h: Likewise.
12642         * locale/localeinfo.h: Likewise.
12643         * sunrpc/rpc_thread.c: Likewise.
12644         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12645         * sysdeps/nptl/malloc-machine.h: Likewise.
12647         * Makefile (headers): Remove bits/libc-lock.h.
12648         * libio/Makefile (headers): Remove bits/stdio-lock.h.
12650         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
12651         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
12652         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
12653         <bits/stdio-lock.h>.
12654         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
12655         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
12657 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
12659         [BZ #18757]
12660         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
12661         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
12662         BZ #18757.
12664 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
12666         * malloc/mtrace.pl: Filter out NULL entries.
12668 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
12670         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
12671         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
12672         macro.
12674         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
12675         (TCP_CC_INFO): Likewise.
12676         (TCP_SAVE_SYN): Likewise.
12677         (TCP_SAVED_SYN): Likewise.
12679 2015-08-31  Brett Neumeier <brett@neumeier.us>
12681         [BZ #18870]
12682         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
12684 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
12686         [BZ #18873]
12687         Fix broken overflow check in posix_fallocate
12688         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
12689         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
12690         Fix parenthesization typo.
12692 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
12694         [BZ #18887]
12695         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
12696         tst-mntent-blank-passno.
12697         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
12698         * misc/tst-mntent-blank-corrupt.c: New test.
12699         * misc/tst-mntent-blank-passno.c: New test ripped from ...
12700         * misc/tst-mntent.c (do_test): ... here.
12702 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
12704         [BZ #4404]
12705         * po/de.po: Fix SIGALRM typo.
12707 2015-08-28  James Perkins  <james@loowit.net>
12709         * time/tst-strptime2.c (tests): Replace short list of test
12710         strings for strptime %z specifier with code which exhaustively
12711         tests every combination of sign and 0 to 5 digits. Tests for
12712         rejection of invalid strings.
12714 2015-08-28  James Perkins  <james@loowit.net>
12716         [BZ #16141]
12717         * time/strptime_l.c (__strptime_internal): Fix %z minutes
12718         calculation, removing incorrect decimal time rounding, so that
12719         all minute values result in a valid seconds value.
12720         * time/strptime_l.c (__strptime_internal): Extend %z time zone
12721         offset range limits to UTC-99:59 through UTC+99:59 to parse
12722         current and historical use cases.
12723         * time/tst-strptime2.c (tests): Modify and add tests for the
12724         strptime %z input field descriptor, specifically conversion of
12725         minutes to seconds and validating an offset range of -9959 to
12726         +9959.
12728 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12729             Dmitry V. Levin  <ldv@altlinux.org>
12731         [BZ #18877]
12732         * posix/Makefile (tests): Add tst-mmap-offset.
12733         * posix/tst-mmap.c: New file.
12734         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
12735         offset calculation for negative values.
12737 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12739         * sysdeps/i386/init-arch.h: New file.
12740         * sysdeps/i386/i586/init-arch.h: Likewise.
12741         * sysdeps/i386/i686/init-arch.h: Likewise.
12742         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
12743         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
12744         * sysdeps/x86/cpu-features.h (bit_I586): New.
12745         (bit_I686): Likewise.
12746         (bit_CX8): Likewise.
12747         (bit_CMOV): Likewise.
12748         (index_CX8): Likewise.
12749         (index_CMOV): Likewise.
12750         (index_I586): Likewise.
12751         (index_I686): Likewise.
12752         (reg_CX8): Likewise.
12753         (reg_CMOV): Likewise.
12754         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
12755         available at compile-time.
12756         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
12757         available at compile-time.
12758         * sysdeps/x86/init-arch.h (USE_I586): New macro.
12759         (USE_I686): Likewise.
12761 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12763         * sysdeps/i386/bcopy.S: New file.
12764         * sysdeps/i386/bzero.S: Likewise.
12765         * sysdeps/i386/memcpy.S: Likewise.
12766         * sysdeps/i386/memmove.S: Likewise.
12767         * sysdeps/i386/mempcpy.S: Likewise.
12768         * sysdeps/i386/memset.S: Likewise.
12769         * sysdeps/i386/bzero.c: Removed.
12770         * sysdeps/i386/memset.c: Likewise.
12771         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
12772         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
12773         * sysdeps/i386/i586/memset_chk.S: Likewise.
12774         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
12775         * sysdeps/i386/memcpy_chk.S: Here.
12776         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
12777         * sysdeps/i386/memmove_chk.S: Here.
12778         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
12779         * sysdeps/i386/mempcpy_chk.S: Likewise.
12780         * sysdeps/i386/i686/memset_chk.S: Moved to ...
12781         * sysdeps/i386/memset_chk.S: Likewise.
12783 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
12785         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
12786         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
12787         file, move DIAG_POP_NEEDS_COMMENT to end of file.
12788         * soft-fp/fmadf4.c: Ditto.
12789         * soft-fp/fmatf4.c: Ditto.
12791 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12793         * sysdeps/i386/i586/Implies: Removed.
12794         * sysdeps/i386/i686/Implies: Likewise.
12796 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12798         * sysdeps/i386/i486/strlen.S: Moved to ...
12799         * sysdeps/i386/strlen.S: Here.
12801 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12803         * sysdeps/i386/i486/strcat.S: Moved to ...
12804         * sysdeps/i386/strcat.S: Here.
12806 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12808         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
12809         * sysdeps/i386/pthread_spin_trylock.S: Here.
12810         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
12811         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
12813 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12815         * sysdeps/i386/i486/string-inlines.c: Moved to ...
12816         * sysdeps/i386/string-inlines.c: Here.
12818 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12820         * sysdeps/i386/i486/htonl.S: Moved ...
12821         * sysdeps/i386/htonl.S: here.
12823 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12825         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
12826         * sysdeps/i386/bits/atomic.h: Here.
12828 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12830         * sysdeps/i386/i486/Versions: Removed.
12832 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
12834         [BZ #2898]
12835         * misc/mktemp.c: Add mkdtemp to the link_warning message.
12836         Based on patch by Aurelien Jarno.
12838 2015-08-26  Stan Shebs  <stanshebs@google.com>
12840         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
12841         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12843 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12845         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
12846         * sysdeps/powerpc/dl-procinfo.c:
12847         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
12848         feature so it shows when LD_SHOW_AUXV=1.
12850 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12852         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12853         (__arch_compare_and_exchange_val_32_acq): Remove and use common
12854         definition.  ISA 2.07B no longer requires full sync.
12856 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
12858         [BZ #18863]
12859         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
12860         (si_call_addr): Define.
12861         (si_syscall): Define.
12862         (si_arch): Define.
12864 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
12866         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
12867         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
12868         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
12869         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
12870         (__memset_zero_constant_len_parameter): New.
12871         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
12872         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
12873         (__memset_zero_constant_len_parameter): Don't define if
12874         __memset_chk or USE_AS_BZERO are defined.
12876         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
12877         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
12878         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
12880         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
12881         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
12882         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
12883         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
12884         comments.
12885         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
12886         -mno-mmx for $(all-rtld-routines).
12887         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
12888         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
12889         i386.
12891 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
12893         * sysdeps/generic/unwind.h
12894         (_Unwind_Word): Use __mode__(__unwind_word__)
12895         instead of __mode__(__word__).
12896         (_Unwind_Sword): Likewise.
12898         * sysdeps/s390/s390-64/utf8-utf16-z9.c
12899         (MAX_NEEDED_INPUT): New define.
12900         (MAX_NEEDED_OUTPUT): New define.
12902         * NEWS: New item for IBM z13 string optimizations.
12904         * sysdeps/s390/multiarch/memrchr-c.c: New File.
12905         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
12906         * sysdeps/s390/multiarch/memrchr.c: Likewise.
12907         * sysdeps/s390/multiarch/Makefile
12908         (sysdep_routines): Add memrchr functions.
12909         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12910         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
12912         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
12913         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
12914         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
12915         * sysdeps/s390/multiarch/Makefile
12916         (sysdep_routines): Add wmemcmp functions.
12917         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12918         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
12919         * benchtests/bench-wmemcmp.c: New File.
12920         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
12922         * sysdeps/s390/multiarch/wmemset-c.c: New File.
12923         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
12924         * sysdeps/s390/multiarch/wmemset.c: Likewise.
12925         * sysdeps/s390/multiarch/Makefile
12926         (sysdep_routines): Add wmemset functions.
12927         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12928         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
12929         * wcsmbs/wmemset.c: Use WMEMSET if defined.
12930         * string/test-memset.c: Add wmemset support.
12931         * wcsmbs/test-wmemset.c: New File.
12932         * wcsmbs/Makefile (strop-tests): Add wmemset.
12933         * benchtests/bench-memset.c: Add wmemset support.
12934         * benchtests/bench-wmemset.c: New File.
12935         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
12937         * sysdeps/s390/multiarch/memccpy-c.c: New File.
12938         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
12939         * sysdeps/s390/multiarch/memccpy.c: Likewise.
12940         * sysdeps/s390/multiarch/Makefile
12941         (sysdep_routines): Add memccpy functions.
12942         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12943         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
12944         * string/memccpy.c: Use MEMCCPY if defined.
12946         * sysdeps/s390/multiarch/memchr-vx.S: New File.
12947         * sysdeps/s390/multiarch/memchr.c: Likewise.
12948         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
12949         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
12950         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
12951         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
12952         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
12953         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
12954         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
12955         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
12956         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
12957         and rawmemchr functions.
12958         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12959         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
12960         and wmemchr.
12961         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
12962         * string/test-memchr.c: Add wmemchr support.
12963         * wcsmbs/test-wmemchr.c: New File.
12964         * wcsmbs/Makefile (strop-tests): Add wmemchr.
12965         * benchtests/bench-memchr.c: Add wmemchr support.
12966         * benchtests/bench-wmemchr.c: New File.
12967         * benchtests/Makefile (wcsmbs-bench): wmemchr.
12969         * sysdeps/s390/multiarch/strcspn-c.c: New File.
12970         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
12971         * sysdeps/s390/multiarch/strcspn.c: Likewise.
12972         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
12973         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
12974         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
12975         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
12976         wcscspn functions.
12977         * sysdeps/s390/multiarch/ifunc-impl-list.c
12978         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
12979         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
12980         * string/test-strcspn.c: Add wcscspn support.
12981         * wcsmbs/test-wcscspn.c: New File.
12982         * wcsmbs/Makefile (strop-tests): Add wcscspn.
12983         * benchtests/bench-strcspn.c: Add wcscspn support.
12984         * benchtests/bench-wcscspn.c: New File.
12985         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
12987         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
12988         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
12989         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
12990         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
12991         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
12992         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
12993         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
12994         wcspbrk functions.
12995         * sysdeps/s390/multiarch/ifunc-impl-list.c
12996         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
12997         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
12998         * string/test-strpbrk.c: Add wcspbrk support.
12999         * wcsmbs/test-wcspbrk.c: New File.
13000         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
13001         * benchtests/bench-strpbrk.c: Add wcspbrk support.
13002         * benchtests/bench-wcspbrk.c: New File.
13003         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
13005         * sysdeps/s390/multiarch/strspn-c.c: New File.
13006         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
13007         * sysdeps/s390/multiarch/strspn.c: Likewise.
13008         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
13009         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
13010         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
13011         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
13012         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
13013         wcsspn functions.
13014         * sysdeps/s390/multiarch/ifunc-impl-list.c
13015         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
13016         * string/test-strspn.c: Add wcsspn support.
13017         * wcsmbs/test-wcsspn.c: New File.
13018         * wcsmbs/Makefile (strop-tests): Add wcsspn.
13019         * benchtests/bench-strspn.c: Add wcsspn support.
13020         * benchtests/bench-wcsspn.c: New File.
13021         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
13023         * sysdeps/s390/multiarch/strrchr-c.c: New File.
13024         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
13025         * sysdeps/s390/multiarch/strrchr.c: Likewise.
13026         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
13027         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
13028         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
13029         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
13030         wcsrchr functions.
13031         * sysdeps/s390/multiarch/ifunc-impl-list.c
13032         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
13033         * benchtests/bench-wcsrchr.c: New File.
13034         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
13036         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
13037         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
13038         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
13039         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
13040         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
13041         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
13042         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
13043         wcschrnul functions.
13044         * sysdeps/s390/multiarch/ifunc-impl-list.c
13045         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
13046         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
13047         * string/test-strchr.c: Add wcschrnul support.
13048         * wcsmbs/test-wcschrnul.c: New File.
13049         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
13050         * benchtests/bench-strchr.c: Add wcschrnul support.
13051         * benchtests/bench-wcschrnul.c: New File.
13052         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
13054         * sysdeps/s390/multiarch/strchr-c.c: New File.
13055         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
13056         * sysdeps/s390/multiarch/strchr.c: Likewise.
13057         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
13058         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
13059         * sysdeps/s390/multiarch/wcschr.c: Likewise.
13060         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
13061         wcschr functions.
13062         * sysdeps/s390/multiarch/ifunc-impl-list.c
13063         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
13064         * string/strchr.c (STRCHR): Define and use macro.
13065         * benchtests/bench-wcschr.c: New File.
13066         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
13068         * sysdeps/s390/multiarch/strncmp-c.c: New File.
13069         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
13070         * sysdeps/s390/multiarch/strncmp.c: Likewise.
13071         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
13072         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
13073         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
13074         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
13075         wcsncmp functions.
13076         * sysdeps/s390/multiarch/ifunc-impl-list.c
13077         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
13078         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
13079         * benchtests/bench-strncmp.c: Add wcsncmp support.
13080         * benchtests/bench-wcsncmp.c: New File.
13081         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
13083         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
13084         * sysdeps/s390/multiarch/strcmp.c: Likewise.
13085         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
13086         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
13087         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
13088         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
13089         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
13090         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
13091         wcscmp functions.
13092         * sysdeps/s390/multiarch/ifunc-impl-list.c
13093         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
13094         * string/strcmp.c (STRCMP): Define and use macro.
13095         * benchtests/bench-wcscmp.c: New File.
13096         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
13097         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
13098         instead of _HAVE_STRING_ARCH_memchr.
13100         * sysdeps/s390/multiarch/strncat-c.c: New File.
13101         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
13102         * sysdeps/s390/multiarch/strncat.c: Likewise.
13103         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
13104         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
13105         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
13106         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
13107         wcsncat functions.
13108         * sysdeps/s390/multiarch/ifunc-impl-list.c
13109         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
13110         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
13111         * string/test-strncat.c: Add wcsncat support.
13112         * wcsmbs/test-wcsncat.c: New File.
13113         * wcsmbs/Makefile (strop-tests): Add wcsncat.
13114         * benchtests/bench-strncat.c: Add wcsncat support.
13115         * benchtests/bench-wcsncat.c: New File.
13116         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
13118         * sysdeps/s390/multiarch/strcat-c.c: New File.
13119         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
13120         * sysdeps/s390/multiarch/strcat.c: Likewise.
13121         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
13122         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
13123         * sysdeps/s390/multiarch/wcscat.c: Likewise.
13124         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
13125         wcscat functions.
13126         * sysdeps/s390/multiarch/ifunc-impl-list.c
13127         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
13128         * string/strcat.c (STRCAT): Define and use macro.
13129         * wcsmbs/wcscat.c: Use WCSCAT if defined.
13130         * string/test-strcat.c: Add wcscat support.
13131         * wcsmbs/test-wcscat.c: New File.
13132         * wcsmbs/Makefile (strop-tests): Add wcscat.
13133         * benchtests/bench-strcat.c: Add wcscat support.
13134         * benchtests/bench-wcscat.c: New File.
13135         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
13137         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
13138         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
13139         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
13140         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
13141         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
13142         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
13143         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
13144         wcpncpy functions.
13145         * sysdeps/s390/multiarch/ifunc-impl-list.c
13146         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
13147         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
13148         * string/test-stpncpy.c: Add wcpncpy support.
13149         * wcsmbs/test-wcpncpy.c: New File.
13150         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
13151         * benchtests/bench-stpncpy.c: Add wcpncpy support.
13152         * benchtests/bench-wcpncpy.c: New File.
13153         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
13155         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
13156         * sysdeps/s390/multiarch/strncpy.c: Likewise.
13157         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
13158         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
13159         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
13160         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
13161         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
13162         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
13163         wcsncpy functions.
13164         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
13165         * sysdeps/s390/multiarch/ifunc-impl-list.c
13166         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
13167         * string/test-strncpy.c: Add wcsncpy support.
13168         * wcsmbs/test-wcsncpy.c: New File.
13169         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
13170         * benchtests/bench-strncpy.c: Add wcsncpy support.
13171         * benchtests/bench-wcsncpy.c: New File.
13172         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
13174         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
13175         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
13176         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
13177         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
13178         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
13179         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
13180         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
13181         wcpcpy functions.
13182         * string/stpcpy.c: Use STPCPY if defined.
13183         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
13184         * sysdeps/s390/multiarch/ifunc-impl-list.c
13185         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
13186         * string/test-stpcpy.c: Add wcpcpy support.
13187         * wcsmbs/test-wcpcpy.c: New File.
13188         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
13189         * benchtests/bench-stpcpy.c: Add wcpcpy support.
13190         * benchtests/bench-wcpcpy.c: New File.
13191         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
13193         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
13194         * sysdeps/s390/multiarch/strcpy.c: Likewise.
13195         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
13196         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
13197         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
13198         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
13199         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
13200         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
13201         wcscpy functions.
13202         * sysdeps/s390/multiarch/ifunc-impl-list.c
13203         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
13204         * benchtests/bench-wcscpy.c: New File.
13205         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
13207         * sysdeps/s390/multiarch/strnlen-c.c: New File.
13208         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
13209         * sysdeps/s390/multiarch/strnlen.c: Likewise.
13210         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
13211         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
13212         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
13213         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
13214         wcsnlen functions.
13215         * sysdeps/s390/multiarch/ifunc-impl-list.c
13216         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
13217         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
13218         * string/test-strnlen.c: Add wcsnlen support.
13219         * wcsmbs/test-wcsnlen.c: New File.
13220         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
13221         * benchtests/bench-strnlen.c: Add wcsnlen support.
13222         * benchtests/bench-wcsnlen.c: New File.
13223         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
13225         * sysdeps/s390/multiarch/Makefile: New File.
13226         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
13227         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
13228         * sysdeps/s390/multiarch/strlen.c: Likewise.
13229         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
13230         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
13231         * sysdeps/s390/multiarch/wcslen.c: Likewise.
13232         * string/strlen.c (STRLEN): Define and use macro.
13233         * sysdeps/s390/multiarch/ifunc-impl-list.c
13234         (IFUNC_VX_IMPL): New macro function.
13235         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
13236         * benchtests/Makefile (wcsmbs-bench): New variable.
13237         (string-bench-all): Added wcsmbs-bench.
13238         * benchtests/bench-wcslen.c: New File.
13240         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
13241         s390_vx_libc_ifunc2): New macro function.
13243         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
13244         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
13245         assembler support.
13246         * sysdeps/s390/configure: Regenerated.
13248         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
13249         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
13251         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
13252         * sysdeps/s390/dl-procinfo.h: Add vector capability.
13253         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
13255         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
13256         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
13257         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
13258         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
13259         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
13260         (memcmp, bcmp): Use __memcmp_default as alias source.
13261         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
13262         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
13263         Rename to __memcmp_default.
13264         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
13265         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
13266         (memcpy): Use __memcpy_default as alias source.
13267         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
13268         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
13269         Rename to __memcpy_default.
13270         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
13271         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
13272         (memset): Use __memset_default as alias source.
13273         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
13274         * sysdeps/s390/s390-32/memset.S (__memset_g5):
13275         Rename to __memset_default.
13276         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
13277         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
13278         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
13279         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
13280         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
13281         (memcmp, bcmp): Use __memcmp_default as alias source.
13282         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
13283         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
13284         Rename to __memcmp_default.
13285         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
13286         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
13287         (memcpy): Use __memcpy_default as alias source.
13288         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
13289         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
13290         Rename to __memcpy_default.
13291         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
13292         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
13293         (memset): Use __memset_default as alias source.
13294         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
13295         * sysdeps/s390/s390-64/memset.S (__memset_z900):
13296         Rename to __memset_default.
13297         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
13298         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
13300         [BZ #18610]
13301         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
13302         __ieee_instruction_pointer to __unused.
13303         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
13304         __ieee_instruction_pointer.
13305         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
13306         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
13307         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13308         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13309         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
13310         Mark dxc-field as reserved.
13312 2015-08-25  Roland McGrath  <roland@hack.frob.com>
13314         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
13315         if the weak reference is not null.
13317 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13319         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
13321         [BZ #11214]
13322         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
13324 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13326         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
13327         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
13328         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
13329         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
13330         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
13331         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
13332         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
13333         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
13334         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
13335         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
13336         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
13337         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
13338         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
13339         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
13340         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
13341         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
13342         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
13343         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
13345 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13347         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
13348         register other than r0 for tabort, it has special meaning.
13349         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
13350         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
13351         transaction before starting syscall.
13353 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13355         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
13357 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13359         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
13361         * sysdeps/x86_64/rtld-memcmp.c: Removed.
13362         * sysdeps/x86_64/rtld-memset.S: Likewise.
13363         * sysdeps/x86_64/rtld-strchr.S: Likewise.
13364         * sysdeps/x86_64/rtld-strlen.S: Likewise.
13365         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
13366         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13368         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
13370 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
13372         * debug/strcpy_chk.c: Improve performance.
13373         * debug/stpcpy_chk.c: Likewise.
13374         * sysdeps/x86_64/strcpy_chk.S: Remove.
13375         * sysdeps/x86_64/stpcpy_chk.S: Remove.
13377         [BZ #18240]
13378         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
13380 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13382         [BZ #15128]
13383         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
13384         ifuncmain8.
13385         (modules-names): Add ifuncmod8.
13386         ($(objpfx)ifuncmain8): New rule.
13387         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
13388         <cpuid.h>.
13389         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
13390         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
13391         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
13392         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
13393         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
13394         * sysdeps/x86_64/dl-trampoline.h: Likewise.
13395         * sysdeps/x86_64/ifuncmain8.c: New file.
13396         * sysdeps/x86_64/ifuncmod8.c: Likewise.
13397         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
13398         Removed.
13399         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
13400         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
13401         Change rtld_savespace_sse to __glibc_unused2.
13402         (RTLD_CHECK_FOREIGN_CALL): Removed.
13403         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
13404         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
13405         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
13407 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
13409         * sysdeps/aarch64/bzero.S (__bzero): Remove.
13411 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
13413         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
13414         Unconditionally set __fpcr to avoid uninialized warning.
13415         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
13417 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13419         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
13420         is corrupt.
13422         * malloc/arena.c (arena_get2): Drop unused argument.
13423         (arena_lock): Adjust.
13424         (arena_get_retry): Likewise.
13426 2015-08-24  Andreas Schwab  <schwab@suse.de>
13428         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
13429         Don't define.
13430         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13431         (__ASSUME_IPC64): Don't undef.
13432         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
13433         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13434         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13435         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
13436         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
13437         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
13438         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
13439         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
13440         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
13441         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
13442         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
13443         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
13444         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
13445         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
13446         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
13447         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
13448         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
13449         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
13450         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
13451         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
13452         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
13454 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
13456         * manual/Makefile (install): Only build manual when perl is available.
13458 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13460         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
13461         '#undef memcpy' by '#undef memchr'.
13463 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13465         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
13466         memchr not point to the internal __GI_memchr implementation.
13468 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
13470         * timezone/Makefile (CFLAGS-zdump.c): Remove
13471         -Wno-strict-prototypes.
13472         (CFLAGS-zic.c): Likewise.
13473         (CFLAGS-ialloc.c): Likewise.
13474         (CFLAGS-scheck.c): Likewise.
13476         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
13477         -Wno-error=undef.
13479 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13481         * i386/i686/multiarch/strcasestr-c.c: Removed.
13482         * x86_64/multiarch/strcasestr.c: Likewise.
13483         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13484         Remove strcasestr.
13486 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
13488         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
13490         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
13491         variables for high and low parts before possibly modifying them.
13493 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13495         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
13496         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
13497         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
13498         of "multiarch/init-arch.h".
13499         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
13500         * sysdeps/x86/init-arch.h: This.
13502 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13504         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
13505         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
13507 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
13509         [BZ #17787]
13510         * manual/macros.texi: Add twoexp macro.
13511         * manual/filesys.texi: Fix exponents.
13512         * manual/llio.texi: Likewise.
13513         * manual/stdio.texi: Likewise.
13515 2015-08-20  Florian Weimer  <fweimer@redhat.com>
13517         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
13518         incorrect use.
13520 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
13522         [BZ #18370]
13523         * math/s_csqrt.c (__csqrt): Force underflow exception for results
13524         whose real or imaginary part has small absolute value.
13525         * math/s_csqrtf.c (__csqrtf): Likewise.
13526         * math/s_csqrtl.c (__csqrtl): Likewise.
13527         * math/auto-libm-test-in: Add more tests of csqrt.
13528         * math/auto-libm-test-out: Regenerated.
13529         * sysdeps/i386/fpu/libm-test-ulps: Update.
13531 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13533         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
13534         __ppc_set_ppr_very_low): New functions.
13535         * manual/platform.texi: Add documentation about
13536         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
13538 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
13540         * string/stpncpy.c (stpncpy): Improve performance using
13541         __strnlen/memcpy/memset.
13543 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13545         [BZ #18796]
13546         * scripts/test-installation.pl: Don't add -lmvec to build options if
13547         libmvec wasn't built.
13549 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
13551         [BZ #14341]
13552         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
13553         case when there is a gap between DT_REL and DT_JMPREL sections.
13554         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
13555         (LDFLAGS-tst-split-dynreloc): New.
13556         (tst-split-dynreloc-ENV): Likewise.
13557         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
13558         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
13560 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13562         [BZ #18822]
13563         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
13564         attribute_hidden.
13565         (__xstat64_conv): Likewise.
13566         (__xstat32_conv): Likewise.
13568 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13570         [BZ #18822]
13571         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
13572         Don't load %ebx when calling __setcontext.  Call __setcontext
13573         with HIDDEN_JUMPTARGET.
13574         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
13575         libc_hidden_def.
13577 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13579         * sysdeps/i386/i686/Makefile
13580         [$(subdir) == string] (sysdep_routines): Moved to ...
13581         * sysdeps/i386/Makefile: Here.
13582         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
13583         * sysdeps/i386/cacheinfo.c: Here.
13584         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
13585         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
13586         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
13587         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
13589 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13591         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
13592         __i586__ is defined.
13593         (HAS_I686): Defined to 1 if __i686__ is defined.
13595 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
13597         * elf/Makefile [$(have-z-execstack) = yes]
13598         (CPPFLAGS-tst-execstack.c): New variable.
13600         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
13601         conditional to [defined UTMPX || _HAVE_UT_TYPE].
13602         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
13603         UTMPX || _HAVE_UT_TV].
13604         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
13605         UTMPX || _HAVE_UT_TV - 0].
13607 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
13609         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
13610         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
13611         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
13613 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13615         * sysdeps/powerpc/dl-procinfo.c:
13616         (_dl_powerpc_cap_flags): Added missing strings for some
13617         hwcap features.
13618         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
13620 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
13622         Port the 0x7efe...feff pattern to GCC 6.
13623         See Steve Ellcey's bug report in:
13624         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
13625         * string/memrchr.c (MEMRCHR):
13626         * string/rawmemchr.c (RAWMEMCHR):
13627         * string/strchr.c (strchr):
13628         * string/strchrnul.c (STRCHRNUL):
13629         Rewrite code to avoid issues with signed shift overflow.
13631 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
13633         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
13634         whether cpuid is available only if HAS_CPUID is 0.
13635         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
13636         (HAS_I586): Likewise.
13637         (HAS_I686): Likewise.
13639 2015-08-18  Zack Weinberg  <zackw@panix.com>
13641         * misc/Versions (libc): Add GLIBC_2.23.
13643 2015-08-18  Alan Modra  <amodra@gmail.com>
13645         [BZ #18421]
13646         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
13647         .Lp__global.
13648         (_start): Load %dp via .Lp__global.
13649         [!SHARED]: Use .section .rodata.
13651 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13653         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
13654         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
13656 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13658         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
13659         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
13661 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13663         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
13664         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
13666 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13668         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
13669         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
13671 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13673         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
13674         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
13676 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13678         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
13679         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
13681 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13683         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
13685 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13687         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
13688         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
13689         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13690         (__ASSUME_LWS_CAS): Delete.
13692 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13694         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
13695         * sysdeps/hppa/configure: Regenerated.
13696         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
13697         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
13698         * sysdeps/hppa/nptl/tls.h: Likewise.
13700 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
13702         [BZ #18823]
13703         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
13704         for scaling up small arguments.
13705         * math/s_csqrtf.c (__csqrtf): Likewise.
13706         * math/s_csqrtl.c (__csqrtl): Likewise.
13707         * math/auto-libm-test-in: Add more tests of csqrt.
13708         * math/auto-libm-test-out: Regenerated.
13710 2015-08-17  Andreas Schwab  <schwab@suse.de>
13712         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
13713         version set GLIBC_2.19.
13715 2015-08-16  Zack Weinberg  <zackw@panix.com>
13717         [BZ #18681]
13718         * misc/regexp.h: This interface is no longer supported.
13719         Remove all contents, leaving only an #error directive.
13720         * misc/regexp.c (loc1, loc2, locs, step, advance):
13721         Demote to compatibility symbols.
13723 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
13725         [BZ #18084]
13726         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
13727         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
13728         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
13729         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
13730         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
13731         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
13732         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
13733         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
13734         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
13736 2015-08-15  Zack Weinberg  <zackw@panix.com>
13738         [BZ #18795]
13739         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
13740         buffer length is known to be too large, not if it's known to be
13741         small enough.
13742         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
13743         overflow at runtime, involving a length parameter, twice: once
13744         with a compile-time constant length parameter, once without.
13746 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
13748         [BZ #18824]
13749         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
13750         scaling x * y up instead of down.
13751         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13752         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13753         * math/auto-libm-test-in: Add more tests of fma.
13754         * math/auto-libm-test-out: Regenerated.
13756 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13758         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13760 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13762         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
13763         unnecessary movq.
13764         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
13765         Likewise.
13767 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
13769         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13770         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
13771         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
13772         and tgamma.
13773         * math/auto-libm-test-out: Regenerated.
13774         * sysdeps/i386/fpu/libm-test-ulps: Update.
13775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13777         [BZ #16520]
13778         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
13779         (__tanh): Force underflow exception for arguments with small
13780         absolute value.
13781         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
13782         (__tanhf): Force underflow exception for arguments with small
13783         absolute value.
13784         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
13785         (__tanhl): Force underflow exception for arguments with small
13786         absolute value.
13787         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
13788         (__tanhl): Force underflow exception for arguments with small
13789         absolute value.
13790         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
13791         (__tanhl): Force underflow exception for arguments with small
13792         absolute value.
13793         * math/auto-libm-test-in: Add more tests of tanh.
13794         * math/auto-libm-test-out: Regenerated.
13795         * sysdeps/i386/fpu/libm-test-ulps: Update.
13797 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13799         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
13800         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
13802 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13804         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
13805         <cpuid.h>.
13807 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13809         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
13810         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
13812 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13814         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
13815         Remove $(objpfx)init-arch.o.
13816         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
13817         init-arch.
13818         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
13819         (INIT_ARCH_EXT): Defined as empty.
13820         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
13821         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
13822         __init_cpu_features call.  Replace HAS_XXX with
13823         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13824         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
13825         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
13826         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
13827         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
13828         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13829         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
13830         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
13831         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13832         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
13833         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
13834         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13835         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
13836         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
13837         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13838         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
13839         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
13840         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13841         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13842         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
13843         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
13844         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
13845         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
13846         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
13847         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
13848         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
13849         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
13850         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
13851         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
13852         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
13853         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
13854         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
13855         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
13856         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
13857         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
13858         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
13860 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13862         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
13863         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13864         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
13865         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
13866         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
13867         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
13868         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
13869         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
13870         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
13871         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
13872         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
13873         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
13874         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13875         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13876         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13877         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13878         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13879         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13880         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13881         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13882         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13883         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13884         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13885         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13886         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13887         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13888         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13889         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13890         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13891         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13892         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13893         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13894         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13895         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13896         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13897         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13898         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13899         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13900         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13901         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13902         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13903         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13904         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13906 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13908         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
13909         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13910         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13911         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13912         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13913         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
13914         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13915         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
13916         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13917         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13918         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13919         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
13920         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
13921         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
13922         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
13923         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
13924         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
13925         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
13926         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
13927         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
13928         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
13929         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
13930         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
13931         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13932         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13933         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
13934         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
13935         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
13936         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13937         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13938         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13939         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13940         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13941         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13942         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13943         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13944         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13945         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13946         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13947         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13948         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13949         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13950         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13952 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13954         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
13955         (dl_platform_init): Call init_cpu_features.
13956         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
13957         * sysdeps/i386/i686/cacheinfo.c
13958         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
13959         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
13960         * sysdeps/i386/i686/multiarch/Versions: Removed.
13961         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
13962         Removed.
13963         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
13964         * sysdeps/unix/sysv/linux/x86/Makefile
13965         (libpthread-sysdep_routines): Remove init-arch.
13966         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
13967         <sysdeps/x86_64/dl-procinfo.c> instead of
13968         sysdeps/generic/dl-procinfo.c>.
13969         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
13970         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
13971         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
13972         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
13973         [$(subdir) == elf] (tests-static): Add
13974         tst-get-cpu-features-static.
13975         * sysdeps/x86/Versions: New file.
13976         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
13977         * sysdeps/x86/cpu-features.c: Likewise.
13978         * sysdeps/x86/cpu-features.h: Likewise.
13979         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
13980         * sysdeps/x86/libc-start.c: Likewise.
13981         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
13982         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
13983         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
13984         * sysdeps/x86_64/dl-procinfo.c: Likewise.
13985         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
13986         Assume USE_MULTIARCH is defined and don't check it.
13987         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
13988         (is_amd): Likewise.
13989         (max_cpuid): Likewise.
13990         (intel_check_word): Likewise.
13991         (__cache_sysconf): Don't call __init_cpu_features.
13992         (__x86_preferred_memory_instruction): Removed.
13993         (init_cacheinfo): Don't call __init_cpu_features. Replace
13994         __cpu_features with GLRO(dl_x86_cpu_features).
13995         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
13996         (dl_platform_init): Call init_cpu_features.
13997         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
13998         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
13999         * sysdeps/x86_64/multiarch/Versions: Removed.
14000         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
14001         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
14002         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
14003         Removed.
14004         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
14006 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14008         [BZ #18820]
14009         * libio/Makefile (test-fmemopen-mem): New test.
14010         * libio/test-fmemopen.c (do_bz18820): New test.
14011         * libio/fmemopen.c (__fmemopen): Fix memory leak.
14012         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
14014 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14016         [BZ #16734]
14017         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
14018         (FREE_BUF): Delete.
14019         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
14020         * libio/genops.c (_IO_setb): Use malloc and free directly.
14021         (_IO_default_doallocate, _IO_default_finish): Likewise.
14022         ( _IO_unbuffer_all): Likewise.
14023         ( libc_freeres_fn): Likewise.
14024         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14025         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
14026         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
14027         (_IO_wdefault_doallocate): Likewise.
14029 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14031         [BZ #18086]
14032         * sysdeps/posix/nice.c (nice): Restore old errno.
14033         * posix/tst-nice.c (do_test): Add test for BZ #18086.
14035 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
14037         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
14039 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14041         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
14042         __bcopy and add a weak_alias to bcopy.
14043         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
14044         for static build.
14046         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
14047         cleanup macro usage.
14048         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
14049         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
14050         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
14051         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
14052         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
14053         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
14054         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
14055         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14056         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14057         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
14058         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14059         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
14060         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14061         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
14062         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14063         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
14064         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
14065         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
14066         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14068         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
14069         libc_hidden_def.
14070         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
14072         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
14073         (sysdep_routines): Add strstr-ppc64.
14074         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
14076 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
14078         [BZ #18778]
14079         * elf/Makefile (tests): Add Add tst-nodelete2.
14080         (modules-names): Add tst-nodelete2mod.
14081         (tst-nodelete2mod.so-no-z-defs): New.
14082         ($(objpfx)tst-nodelete2): Likewise.
14083         ($(objpfx)tst-nodelete2.out): Likewise.
14084         (LDFLAGS-tst-nodelete2): Likewise.
14085         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
14086         out of loop through all loaded libraries.
14087         * elf/tst-nodelete2.c: New file.
14088         * elf/tst-nodelete2mod.c: Likewise.
14089         * elf/tst-znodelete-zlib.cc: Delete.
14091 2015-08-11  Andreas Schwab  <schwab@suse.de>
14093         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
14094         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
14095         (__openat64_nocancel): Likewise.
14097 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
14099         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
14100         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
14101         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
14102         * math/auto-libm-test-out: Regenerated.
14103         * sysdeps/i386/fpu/libm-test-ulps: Update.
14104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14106 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
14108         [BZ #18790]
14109         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
14110         threshold for returning +/- 1.
14111         * math/auto-libm-test-in: Add more tests of tanh.
14112         * math/auto-libm-test-out: Regenerated.
14113         * sysdeps/i386/fpu/libm-test-ulps: Update.
14115 2015-08-10  Andreas Schwab  <schwab@suse.de>
14117         [BZ #18781]
14118         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
14119         MORE_OFLAGS to oflag.
14120         * io/test-lfs.c (do_test): Test openat64.
14122 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
14124         [BZ #18789]
14125         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
14126         smaller threshold for returning the argument.
14127         * math/auto-libm-test-in: Add more tests of sinh.
14128         * math/auto-libm-test-out: Regenerated.
14129         * sysdeps/i386/fpu/libm-test-ulps: Update.
14131 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
14133         [BZ #18674]
14134         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
14135         break.
14137 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
14139         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
14140         (generated): Don't add $(addprefix z.,$(tzfiles)).
14142 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14144         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
14145         * scripts/sysd-rules.awk: Likewise.
14147 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14149         * iconvdata/tst-tables.sh: Change echo -n to printf.
14150         * nss/db-Makefile: Likewise.
14151         * posix/tst-getconf.sh: Likewise.
14152         * stdio-common/tst-unbputc.sh: Likewise.
14154 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14156         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
14157         MADV_*_PAGES defines behind this feature check.
14159 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
14161         [BZ #18480]
14162         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
14163         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
14164         Define.
14165         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
14166         LOAD_REGS_5, LOAD_REGS_6): Update.
14167         (INTERNAL_SYSCALL): Update using new LOAD defines.
14168         (INTERNAL_SYSCALL_NCS): Likewise.
14169         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
14171 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14173         [BZ #16734]
14174         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
14176 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14178         [BZ #17905]
14179         * catgets/Makefile (tst-catgets-mem): New test.
14180         * catgets/catgets.c (catopen): Don't use unbounded alloca.
14181         * catgets/open_catalog.c (__open_catalog): Likewise.
14182         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
14184 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
14186         [BZ #18787]
14187         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
14188         clobber registers.
14189         (atomic_compare_and_exchange_val_acq): Use register asms to assign
14190         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
14191         Cast return to __typeof (oldval).
14193 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
14195         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
14196         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
14197         and delete sys/syscall.h include.
14199 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
14201         [BZ #16517]
14202         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
14203         (tan): Force underflow exception for arguments with small absolute
14204         value.
14205         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
14206         (__kernel_tanf): Force underflow exception for arguments with
14207         small absolute value.
14208         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
14209         (__kernel_tanl): Force underflow exception for arguments with
14210         small absolute value.
14211         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
14212         (__kernel_tanl): Force underflow exception for arguments with
14213         small absolute value.
14214         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
14215         (__kernel_tanl): Force underflow exception for arguments with
14216         small absolute value.
14217         * math/auto-libm-test-in: Add more tests of tan.
14218         * math/auto-libm-test-out: Regenerated.
14220 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14222         Fix sysdeps/i386/fpu/s_scalbn.S build
14224         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
14226 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
14228         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14230 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14232         Fix gcrt0.o compilation
14234         When static-start-installed-name is different from
14235         start-installed-name, we must not use the shared objects.
14237         * csu/Makefile
14238         (extra-objs): Add gmon-start.o when building shared library and
14239         $(static-start-installed-name) is different from
14240         $(start-installed-name).
14241         $(objpfx)g$(static-start-installed-name): When building shared
14242         library and $(static-start-installed-name) is different from
14243         $(static-start-installed-name), revert to non-shared rule,
14244         i.e. using $(objpfx)% and gmon-start.o.
14246 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
14248         [BZ #16519]
14249         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
14250         (__ieee754_sinh): Force underflow exception for arguments with
14251         small absolute value.
14252         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
14253         (__ieee754_sinhf): Force underflow exception for arguments with
14254         small absolute value.
14255         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
14256         (__ieee754_sinhl): Force underflow exception for arguments with
14257         small absolute value.
14258         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
14259         (__ieee754_sinhl): Force underflow exception for arguments with
14260         small absolute value.
14261         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
14262         (__ieee754_sinhl): Force underflow exception for arguments with
14263         small absolute value.
14264         * math/auto-libm-test-in: Add more tests of sinh.
14265         * math/auto-libm-test-out: Regenerated.
14266         * sysdeps/i386/fpu/libm-test-ulps: Update.
14268 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14270         * libio/oldfileops.c: Include unistd.h.
14272 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
14274         * stdlib/isomac.c: Include ctype.h.
14276 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
14278         * dirent/tst-seekdir.c (main): Converted to ...
14279         (do_test): ... this.
14280         (TEST_FUNCTION): New macro.
14281         Include test-skeleton.c.
14282         * elf/tst-dlmodcount.c (main): Converted to ...
14283         (do_test): ... this.
14284         (TEST_FUNCTION): New macro.
14285         Include test-skeleton.c.
14286         * elf/tst-order-main.c (main): Converted to ...
14287         (do_test): ... this.
14288         (TEST_FUNCTION): New macro.
14289         Include test-skeleton.c.
14290         * elf/tst-pie2.c (main): Converted to ...
14291         (do_test): ... this.
14292         (TEST_FUNCTION): New macro.
14293         Include test-skeleton.c.
14294         * inet/tst-ether_aton.c (main): Converted to ...
14295         (do_test): ... this.
14296         (TEST_FUNCTION): New macro.
14297         Include test-skeleton.c.
14298         * misc/tst-mntent.c (main): Converted to ...
14299         (do_test): ... this.
14300         (TEST_FUNCTION): New macro.
14301         Include test-skeleton.c.
14302         * misc/tst-tsearch.c (main): Converted to ...
14303         (do_test): ... this.
14304         (TEST_FUNCTION): New macro.
14305         Include test-skeleton.c.
14306         * posix/tst-regexloc.c (main): Converted to ...
14307         (do_test): ... this.
14308         (TEST_FUNCTION): New macro.
14309         Include test-skeleton.c.
14310         * resolv/tst-aton.c (main): Converted to ...
14311         (do_test): ... this.
14312         (TEST_FUNCTION): New macro.
14313         Include test-skeleton.c.
14314         * stdio-common/test-fwrite.c (main): Converted to ...
14315         (do_test): ... this.
14316         (TEST_FUNCTION): New macro.
14317         Include test-skeleton.c.
14318         * stdio-common/tst-ferror.c (main): Converted to ...
14319         (do_test): ... this.
14320         (TEST_FUNCTION): New macro.
14321         Include test-skeleton.c.
14322         * stdio-common/tst-printf.c (main): Converted to ...
14323         (do_test): ... this.
14324         (TEST_FUNCTION): New macro.
14325         Include test-skeleton.c.
14326         * stdio-common/tst-printfsz.c (main): Converted to ...
14327         (do_test): ... this.
14328         (TEST_FUNCTION): New macro.
14329         Include test-skeleton.c.
14330         * stdlib/tst-strtod.c (main): Converted to ...
14331         (do_test): ... this.
14332         (TEST_FUNCTION): New macro.
14333         Include test-skeleton.c.
14334         * string/tst-strlen.c (main): Converted to ...
14335         (do_test): ... this.
14336         (TEST_FUNCTION): New macro.
14337         Include test-skeleton.c.
14338         * string/tst-svc.c (main): Converted to ...
14339         (do_test): ... this.
14340         (TEST_FUNCTION): New macro.
14341         Include test-skeleton.c.
14342         * time/tst-strptime.c (main): Converted to ...
14343         (do_test): ... this.
14344         (TEST_FUNCTION): New macro.
14345         Include test-skeleton.c.
14346         * timezone/tst-timezone.c (main): Converted to ...
14347         (do_test): ... this.
14348         (TEST_FUNCTION): New macro.
14349         Include test-skeleton.c.
14351 2015-08-05  Zack Weinberg  <zackw@panix.com>
14353         * misc/regexp.h: Update comments.
14355 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
14357         [BZ #18635]
14358         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
14359         before return label.
14361 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14363         [BZ #18661]
14364         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
14365         when calling __errno_location.
14366         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
14367         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
14369 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14371         [BZ #18661]
14372         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
14373         (__lll_timedwait_tid): Align stack to 16 bytes when calling
14374         __gettimeofday.
14376 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14378         [BZ #18661]
14379         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14380         (__start_context): Don't use pop to restore %rdi so that stack
14381         is aligned to 16 bytes when calling __setcontext.
14383 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14385         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
14386         only for libc.
14387         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14389 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14391         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
14392         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
14393         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
14395 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14397         * string/memccpy.c (memccpy):
14398         Improve performance by using memchr/memcpy/__mempcpy.
14400 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14402         * string/strncpy.c (strncpy):
14403         Improve performance by using __strnlen/memcpy.
14405 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14407         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14408         Optimize to avoid an unnecessary FPCR read.
14410 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14412         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
14413         Optimize to reduce FPCR/FPSR accesses.
14415 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14417         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
14418         dead->data[category] != NULL.
14420 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
14422         [BZ #18647]
14423         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
14424         and |x| close to 1, use absolute value of x when computing log.
14425         * math/auto-libm-test-in: Add more tests of pow.
14426         * math/auto-libm-test-out: Regenerated.
14428 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14430         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
14431         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
14432         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
14434 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
14436         [BZ #18525]
14437         * locales/km_KH: Remove timezone definition.
14438         * locales/lo_LA: Likewise.
14439         * locales/my_MM: Likewise.
14440         * locales/nan_TW@latin: Likewise.
14441         * locales/th_TH: Likewise.
14442         * locales/uk_UA: Likewise.
14444 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
14446         [BZ #18265]
14447         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
14448         (wcsncat): Likewise.
14449         (wcscmp): Likewise.
14450         (wcsncmp): Likewise.
14452 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14454         * test-skeleton.c (usage): New function.
14455         (main): Call usage when opt is '?'.
14457 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14459         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
14460         before first use.
14462 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14464         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
14465         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
14466         in there too.
14468 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
14470         * version.h (RELEASE): Set to "development".
14471         (VERSION): Set to "2.22.90"
14473         * version.h (RELEASE): Set to "stable".
14474         (VERSION): Set to "2.22"
14475         * include/features.h (__GLIBC_MINOR__): Set to 22.
14477 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
14479         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
14480         Restructure macro to avoid "value computed is not used" warning.
14481         (atomic_compare_and_exchange_val_acq): Likewise.
14483 2015-08-04  Andreas Schwab  <schwab@suse.de>
14485         [BZ #18635]
14486         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
14487         ret.
14488         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
14490 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
14492         * po/pl.po: Updated translation.
14493         * po/uk.po: Likewise.
14494         * po/fi.po: Likewise.
14495         * po/ko.po: Likewise.
14496         * po/ru.po: Likewise.
14497         * po/vi.po: Likewise.
14499 2015-07-31  Zack Weinberg  <zackw@panix.com>
14501         [BZ #18681]
14502         * regexp.h: Add unconditional #warning stating that this header
14503         will be removed soon.  Revise banner comment to match.
14504         (compile): Consistently use ERROR instead of RETURN to report
14505         errors (partial fix for bz#18681).
14506         * regexp.c: Don't include regexp.h. Remove some unnecessary
14507         declarations.
14509 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
14511         * po/libc.pot: Regenerated.
14513 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
14515         [BZ #18740]
14516         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
14517         float-vlen4-arch-ext-cflags): Removed.
14518         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
14519         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
14521 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14523         [BZ #14113]
14524         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
14525         aligned to __aligned__.
14526         (pthread_cond_t, pthread_rwlock_t): Likewise.
14528 2015-07-30  Torvald Riegel  <triegel@redhat.com>
14530         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
14532 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14534         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
14535         (struct sigaction): Change sa_flags from a long to an int, and add
14536         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
14538 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14540         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
14541         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
14542         sysdeps/generic/sysdep.h include.
14543         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
14544         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
14545         sysdeps/hppa/sysdep.h.
14546         (ENTRY, PSEUDO): Undefine before defining.
14548 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14550         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
14551         from scratch to use INTERNAL_SYSCALL.
14553 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
14555         [BZ #18078]
14556         * scripts/check-localplt.awk: Support alternate relocations.
14557         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
14558         sections.
14559         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
14560         malloc entries with + REL R_386_GLOB_DAT.
14561         * sysdeps/x86_64/localplt.data: New file.
14563 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
14565         [BZ #18731]
14566         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
14567         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14568         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14570 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14572         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
14574 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14576         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
14577         directly in terms of __sync_fetch_and_add and delete (int) cast.
14579 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14581         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
14582         the -D_ASM_IA64_CURRENT_H flag.
14584 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14586         [BZ #18641]
14587         * pwd/pwd.h (putpwent): Delete __nonnull markings.
14589 2015-07-27  Andreas Schwab  <schwab@suse.de>
14591         * conform/conformtest.pl (checknamespace): Filter out string
14592         literals while tokenizing.
14594 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
14596         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14597         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
14598         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14600 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
14602         * nptl/tst-join7mod.c: Add #include <string.h>.
14604 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
14606         * sysdeps/nios2/libm-test-ulps: Update.
14608 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
14610         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
14611         Fix order of arguments to the rt_sigprocmask syscall.
14612         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
14613         Likewise.
14615 2015-07-24  Roland McGrath  <roland@hack.frob.com>
14617         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
14619 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14621         [BZ #18457]
14622         * nptl/Makefile (tests): New test case tst-join7.
14623         (modules-names): New test case module tst-join7mod.
14624         * nptl/tst-join7.c: New file.
14625         * nptl/tst-join7mod.c: New file.
14626         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
14627         all translation units in libc.so, libpthread.so and rtld.
14629 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14633 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
14635         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
14636         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
14637         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
14638         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
14639         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
14640         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
14641         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
14642         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
14643         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
14644         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
14645         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
14646         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
14647         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
14648         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
14649         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
14650         implementation.
14652 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14654         [BZ #17711]
14655         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14656         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
14657         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14658         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14659         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
14660         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14662 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14664         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
14665         instead of just saying load lock in the comments.
14667 2015-07-23  Roland McGrath  <roland@hack.frob.com>
14669         * sysdeps/unix/Subdirs: Moved ...
14670         * sysdeps/posix/Subdirs: ... here.
14671         * login/pty.h (struct termios, struct winsize): Add forward decls.
14672         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
14673         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
14674         * sysdeps/arm/nacl/libc.abilist: Updated.
14675         * sysdeps/nacl/libutil.abilist: New file.
14677         * bits/signum.h: Update comments to mention 1003.1-2013 too.
14678         (SIGWINCH): New macro.
14680         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
14681         * sysdeps/arm/nacl/libc.abilist: Add it.
14683 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
14685         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
14687 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
14689         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
14690         Swap __glibc_reserved0 and sa_flags order.
14692 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14694         [BZ #18657]
14695         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
14696         are pending TLS destructor calls.
14697         * include/link.h (struct link_map): Add concurrency note for
14698         L_TLS_DTOR_COUNT.
14699         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14700         Don't touch the link map flag.  Atomically increment
14701         l_tls_dtor_count.
14702         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
14703         Avoid taking the load lock and don't touch the link map flag.
14704         * stdlib/tst-tls-atexit-nodelete.c: New test case.
14705         * stdlib/Makefile (tests): Use it.
14706         * stdlib/tst-tls-atexit.c (do_test): dlopen
14707         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
14708         to allow tst-tls-atexit-nodelete test case to use it.
14710 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14712         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
14713         to bits/types.h.
14714         (msgqnum_t): New typedef.
14715         (msglen_t): Likewise.
14716         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
14717         and msg_qbytes type to msglen_t.
14719 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14721         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
14722         pad0 to __glibc_reserved0.
14723         (struct stat64): Likewise.
14725 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14727         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
14728         Change sa_flags from a long to an int and add __glibc_reserved0 before
14729         it for padding.
14731 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14733         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
14734         anonymous by deleting "siginfo" name.
14736 2015-07-21  Roland McGrath  <roland@hack.frob.com>
14738         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
14739         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
14740         rather than __nacl_irt_filename.
14741         * sysdeps/nacl/xstat.c (__xstat): Likewise.
14743         * NEWS: New item for arm-nacl port.
14744         * sysdeps/arm/nacl/libc.abilist: New file.
14745         * sysdeps/nacl/ld.abilist: New file.
14746         * sysdeps/nacl/libBrokenLocale.abilist: New file.
14747         * sysdeps/nacl/libanl.abilist: New file.
14748         * sysdeps/nacl/libcrypt.abilist: New file.
14749         * sysdeps/nacl/libdl.abilist: New file.
14750         * sysdeps/nacl/libm.abilist: New file.
14751         * sysdeps/nacl/libpthread.abilist: New file.
14752         * sysdeps/nacl/libresolv.abilist: New file.
14753         * sysdeps/nacl/librt.abilist: New file.
14755 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
14757         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
14758         __startcontext to initialize the new context.
14759         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
14760         up CFI directive to forbid further backtracing.
14762 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
14764         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
14765         reference.
14766         * charmaps/ANSI_X3.4-1968: Likewise.
14767         * charmaps/BS_4730: Likewise.
14768         * charmaps/BS_VIEWDATA: Likewise.
14769         * charmaps/CP1250: Likewise.
14770         * charmaps/CP1251: Likewise.
14771         * charmaps/CP1252: Likewise.
14772         * charmaps/CP1253: Likewise.
14773         * charmaps/CP1254: Likewise.
14774         * charmaps/CP1255: Likewise.
14775         * charmaps/CP1256: Likewise.
14776         * charmaps/CSN_369103: Likewise.
14777         * charmaps/EBCDIC-DK-NO: Likewise.
14778         * charmaps/GB_1988-80: Likewise.
14779         * charmaps/GREEK-CCITT: Likewise.
14780         * charmaps/GREEK7: Likewise.
14781         * charmaps/INIS-8: Likewise.
14782         * charmaps/ISIRI-3342: Likewise.
14783         * charmaps/ISO_2033-1983: Likewise.
14784         * charmaps/ISO_5427-EXT: Likewise.
14785         * locales/POSIX: Likewise.
14786         * locales/ar_SA: Likewise.
14787         * locales/be_BY: Likewise.
14788         * locales/be_BY@latin: Likewise.
14789         * locales/ca_ES: Likewise.
14790         * locales/cs_CZ: Likewise.
14791         * locales/da_DK: Likewise.
14792         * locales/de_BE: Likewise.
14793         * locales/de_CH: Likewise.
14794         * locales/de_LU: Likewise.
14795         * locales/en_AU: Likewise.
14796         * locales/en_BW: Likewise.
14797         * locales/en_CA: Likewise.
14798         * locales/en_DK: Likewise.
14799         * locales/en_GB: Likewise.
14800         * locales/en_IE: Likewise.
14801         * locales/en_NZ: Likewise.
14802         * locales/en_ZA: Likewise.
14803         * locales/en_ZW: Likewise.
14804         * locales/es_AR: Likewise.
14805         * locales/es_BO: Likewise.
14806         * locales/es_CL: Likewise.
14807         * locales/es_CO: Likewise.
14808         * locales/es_DO: Likewise.
14809         * locales/es_EC: Likewise.
14810         * locales/es_ES: Likewise.
14811         * locales/es_HN: Likewise.
14812         * locales/es_MX: Likewise.
14813         * locales/es_PA: Likewise.
14814         * locales/es_PE: Likewise.
14815         * locales/es_PY: Likewise.
14816         * locales/es_SV: Likewise.
14817         * locales/es_US: Likewise.
14818         * locales/es_UY: Likewise.
14819         * locales/es_VE: Likewise.
14820         * locales/et_EE: Likewise.
14821         * locales/fa_IR: Likewise.
14822         * locales/fo_FO: Likewise.
14823         * locales/fr_CA: Likewise.
14824         * locales/fr_CH: Likewise.
14825         * locales/gv_GB: Likewise.
14826         * locales/he_IL: Likewise.
14827         * locales/hr_HR: Likewise.
14828         * locales/id_ID: Likewise.
14829         * locales/is_IS: Likewise.
14830         * locales/it_CH: Likewise.
14831         * locales/iw_IL: Likewise.
14832         * locales/kl_GL: Likewise.
14833         * locales/ko_KR: Likewise.
14834         * locales/kw_GB: Likewise.
14835         * locales/lg_UG: Likewise.
14836         * locales/lt_LT: Likewise.
14837         * locales/lv_LV: Likewise.
14838         * locales/mi_NZ: Likewise.
14839         * locales/nhn_MX: Likewise.
14840         * locales/nl_BE: Likewise.
14841         * locales/pl_PL: Likewise.
14842         * locales/sk_SK: Likewise.
14843         * locales/sl_SI: Likewise.
14844         * locales/sv_FI: Likewise.
14845         * locales/tl_PH: Likewise.
14846         * locales/tr_TR: Likewise.
14847         * locales/vi_VN: Likewise.
14849 2015-07-21  Khem Raj  <raj.khem@gmail.com>
14851         [BZ #17475]
14852         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
14853         of tu_IN and bh_IN.
14855 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
14857         [BZ #18694]
14858         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
14859         bits/wordsize.h.
14860         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
14862 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14864         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
14865         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
14866         (spawn_thread): New function.
14867         (load): Rename to reg_dtor_and_close.  Move dlopen to...
14868         (do_test): ... here.  Use IS_LOADED to test for its
14869         availability.
14871 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
14873         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14875 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
14877         [BZ #18696]
14878         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
14879         si_addr_bnd.
14880         (si_lower): New.
14881         (si_upper): Likewise.
14883 2015-07-16  David S. Miller  <davem@davemloft.net>
14885         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
14887 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14889         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
14890         buffer.
14891         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
14892         fail output information.
14894 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14896         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
14897         and strstr-ppc64..
14898         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14899         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
14900         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
14901         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
14902         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
14904 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
14906         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
14907         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14908         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
14909         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14911 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
14913         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14914         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
14915         rtld_hidden_proto.
14916         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
14918 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14920         * tst-nodelete-opened.c (do_test): Add comment to clarify how
14921         the test can fail.
14923         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
14925         [BZ #18676]
14926         * elf/tst-nodelete-opened.c: New test case.
14927         * elf/tst-nodelete-opened-lib.c: New test case module.
14928         * elf/Makefile (tests, modules-names): Use them.
14929         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
14930         early.
14932 2015-07-15  David S. Miller  <davem@davemloft.net>
14934         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
14935         futex-intenal.h
14936         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
14937         * sysdeps/sparc/sparc64/Makefile: Likewise.
14938         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
14939         Remove space from macro define.
14940         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
14942 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
14944         [BZ #17475]
14945         * locale/iso-639.def: Update Bhili and Tulu language codes as
14946         per iso639-3.
14948 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
14950         * elf/tst-leaks1.c (main): Converted to ...
14951         (do_test): ... this.
14952         (TEST_FUNCTION): New macro.
14953         Include test-skeleton.c.
14954         * localedata/tst-langinfo.c (main): Converted to ...
14955         (do_test): ... this.
14956         (TEST_FUNCTION): New macro.
14957         Include test-skeleton.c.
14958         * math/test-fpucw.c (main): Converted to ...
14959         (do_test): ... this.
14960         (TEST_FUNCTION): New macro.
14961         Include test-skeleton.c.
14962         * math/test-tgmath.c (main): Converted to ...
14963         (do_test): ... this.
14964         (TEST_FUNCTION): New macro.
14965         Include test-skeleton.c.
14966         * math/test-tgmath2.c (main): Converted to ...
14967         (do_test): ... this.
14968         (TEST_FUNCTION): New macro.
14969         Include test-skeleton.c.
14970         * setjmp/tst-setjmp.c (main): Converted to ...
14971         (do_test): ... this.
14972         (TEST_FUNCTION): New macro.
14973         Include test-skeleton.c.
14974         * stdio-common/tst-sscanf.c (main): Converted to ...
14975         (do_test): ... this.
14976         (TEST_FUNCTION): New macro.
14977         Include test-skeleton.c.
14978         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
14979         (do_test): ... this.
14980         (TEST_FUNCTION): New macro.
14981         Include test-skeleton.c.
14983         * elf/tst-audit9.c (main): Converted to ...
14984         (do_test): ... this.
14985         (TEST_FUNCTION): New macro.
14986         Include test-skeleton.c.
14988 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
14990         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
14992 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
14994         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
14995         New variable.
14997 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
14999         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15001 2015-07-14  Roland McGrath  <roland@hack.frob.com>
15003         * sysdeps/generic/dl-fileid.h: New file.
15004         * sysdeps/posix/dl-fileid.h: New file.
15005         * sysdeps/nacl/dl-fileid.h: New file.
15006         * include/link.h: Include <dl-fileid.h>.
15007         (struct link_map): Replace l_dev and l_ino with l_file_id.
15008         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
15009         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
15010         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
15012 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15014         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
15016 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15018         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
15019         Add iff $CXX is set.
15020         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
15021         Likewise.
15022         (tst-nodelete-zmodiff): Likewise.
15023         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
15025 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15027         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
15029 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15031         * sysdeps/aarch64/fpu/math_private.h
15032         (define math_opt_barrier): Add AArch64 version.
15033         (math_force_eval): Likewise.
15035 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15037         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
15039 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
15041         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
15042         %ld with %jd and cast to intmax_t.
15043         (do_test_length_zero): Likewise.
15045 2015-07-10  Roland McGrath  <roland@hack.frob.com>
15047         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
15049 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
15051         * sysdeps/tile/libm-test-ulps: Regenerated.
15053         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
15054         Comment out the whole function, not just its body.
15056 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15058         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
15059         locks.
15061         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
15063 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15065         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
15066         (sem_assume_only_signals_cause_futex_EINTR): Remove.
15068 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15070         * sysdeps/nptl/futex-internal.h: New file.
15071         * sysdeps/nacl/futex-internal.h: New file.
15072         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
15073         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
15074         error checking.
15075         (setxid_unmark_thread): Likewise.
15076         (__nptl_setxid): Likewise.
15077         (__wait_lookup_done): Likewise.
15078         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
15079         * nptl/nptl-init.c (sighandler_setxid): Likewise.
15080         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
15081         * nptl/pthread_once.c (clear_once_control): Likewise.
15082         (__pthread_once_slow): Likewise.
15083         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15084         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
15085         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
15086         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15087         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
15088         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
15089         Likewise.
15090         (__pthread_rwlock_rdlock): Likewise.
15091         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15092         Likewise.
15093         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15094         Likewise.
15095         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15096         Likewise.
15097         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
15098         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
15099         Likewise.
15100         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
15101         __ASSUME_PRIVATE_FUTEX check.
15102         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
15103         Check that shared futexes are supported.
15104         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
15105         wrappers with error checking.
15106         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
15107         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
15108         * nptl/pthread_barrierattr_setpshared.c
15109         (pthread_barrierattr_setpshared): Check that shared futexes are
15110         supported.
15111         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
15112         Likewise.
15113         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
15114         Likewise.
15115         * nptl/sem_init.c (futex_private_if_supported): Remove.
15116         (__new_sem_init): Adapt and check that shared futexes are supported.
15117         * nptl/sem_open.c (sem_open): Likewise.
15118         * nptl/sem_post.c (futex_wake): Remove.
15119         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
15120         (do_futex_wait): Use futex wrappers with error checking.
15121         * nptl/sem_wait.c: Include lowlevellock.h.
15122         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
15123         Use futex_supports_pshared.
15124         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
15125         Use futex wrappers with error checking.
15126         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
15127         Likewise.
15128         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
15129         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
15130         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
15131         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
15132         (futex_wake): Likewise.
15133         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
15134         (do_futex_wait): Use futex wrappers with error checking.
15135         (__new_sem_wait_slow): Update EINTR handling.
15136         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
15138 2015-07-09  Martin Sebor  <msebor@redhat.com>
15140         [BZ #18435]
15141         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15142         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
15143         * nptl/Makefile (test-xfail-tst-once5): Define.
15145 2015-07-09  Roland McGrath  <roland@hack.frob.com>
15147         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
15148         * elf/dl-minimal.c: For readability, reorder some definitions and
15149         introduce more page breaks.  Include <stdio.h>.
15150         (__libc_fatal): New function.
15152         * include/unistd.h: Add rtld_hidden_proto for _exit.
15153         * posix/_exit.c: Add rtld_hidden_def.
15154         * sysdeps/mach/hurd/_exit.c: Likewise.
15155         * sysdeps/nacl/_exit.c: Likewise.
15156         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
15157         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
15159 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
15161         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
15162         bndmov encoding with zero displacement.
15164 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
15165             H.J. Lu  <hongjiu.lu@intel.com>
15167         [BZ #18134]
15168         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
15169         * sysdeps/i386/configure: Regenerated.
15170         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15171         (_dl_runtime_profile): Save and restore Intel MPX return bound
15172         registers when calling _dl_call_pltexit.  Add
15173         PRESERVE_BND_REGS_PREFIX before return.
15174         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
15175         (LRV_BND1_OFFSET): Likewise.
15176         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
15177         lrv_bnd1.
15178         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
15179         typo in bndmov encoding.
15180         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
15181         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
15182         branch instructions to preserve bounds.
15184 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
15187         [GLIBC_2.22]: Add fmemopen.
15189 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15191         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
15192         returns an error, also try to use host port from __mach_host_self for
15193         the __vm_wire call.
15194         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
15196 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15198         [BZ #18400]
15199         [BZ #18648]
15200         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
15201         Fix pr_uid and pr_gid members.
15202         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
15203         definition to elf_greg_t.
15205 2015-07-08  Roland McGrath  <roland@hack.frob.com>
15207         [BZ #18383]
15208         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
15209         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
15210         * sysdeps/arm/configure: Regenerated.
15211         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
15212         (test-xfail-tst-tlsalign-static): Variable removed.
15214         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
15215         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
15216         rather than explicit 'ln -s'.
15218         * resolv/rpc/netdb.h: New file.
15219         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
15221 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15223         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
15224         length buffers.
15225         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
15226         test-skeleton.c.
15228         [BZ #6544]
15229         [BZ #11216]
15230         [BZ #12836]
15231         [BZ #13151]
15232         [BZ #13152]
15233         [BZ #14292]
15234         * include/stdio.h (fmemopen): Remove hidden prototype.
15235         (__fmemopen): Add new hidden prototype.
15236         * libio/Makefile: Add oldfmemopen object.
15237         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
15238         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
15239         compliance.
15240         * libio/oldfmemopen.c: New file: old fmemopen implementation for
15241         symbol compatibility.
15242         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
15243         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
15244         fmemopen.
15245         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
15246         on append and read mode.
15247         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
15248         fmemopen.
15249         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
15250         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
15251         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
15252         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
15253         Likewise.
15254         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
15255         [GLIBC_2.22]: Likewise.
15256         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
15257         Likewise.
15258         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
15259         Likewise.
15260         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
15261         [GLIBC_2.22]: Likewise.
15262         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
15263         [GLIBC_2.22]: Likewise.
15264         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
15265         [GLIBC_2.22]: Likewise.
15266         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
15267         [GLIBC_2.22]: Likewise.
15268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
15269         [GLIBC_2.22]: Likewise.
15270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
15271         [GLIBC_2.22]: Likewise.
15272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
15273         [GLIBC_2.22]: Likewise.
15274         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
15275         Likewise.
15276         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
15277         Likewise.
15278         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
15279         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
15280         [GLIBC_2.22]: Likewise.
15281         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
15282         [GLIBC_2.22]: Likewise.
15283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
15284         [GLIBC_2.22]: Likewise.
15285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
15286         [GLIBC_2.22]: Likewise.
15287         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
15288         Likewise.
15289         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
15290         Likewise.
15291         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
15292         Likewise.
15293         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
15294         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
15296 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
15298         [BZ #18643]
15299         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
15300         IPV6_PATHMTU, and IPV6_DONTFRAG.
15302 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
15304         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
15305         and _IO_UNBUFFERED.
15306         * libio/oldfileops.c: Likewise.
15307         * libio/wfileops.c: Likewise.
15309 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
15311         * nscd/selinux.c: Delete selinux/flask.h include.
15313 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
15315         [BZ #18641]
15316         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
15317         (putpwent): Likewise.
15318         (getpwnam): Likewise.
15319         (getpwent_r): Likewise.
15320         (getpwuid_r): Likewise.
15321         (getpwnam_r): Likewise.
15322         (fgetpwent_r): Likewise.
15324 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
15326         [BZ #18557]
15327         * inet/rcmd.c (__validuser2_sa): Check user first to
15328         short-circuit host check.
15330 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
15331             Mikhail Ilin  <m.ilin@samsung.com>
15333         [BZ #17833]
15334         * elf/Makefile (tests): Add tst-nodelete.
15335         (modules-names): Add tst-nodelete-uniquemod.
15336         (tst-nodelete-uniquemod.so-no-z-defs): New.
15337         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
15338         (tst-nodelete-zmod.so-no-z-defs): Likewise.
15339         ($(objpfx)tst-nodelete): Likewise.
15340         ($(objpfx)tst-nodelete.out): Likewise.
15341         (LDFLAGS-tst-nodelete): Likewise.
15342         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
15343         * elf/dl-close.c (_dl_close_worker): Add a parameter to
15344         implement forced object deletion.
15345         (_dl_close): Pass false to _dl_close_worker.
15346         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
15347         * elf/tst-nodelete.cc: New file.
15348         * elf/tst-nodeletelib.cc: Likewise.
15349         * elf/tst-znodeletelib.cc: Likewise.
15350         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
15352 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15354         [BZ #18508]
15355         * stdlib/Makefile ($(objpfx)tst-makecontext3):
15356         Depend on $(libdl).
15357         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
15358         is not called infinitely times.
15359         (backtrace_helper): New function.
15360         (trace_arg): New struct.
15361         (st1): Enlarge stack size.
15362         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15363         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
15364         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15365         Likewise.
15367 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15369         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15371 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15373         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
15374         Include sys/types.h instead of bits/types.h.
15375         Remove inclusion of bits/wordsize.h.
15377 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15379         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
15380         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
15381         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
15382         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
15383         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
15384         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
15386 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15388         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
15389         link-defines.sym.
15390         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
15391         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
15392         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
15393         and LR_SIZE.
15394         * sysdeps/i386/link-defines.sym: New file.
15396 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15398         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
15399         (modules-names): Add tst-auditmod3a tst-auditmod3b.
15400         ($(objpfx)tst-audit3): New rule.
15401         ($(objpfx)tst-audit3.out): Likewise.
15402         * sysdeps/i386/tst-audit3.c: New file.
15403         * sysdeps/i386/tst-audit3.h: Likewise.
15404         * sysdeps/i386/tst-auditmod3a.c: Likewise.
15405         * sysdeps/i386/tst-auditmod3b.c: Likewise.
15407 2015-07-07  Torvald Riegel  <triegel@redhat.com>
15409         [BZ #18633]
15410         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
15411         pointer in C code.
15412         (__strcat_c): Likewise.
15413         (__strcat_g): Likewise.
15415 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
15417         [BZ #18592]
15418         * misc/sbrk.c: Set errno to ENOMEM on overflow.
15420 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
15422         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
15423         New function.  (__ieee754_sqrtf): New function.
15424         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
15425         New function.
15426         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
15427         New function.
15429 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
15431         * sysdeps/ieee754/support.c: Remove unused file.
15433 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15435         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
15436         registers instead of d ones so the layout is kernel abi compatible.
15437         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
15438         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
15439         Likewise.
15441 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15443         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15445 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
15447         [BZ #18619]
15448         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
15449         and return argument in case of subnormal argument.
15451 2015-07-01  Martin Sebor  <msebor@redhat.com>
15453         [BZ #18435]
15454         * nptl/Makefile: Add tst-once5.cc.
15455         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15456         Remove macro redefinitions.
15457         * nptl/tst-once5.cc: New test.
15459 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
15461         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15463         * sysdeps/arm/libm-test-ulps: Regenerated.
15465         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15466         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15468 2015-06-30  Torvald Riegel  <triegel@redhat.com>
15470         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
15471         lll_lock_wait_private and lll_futex_wake probes.
15473         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15474         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
15475         Likewise.
15476         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
15477         atomic_spin_nop.
15478         * sysdeps/x86_64/bits/atomic.h: Likewise.
15479         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
15480         to atomic_spin_nop and move ...
15481         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15482         ... here and ...
15483         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
15484         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
15485         atomic_spin_nop instead of BUSY_WAIT_NOP.
15486         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
15487         Likewise.
15488         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
15489         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15490         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
15491         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
15492         instead of atomic_delay.
15494 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
15496         [BZ #18613]
15497         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
15498         X_ADJ not X when adjusting exponent.
15499         (__ieee754_gamma_r): Do intermediate computations in
15500         round-to-nearest then adjust overflowing and underflowing results
15501         as needed.
15502         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
15503         of X_ADJ not X when adjusting exponent.
15504         (__ieee754_gammaf_r): Do intermediate computations in
15505         round-to-nearest then adjust overflowing and underflowing results
15506         as needed.
15507         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
15508         log of X_ADJ not X when adjusting exponent.
15509         (__ieee754_gammal_r): Do intermediate computations in
15510         round-to-nearest then adjust overflowing and underflowing results
15511         as needed.  Use 1.0L not 1.0f as numerator of division.
15512         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
15513         log of X_ADJ not X when adjusting exponent.
15514         (__ieee754_gammal_r): Do intermediate computations in
15515         round-to-nearest then adjust overflowing and underflowing results
15516         as needed.  Use 1.0L not 1.0f as numerator of division.
15517         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
15518         of X_ADJ not X when adjusting exponent.
15519         (__ieee754_gammal_r): Do intermediate computations in
15520         round-to-nearest then adjust overflowing and underflowing results
15521         as needed.  Use 1.0L not 1.0f as numerator of division.
15522         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
15523         to auto-libm-test-in.
15524         (tgamma_test): Use ALL_RM_TEST.
15525         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
15526         tests of tgamma with spurious-overflow.
15527         * math/auto-libm-test-out: Regenerated.
15528         * math/gen-libm-have-vector-test.sh: Do not check for START.
15529         * sysdeps/i386/fpu/libm-test-ulps: Update.
15530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15532         [BZ #18612]
15533         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
15534         arguments, just return 0.5 times the argument, with underflow
15535         forced as needed.
15536         * math/auto-libm-test-in: Add more tests of j1.
15537         * math/auto-libm-test-out: Regenerated.
15539         [BZ #16559]
15540         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
15541         (__ieee754_j1): Force underflow exception for small results.
15542         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15543         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
15544         (__ieee754_j1f): Force underflow exception for small results.
15545         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15546         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15547         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15548         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
15549         (__ieee754_j1l): Force underflow exception for small results.
15550         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15551         * math/auto-libm-test-in: Add more tests of j1 and jn.
15552         * math/auto-libm-test-out: Regenerated.
15554         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
15555         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
15556         (PF_MPLS): Likewise.
15557         (AF_IB): Likewise.
15558         (AF_MPLS): Likewise.
15559         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
15560         value and macro.
15561         (MS_RMT_MASK): Include MS_LAZYTIME.
15563 2015-06-26  Mel Gorman  <mgorman@suse.de>
15565         [BZ #18502]
15566         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
15567         already minimal.
15569 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
15571         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
15572         (DT_MIPS_NUM): Update.
15573         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
15574         DT_MIPS_RLD_MAP_REL.
15576 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
15578         [BZ #16559]
15579         [BZ #18602]
15580         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
15581         round-to-nearest internally then recompute results that
15582         underflowed to zero in the original rounding mode.
15583         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15584         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15585         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15586         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15587         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
15588         * sysdeps/i386/fpu/libm-test-ulps: Update.
15589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15591 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
15593         * NEWS: Fixed description of link with vector math library.
15595 2015-06-25  Andreas Schwab  <schwab@suse.de>
15597         [BZ #18549]
15598         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
15599         * libio/test-fmemopen.c (do_test): Add test for it.
15601 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
15603         [BZ #17841]
15604         * Makeconfig (no-pie-ldflag): New.
15605         (+link): Set to $(+link-pie) if default to PIE.
15606         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
15607         * config.make.in (build-pie-default): New.
15608         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
15609         is default.  AC_SUBST.
15610         * configure: Regenerated.
15611         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
15613 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15615         * nptl/descr.h (struct pthread): Change type of field setxid_futex
15616         to 'unsigned int'.
15618         * resolv/gai_misc.h (struct waitlist): Change type of field
15619         counterp to 'volatile unsigned int *'.
15620         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
15621         FUTEXADDR and OLDVAL.
15622         * resolv/getaddrinfo_a.c (getaddrinfo_a):
15623         Give local variable TOTAL type 'volatile unsigned int'.
15624         (struct async_waitlist): Change type of field counter to 'unsigned int'.
15625         * resolv/gai_suspend.c (gai_suspend):
15626         Give local variable CNTR type 'unsigned int'.
15628         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
15629         counterp to 'volatile unsigned int *'.
15630         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
15631         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
15632         (aio_suspend): Give local variable CNTR type 'unsigned int'.
15633         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
15634         Give local variable TOTAL type 'volatile unsigned int'.
15635         (struct async_waitlist): Change type of field counter to 'unsigned int'.
15637 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
15639         [BZ #18383]
15640         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
15641         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
15642         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
15643         comment for i386/x86-64.
15644         (test-xfail-tst-tlsalign-extern-static): Removed.
15646 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15648         * math/test-double.h: New file.
15649         * math/test-float.h: Likewise.
15650         * math/test-ldouble.h: Likewise.
15651         * math/test-math-inline.h: Likewise.
15652         * math/test-math-no-inline.h: Likewise.
15653         * math/test-math-scalar.h: Likewise.
15654         * math/test-math-vector.h: Likewise.
15655         * math/test-vec-loop.h: Remove file.  Contents moved into
15656         test-math-vector.h.
15657         * math/libm-test.inc (MATHCONST): Do not document macro.
15658         * math/test-double.c: Include test-double.h, test-math-no-inline.h
15659         and test-math-scalar.h.
15660         (FUNC): Remove macro.
15661         (FUNC_TEST): Likewise.
15662         (FLOAT): Likewise.
15663         (MATHCONST): Likewise.
15664         (PRINTF_EXPR): Likewise.
15665         (PRINTF_XEXPR): Likewise.
15666         (PRINTF_NEXPR): Likewise.
15667         (TEST_DOUBLE): Likewise.
15668         (TEST_MATHVEC): Likewise.
15669         (__NO_MATH_INLINES): Likewise.
15670         * math/test-float.c: Include test-float.h, test-math-no-inline.h
15671         and test-math-scalar.h.
15672         (FUNC): Remove macro.
15673         (FUNC_TEST): Likewise.
15674         (FLOAT): Likewise.
15675         (MATHCONST): Likewise.
15676         (PRINTF_EXPR): Likewise.
15677         (PRINTF_XEXPR): Likewise.
15678         (PRINTF_NEXPR): Likewise.
15679         (TEST_FLOAT): Likewise.
15680         (TEST_MATHVEC): Likewise.
15681         (__NO_MATH_INLINES): Likewise.
15682         * math/test-idouble.c: Include test-double.h, test-math-inline.h
15683         and test-math-scalar.h.
15684         (FUNC): Remove macro.
15685         (FUNC_TEST): Likewise.
15686         (FLOAT): Likewise.
15687         (MATHCONST): Likewise.
15688         (PRINTF_EXPR): Likewise.
15689         (PRINTF_XEXPR): Likewise.
15690         (PRINTF_NEXPR): Likewise.
15691         (TEST_DOUBLE): Likewise.
15692         (TEST_MATHVEC): Likewise.
15693         (TEST_INLINE): Likewise.
15694         (__NO_MATH_INLINES): Likewise.
15695         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
15696         test-math-scalar.h.
15697         (FUNC): Remove macro.
15698         (FUNC_TEST): Likewise.
15699         (FLOAT): Likewise.
15700         (MATHCONST): Likewise.
15701         (PRINTF_EXPR): Likewise.
15702         (PRINTF_XEXPR): Likewise.
15703         (PRINTF_NEXPR): Likewise.
15704         (TEST_FLOAT): Likewise.
15705         (TEST_MATHVEC): Likewise.
15706         (TEST_INLINE): Likewise.
15707         (__NO_MATH_INLINES): Likewise.
15708         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
15709         and test-math-scalar.h.
15710         (FUNC): Remove macro.
15711         (FUNC_TEST): Likewise.
15712         (FLOAT): Likewise.
15713         (MATHCONST): Likewise.
15714         (PRINTF_EXPR): Likewise.
15715         (PRINTF_XEXPR): Likewise.
15716         (PRINTF_NEXPR): Likewise.
15717         (TEST_LDOUBLE): Likewise.
15718         (TEST_MATHVEC): Likewise.
15719         (TEST_INLINE): Likewise.
15720         (__NO_MATH_INLINES): Likewise.
15721         * math/test-ldouble.c: Include test-ldouble.h,
15722         test-math-no-inline.h and test-math-scalar.h.
15723         (FUNC): Remove macro.
15724         (FUNC_TEST): Likewise.
15725         (FLOAT): Likewise.
15726         (MATHCONST): Likewise.
15727         (PRINTF_EXPR): Likewise.
15728         (PRINTF_XEXPR): Likewise.
15729         (PRINTF_NEXPR): Likewise.
15730         (TEST_LDOUBLE): Likewise.
15731         (TEST_MATHVEC): Likewise.
15732         (__NO_MATH_INLINES): Likewise.
15733         * math/test-double-vlen2.h: Include test-double.h,
15734         test-math-no-inline.h and test-math-vector.h.
15735         (FLOAT): Remove macro.
15736         (FUNC): Likewise.
15737         (MATHCONST): Likewise.
15738         (PRINTF_EXPR): Likewise.
15739         (PRINTF_XEXPR): Likewise.
15740         (PRINTF_NEXPR): Likewise.
15741         (TEST_DOUBLE): Likewise.
15742         (TEST_MATHVEC): Likewise.
15743         (__NO_MATH_INLINES): Likewise.
15744         (CNCT): Likewise.
15745         (CONCAT): Likewise.
15746         (WRAPPER_NAME): Likewise.
15747         (WRAPPER_DECL): Likewise.
15748         (WRAPPER_DECL_ff): Likewise.
15749         (WRAPPER_DECL_fFF): Likewise.
15750         (VECTOR_WRAPPER): Likewise.
15751         (VECTOR_WRAPPER_ff): Likewise.
15752         (VECTOR_WRAPPER_fFF): Likewise.
15753         (VEC_LEN): New macro.
15754         * math/test-double-vlen4.h: Include test-double.h,
15755         test-math-no-inline.h and test-math-vector.h.
15756         (FLOAT): Remove macro.
15757         (FUNC): Likewise.
15758         (MATHCONST): Likewise.
15759         (PRINTF_EXPR): Likewise.
15760         (PRINTF_XEXPR): Likewise.
15761         (PRINTF_NEXPR): Likewise.
15762         (TEST_DOUBLE): Likewise.
15763         (TEST_MATHVEC): Likewise.
15764         (__NO_MATH_INLINES): Likewise.
15765         (CNCT): Likewise.
15766         (CONCAT): Likewise.
15767         (WRAPPER_NAME): Likewise.
15768         (WRAPPER_DECL): Likewise.
15769         (WRAPPER_DECL_ff): Likewise.
15770         (WRAPPER_DECL_fFF): Likewise.
15771         (VECTOR_WRAPPER): Likewise.
15772         (VECTOR_WRAPPER_ff): Likewise.
15773         (VECTOR_WRAPPER_fFF): Likewise.
15774         (VEC_LEN): New macro.
15775         * math/test-double-vlen8.h: Include test-double.h,
15776         test-math-no-inline.h and test-math-vector.h.
15777         (FLOAT): Remove macro.
15778         (FUNC): Likewise.
15779         (MATHCONST): Likewise.
15780         (PRINTF_EXPR): Likewise.
15781         (PRINTF_XEXPR): Likewise.
15782         (PRINTF_NEXPR): Likewise.
15783         (TEST_DOUBLE): Likewise.
15784         (TEST_MATHVEC): Likewise.
15785         (__NO_MATH_INLINES): Likewise.
15786         (CNCT): Likewise.
15787         (CONCAT): Likewise.
15788         (WRAPPER_NAME): Likewise.
15789         (WRAPPER_DECL): Likewise.
15790         (WRAPPER_DECL_ff): Likewise.
15791         (WRAPPER_DECL_fFF): Likewise.
15792         (VECTOR_WRAPPER): Likewise.
15793         (VECTOR_WRAPPER_ff): Likewise.
15794         (VECTOR_WRAPPER_fFF): Likewise.
15795         (VEC_LEN): New macro.
15796         * math/test-float-vlen4.h: Include test-float.h,
15797         test-math-no-inline.h and test-math-vector.h.
15798         (FLOAT): Remove macro.
15799         (FUNC): Likewise.
15800         (MATHCONST): Likewise.
15801         (PRINTF_EXPR): Likewise.
15802         (PRINTF_XEXPR): Likewise.
15803         (PRINTF_NEXPR): Likewise.
15804         (TEST_FLOAT): Likewise.
15805         (TEST_MATHVEC): Likewise.
15806         (__NO_MATH_INLINES): Likewise.
15807         (CNCT): Likewise.
15808         (CONCAT): Likewise.
15809         (WRAPPER_NAME): Likewise.
15810         (WRAPPER_DECL): Likewise.
15811         (WRAPPER_DECL_ff): Likewise.
15812         (WRAPPER_DECL_fFF): Likewise.
15813         (VECTOR_WRAPPER): Likewise.
15814         (VECTOR_WRAPPER_ff): Likewise.
15815         (VECTOR_WRAPPER_fFF): Likewise.
15816         (VEC_LEN): New macro.
15817         * math/test-float-vlen8.h: Include test-float.h,
15818         test-math-no-inline.h and test-math-vector.h.
15819         (FLOAT): Remove macro.
15820         (FUNC): Likewise.
15821         (MATHCONST): Likewise.
15822         (PRINTF_EXPR): Likewise.
15823         (PRINTF_XEXPR): Likewise.
15824         (PRINTF_NEXPR): Likewise.
15825         (TEST_FLOAT): Likewise.
15826         (TEST_MATHVEC): Likewise.
15827         (__NO_MATH_INLINES): Likewise.
15828         (CNCT): Likewise.
15829         (CONCAT): Likewise.
15830         (WRAPPER_NAME): Likewise.
15831         (WRAPPER_DECL): Likewise.
15832         (WRAPPER_DECL_ff): Likewise.
15833         (WRAPPER_DECL_fFF): Likewise.
15834         (VECTOR_WRAPPER): Likewise.
15835         (VECTOR_WRAPPER_ff): Likewise.
15836         (VECTOR_WRAPPER_fFF): Likewise.
15837         (VEC_LEN): New macro.
15838         * math/test-float-vlen16.h: Include test-float.h,
15839         test-math-no-inline.h and test-math-vector.h.
15840         (FLOAT): Remove macro.
15841         (FUNC): Likewise.
15842         (MATHCONST): Likewise.
15843         (PRINTF_EXPR): Likewise.
15844         (PRINTF_XEXPR): Likewise.
15845         (PRINTF_NEXPR): Likewise.
15846         (TEST_FLOAT): Likewise.
15847         (TEST_MATHVEC): Likewise.
15848         (__NO_MATH_INLINES): Likewise.
15849         (CNCT): Likewise.
15850         (CONCAT): Likewise.
15851         (WRAPPER_NAME): Likewise.
15852         (WRAPPER_DECL): Likewise.
15853         (WRAPPER_DECL_ff): Likewise.
15854         (WRAPPER_DECL_fFF): Likewise.
15855         (VECTOR_WRAPPER): Likewise.
15856         (VECTOR_WRAPPER_ff): Likewise.
15857         (VECTOR_WRAPPER_fFF): Likewise.
15858         (VEC_LEN): New macro.
15859         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
15860         test-vec-loop.h.
15861         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15862         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15863         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15864         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15865         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15866         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15867         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15869 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15871         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
15872         (__getlogin_r): ... this.
15874 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15876         [BZ #18594]
15877         * math/s_ccosh.c (__ccosh): Compare with least normal value
15878         instead of comparing class with FP_SUBNORMAL.
15879         * math/s_ccoshf.c (__ccoshf): Likewise.
15880         * math/s_ccoshl.c (__ccoshl): Likewise.
15881         * math/s_cexp.c (__cexp): Likewise.
15882         * math/s_cexpf.c (__cexpf): Likewise.
15883         * math/s_cexpl.c (__cexpl): Likewise.
15884         * math/s_csin.c (__csin): Likewise.
15885         * math/s_csinf.c (__csinf): Likewise.
15886         * math/s_csinh.c (__csinh): Likewise.
15887         * math/s_csinhf.c (__csinhf): Likewise.
15888         * math/s_csinhl.c (__csinhl): Likewise.
15889         * math/s_csinl.c (__csinl): Likewise.
15890         * math/s_ctan.c (__ctan): Likewise.
15891         * math/s_ctanf.c (__ctanf): Likewise.
15892         * math/s_ctanh.c (__ctanh): Likewise.
15893         * math/s_ctanhf.c (__ctanhf): Likewise.
15894         * math/s_ctanhl.c (__ctanhl): Likewise.
15895         * math/s_ctanl.c (__ctanl): Likewise.
15896         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
15897         csin, csinh, ctan and ctanh.
15898         * math/auto-libm-test-out: Regenerated.
15899         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
15900         * sysdeps/i386/fpu/libm-test-ulps: Update.
15901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15903 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15905         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
15906         return value is wrong, print the expected value too.
15908 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
15910         [BZ #18585]
15911         * elf/readlib.c (is_gdb_python_file): New.
15912         (process_file): Don't issue errors on filenames with -gdb.py
15913         suffix.
15915 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15917         * math/auto-libm-test-in: Add more tests of csin and csinh.
15918         * math/auto-libm-test-out: Regenerated.
15919         * math/libm-test.inc (csin_test_data): Remove tests moved to
15920         auto-libm-test-in.
15921         (csinh_test_data): Likewise.
15923         [BZ #18593]
15924         * math/s_csin.c (__csin): Negate before rather than after possibly
15925         overflowing multiplication.
15926         * math/s_csinf.c (__csinf): Likewise.
15927         * math/s_csinh.c (__csinh): Likewise.
15928         * math/s_csinhf.c (__csinhf): Likewise.
15929         * math/s_csinhl.c (__csinhl): Likewise.
15930         * math/s_csinl.c (__csinl): Likewise.
15931         * math/auto-libm-test-in: Add some tests of csin and csinh.
15932         * math/auto-libm-test-out: Regenerated.
15933         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
15934         (csinh_test_data): Likewise.
15935         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15937         [BZ #18586]
15938         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
15939         underflow exception for small results.
15941 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
15943         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
15944         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
15945         variable and included header.
15946         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
15947         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
15948         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
15949         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
15950         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
15951         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
15952         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
15953         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
15954         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
15955         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
15956         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
15957         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
15958         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
15959         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
15960         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
15961         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
15963 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15965         [BZ #16526]
15966         [BZ #16538]
15967         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
15968         (__sin): Force underflow exception for arguments with small
15969         absolute value.
15970         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
15971         (__kernel_sinf): Force underflow exception for arguments with
15972         small absolute value.
15973         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
15974         (__kernel_sincosl): Force underflow exception for arguments with
15975         small absolute value.
15976         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
15977         (__kernel_sinl): Force underflow exception for arguments with
15978         small absolute value.
15979         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
15980         (__kernel_sincosl): Force underflow exception for arguments with
15981         small absolute value.
15982         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
15983         (__kernel_sinl): Force underflow exception for arguments with
15984         small absolute value.
15985         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
15986         (__kernel_sinl): Force underflow exception for arguments with
15987         small absolute value.
15988         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
15989         (__kernel_sinf): Force underflow exception for arguments with
15990         small absolute value.
15991         * math/auto-libm-test-in: Add more tests of sin and sincos.
15992         * math/auto-libm-test-out: Regenerated.
15994         [BZ #18245]
15995         [BZ #18583]
15996         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
15997         (__kernel_standard_l): Use feholdexcept and fesetenv around
15998         conversion to double instead of special-casing overflow and
15999         underflow.
16000         * math/libm-test.inc (fmod_test_data): Add more tests.
16001         (remainder_test_data): Likewise.
16002         (sqrt_test_data): Likewise.
16004 2015-06-23  Torvald Riegel  <triegel@redhat.com>
16006         [BZ #17403]
16007         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
16008         atomic_read_barrier, atomic_write_barrier): Define.
16009         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
16010         atomic_read_barrier, atomic_write_barrier): Define.
16012 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16014         * math/Makefile [$(PERL) != no]
16015         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
16016         dependency on libm-test.stmp below the inclusion of Rules.
16018 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
16020         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16021         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
16022         and included header.
16023         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
16024         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
16025         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
16026         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
16027         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
16028         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
16029         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
16030         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
16031         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
16032         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
16033         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
16034         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
16035         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
16036         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
16037         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
16038         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
16039         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
16040         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
16041         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
16043 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16045         [BZ #18371]
16046         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
16047         intermediate but not final result might underflow.
16048         * math/s_csqrtf.c (__csqrtf): Likewise.
16049         * math/s_csqrtl.c (__csqrtl): Likewise.
16050         * math/auto-libm-test-in: Add more tests of csqrt.
16051         * math/auto-libm-test-out: Regenerated.
16052         * sysdeps/i386/fpu/libm-test-ulps: Update.
16054         [BZ #18219]
16055         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
16056         threshold on absolute value of exponent for which scaling is used.
16057         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16058         * math/auto-libm-test-in: Add more tests of exp2.
16059         * math/auto-libm-test-out: Regenerated.
16061 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
16063         [BZ #17977]
16064         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
16065         when initializing interface list, based on the bug analysis
16066         and the patch proposed by Eric Newton.
16067         * resolv/tst-res_hconf_reorder.c: New test.
16068         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
16069         tst-res_hconf_reorder.
16070         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
16071         and $(shared-thread-library).
16072         (tst-res_hconf_reorder-ENV): New variable.
16074         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
16075         in comment.
16077 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
16079         [BZ #16353]
16080         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
16081         (__expm1): Force underflow exception for arguments with small
16082         absolute value.
16083         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
16084         (__expm1f): Force underflow exception for arguments with small
16085         absolute value.
16086         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
16087         (__expm1): Force underflow exception for arguments with small
16088         absolute value.
16089         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
16090         (__expm1f): Force underflow exception for arguments with small
16091         absolute value.
16092         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16093         Check for small arguments before calling __expm1.
16094         * math/auto-libm-test-in: Do not mark underflow exceptions as
16095         possibly missing for bug 16353.
16096         * math/auto-libm-test-out: Regenerated.
16098 2015-06-22  Andreas Schwab  <schwab@suse.de>
16100         [BZ #18513]
16101         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
16102         PTR queries.
16104 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
16106         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
16108         * string/strcoll_l.c: Remove unused struct element idxnow.
16110 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
16112         [BZ #18569]
16113         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
16114         underflow and return argument in case of subnormal argument.
16115         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16116         Likewise.
16117         * math/auto-libm-test-in: Add more tests of expm1.
16118         * math/auto-libm-test-out: Regenerated.
16120         [BZ #16361]
16121         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16122         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16123         tiny results.
16124         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16125         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16126         tiny results.
16127         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
16128         mark underflow exceptions as possibly missing for bug 16361.
16129         * math/auto-libm-test-out: Regenerated.
16131 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
16133         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
16134         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
16135         Remove variable.
16136         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16137         (test-xfail-XOPEN2K8/utmpx.h/conform).
16139         * conform/conformtest.pl ($xerrors): New variable.
16140         (note_error): New function.
16141         (compiletest): New argument $xfail.  Use not_error.
16142         (runtest): Likewise.
16143         (top level): Handle xfail- lines.  Update calls to compiletest and
16144         runtest.  Handle xfail- and optional- in headers listed with
16145         allow-header.
16146         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
16147         (O_EXEC): Likewise.
16148         (O_SEARCH): Likewise.
16149         * conform/data/stropts.h-data (ioctl): Likewise.
16150         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
16151         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
16152         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
16153         (msghdr.msg_controllen): Likewise.
16154         (cmsghdr.cmsg_len): Likewise.
16155         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
16156         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
16157         variable.
16158         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16159         (test-xfail-XPG4/stropts.h/conform): Likewise.
16160         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16161         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16162         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16163         (test-xfail-UNIX98/stropts.h/conform): Likewise.
16164         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16165         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16166         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16167         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16168         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16169         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16170         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16171         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16172         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16173         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16174         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16175         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16176         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16177         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16178         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16180 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16182         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
16183         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
16184         definitions for proper unfolding of __MATHDECL_VEC.
16186 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16188         * benchtests/bench-strcoll.c:
16189         Include string.h.
16190         (main): Remove unused variable res.
16192 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16194         * timezone/Makefile (%/UTC %/Universal):
16195         Generate test-result files for UTC and Universal.
16197 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16199         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16201 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
16203         [BZ #16350]
16204         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
16205         for arguments with small absolute value.
16206         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
16207         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
16208         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
16209         (__asinh): Force underflow exception for arguments with small
16210         absolute value.
16211         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
16212         (__asinhf): Force underflow exception for arguments with small
16213         absolute value.
16214         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
16215         (__asinhl): Force underflow exception for arguments with small
16216         absolute value.
16217         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
16218         (__asinhl): Force underflow exception for arguments with small
16219         absolute value.
16220         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
16221         (__asinhl): Force underflow exception for arguments with small
16222         absolute value.
16223         * math/auto-libm-test-in: Do not mark underflow exceptions as
16224         possibly missing for bug 16350.
16225         * math/auto-libm-test-out: Regenerated.
16227         * include/bits/ipc.h: Remove file.
16228         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
16229         variable.
16230         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16231         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16232         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16233         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16234         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16235         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16236         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16237         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16238         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16240         * math/auto-libm-test-in: Remove spurious underflow allowance for
16241         tests of cexp.
16242         * math/auto-libm-test-out: Regenerated.
16244         [BZ #18558]
16245         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
16246         unconditional definition.
16247         (MCAST_BLOCK_SOURCE): Likewise.
16248         (MCAST_UNBLOCK_SOURCE): Likewise.
16249         (MCAST_LEAVE_GROUP): Likewise.
16250         (MCAST_JOIN_SOURCE_GROUP): Likewise.
16251         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16252         (MCAST_MSFILTER): Likewise.
16253         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
16254         Remove variable.
16255         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16256         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16257         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16258         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16259         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16261 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
16263         * NEWS: Mention addition of x86_64 vector sincosf.
16264         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
16265         * math/test-float-vlen4.h: Likewise.
16266         * math/test-float-vlen8.h: Likewise.
16267         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16268         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
16269         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16270         * sysdeps/x86_64/fpu/Versions: New versions added.
16271         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16272         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16273         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16274         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
16275         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
16276         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
16277         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
16278         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
16279         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
16280         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
16281         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
16282         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
16283         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
16284         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
16285         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
16286         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
16287         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
16288         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16289         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16290         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16291         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16292         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16293         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16294         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16296         * NEWS: Mention addition of x86_64 vector sincos.
16297         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
16298         * math/math.h (__MATHDECL_VEC): New macro.
16299         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
16300         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
16301         declaration under condition.
16302         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
16303         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
16304         TEST_VEC_LOOP change.
16305         * math/test-double-vlen4.h: Likewise.
16306         * math/test-double-vlen8.h: Likewise.
16307         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
16308         * math/test-float-vlen4.h: Likewise.
16309         * math/test-float-vlen8.h: Likewise.
16310         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16311         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
16312         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16313         * sysdeps/x86_64/fpu/Versions: New versions added.
16314         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16315         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16316         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16317         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
16318         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
16319         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
16320         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
16321         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
16322         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
16323         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
16324         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
16325         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
16326         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
16327         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
16328         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
16329         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
16330         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
16331         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16332         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16333         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16334         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16335         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16336         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16337         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16339         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16340         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16341         redirections for powf.
16342         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16343         * sysdeps/x86_64/fpu/Versions: New versions added.
16344         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16345         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16346         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16347         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
16348         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
16349         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
16350         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
16351         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
16352         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
16353         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
16354         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
16355         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
16356         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
16357         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
16358         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
16359         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
16360         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
16361         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16362         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16363         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16364         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16365         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16366         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16367         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16368         * math/test-float-vlen16.h: Fixed 2 argument macro.
16369         * math/test-float-vlen4.h: Likewise.
16370         * math/test-float-vlen8.h: Likewise.
16371         * NEWS: Mention addition of x86_64 vector powf.
16373 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
16375         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16376         and redefine.
16377         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16378         and redefine.
16379         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
16380         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16381         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16383         [BZ #18553]
16384         * resource/getpriority.c (getpriority): Rename to __getpriority
16385         and define as weak alias of __getpriority.
16386         * resource/setpriority.c (setpriority): Rename to __setpriority
16387         and define as weak alias of __setpriority.
16388         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
16389         __getpriority and define as weak alias of __getpriority.
16390         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
16391         __setpriority and define as weak alias of __setpriority.
16392         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
16393         strong name.
16394         (setpriority): Use __setpriority as strong name.
16395         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
16396         __getpriority and define as weak alias of __getpriority.
16397         * include/sys/resource.h (__getpriority): Declare.  Use
16398         libc_hidden_proto.
16399         (__setpriority): Likewise.
16400         (getpriority): Don't use libc_hidden_proto.
16401         (setpriority): Likewise.
16402         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
16403         getpriority.  Call __setpriority instead of setpriority.
16404         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
16405         Remove variable.
16407         [BZ #18547]
16408         * misc/getttyent.c (getttynam): Rename to __getttynam and define
16409         as weak alias of __getttynam.  Use prototype function definition.
16410         Call __setttyent, __getttyent and __endttyent instead of
16411         setttyent, getttyent and endttyent.
16412         (getttyent): Rename to __getttyent and define as weak alias of
16413         __getttyent.  Call __setttyent instead of setttyent.  Call
16414         __fgets_unlocked instead of fgets_unlocked.
16415         (setttyent): Rename to __setttyent and define as weak alias of
16416         __setttyent.
16417         (endttyent): Rename to __endttyent and define as weak alias of
16418         __endttyent.
16419         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
16420         (__setttyent): Likewise.
16421         (__endttyent): Likewise.
16422         (getttyent): Don't use libc_hidden_proto.
16423         (setttyent): Likewise.
16424         (endttyent): Likewise.
16425         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
16426         __endttyent instead of setttyent, getttyent and endttyent.
16427         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
16428         Remove variable.
16430         [BZ #18546]
16431         * socket/recv.c (__recv): Use libc_hidden_def.
16432         * socket/socket.c (__socket): Likewise.
16433         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
16434         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
16435         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
16436         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
16437         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
16438         libc_hidden_def.
16439         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
16440         libc_hidden_weak.
16441         * include/sys/socket.h (__socket): Do not use attribute_hidden.
16442         Use libc_hidden_proto.
16443         (__recv): Likewise.
16444         * socket/Versions (libc): Export __recv and __socket at version
16445         GLIBC_PRIVATE.
16446         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
16447         instead of recv.
16448         (init_mq_netlink): Call __socket instead of socket.
16449         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
16450         Remove variable.
16452         [BZ #18545]
16453         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
16454         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
16455         hidden_weak.
16456         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
16457         define as alias of __mq_timedsend.  Use hidden_weak.
16458         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
16459         __mq_timedsend as strong name.
16460         (mq_timedreceive): Use __mq_timedreceive as strong name.
16461         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
16462         (__mq_timedreceive): Likewise.
16463         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
16464         __mq_timedreceive instead of mq_timedreceive.
16465         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
16466         instead of mq_timedsend.
16467         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
16468         Remove variable.
16470         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
16471         hidden_def and hidden_weak instead of libc_hidden_def and
16472         libc_hidden_weak.
16473         (top level): Refer to hidden_def in comment.
16474         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
16475         macro.  Use it instead of libc_hidden_def.
16476         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
16477         specify __GI_* name explicitly.
16478         (mq_timedreceive): Likewise.
16479         (mq_setattr): Likewise.
16481         [BZ #18544]
16482         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
16483         __pthread_barrier_init and define as weak alias of
16484         __pthread_barrier_init.
16485         * sysdeps/sparc/nptl/pthread_barrier_init.c
16486         (pthread_barrier_init): Likewise.
16487         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
16488         __pthread_barrier_wait and define as weak alias of
16489         __pthread_barrier_wait.
16490         * sysdeps/sparc/nptl/pthread_barrier_wait.c
16491         (pthread_barrier_wait): Likewise.
16492         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
16493         (pthread_barrier_wait): Likewise.
16494         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
16495         (pthread_barrier_wait): Likewise.
16496         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
16497         (pthread_barrier_wait): Likewise.
16498         * nptl/Versions (libpthread): Export __pthread_barrier_init and
16499         __pthread_barrier_wait at version GLIBC_PRIVATE.
16500         * include/pthread.h (__pthread_barrier_init): Declare.
16501         (__pthread_barrier_wait): Likewise.
16502         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
16503         Call __pthread_barrier_wait instead of pthread_barrier_wait.
16504         (helper_thread): Likewise.
16505         (init_mq_netlink): Call __pthread_barrier_init instead of
16506         pthread_barrier_init.
16508         [BZ #18542]
16509         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
16510         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
16511         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
16512         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
16513         vswscanf.
16514         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
16515         Remove variable.
16517         [BZ #18540]
16518         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
16519         strong alias of _IO_fflush.  Use libc_hidden_def.
16520         * libio/iofflush_u.c (fflush_unlocked): Rename to
16521         __fflush_unlocked and define as weak alias of __fflush_unlocked.
16522         Use libc_hidden_weak.
16523         * include/stdio.h (__fflush_unlocked): Declare.  Use
16524         libc_hidden_proto.
16525         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
16526         fflush_unlocked.
16527         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
16528         Remove variable.
16530         [BZ #18539]
16531         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
16532         define as weak alias of __addseverity.
16533         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
16534         Remove variable.
16535         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
16536         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
16537         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
16539         [BZ #18536]
16540         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
16541         (__tfind): Likewise.
16542         (__tdelete): Likewise.
16543         (__twalk): Likewise.
16544         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
16545         __twalk to GLIBC_PRIVATE.
16546         * include/search.h (__tsearch): Use libc_hidden_proto.
16547         (__tfind): Likewise.
16548         (__tdelete): Likewise.
16549         (__twalk): Likewise.
16550         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
16551         Call __tdelete instead of tdelete.
16552         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
16553         tfind.  Call __tsearch instead of tsearch.
16554         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
16555         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
16556         Remove variable.
16557         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
16559         [BZ #18534]
16560         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
16561         (dprintf): Define as a weak alias of __dprintf, not a strong
16562         alias.
16563         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
16564         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
16565         dprintf.
16566         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
16567         Remove variable.
16568         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
16569         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
16571         [BZ #18533]
16572         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
16573         not a strong alias.
16574         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
16575         Remove variable.
16577         [BZ #18532]
16578         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
16579         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
16580         (in6addr_loopback): Rename to __in6addr_loopback and define as
16581         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
16582         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
16583         libc_hidden_proto.
16584         (__in6addr_any): Likewise.
16585         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
16586         in6addr_any.
16587         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
16588         variable.
16589         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
16591 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
16593         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
16594         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
16595         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16596         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16597         redirections for pow.
16598         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16599         * sysdeps/x86_64/fpu/Versions: New versions added.
16600         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16601         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16602         build of SSE, AVX2 and AVX512 IFUNC versions.
16603         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
16604         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
16605         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
16606         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
16607         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
16608         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
16609         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
16610         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
16611         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
16612         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
16613         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
16614         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
16615         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
16616         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
16617         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16618         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16619         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16620         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16621         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16622         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16623         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16624         * NEWS: Mention addition of x86_64 vector pow.
16626         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16627         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16628         redirections for expf.
16629         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16630         * sysdeps/x86_64/fpu/Versions: New versions added.
16631         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16632         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16633         build of SSE, AVX2 and AVX512 IFUNC versions.
16634         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
16635         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
16636         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
16637         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
16638         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
16639         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
16640         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
16641         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
16642         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
16643         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
16644         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
16645         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
16646         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
16647         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16648         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16649         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16650         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16651         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16652         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16653         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16654         * NEWS: Mention addition of x86_64 vector expf.
16656         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
16657         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
16658         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16659         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16660         redirections for exp.
16661         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16662         * sysdeps/x86_64/fpu/Versions: New versions added.
16663         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16664         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16665         build of SSE, AVX2 and AVX512 IFUNC versions.
16666         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
16667         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
16668         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
16669         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
16670         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
16671         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
16672         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
16673         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
16674         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
16675         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
16676         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
16677         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
16678         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
16679         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16680         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16681         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16682         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16683         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16684         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16685         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16686         * NEWS: Mention addition of x86_64 vector exp.
16688         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16689         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16690         redirections for logf.
16691         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16692         * sysdeps/x86_64/fpu/Versions: New versions added.
16693         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16694         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16695         build of SSE, AVX2 and AVX512 IFUNC versions.
16696         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
16697         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
16698         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
16699         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
16700         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
16701         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
16702         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
16703         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
16704         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
16705         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
16706         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
16707         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
16708         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
16709         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16710         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16711         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16712         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16713         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16714         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16715         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16716         * NEWS: Mention addition of x86_64 vector logf.
16718         * bits/libm-simd-decl-stubs.h: Added stubs for log.
16719         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
16720         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16721         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16722         redirections for log.
16723         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16724         * sysdeps/x86_64/fpu/Versions: New versions added.
16725         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16726         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16727         build of SSE, AVX2 and AVX512 IFUNC versions.
16728         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
16729         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
16730         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
16731         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
16732         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
16733         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
16734         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
16735         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
16736         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
16737         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
16738         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
16739         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
16740         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
16741         test.
16742         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16743         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16744         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16745         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16746         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16747         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16748         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16749         * NEWS: Mention addition of x86_64 vector log.
16751 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16753         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
16754         cfi_adjust_cfa_offset argument.
16755         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
16756         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
16758         [BZ #18034]
16759         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
16760         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
16761         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
16762         ordering using ldar.
16763         (_dl_tlsdesc_dynamic): Likewise.
16764         (_dl_tlsdesc_return_lazy): Likewise.
16765         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
16766         relaxed atomics instead of volatile and synchronize with release store.
16767         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
16768         volatile.
16769         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
16771 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
16773         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16774         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
16775         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16776         * sysdeps/x86_64/fpu/Versions: New versions added.
16777         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16778         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16779         build of SSE, AVX2 and AVX512 IFUNC versions.
16780         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
16781         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
16782         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
16783         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
16784         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
16785         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
16786         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
16787         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
16788         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
16789         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
16790         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
16791         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
16792         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
16793         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16794         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16795         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16796         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16797         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16798         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16799         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16800         * NEWS: Mention addition of x86_64 vector sinf.
16802 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
16804         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
16805         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
16806         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
16807         Remove variable.
16808         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
16809         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
16811 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
16813         [BZ #18530]
16814         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
16815         strong alias of _IO_fputs.  Use libc_hidden_def.
16816         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
16817         and define as weak alias of __fputs_unlocked.  Use
16818         libc_hidden_weak.
16819         * include/stdio.h (__fputs_unlocked): Declare.  Use
16820         libc_hidden_proto.
16821         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
16822         fputs_unlocked.
16824         [BZ #18529]
16825         * resolv/netdb.h [__USE_POSIX]: Change condition to
16826         [__USE_XOPEN2K].
16827         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
16828         not expect.
16829         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
16830         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
16831         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
16832         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
16833         [XPG4 || UNIX98] (AI_ALL): Likewise.
16834         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
16835         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
16836         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
16837         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
16838         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
16839         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
16840         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
16841         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
16842         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
16843         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
16844         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
16845         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
16846         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
16847         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
16848         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
16849         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
16850         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
16851         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
16852         [XPG4 || UNIX98] (gai_strerror): Likewise.
16853         [XPG4 || UNIX98] (getaddrinfo): Likewise.
16854         [XPG4 || UNIX98] (getnameinfo): Likewise.
16856         [BZ #18528]
16857         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
16858         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
16859         __USE_XOPEN2K8].
16860         (getgrent): Likewise.
16861         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
16862         expect.
16863         [XPG3 || POSIX2008] (endgrent): Likewise.
16864         [XPG3] (setgrent): Likewise.
16865         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
16866         variable.
16867         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
16869         [BZ #18527]
16870         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
16871         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
16872         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
16873         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
16874         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
16875         * include/unistd.h (__getlogin_r): Declare.  Use
16876         libc_hidden_proto.
16877         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
16878         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
16879         variable.
16880         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
16881         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
16882         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
16884 2015-06-12  Martin Sebor  <msebor@redhat.com>
16886         [BZ #18512]
16887         * Makerules (check-install-supported): New target.
16888         (install): Add check-install-supported as a dependency.
16889         * manual/install.texi (Installing the C Library): Document
16890         that overriding prefix and exec_prefix is not supported.
16891         Mention DESTDIR.
16892         * INSTALL: Regenerate from the above.
16894 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
16896         [BZ #18519]
16897         * posix/Versions (libc): Export __libc_pread at version
16898         GLIBC_PRIVATE.
16899         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
16900         instead of pread.
16901         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
16902         variable.
16904         [BZ #18522]
16905         * misc/efgcvt_r.c
16906         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
16907         (cvt_symbol): Use weak_alias instead of strong_alias.
16908         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
16909         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
16910         Remove variable.
16911         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
16912         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
16914         [BZ #18520]
16915         * inet/herrno.c (h_errno): Rename to __h_errno.
16916         (__libc_h_errno): Define as alias of __h_errno not h_errno.
16917         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
16918         to __h_errno instead of h_errno.
16919         * nptl/herrno.c (h_errno): Rename to __h_errno.
16920         (__h_errno_location): Refer to __h_errno not h_errno.
16921         * resolv/Versions (h_errno): Rename to __h_errno.
16922         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
16923         Remove variable.
16924         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
16926 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
16928         * configure.ac: More strict check for AVX512 assembler support.
16929         * configure: Regenerated.
16931         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
16932         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
16933         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16934         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
16935         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16936         * sysdeps/x86_64/fpu/Versions: New versions added.
16937         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16938         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16939         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16940         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
16941         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
16942         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
16943         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
16944         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
16945         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
16946         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
16947         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
16948         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
16949         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
16950         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
16951         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
16952         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
16953         test.
16954         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16955         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16956         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16957         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16958         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16959         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16960         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16961         * NEWS: Mention addition of x86_64 vector sin.
16963 2015-06-11  Florian Weimer  <fweimer@redhat.com>
16965         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
16966         comment.
16968 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
16970         [BZ #18479]
16971         * nptl/pt-interp.c: New file.
16972         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
16973         Add pt-interp.
16974         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
16975         $(common-objpfx)runtime-linker.h.
16977 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
16979         * Makeconfig (+interp): Remove unused variable.
16980         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
16981         only.  Depend on $(common-objpfx)runtime-linker.h instead of
16982         $(elf-objpfx)runtime-linker.h.
16983         ($(elf-objpfx)runtime-linker.h): Rename to
16984         $(common-objpfx)runtime-linker.h and move ...
16985         * Makerules [$(build-shared) = yes]: ... here.
16986         * elf/interp.c: Include <runtime-linker.h> instead of
16987         <elf/runtime-linker.h>.
16989 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16991         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
16992         (__gettimeofday_syscall): Remove vsyscall fallback.
16993         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
16994         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
16995         Add syscall fallback function.
16996         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
16997         if vDSO is not present.
16998         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
16999         fallback function.
17000         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
17001         present.
17002         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
17003         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17005 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
17007         [BZ #18497]
17008         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
17009         of wcscmp.
17010         (wcscmp): Define as weak alias of WCSCMP.
17011         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
17012         wcscoll.
17013         (USE_HIDDEN_DEF): Define.
17014         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
17015         __wcscoll.  Don't use libc_hidden_weak.
17016         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
17017         wcscmp.
17018         * sysdeps/i386/i686/multiarch/wcscmp-c.c
17019         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
17020         __GI_wcscmp.
17021         (weak_alias): Undefine and redefine.
17022         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
17023         __wcscmp and define as weak alias of __wcscmp.
17024         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
17025         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
17026         (__wcscoll): Likewise.
17027         (wcscmp): Don't use libc_hidden_proto.
17028         (wcscoll): Likewise.
17029         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
17030         wcscoll.
17031         * posix/regexec.c (check_node_accept_bytes): Likewise.
17032         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
17033         variable.
17034         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
17035         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
17037         [BZ #18507]
17038         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
17039         __fstatvfs and define as weak alias of __fstatvfs.  Use
17040         libc_hidden_weak.
17041         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
17042         and define as weak alias of __statvfs.  Use libc_hidden_weak.
17043         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
17044         Define as alias of __fstatvfs, not fstatvfs.
17045         (fstatvfs64): Likewise.
17046         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
17047         Define as alias of __statvfs, not statvfs.
17048         (statvfs64): Likewise.
17049         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
17050         Remove variable.
17052 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17055         (HAVE_GETCPU_VSYSCALL): Define.
17056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17057         (HAVE_GETCPU_VSYSCALL): Likewise.
17058         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
17059         * sysdeps/unix/sysv/linux/sched_getcpu.c
17060         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
17061         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
17062         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
17063         prototype.
17064         * sysdeps/unix/sysv/linux/x86_64/init-first.c
17065         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
17066         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
17067         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
17068         Define.
17069         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
17070         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17071         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
17072         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17074 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
17076         * sysdeps/x86_64/fpu/Makefile: New file.
17077         * sysdeps/x86_64/fpu/Versions: New file.
17078         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
17079         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
17080         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
17081         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
17082         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
17083         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
17084         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
17085         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
17086         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
17087         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
17088         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
17089         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
17090         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
17091         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17092         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17093         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
17094         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
17095         * sysdeps/x86_64/configure.ac: Options for libmvec build.
17096         * sysdeps/x86_64/configure: Regenerated.
17097         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
17098         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
17099         * manual/install.texi (Configuring and compiling): Document
17100         --disable-mathvec.
17101         * INSTALL: Regenerated.
17102         * NEWS: Mention addition of libmvec and x86_64 vector cos.
17104         * math/Makefile: Added rules for vector tests.
17105         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
17106         declaration under condition.
17107         * math/test-double-vlen2.h: New file.
17108         * math/test-double-vlen4.h: New file.
17109         * math/test-double-vlen8.h: New file.
17110         * math/test-vec-loop.h: Added initialization macro.
17111         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
17112         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
17113         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
17114         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
17115         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
17116         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
17117         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
17118         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
17119         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
17120         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
17121         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
17123         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17124         * sysdeps/x86_64/fpu/Versions: New versions added.
17125         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
17126         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
17127         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
17128         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
17129         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
17130         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
17131         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
17132         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
17133         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
17134         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
17135         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
17136         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
17137         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
17138         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17139         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17140         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17141         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
17142         * NEWS: Mention addition of x86_64 vector cosf.
17144         * math/Makefile: Added CFLAGS for new tests.
17145         * math/test-float-vlen16.h: New file.
17146         * math/test-float-vlen4.h: New file.
17147         * math/test-float-vlen8.h: New file.
17148         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
17149         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
17150         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17151         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
17152         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
17153         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
17154         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
17155         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
17156         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
17157         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
17158         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
17160 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
17162         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
17163         * locale/programs/ld-ctype.c: Likewise.
17165 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
17167         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
17168         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
17169         bit_ZMM16_31_state): New macro.
17170         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17171         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
17173 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
17175         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
17177 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
17179         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
17181 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
17183         [BZ #18498]
17184         * libio/memstream.c (open_memstream): Rename to __open_memstream
17185         and define as weak alias of __open_memstream.
17186         * include/stdio.h (__open_memstream): Declare.  Use
17187         libc_hidden_proto.
17188         (open_memstream): Don't use libc_hidden_proto.
17189         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
17190         open_memstream.
17191         * posix/getopt.c (_getopt_internal_r): Likewise.
17192         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
17193         variable.
17194         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
17195         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
17196         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
17198         [BZ #18496]
17199         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
17200         instead of wcrtomb.
17202         [BZ #18483]
17203         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
17204         [__USE_XOPEN2K8].  Remove redundant #endif.
17205         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
17206         Remove redundant #if.
17207         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
17208         Remove variable.
17209         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
17210         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
17212         [BZ #18495]
17213         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
17214         (__iswlower): Likewise.
17215         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
17216         (__iswlower): Likewise.
17217         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
17218         instead of towlower.
17219         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
17220         instead of iswlower.  Call __towupper instead of towupper.
17221         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
17222         instead of iswalnum.
17224 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17226         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
17227         errors to stderr.
17229 2015-06-05  Florian Weimer  <fweimer@redhat.com>
17231         [BZ #15661]
17232         [BZ #17322]
17233         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
17234         Check for overflow properly.  Check for O_APPEND.  Ignore large
17235         file system block sizes.  Add comments about problems.
17236         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
17237         * manual/filesys.texi (Storage Allocation): New node.
17239 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17241         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
17242         cancellable syscalls.
17243         (SYS_ify): Add guard to no redefine it.
17244         (INLINE_SYSCALL): Likewise.
17245         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
17246         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
17247         SYSCALL_CANCEL instead.
17248         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
17249         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17250         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17251         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17252         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17253         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
17254         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
17255         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
17256         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
17257         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
17258         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
17259         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
17260         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
17261         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
17262         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
17263         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17264         Likewise.
17265         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17266         (__libc_pread64): Likewise.
17267         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
17268         (__libc_preadv): Likewise.
17269         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
17270         (__libc_readv64): Likewise.
17271         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17272         (__libc_pwrite): Likewise.
17273         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17274         (__libc_pwrite64): Likewise.
17275         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
17276         (__libc_pwritev): Likewise.
17277         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
17278         (__libc_pwritev64): Likewise.
17279         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
17280         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
17281         (sync_file_range): Likewise.
17282         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
17283         Likewise.
17284         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
17285         Likewise.
17286         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17287         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17288         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17289         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17290         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17291         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
17292         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
17293         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
17294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
17295         Likewise.
17296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17297         (__libc_read64): Likewise.
17298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
17299         Likewise.
17300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
17301         Likewise.
17302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
17303         Likewise.
17304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
17305         Likewise.
17306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17307         (__libc_pread64): Likewise.
17308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
17309         Likewise.
17310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17311         (__libc_pwrite64): Likewise.
17312         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
17313         (sync_file_range): Likewise.
17314         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
17315         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
17316         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
17317         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
17318         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
17319         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17320         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17321         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
17322         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
17323         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17324         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17325         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17326         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17327         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17328         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
17329         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17330         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17331         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17332         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17333         Likewise.
17334         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
17335         Likewise.
17336         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
17337         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
17338         Likewise.
17339         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
17340         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
17341         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
17342         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
17343         Likewise.
17344         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
17345         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
17346         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
17347         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
17348         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
17350 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
17352         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
17353         Include dl-vdso.
17354         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
17355         Use VDSO routines for gettimeofday, clock_gettime if
17356         available.
17357         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
17358         Declare VDSO symbols.
17359         * sysdeps/unix/sysv/linux/arm/sysdep.h:
17360         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
17361         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17362         * sysdeps/unix/sysv/linux/arm/Versions: Add
17363         __vdso_clock_gettime.
17365 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17367         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
17368         be an inline implementation regardless of library is built within.
17369         (open_not_cancel_2): Likewise.
17370         (__read_nocancel): Likewise.
17371         (__write_nocancel): Likewise.
17372         (openat_not_cancel): Likewise.
17373         (openat_not_cancel_3): Likewise.
17374         (openat64_not_cancel): Likewise.
17375         (openat64_not_cancel_3): Likewise.
17376         (__close_nocancel): Likewise.
17377         (pause_not_cancel): Likewise.
17378         (nanosleep_not_cancel): Likewise.
17379         (sigsuspend_not_cancel): Likewise.
17381 2015-06-04  Torvald Riegel  <triegel@redhat.com>
17383         [BZ #14958]
17384         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
17385         wake-up.
17386         (__pthread_rwlock_rdlock_slow): Likewise.
17387         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17388         Likewise.
17389         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17390         Likewise.
17391         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
17392         * nptl/tst-rwlock16.c: New file.
17393         * nptl/Makefile (tests): Add new test.
17395 2015-06-04  Torvald Riegel  <triegel@redhat.com>
17397         [BZ #18324]
17398         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
17399         missing wake-up of readers.
17400         * nptl/tst-rwlock15.c: New file.
17401         * nptl/Makefile (tests): Add new test.
17403 2015-06-03  Roland McGrath  <roland@hack.frob.com>
17405         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
17406         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
17407         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
17408         and __nacl_supply_interface_rtld.
17409         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
17410         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
17411         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
17412         Add __nacl_supply_interface_rtld.
17413         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
17415 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
17417         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
17418         isfinite.
17419         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17420         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
17422 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
17424         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
17425         __signbit* with standard C99 macros.
17426         * math/e_exp10l.c: Likewise.
17427         * math/e_exp2l.c: Likewise.
17428         * math/e_scalb.c: Likewise.
17429         * math/e_scalbf.c: Likewise.
17430         * math/e_scalbl.c: Likewise.
17431         * math/s_ldexp.c: Likewise.
17432         * math/s_ldexpf.c: Likewise.
17433         * math/s_ldexpl.c: Likewise.
17434         * math/w_atan2.c: Likewise.
17435         * math/w_atan2f.c: Likewise.
17436         * math/w_atan2l.c: Likewise.
17437         * math/w_cosh.c: Likewise.
17438         * math/w_coshf.c: Likewise.
17439         * math/w_coshl.c: Likewise.
17440         * math/w_exp10.c: Likewise.
17441         * math/w_exp10f.c: Likewise.
17442         * math/w_exp10l.c: Likewise.
17443         * math/w_exp2.c: Likewise.
17444         * math/w_exp2f.c: Likewise.
17445         * math/w_exp2l.c: Likewise.
17446         * math/w_fmod.c: Likewise.
17447         * math/w_fmodf.c: Likewise.
17448         * math/w_fmodl.c: Likewise.
17449         * math/w_hypot.c: Likewise.
17450         * math/w_hypotf.c: Likewise.
17451         * math/w_hypotl.c: Likewise.
17452         * math/w_jnl.c: Likewise.
17453         * math/w_lgamma.c: Likewise.
17454         * math/w_lgamma_r.c: Likewise.
17455         * math/w_lgammaf.c: Likewise.
17456         * math/w_lgammaf_r.c: Likewise.
17457         * math/w_lgammal.c: Likewise.
17458         * math/w_lgammal_r.c: Likewise.
17459         * math/w_pow.c: Likewise.
17460         * math/w_powf.c: Likewise.
17461         * math/w_powl.c: Likewise.
17462         * math/w_remainder.c: Likewise.
17463         * math/w_remainderf.c: Likewise.
17464         * math/w_remainderl.c: Likewise.
17465         * math/w_scalb.c: Likewise.
17466         * math/w_scalbf.c: Likewise.
17467         * math/w_scalbl.c: Likewise.
17468         * math/w_scalbln.c: Likewise.
17469         * math/w_scalblnf.c: Likewise.
17470         * math/w_scalblnl.c: Likewise.
17471         * math/w_sinh.c: Likewise.
17472         * math/w_sinhf.c: Likewise.
17473         * math/w_sinhl.c: Likewise.
17474         * math/w_tgamma.c: Likewise.
17475         * math/w_tgammaf.c: Likewise.
17476         * math/w_tgammal.c: Likewise.
17477         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17478         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
17479         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17480         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17481         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17482         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17483         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17484         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17485         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17486         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17487         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17488         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17489         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17490         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17491         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17492         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17493         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17494         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17495         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17496         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17497         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17498         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17499         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17500         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17501         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17502         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17503         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
17504         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17505         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17506         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17507         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
17508         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
17509         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
17510         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
17511         * stdio-common/printf_fp.c: Likewise.
17512         * stdio-common/printf_fphex.c: Likewise.
17513         * stdio-common/printf_size.c: Likewise.
17515 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
17517         [BZ #18470]
17518         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
17519         strnlen.
17520         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
17521         Remove variable.
17522         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
17523         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
17524         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
17525         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
17526         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
17527         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
17528         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
17529         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
17530         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
17531         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
17533         [BZ #18468]
17534         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
17535         weak alias of __wmemchr.  Use libc_hidden_weak.
17536         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
17537         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
17538         instead of wmemchr.
17540 2015-06-02  Roland McGrath  <roland@hack.frob.com>
17542         [BZ #18383]
17543         * elf/tst-tlsalign-extern.c: New file.
17544         * elf/tst-tlsalign-extern-static.c: New file.
17545         * elf/tst-tlsalign-vars.c: New file.
17546         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
17547         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
17548         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
17549         ($(objpfx)tst-tlsalign-extern-static): Likewise.
17550         (test-xfail-tst-tlsalign-extern-static): New variable.
17552 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
17554         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
17555         Use variable name _sc_err instead of err.
17556         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
17557         instead of ret.
17558         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
17559         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
17560         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
17561         (INLINE_SYSCALL): Likewise.
17563         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
17564         * include/string.h (__strnlen): Use libc_hidden_proto.
17565         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
17566         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
17567         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
17568         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
17569         (libc_hidden_def): Undefine and redefine.
17570         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
17571         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
17572         __GI_strnlen.
17573         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
17574         libc_hidden_def.
17575         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
17577         [BZ #18469]
17578         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
17579         weak alias of __towlower.  Use libc_hidden_weak.
17580         (towupper): Rename to __towupper and define as weak alias of
17581         __towupper.  Use libc_hidden_weak.
17582         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
17583         (__towupper): Likewise.
17584         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
17585         __towlower instead of towlower.
17587 2015-06-02  Roland McGrath  <roland@hack.frob.com>
17589         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
17590         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
17592 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17594         * sysdeps/aarch64/libm-test-ulps: Update.
17596 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17598         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
17599         Define.
17600         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17601         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
17602         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17603         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17604         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
17605         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
17606         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
17608 2015-06-01  Martin Sebor  <msebor@redhat.com>
17610         [BZ #18116]
17611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17612         (__setcontext): Use extended four-operand version of mtsf whenever
17613         possible.
17614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17615         (__novec_swapcontext): Likewise.
17617 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
17619         * benchtests/scripts/compare_bench.py: New file.
17620         * benchtests/scripts/import_bench.py (mean): New function.
17621         (split_list): Likewise.
17622         (do_for_all_timings): Likewise.
17623         (compress_timings): Likewise.
17625         * benchtests/scripts/import_bench.py: New file.
17626         * benchtests/scripts/validate_benchout.py: Import import_bench
17627         instead of jsonschema.
17628         (validate_bench): Remove function.
17629         (main): Use import_bench.
17631 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
17633         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
17634         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
17636 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17640 2015-05-28  Roland McGrath  <roland@hack.frob.com>
17642         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
17643         set THREAD_SELF->tid to a magic value and futex-wake it.
17644         Pass its address to the thread_exit system call.
17645         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
17646         bit is clear.
17647         * sysdeps/nacl/lowlevellock.h: New file.
17648         * sysdeps/nacl/lll_timedwait_tid.c: New file.
17650         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
17651         Add TIMEOUT to current time, don't subtract it.
17653 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
17655         [BZ #2981]
17656         [BZ #18422]
17657         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
17658         ($(objpfx)tst-audit2.out): Also depend on
17659         $(objpfx)tst-auditmod9b.so.
17660         * elf/tst-audit2.c: Include <dlfcn.h>.
17661         (calloc_called): New.
17662         (calloc): Allow to be called more than once.
17663         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
17665 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
17667         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
17668         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
17670 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
17672         * stdlib/monetary.h: Fix comment.
17674 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
17676         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
17677         Avoid using variables in #defines that might cause shadowing.
17678         (INTERNAL_VSYSCALL_CALL): Likewise.
17680 2015-05-26  Roland McGrath  <roland@hack.frob.com>
17682         * sysdeps/nacl/lll_timedlock_wait.c: New file.
17684         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
17685         * nptl/lll_timedlock_wait.c: ... to this new file.
17686         * nptl/Makefile (libpthread-routines): Add it.
17687         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
17688         * nptl/lll_timedwait_tid.c: ... to this new file.
17689         * nptl/Makefile (libpthread-routines): Add it.
17690         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
17691         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
17692         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
17693         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
17694         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
17695         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
17696         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
17697         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
17698         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
17699         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
17701 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17703         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
17704         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17705         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
17706         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
17707         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
17708         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17709         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17710         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17711         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17712         * sysdeps/unix/sysv/linux/tile/sysdep.h
17713         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17714         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
17715         using vDSO syscall macro.
17717 2015-05-26  Andriy Rysin  <arysin@gmail.com>
17719         [BZ #17293]
17720         * uk_UA: Fix sorting order for Ukrainian locale
17722 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
17724         * stdlib/monetary.h: Fix comment.
17726 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17728         [BZ #18234]
17729         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
17730         st_mtim and st_ctim members.
17731         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
17732         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
17733         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
17734         (struct stat64): Likewise.
17735         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
17736         (struct stat64): Likewise.
17737         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
17738         (struct stat64): Likewise.
17740 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17742         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
17743         Define and include sysdep-vdso.h.
17744         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
17745         Likewise.
17746         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
17747         Likewise.
17748         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
17749         Define with VDSO_SYMBOL and use PTR_MANGLE.
17750         (__vdso_clock_gettime): Likewise.
17751         (__vdso_clock_getres): Likewise.
17752         (_libc_vdso_platform_setup): Likewise.
17753         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
17754         Likewise.
17755         (_libc_vdso_platform_setup): Likewise.
17756         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
17757         Likewise.
17758         (__vdso_clock_gettime): Likewise.
17759         (__vdso_clock_getres): Likewise.
17760         (__vdso_get_tbfreq): Likewise.
17761         (__vdso_getcpu): Likewise.
17762         (__vdso_time): Likewise.
17763         (__vdso_sigtramp_rt64): Likewise.
17764         (__vdso_signtramp32): Likewise.
17765         (__vdso_sigtramp_rt32): Likewise.
17766         (_libc_vdso_platform_setup): Likewise.
17767         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
17768         Likewise.
17769         (__vdso_clock_gettime): Likewise.
17770         (__vdso_clock_getres): Likewise.
17771         (_libc_vdso_platform_setup): Likewise.
17772         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
17773         Likewise.
17774         (__vdso_clock_gettime): Likewise.
17775         (_libc_vdso_platform_setup): Likewise.
17776         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17777         Likewise.
17778         (__vdso_getcpu): Likewise.
17779         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
17780         Use VDSO_SYMBOL macro to define.
17781         (__vdso_clock_gettime): Likewise.
17782         (__vdso_clock_getres): Likewise.
17783         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
17784         Likewise.
17785         (__vdso_clock_gettime): Likewise.
17786         (__vdso_clock_getres): Likewise.
17787         (__vdso_get_tbfreq): Likewise.
17788         (__vdso_getcpu): Likewise.
17789         (__vdso_time): Likewise.
17790         (__vdso_sigtramp_rt64): Likewise.
17791         (__vdso_signtramp32): Likewise.
17792         (__vdso_sigtramp_rt32): Likewise.
17793         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
17794         Likewise.
17795         (__vdso_clock_gettime): Likewise.
17796         (__vdso_clock_getres): Likewise.
17797         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
17798         Likewise.
17799         (__vdso_clock_gettime): Likewise.
17800         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
17801         Likewise.
17802         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
17803         macro.
17804         (INTERNAL_VSYSCALL): Likewise.
17805         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
17806         Remove macro.
17807         (INTERNAL_VSYSCALL): Likewise.
17808         (INTERNAL_VSYSCALL_NCS): Likewise.
17809         (INTERNAL_VSYSCALL_CALL): New macro.
17810         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17811         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
17812         Likewise.
17813         (INTERNAL_VSYSCALL): Likewise.
17814         (INTERNAL_VSYSCALL_NCS): Likewise.
17815         (INTERNAL_VSYSCALL_CALL): New macro.
17816         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17818         (INLINE_VSYSCALL): Remove macro.
17819         (INTERNAL_VSYSCALL): Remove macro.
17820         (INTERNAL_VSYSCALL_NCS): Remove macro.
17821         (INTERNAL_VSYSCALL_CALL): New macro.
17822         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
17823         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
17824         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17825         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
17826         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17828         (INLINE_VSYSCALL): Remove macro.
17829         (INTERNAL_VSYSCALL): Likewise.
17830         (INTERNAL_VSYSCALL_NCS): Likewise.
17831         (INTERNAL_VSYSCALL_CALL): New macro.
17832         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
17833         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
17834         PTR_DEMANGLE on vDSO pointer.
17835         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17836         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
17837         macro.
17838         (INTERNAL_SYSCALL): Likewise.
17839         (INTERNAL_VSYSCALL_NCS): Remove macro.
17840         (INTERNAL_VSYSCALL_CALL): New macro.
17841         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
17842         Remove macro.
17843         (INTERNAL_VSYSCALL): Likewise.
17844         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
17845         sysdep-vdso.h instead of libc-vdso.h.
17846         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
17847         definition.
17848         (INLINE_VSYSCALL): Likewise.
17849         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
17850         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
17851         definition.
17852         (INLINE_VSYSCALL): Likewise.
17853         (INTERNAL_VSYSCALL): Likewise.
17854         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17855         * sysdeps/unix/sysv/linux/timespec_get.c
17856         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17857         (timespec_get): Use ANSI prototype.
17858         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
17859         and definition for Linux.
17861 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
17863         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
17864         * include/libc-symbols.h: libmvec_hidden_* macro series added.
17866 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17868         [BZ #2981]
17869         [BZ #18410]
17870         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
17871         for missing DT_PLTRELSZ.
17873 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
17875         Remove obsolete aliases that broke 'locale -a'
17876         [BZ #18412]
17877         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
17878         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
17879         breaking some applications that use 'locale -a' output.
17880         Change the encoding of this file from Latin-1 to ASCII to avoid
17881         other potential problems with people grepping this file.
17883 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17885         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
17886         -fasynchronous-unwind-tables.
17887         (CFLAGS-sendto.c): Likewise.
17888         (CFLAGS-sendmsg.c): Likewise.
17889         (CFLAGS-connect.c): Likewise.
17890         (CFLAGS-recvmsg.c): Likewise.
17891         (CFLAGS-recvfrom.c): Likewise.
17892         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
17893         (SOCKETCALL): New macro: non-cancellable socketcall.
17894         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
17895         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
17896         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
17897         * sysdeps/unix/sysv/linux/accept.c: New file.
17898         * sysdeps/unix/sysv/linux/bind.c: Likewise.
17899         * sysdeps/unix/sysv/linux/connect.c: Likewise.
17900         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
17901         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
17902         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
17903         * sysdeps/unix/sysv/linux/listen.c: Likewise.
17904         * sysdeps/unix/sysv/linux/recv.c: Likewise.
17905         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
17906         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
17907         * sysdeps/unix/sysv/linux/send.c: Likewise.
17908         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
17909         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
17910         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
17911         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
17912         * sysdeps/unix/sysv/linux/socket.c: Likewise.
17913         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
17914         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
17915         prototype.
17916         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
17917         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17918         instead of __internal_xxx function.
17919         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
17920         prototype.
17921         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
17922         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17923         instead of __internal_xxx function.
17924         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
17925         prototype.
17926         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
17927         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17928         instead of __internal_xxx function.
17929         * sysdeps/unix/sysv/linux/accept.S: Remove file.
17930         * sysdeps/unix/sysv/linux/bind.S: Likewise.
17931         * sysdeps/unix/sysv/linux/connect.S: Likewise.
17932         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
17933         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
17934         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
17935         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
17936         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
17937         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
17938         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
17939         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
17940         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17941         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
17942         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
17943         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
17944         * sysdeps/unix/sysv/linux/listen.S: Likewise.
17945         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
17946         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
17947         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
17948         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
17949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
17950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
17951         * sysdeps/unix/sysv/linux/recv.S: Likewise.
17952         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
17953         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
17954         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
17955         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17956         * sysdeps/unix/sysv/linux/send.S: Likewise.
17957         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
17958         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
17959         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
17960         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
17961         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
17962         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
17963         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
17964         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
17965         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
17966         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
17967         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
17968         socketcall is implemented in GLIBC.
17970 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
17972         * soft-fp/fmadf4.c: Include <libc-internal.h>.
17973         (__fma): Ignore uninitialized warnings around packing.
17974         * soft-fp/fmasf4.c: Include <libc-internal.h>.
17975         (__fmaf): Ignore uninitialized warnings around packing.
17976         * soft-fp/fmatf4.c: Include <libc-internal.h>.
17977         (__fmal): Ignore uninitialized warnings around packing.
17979         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
17980         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17981         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
17982         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17984         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
17985         switch statement into default case.
17986         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
17988         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
17989         a conditional in forcing "inexact".
17990         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17991         Likewise.
17993 2015-05-22  Roland McGrath  <roland@hack.frob.com>
17995         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17996         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
17997         for each INTERNAL_SYSCALL use.
17999 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
18001         [BZ #438]
18002         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
18003         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
18004         variable.
18006         [BZ #18444]
18007         * string/basename.c (basename): Rename to __basename and define as
18008         weak alias of __basename.  Use libc_hidden_weak.
18009         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
18010         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
18011         __basename instead of basename.
18012         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
18013         Remove variable.
18014         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
18016 2015-05-18  Florian Weimer  <fweimer@redhat.com>
18018         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
18019         (_IO_JUMPS_FILE_plus): New.
18020         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
18021         _IO_CAST_FIELD_ACCESS.
18022         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
18023         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
18024         * libio/freopen.c (freopen): Likewise.
18025         * libio/freopen64.c (freopen64): Likewise.
18026         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
18027         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
18028         * libio/iofwide.c (_IO_fwide): Likewise.
18029         * libio/memstream.c (open_memstream): Likewise.
18030         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18031         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18032         * libio/oldiopopen.c (_IO_old_popen): Likewise.
18034 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
18036         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
18037         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
18038         NADJ.
18039         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
18040         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
18041         NADJ.
18042         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
18043         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
18044         NADJ.
18046         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
18047         (p == 4) case.
18049         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
18050         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
18051         Remove variable.
18052         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
18053         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
18054         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18056 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18058         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
18059         Adjust jump table label generation macros.
18061 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18063         * stdio-common/vfprintf.c (vfprintf): Move local variables
18064         args_malloced, specs, specs_malloced, and the code after
18065         do_positional to the printf_positional function.
18066         (printf_positional): New function.
18068 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18070         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
18071         function.
18072         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
18073         STEP4_TABLE, process_arg): Move macro definitions
18074         out of the vfprintf function.  (Cosmetic change only.)
18076 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
18078         * benchtests/Makefile (stdio-common-bench): Define.
18079         (benchset): Add stdio-common-bench.
18080         * sprintf-inputs: New file.
18081         * sprintf-source.c: New file.
18083 2015-05-21  Andreas Schwab  <schwab@suse.de>
18085         [BZ #13028]
18086         [BZ #17053]
18087         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
18088         of struct __res_state.
18089         * resolv/res_send.c (__libc_res_nsend): Likewise.
18090         (get_nsaddr): New function.
18091         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
18092         statp directly.
18094 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
18096         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
18097         -D_POSIX_C_SOURCE=199506L.
18099         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
18101         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
18102         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
18103         Do not mention otherwise.
18104         [POSIX] (_XOPEN_VERSION): Do not expect.
18105         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
18106         [POSIX] (_POSIX2_C_BIND): Likewise.
18107         [POSIX] (_POSIX2_VERSION): Likewise.
18108         [POSIX] (_XOPEN_XPG2): Likewise.
18109         [POSIX] (_XOPEN_XPG3): Likewise.
18110         [POSIX] (_XOPEN_XPG4): Likewise.
18111         [POSIX] (_XOPEN_UNIX): Likewise.
18112         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
18113         [POSIX] (_POSIX_BARRIERS): Likewise.
18114         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
18115         [POSIX] (_POSIX_CPUTIME): Likewise.
18116         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
18117         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
18118         [POSIX] (_POSIX_SHELL): Likewise.
18119         [POSIX] (_POSIX_SPAWN): Likewise.
18120         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
18121         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
18122         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
18123         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
18124         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
18125         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
18126         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
18127         [POSIX] (_XBS5_LP64_OFF64): Likewise.
18128         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
18129         [POSIX] (_POSIX_TIMEOUTS): Likewise.
18130         [POSIX] (_POSIX2_PBS): Likewise.
18131         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
18132         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
18133         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
18134         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
18135         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
18136         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
18137         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
18138         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
18139         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
18140         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
18141         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
18142         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
18143         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
18144         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
18145         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
18146         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
18147         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
18148         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
18149         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
18150         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
18151         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
18152         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
18153         [POSIX] (_SC_2_C_BIND): Likewise.
18154         [POSIX] (_SC_2_C_VERSION): Likewise.
18155         [POSIX] (_SC_2_PBS): Likewise.
18156         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
18157         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
18158         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
18159         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
18160         [POSIX] (_SC_2_PBS_TRACK): Likewise.
18161         [POSIX] (_SC_ATEXIT_MAX): Likewise.
18162         [POSIX] (_SC_BARRIERS): Likewise.
18163         [POSIX] (_SC_BASE): Likewise.
18164         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
18165         [POSIX] (_SC_DEVICE_IO): Likewise.
18166         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
18167         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
18168         [POSIX] (_SC_FD_MGMT): Likewise.
18169         [POSIX] (_SC_FIFO): Likewise.
18170         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
18171         [POSIX] (_SC_FILE_LOCKING): Likewise.
18172         [POSIX] (_SC_FILE_SYSTEM): Likewise.
18173         [POSIX] (_SC_IOV_MAX): Likewise.
18174         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
18175         [POSIX] (_SC_NETWORKING): Likewise.
18176         [POSIX] (_SC_PAGE_SIZE): Likewise.
18177         [POSIX] (_SC_PASS_MAX): Likewise.
18178         [POSIX] (_SC_PIPE): Likewise.
18179         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
18180         [POSIX] (_SC_REGEXP): Likewise.
18181         [POSIX] (_SC_SHELL): Likewise.
18182         [POSIX] (_SC_SIGNALS): Likewise.
18183         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
18184         [POSIX] (_SC_SPIN_LOCKS): Likewise.
18185         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
18186         [POSIX] (_SC_USER_GROUPS): Likewise.
18187         [POSIX] (_SC_USER_GROUPS_R): Likewise.
18188         [POSIX] (_SC_STREAMS): Likewise.
18189         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
18190         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
18191         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
18192         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
18193         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
18194         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
18195         [POSIX] (_PC_FILESIZEBITS): Likewise.
18196         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
18197         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
18198         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
18199         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
18200         [POSIX] (uid_t): Likewise.
18201         [POSIX] (gid_t): Likewise.
18202         [POSIX] (off_t): Likewise.
18203         [POSIX] (pid_t): Likewise.
18204         [POSIX] (cuserid): Allow.
18205         (_SC_2_CHAR_TERM): Require constant.
18206         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
18207         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
18208         variable.
18210 2015-05-20  Roland McGrath  <roland@hack.frob.com>
18212         * sysdeps/nacl/pthread-pids.h: New file.
18213         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
18214         (create_thread): Use __nacl_get_tid to initialize PD->tid.
18216         * nptl/pthread-pids.h: New file.
18217         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
18218         * nptl/nptl-init.c: Include <pthread-pids.h>.
18219         (__pthread_initialize_minimal_internal):
18220         Call __pthread_initialize_pids instead of set_tid_address syscall.
18222         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
18223         * sysdeps/posix/usleep.c: ... here.
18225 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18227         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
18228         call_pselect6 object.
18229         [$(subdir) = io]: Remove call_sync_file_range object.
18230         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
18231         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
18232         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
18233         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
18235 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
18237         * math/s_cproj.c: Add include "math_private.h".
18238         * math/s_cprojf.c: Likewise.
18239         * math/s_cprojl.c: Likewise.
18241 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
18243         [BZ #18244]
18244         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
18245         high mantissa bit when testing whether P is a NaN.
18246         * math/libm-test.inc (remainder_test_data): Add more tests.
18247         (remquo_test_data): Likewise.
18249         [BZ #18049]
18250         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
18251         below -32, return the argument, with underflow if subnormal.
18252         * math/auto-libm-test-in: Add more tests of atanh.
18253         * math/auto-libm-test-out: Regenerated.
18255 2015-05-19  Roland McGrath  <roland@hack.frob.com>
18257         [BZ #18434]
18258         * nptl/tst-sem15.c: New file.
18259         * nptl/Makefile (tests): Add it.
18260         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
18261         s/<</>>/ to fix typo in EOVERFLOW check.
18262         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
18264 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18266         * manual/strings.texi (envz_remove): Fix typo in safety
18267         annotations.
18269 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
18270             Steve Ellcey  <sellcey@imgtec.com>
18272         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
18273         in order to avoid strict alias warnings.
18274         (iruserok_af): Ditto for ra.
18276 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
18278         [BZ #17581]
18279         * malloc/hooks.c
18280         (magicbyte): Convert to a function and avoid returning 0x01.
18281         (mem2mem_check): Avoid using a length byte equal to the magic byte.
18282         (mem2chunk_check): Fix unsigned comparisons to zero.
18283         Hoist defs of sz and magic.
18285 2015-05-19  Richard Henderson  <rth@redhat.com>
18287         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
18289         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18291 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18293         [BZ #16159]
18294         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
18295         * malloc/arena.c (arena_lock): Check if arena is corrupt.
18296         (reused_arena): Find a non-corrupt arena.
18297         (heap_trim): Pass arena to unlink.
18298         * malloc/hooks.c (malloc_check_get_size): Pass arena to
18299         malloc_printerr.
18300         (top_check): Likewise.
18301         (free_check): Likewise.
18302         (realloc_check): Likewise.
18303         * malloc/malloc.c (malloc_printerr): Add arena argument.
18304         (unlink): Likewise.
18305         (munmap_chunk): Adjust.
18306         (ARENA_CORRUPTION_BIT): New macro.
18307         (arena_is_corrupt): Likewise.
18308         (set_arena_corrupt): Likewise.
18309         (sysmalloc): Use mmap if there are no usable arenas.
18310         (_int_malloc): Likewise.
18311         (__libc_malloc): Don't fail if arena_get returns NULL.
18312         (_mid_memalign): Likewise.
18313         (__libc_calloc): Likewise.
18314         (__libc_realloc): Adjust for additional argument to
18315         malloc_printerr.
18316         (_int_free): Likewise.
18317         (malloc_consolidate): Likewise.
18318         (_int_realloc): Likewise.
18319         (_int_memalign): Don't touch corrupt arenas.
18320         * malloc/tst-malloc-backtrace.c: New test case.
18322         * Makefile (summarize-tests): Fix return value on success.
18324         * manual/string.texi (Envz Functions): Add envz_remove.
18326 2015-05-18  Roland McGrath  <roland@hack.frob.com>
18328         * sysdeps/posix/opendir.c: Include <stdbool.h>.
18329         (invalid_name): New function, broken out of ...
18330         (__opendirat): ... here.  Call it.
18331         (need_isdir_precheck): New function, broken out of ...
18332         (__opendirat): ... here.  Call it.
18333         Use __fxstatat64, not __xstatat64.
18334         (opendir_oflags): New function, broken out of ...
18335         (__opendirat): ... here.  Call it.
18336         (opendir_tail): New function, broken out of ...
18337         (__opendirat): ... here.  Call it.
18338         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
18339         opendir_tail, rather than punting to __opendirat.
18340         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
18342 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18344         * .gitignore: Ignore generated *.pyc.
18346 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
18348         * include/stdio.h: Define __need_wint_t.
18349         * test-skeleton.c: Avoid `for' loop initial declaration.
18350         * nptl/tst-initializers1.c: Use test-skeleton.c.
18352 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18354         [BZ #18418]
18355         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
18357 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
18359         [BZ #16352]
18360         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
18361         (__ieee754_atanh): Force underflow exception for results with
18362         small absolute value.
18363         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
18364         (__ieee754_atanhf): Force underflow exception for results with
18365         small absolute value.
18366         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
18367         (__ieee754_atanh): Force underflow exception for results with
18368         small absolute value.
18369         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
18370         (__ieee754_atanhf): Force underflow exception for results with
18371         small absolute value.
18372         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
18373         (__ieee754_atanhl): Force underflow exception for results with
18374         small absolute value.
18375         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
18376         (__ieee754_atanhl): Force underflow exception for results with
18377         small absolute value.
18378         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
18379         (__ieee754_atanhl): Force underflow exception for results with
18380         small absolute value.
18381         * math/auto-libm-test-in: Do not allow missing underflow
18382         exceptions from atanh.
18383         * math/auto-libm-test-out: Regenerated.
18385         [BZ #18221]
18386         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
18387         2**-28 as threshold for returning x or +/- 1/x.
18388         * math/auto-libm-test-in: Add more tests of tan.
18389         * math/auto-libm-test-out: Regenerated.
18391         [BZ #18220]
18392         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18393         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
18394         * math/auto-libm-test-in: Add another test of lgamma.
18395         * math/auto-libm-test-out: Regenerated.
18397 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
18399         * stdio-common/printf_fp.c (___printf_fp): Use abs.
18400         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
18401         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
18402         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
18403         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
18404         (ADD2A): Use fabs.  (SUB2A): Use fabs.
18405         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
18406         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
18407         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
18408         (log1): Use fabs.  (my_log2): Use fabs.
18409         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
18410         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
18411         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
18412         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
18413         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
18414         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
18415         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
18416         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
18417         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
18418         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
18419         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
18421 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
18423         [BZ #18217]
18424         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
18425         as threshold for returning 1 - x.
18426         * math/auto-libm-test-in: Add more tests of erfc.
18427         * math/auto-libm-test-out: Regenerated.
18429 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
18431         [BZ #18196]
18432         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
18433         threshold for large arguments.
18434         * math/auto-libm-test-in: Add another test of atan.
18435         * math/auto-libm-test-out: Regenerated.
18437         [BZ #16339]
18438         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
18439         (__log1p): Force underflow exception for results with small
18440         absolute value.
18441         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
18442         (__log1pf): Force underflow exception for results with small
18443         absolute value.
18444         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
18445         (__log1p): Force underflow exception for results with small
18446         absolute value.
18447         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
18448         (__log1pf): Force underflow exception for results with small
18449         absolute value.
18450         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
18451         (__log1pl): Force underflow exception for results with small
18452         absolute value.
18453         * math/auto-libm-test-in: Do not allow missing underflow
18454         exceptions from log1p.
18455         * math/auto-libm-test-out: Regenerated.
18457 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
18458             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18460         [BZ #16704]
18461         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
18463 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
18465         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
18466         (libmvec): New variable.
18467         * configure.ac: Added option for mathvec build.
18468         * configure: Regenerated.
18469         * mathvec/Depend: New file.
18470         * mathvec/Makefile: New file.
18471         * shlib-versions: Added libmvec.
18472         * math/Makefile: Added rule for libm.so installation.
18474         * bits/math-vector.h: New file.
18475         * bits/libm-simd-decl-stubs.h: New header.
18476         * math/Makefile (headers): Added new header
18477         libm-simd-decl-stubs.h.
18478         * math/math.h (__MATHCALL_VEC): New macro.
18480         * math/gen-libm-have-vector-test.sh: Script generates series of macros
18481         for conditions in testing functions.
18482         * math/Makefile: Added call of libm-have-vector-test.sh.
18483         * math/libm-test.inc (HAVE_VECTOR): New macros.
18485         * math/libm-test.inc: START refactored.
18486         * math/test-double.c (TEST_MATHVEC): Add define.
18487         * math/test-float.c: Likewise.
18488         * math/test-idouble.c: Likewise.
18489         * math/test-ifloat.c: Likewise.
18490         * math/test-ildoubl.c: Likewise.
18491         * math/test-ldouble.c: Likewise.
18492         * sysdeps/generic/math-tests-arch.h
18493         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
18494         architecture check.
18496         * math/test-double.c (FUNC_TEST): New macro.
18497         * math/test-float.c: Likewise.
18498         * math/test-idouble.c: Likewise.
18499         * math/test-ifloat.c: Likewise.
18500         * math/test-ildoubl.c: Likewise.
18501         * math/test-ldouble.c: Likewise.
18502         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
18504 2015-05-13  Roland McGrath  <roland@hack.frob.com>
18506         * sysdeps/nacl/fdopendir.c: New file.
18508         * dirent/scandir-tail.c: New file.
18509         * dirent/scandir64-tail.c: New file.
18510         * dirent/Makefile (routines): Add them.
18511         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
18512         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
18513         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
18514         [!SCANDIR] (SCANDIR_TAIL): New macro.
18515         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
18516         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
18517         (SCANDIRAT): Macro removed.
18518         (SCANDIR_TAIL): New macro.
18519         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
18520         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
18521         (SCANDIRAT): Just call __opendirat and __scandir_tail.
18522         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
18523         (READDIR): Macro removed.
18524         (SCANDIR_TAIL): New macro.
18525         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
18526         (SCANDIR_TAIL): New macro.
18528         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
18529         * dirent/scandir-cancel.c: ... to this new file.
18530         * dirent/Makefile (routines): Add it.
18531         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
18532         * sysdeps/unix/sysv/linux/i386/scandir64.c
18533         (SKIP_SCANDIR_CANCEL): Macro removed.
18534         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
18536         * dirent/tst-scandir.c: New file.
18537         * dirent/tst-scandir64.c: New file.
18538         * dirent/Makefile (tests): Add them.
18540 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18542         [BZ #18409]
18543         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
18545 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18547         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
18548         list.
18550 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
18552         * benchtests/bench-strcoll.c: New benchmark.
18553         * benchtests/Makefile: Generate locales and run benchmark.
18554         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
18555         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
18556         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
18557         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
18558         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
18559         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
18560         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
18561         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
18562         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
18563         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
18564         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
18565         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
18566         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
18567         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
18568         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
18569         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
18570         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
18571         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
18572         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
18573         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
18574         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
18575         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
18576         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
18577         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
18579 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
18581         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
18582         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18584 2015-05-12  Roland McGrath  <roland@hack.frob.com>
18586         * posix/uname-values.h: New file.
18587         * posix/uname.c: Include that instead of <config-name.h>.
18588         * sysdeps/nacl/uname-values.h: New file.
18589         * sysdeps/arm/nacl/uname-values.h: New file.
18591 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
18593         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
18594         splitting into fields.
18596 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
18598         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
18599         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
18600         * locale/localeinfo.h: Add enum collation_encoding_type.
18601         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
18602         * programs/ld-collate.c (collate_output): Add encoding type info.
18603         * string/strcoll_l.c (STRDIFF): New function.
18604         * (STRCOLL): Use STRDIFF to skip over equal prefix.
18605         * wcsmbs/wcscoll_l.c: Define STRDIFF.
18607 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
18609         [BZ #18397]
18610         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
18611         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
18612         <fpu_control.h> instead of <math/fpu_control.c>.
18613         * sysdeps/mips/mips32/fpu/Makefile: New file.
18615 2015-05-11  Andreas Schwab  <schwab@suse.de>
18617         [BZ #18007]
18618         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
18619         nss_endgrent.
18620         (_nss_compat_endgrent): Call nss_endgrent.
18621         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
18622         nss_endpwent.
18623         (_nss_compat_endpwent): Call nss_endpwent.
18624         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
18625         needent, call nss_setspent only if non-zero.
18626         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
18627         (internal_endspent): Don't call nss_endspent.
18628         (_nss_compat_endspent): Call nss_endspent.
18629         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
18630         Remove.  All uses removed.
18631         (internal_setent): Remove parameter stayopen, add parameter
18632         stream.  Use it instead of global variable.
18633         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
18634         (internal_endent, internal_getent): Add parameter stream.  Use it
18635         instead of global variable.
18636         (CONCAT(_nss_files_end,ENTNAME))
18637         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
18638         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
18639         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
18640         uses removed.
18641         (internal_setent, internal_endent): Add parameter stream.  Use it
18642         instead of global variable.
18643         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
18644         stream.
18645         (get_next_alias): Add parameter stream.
18646         (_nss_files_getaliasent_r): Pass global stream.
18647         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
18648         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
18649         (_nss_files_gethostbyname4_r): Pass local stream to
18650         internal_setent, internal_getent and internal_endent.  Remove
18651         locking.
18653 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18655         * tst-strfmon1.c (tests): Update expected currency symbol.
18657 2015-05-08  Roland McGrath  <roland@hack.frob.com>
18659         * sysdeps/nacl/gethostname.c: New file.
18661 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
18663         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
18664         and sinh.
18665         * math/auto-libm-test-out: Regenerated.
18666         * sysdeps/i386/fpu/libm-test-ulps: Update.
18667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18669 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
18671         [BZ #18125]
18672         * stdlib/tst-setcontext3.c: New file.
18673         * stdlib/tst-setcontext3.sh: New file.
18674         * stdlib/Makefile (tests): Add tst-setcontext3.
18675         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
18676         to verify test program created output file.
18677         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
18678         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
18679         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
18680         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
18682 2015-05-06  Roland McGrath  <roland@hack.frob.com>
18684         [BZ #18383]
18685         * elf/tst-tlsalign.c: New file.
18686         * elf/tst-tlsalign-static.c: New file.
18687         * elf/tst-tlsalign-lib.c: New file.
18688         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
18689         (tests-static): Add tst-tlsalign-static.
18690         (modules-names): Add tst-tlsalign-lib.
18691         (test-xfail-tst-tlsalign): New variable.
18692         (test-xfail-tst-tlsalign-static): New variable.
18694         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
18695         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
18697 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
18699         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
18700         csqrt, erfc, sin and sincos.
18701         * math/auto-libm-test-out: Regenerated.
18702         * sysdeps/i386/fpu/libm-test-ulps: Update.
18703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18705 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18707         * sysdeps/aarch64/libm-test-ulps: Update.
18709 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
18711         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
18712         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
18713         * math/auto-libm-test-out: Regenerated.
18714         * sysdeps/i386/fpu/libm-test-ulps: Update.
18715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18717 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
18719         [BZ #18265]
18720         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
18721         (wcsncpy): Likewise.
18723 2015-05-05  Florian Weimer  <fweimer@redhat.com>
18725         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18726         Assume __ASSUME_FALLOCATE is always true.
18727         * sysdeps/unix/sysv/linux/posix_fallocate64.c
18728         (__posix_fallocate64_l64): Likweise.
18729         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
18730         (posix_fallocate): Likewise.
18731         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
18732         (__posix_fallocate64_l64): Likewise.
18733         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18734         [!__ASSUME_FALLOCATE]: Add comment.
18736 2015-05-05  Florian Weimer  <fweimer@redhat.com>
18738         * sysdeps/unix/sysv/linux/i386/Makefile
18739         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
18740         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
18741         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
18742         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18743         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18744         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
18745         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
18747 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
18749         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
18750         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
18751         tgamma.
18752         * math/auto-libm-test-out: Regenerated.
18753         * sysdeps/i386/fpu/libm-test-ulps: Update.
18754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18756 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
18758         * math/auto-libm-test-in: Add more tests of tgamma.
18759         * math/auto-libm-test-out: Regenerated.
18760         * sysdeps/i386/fpu/libm-test-ulps: Update.
18761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18763         * math/auto-libm-test-in: Add more tests of tanh.
18764         * math/auto-libm-test-out: Regenerated.
18765         * sysdeps/i386/fpu/libm-test-ulps: Update.
18766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18768         * math/auto-libm-test-in: Add more tests of tan.
18769         * math/auto-libm-test-out: Regenerated.
18770         * sysdeps/i386/fpu/libm-test-ulps: Update.
18771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18773         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
18774         * math/auto-libm-test-out: Regenerated.
18775         * sysdeps/i386/fpu/libm-test-ulps: Update.
18776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18778         * math/auto-libm-test-in: Add another test of pow.
18779         * math/auto-libm-test-out: Regenerated.
18780         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18782         * math/auto-libm-test-in: Add more tests of lgamma.
18783         * math/auto-libm-test-out: Regenerated.
18784         * sysdeps/i386/fpu/libm-test-ulps: Update.
18785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18787         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
18788         log1p.
18789         * math/auto-libm-test-out: Regenerated.
18790         * sysdeps/i386/fpu/libm-test-ulps: Update.
18791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18793 2015-05-01  Mark Wielaard  <mjw@redhat.com>
18795         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
18796         Elf64_Chdr structs and ELFCOMPRESS constants.
18798 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
18800         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
18801         expm1.
18802         * math/auto-libm-test-out: Regenerated.
18803         * sysdeps/i386/fpu/libm-test-ulps: Update.
18804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18806         * math/auto-libm-test-in: Add more tests of erf and erfc.
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  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18813         * config.h.in (HAVE_AARCH64_BE): Add.
18815 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
18817         * math/auto-libm-test-in: Add more tests of csqrt.
18818         * math/auto-libm-test-out: Regenerated.
18819         * sysdeps/i386/fpu/libm-test-ulps: Update.
18820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18822         * math/auto-libm-test-in: Add more tests of cosh and sinh.
18823         * math/auto-libm-test-out: Regenerated.
18824         * sysdeps/i386/fpu/libm-test-ulps: Update.
18825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18827         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
18829 2015-04-29  Roland McGrath  <roland@hack.frob.com>
18831         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
18832         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
18834         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
18835         (euidaccess, eaccess): Define as weak aliases.
18837         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
18838         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
18839         but __suseconds_t is often 'long int' so some sources assume that
18840         type is being used (e.g. they use %ld to print tv_usec).
18842 2015-04-29  Florian Weimer  <fweimer@redhat.com>
18844         [BZ #18007]
18845         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
18846         (CVE-2014-8121)
18847         * nss/tst-nss-getpwent.c: New file.
18848         * nss/Makefile (tests): Add new test.
18850 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
18852         [BZ #18346]
18853         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
18854         exponents less than 48 as cases where high part of mantissa needs
18855         examining to determine whether argument is integral.
18856         * math/libm-test.inc (round_test_data): Add more tests.
18858 2015-04-28  Mark Wielaard  <mjw@redhat.com>
18860         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
18862 2015-04-27  David S. Miller  <davem@davemloft.net>
18864         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
18865         __tls_get_addr.
18866         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
18868 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
18870         [BZ#18333]
18871         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
18873 2015-04-27  Florian Weimer  <fweimer@redhat.com>
18875         [BZ#18333]
18876         * time/tzset.c (parse_tzname): Return error on memory allocation
18877         failure.
18878         * test-skeleton.c (struct temp_name_list): Change type of name
18879         member to non-const.
18880         (add_temp_file): Create a copy of the file name.
18881         (delete_temp_files): Deallocate memory.
18882         (create_temp_file): Add comment.
18884 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18886         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
18887         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
18889 2015-04-24  Roland McGrath  <roland@hack.frob.com>
18891         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
18892         * sysdeps/arm/configure: Regenerated.
18894 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18896         [BZ #17715]
18897         * time/tzfile.c (__tzfile_read): Check for large values of
18898         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
18899         * time/tzset.c (__tzstring_len): New function, based on the old
18900         __tzstring function.
18901         (__tzstring): Call __tzstring_len.
18902         (parse_tzname): New helper function extracted from
18903         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
18904         the input string.
18905         (parse_offset): New helper function extracted from
18906         __tzset_parse_tz.  Replace switch with fallthrough with
18907         initialization before sscanf.
18908         (parse_rule): Likewise.
18909         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
18910         new-style function definition.
18911         * timezone/Makefile (tests): Add tst-tzset.
18912         (tst-tzset.out): Dependencies on time zone files.
18913         (tst-tzset-ENV): Set TZDIR.
18914         (testdata/XT%): Copy crafted time zone files.
18915         * timezone/README: Mention crafted time zone files.
18916         * timezone/testdata/XT1, timezone/testdata/XT2,
18917         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
18918         files.
18919         * timezone/tst-tzset.c: New test.
18921 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18923         * Makeconfig (+gccwarn): Remove -Winline.
18925 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18927         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
18929 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18931         * NEWS: Mention sysconf() cache information support for s390.
18932         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
18934 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
18936         * math/k_casinh.c (__kernel_casinh): Use __copysign.
18937         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
18938         (__nearbyint): Likewise.
18939         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
18940         (copysignl): Likewise.
18942 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
18944         [BZ #18287]
18945         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
18946         based on padding.  (CVE-2015-1781)
18948 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18950         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
18951         libc-vdso.h.
18952         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
18953         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
18954         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
18955         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
18956         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
18957         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
18958         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
18959         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18960         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18961         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
18962         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18963         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18964         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
18965         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
18966         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
18967         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
18968         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
18969         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
18970         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
18971         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
18972         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
18973         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
18974         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
18976 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
18978         * stdlib/setenv.c (__add_to_environ):
18979         Dump core quickly if setenv (..., NULL, ...) is called.
18980         This time, do it the right way, and pacify GCC with a pragma.
18982 2015-04-17  Roland McGrath  <roland@hack.frob.com>
18984         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
18985         IMAP->l_prev cannot be null, and #if out the code for the contrary
18986         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
18987         believe that NS (&_dl_ns[NSID]) could point outside the array.
18989         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
18990         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
18991         before using NSID as an index.
18993 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
18995         [BZ #17825]
18996         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
18997         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
18998         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19000 2015-04-17  Roland McGrath  <roland@hack.frob.com>
19002         Add preliminary port to Google Native Client on ARM.
19003         * abi-tags (.*-.*-nacl.*): New entry.
19004         * sysdeps/arm/nacl: New directory.
19005         * sysdeps/nacl: New directory.
19007 2015-04-16  David S. Miller  <davem@davemloft.net>
19009         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
19010         lowlevellock-futex.h
19012 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
19014         * sysdeps/tile/configure.ac: New file.
19015         * sysdeps/tile/configure: Regenerated.
19017 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19019         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
19020         conditionals for weak_alias and libc_hidden_weak.
19021         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
19022         libc_hidden_weak and weak_alias.
19023         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
19024         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
19025         and weak_alias for static one.
19027 2015-04-15  David S. Miller  <davem@davemloft.net>
19029         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19031 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19033         [BZ #18206]
19034         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
19035           Use signed comparision instead of substraction to avoid
19036           overflow bug.
19037         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
19038           Take the sign of ret.
19039         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
19040           Do not expect precise return values. Only the sign matters.
19041         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
19042         * wcsmbs/test-wcsncmp.c: New File.
19043         * string/test-strncmp.c: Add wcsncmp support.
19045 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19047         [BZ #6792]
19048         * math/w_log1p.c: New file.
19049         * math/w_log1pf.c: Likewise.
19050         * math/w_log1pl.c: Likewise.
19051         * math/Makefile (libm-calls): Add w_log1p.
19052         * math/s_log1pl.c (log1pl): Remove weak_alias.
19053         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
19054         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
19055         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
19056         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
19057         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
19058         [NO_LONG_DOUBLE] (log1pl): Likewise.
19059         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
19060         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
19061         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
19062         (log1p): Remove long_double_symbol.
19063         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
19064         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
19065         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
19066         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
19067         remove weak_alias for corresponding log1p function.
19068         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
19069         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
19070         * sysdeps/ia64/fpu/w_log1p.c: New file.
19071         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
19072         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
19073         * math/libm-test.inc (log1p_test_data): Add errno expectations.
19075 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
19077         [BZ #18247]
19078         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
19079         decimal exponent by 1.
19080         * stdlib/tst-strtod-round-data: Add more tests.
19081         * stdlib/tst-strtod-round.c (tests): Regenerated.
19083 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
19085         * math/auto-libm-test-in: Add more tests of clog and clog10.
19086         * math/auto-libm-test-out: Regenerated.
19087         * sysdeps/i386/fpu/libm-test-ulps: Update.
19088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19090 2015-04-09  Roland McGrath  <roland@hack.frob.com>
19092         * Makeconfig (module-cppflags): Exclude all .v.i files.
19093         (skip-module-cppflags): Variable removed.
19095         * configure.ac (libc_config_ok): Initialize before reading
19096         preconfigure scripts, not after.
19097         * configure: Regenerated.
19099         * test-skeleton.c (TIMEOUT): Move #define to top level.
19100         (main): Grok environment variable TEST_DIRECT.  If set, print
19101         test expectation details into that file and then behave as if
19102         given --direct.
19104 2015-04-09  Florian Weimer  <fweimer@redhat.com>
19106         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
19107         warning on 32-bit.
19109 2015-04-08  David S. Miller  <davem@davemloft.net>
19111         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19113 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
19115         * math/auto-libm-test-in: Add more tests of atanh.
19116         * math/auto-libm-test-out: Regenerated.
19117         * sysdeps/i386/fpu/libm-test-ulps: Update.
19118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19120         * math/auto-libm-test-in: Add more tests of atan.
19121         * math/auto-libm-test-out: Regenerated.
19122         * sysdeps/i386/fpu/libm-test-ulps: Update.
19123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19125 2015-04-08  Florian Weimer  <fweimer@redhat.com>
19127         * elf/pldd.c (main): Rewrite to use struct
19128         scratch_buffer instead of extend_alloca.
19129         * elf/pldd-xx.c (find_maps): Likewise.
19130         * grp/initgroups.c: Include <scratch_buffer.h> instead of
19131         <alloca.h>.
19132         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
19133         scratch_buffer instead of extend_alloca.
19134         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
19135         grp/compat-initgroups.c.
19136         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
19137         Rewrite to use struct scratch_buffer instead of extend_alloca.
19138         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
19139         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19141 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
19143         * math/auto-libm-test-in: Add more tests of cbrt.
19144         * math/auto-libm-test-out: Regenerated.
19145         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19147         * math/auto-libm-test-in: Add more tests of cabs.
19148         * math/auto-libm-test-out: Regenerated.
19149         * sysdeps/i386/fpu/libm-test-ulps: Update.
19150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19152         [BZ #18210]
19153         [BZ #18211]
19154         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
19155         (__ieee754_atan2): Set FE_TONEAREST mode for internal
19156         computations.
19157         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
19158         clog10.
19159         * math/auto-libm-test-out: Regenerated.
19160         * sysdeps/i386/fpu/libm-test-ulps: Update.
19161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19163         [BZ #18197]
19164         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
19165         (atan): Set FE_TONEAREST mode for internal computations.
19166         * math/auto-libm-test-in: Add more tests of atan.
19167         * math/auto-libm-test-out: Regenerated.
19169 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
19171         [BZ #17930]
19172         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
19174 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19176         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
19178 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19180         * include/scratch_buffer.h: New file.
19181         * malloc/scratch_buffer_grow.c: Likewise.
19182         * malloc/scratch_buffer_grow_preserve.c: Likewise.
19183         * malloc/scratch_buffer_set_array_size.c: Likewise.
19184         * malloc/tst-scratch_buffer.c: Likewise.
19185         * malloc/Makefile (routines): Add scratch_buffer_grow.
19186         (tests): Add test case.
19187         * malloc/Versions (GLIBC_PRIVATE): Export
19188         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
19189         __libc_scratch_buffer_set_array_size.
19191 2015-04-06  Richard Henderson  <rth@redhat.com>
19193         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
19194         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19196         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
19197         unsigned int before printing.
19199 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19201         [BZ #17596]
19202         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
19203         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19205 2015-04-02  Florian Weimer  <fweimer@redhat.com>
19207         * include/libc-internal.h (libc_max_align_t): Define.
19209 2015-04-02  Andreas Schwab  <schwab@suse.de>
19211         [BZ #16850]
19212         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
19214 2015-04-02  Mel Gorman  <mgorman@suse.de>
19216         [BZ #17195]
19217         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
19218         as well as the main arena.
19220 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19222         [BZ #18185]
19223         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
19224         sharing L2 cache to 2 for Silvermont/Knights Landing.
19226 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19228         [BZ #17711]
19229         * config.make.in (have-protected-data): New.
19230         * configure.ac: Check linker support for protected data symbol.
19231         * configure: Regenerated.
19232         * elf/Makefile (modules-names): Add tst-protected1moda and
19233         tst-protected1modb if $(have-protected-data) is yes.
19234         (tests): Add tst-protected1a and tst-protected1b if
19235         $(have-protected-data) is yes.
19236         ($(objpfx)tst-protected1a): New.
19237         ($(objpfx)tst-protected1b): Likewise.
19238         (tst-protected1modb.so-no-z-defs): Likewise.
19239         * elf/tst-protected1a.c: New file.
19240         * elf/tst-protected1b.c: Likewise.
19241         * elf/tst-protected1mod.h: Likewise.
19242         * elf/tst-protected1moda.c: Likewise.
19243         * elf/tst-protected1modb.c: Likewise.
19245 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19247         [BZ #17711]
19248         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
19249         indicates it is called from do_lookup_x on relocation against
19250         protected data, skip the data definion in the executable from
19251         copy reloc.
19252         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
19253         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
19254         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
19255         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
19256         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
19257         otherwise to 0.
19258         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19259         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
19260         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
19261         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19262         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
19263         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
19265 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
19267         * sysdeps/nptl/pthread.h: Remove duplicate definition of
19268         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
19270 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
19272         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
19273         THREAD_SETMEM_NC.
19274         * sysdeps/x86_64/nptl/tls.h: Ditto.
19276 2015-03-27  Roland McGrath  <roland@hack.frob.com>
19278         * dlfcn/tststatic.c (main): Converted to ...
19279         (do_test): ... this.
19280         (TEST_FUNCTION): New macro.
19281         Include test-skeleton.c.
19283 2015-03-26  Alan Modra  <amodra@gmail.com>
19285         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
19286         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
19287         zero for undefined weak.
19288         (elf_machine_plt_conflict): Similarly.
19290 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
19292         * math/auto-libm-test-in: Add more tests of acosh, asinh and
19293         atanh.
19294         * math/auto-libm-test-out: Regenerated.
19295         * sysdeps/i386/fpu/libm-test-ulps: Update.
19296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19298         * math/auto-libm-test-in: Add another test of asin.
19299         * math/auto-libm-test-out: Regenerated.
19300         * sysdeps/i386/fpu/libm-test-ulps: Update.
19301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19303         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
19304         Remove macro.
19305         (LLL_EBX_REG): Likewise.
19306         (LLL_ENTER_KERNEL): Likewise.
19308         * math/auto-libm-test-in: Add more tests of asin.
19309         * math/auto-libm-test-out: Regenerated.
19310         * sysdeps/i386/fpu/libm-test-ulps: Update.
19311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19313         [BZ #18138]
19314         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
19315         libc_do_syscall_args): New structure.
19316         (INTERNAL_SYSCALL_MAIN_0): New macro.
19317         (INTERNAL_SYSCALL_MAIN_1): Likewise.
19318         (INTERNAL_SYSCALL_MAIN_2): Likewise.
19319         (INTERNAL_SYSCALL_MAIN_3): Likewise.
19320         (INTERNAL_SYSCALL_MAIN_4): Likewise.
19321         (INTERNAL_SYSCALL_MAIN_5): Likewise.
19322         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
19323         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
19324         Replace conditional definitions by conditional definitions of ....
19325         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
19326         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
19327         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
19328         (libpthread-sysdep_routines): Add libc-do-syscall.
19329         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
19330         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
19331         to __NR_futex not 240.
19333 2015-03-25  Alan Modra  <amodra@gmail.com>
19335         * NEWS: Advertise TLS optimization.
19336         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
19337         (DT_PPC_NUM): Increment.
19338         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
19339         (CHECK_STATIC_TLS): Use here.
19340         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
19341         TLS descriptors.
19342         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19343         * sysdeps/powerpc/dl-tls.c: New file.
19344         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
19345         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
19346         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
19347         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
19348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
19349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
19350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
19352 2015-03-25  Alan Modra  <amodra@gmail.com>
19354         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
19355         for overlapping .opd entries" to "support...".
19356         * sysdeps/powerpc/powerpc64/configure: Regenerate
19358 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
19360         * math/auto-libm-test-in: Add more tests of acos.
19361         * math/auto-libm-test-out: Regenerated.
19362         * sysdeps/i386/fpu/libm-test-ulps: Update.
19363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19365         * math/auto-libm-test-in: Add more tests of expm1.
19366         * math/auto-libm-test-out: Regenerated.
19367         * sysdeps/i386/fpu/libm-test-ulps: Update.
19368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19370 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
19372         * math/auto-libm-test-in: Add more tests of cosh and sinh.
19373         * math/auto-libm-test-out: Regenerated.
19374         * sysdeps/i386/fpu/libm-test-ulps: Update.
19375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19377         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19380         * math/auto-libm-test-in: Add more tests of log2.
19381         * math/auto-libm-test-out: Regenerated.
19382         * sysdeps/i386/fpu/libm-test-ulps: Update.
19383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19385 2015-03-23  Roland McGrath  <roland@hack.frob.com>
19387         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
19388         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
19389         _IO_IS_APPENDING bit in READ_WRITE instead.
19391 2015-03-23  Florian Weimer  <fweimer@redhat.com>
19393         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
19394         (__determine_cpumask_size): Replace extend_alloca with a
19395         variable-length array.  Do not treat res == 0 as an error.
19397 2015-03-23  Florian Weimer  <fweimer@redhat.com>
19399         [BZ #18100]
19400         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
19401         and integer overflow.
19402         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
19403         (main): Add integer overflow tests.
19404         * manual/pattern.texi (Calling Wordexp): Document additional use
19405         for WRDE_SYNTAX.
19407 2015-03-23  Alan Modra  <amodra@gmail.com>
19409         * config.h.in: Remove HAVE_ASM_PPC_REL16.
19410         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
19411         and false branch of conditional.
19412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19413         Likewise.
19415 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
19417         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
19418         libc-modules.h
19419         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
19420         unused declaration of _hurd_intr_rpc_msg_in_trap.
19421         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
19422         defined instead of whether it is non-zero.
19423         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
19424         input constraint instead of both input and output constraint.  Use ecx
19425         clobber instead of %ecx.
19426         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
19427         mutex_unlock): Use a statement expression instead of an expression list.
19428         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
19429         type to vm_size_t instead of vm_address_t.
19430         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
19431         defined instead of whether it is non-zero.
19432         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
19433         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
19434         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
19435         comparisons with mapaddr.
19436         * nscd/nscd-client.h: Include <time.h>.
19437         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
19438         9th parameter to __vm_region instead of int.
19439         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
19440         * scripts/check-local-headers.sh (exclude): Add device/,
19441         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
19442         cthreads.h.
19444 2015-03-19  Roland McGrath  <roland@hack.frob.com>
19446         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
19447         to account for alignment padding.
19448         * sysdeps/arm/memmove.S: Likewise.
19450 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
19452         * sysdeps/unix/sysv/linux/generic/README: New file.
19454 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
19456         [BZ #18138]
19457         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
19458         (futex_abstimed_wait)
19459         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
19460         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
19461         of lll_futex_timed_wait.
19463 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
19465         [BZ #17542]
19466         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
19468 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
19470         [BZ #17090]
19471         [BZ #17620]
19472         [BZ #17621]
19473         [BZ #17628]
19474         * NEWS: Update.
19475         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
19476         entries with Static TLS too.  Skip entries past the end of the
19477         allocated DTV, from Alan Modra.
19478         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
19479         Static TLS DTV entry set up from...
19480         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
19481         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
19482         * nptl/allocatestack.c (init_one_static_tls): ... and here...
19483         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
19484         for Static TLS.
19485         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
19486         that the slot we find is associated with the given map before
19487         using its generation count.
19488         * nptl_db/db_info.c: Include ldsodefs.h.
19489         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
19490         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
19491         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
19492         (link_map::l_tls_offset): New struct field.
19493         (dtv_t::counter): Likewise.
19494         (rtld_global): New struct.
19495         (_rtld_global): New rtld variable.
19496         (dl_tls_dtv_slotinfo_list): New rtld global field.
19497         (dtv_slotinfo_list): New struct.
19498         (dtv_slotinfo): Likewise.
19499         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
19500         (td_lookup): Rename to...
19501         (td_mod_lookup): ... this.  Use new mod parameter instead of
19502         LIBPTHREAD_SO.
19503         * nptl_db/td_thr_tlsbase.c: Include link.h.
19504         (dtv_slotinfo_list, dtv_slotinfo): New functions.
19505         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
19506         addresses even if the DTV is out of date or missing them.
19507         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
19508         index zero-length arrays.
19509         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
19510         (td_lookup): Make it a macro implemented in terms of...
19511         (td_mod_lookup): ... this declaration.
19512         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
19513         (DB_MAIN_VARIABLE): Likewise.
19515 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19517         [BZ #18134]
19518         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
19520 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
19522         * stdlib/setenv.c (__add_to_environ): Revert previous change.
19524 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
19526         [BZ #18128]
19527         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
19528         (atomic_add, atomic_increment_and_test)
19529         (atomic_decrement_and_test): Fix 64-bit arithmetic.
19531 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
19533         * stdlib/setenv.c (__add_to_environ):
19534         Dump core quickly if setenv (..., NULL, ...) is called.
19536 2015-03-13  Roland McGrath  <roland@hack.frob.com>
19538         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
19539         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
19540         all the necessary asm magic in one place.
19541         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
19542         using those.
19544 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
19546         [BZ #14906]
19547         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
19548         traced file mtime. Use consistent log message.
19549         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
19550         (register_traced_file): Call install_watches. Always set mtime.
19551         (invalidate_cache): Iterate over all trace files. Call install_watches.
19552         (inotify_check_files): Don't inline. Handle watching parent
19553         directories and configuration file movement in and out.
19554         (handle_inotify_events): New function.
19555         (main_loop_poll): Call handle_inotify_events.
19556         (main_loop_epoll): Likewise.
19557         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
19558         (struct traced_file): Use array of inotify fds. Add parent directory,
19559         and basename.
19560         (struct database_dyn): Remove unused file_mtime.
19561         (init_traced_file): New inline function.
19562         (define_traced_file): New macro.
19563         * nss/nss_db/db-init.c: Use define_traced_file.
19564         (_nss_db_init): Use init_traced_file.
19565         * nss/nss_files/files-init.c: Use define_traced_file.
19566         (_nss_files_init): Use init_traced_file.
19568 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
19570         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
19571         [_LIBC]: Do not include <stdlib.h>.
19572         [!_LIBC] (abort): Remove declaration.
19573         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
19574         _FP_STATIC_ASSERT instead of conditionally calling abort.
19575         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
19576         (_FP_EXTEND_CNAN): Likewise.
19577         (FP_TRUNC): Likewise.
19578         (__FP_CLZ): Likewise.
19579         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
19581 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
19583         * manual/string.texi (XPG basename): Fix prototype.
19585 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19587         [BZ #18080]
19588         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
19589         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19590         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
19591         (__setcontext): Likewise.
19592         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
19593         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19594         Call rt_sigprocmask syscall one time to set new signal mask
19595         and retrieve the current signal mask instead of two calls.
19596         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
19597         (__swapcontext): Likewise.
19598         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
19599         * stdlib/tst-setcontext2.c: New file.
19601 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19603         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19605 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
19607         [BZ #18093]
19608         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
19609         the wrong size.
19611 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19613         [BZ #18043]
19614         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
19616 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19618         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
19619         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
19620         Remove define.
19621         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
19622         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
19623         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
19624         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
19625         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
19626         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
19627         define.
19628         * nptl_db/td_symbol_list.c (td_lookup): Remove
19629         HAVE_ASM_GLOBAL_DOT_NAME code.
19630         * sysdeps/powerpc/powerpc64/configure.ac: Remove
19631         HAVE_ASM_GLOBAL_DOT_NAME check.
19632         * sysdeps/powerpc/powerpc64/configure: Regenerate.
19633         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
19634         (DOT_LABEL): Remove define.
19635         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
19636         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
19637         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
19638         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
19639         (__TLS_GET_ADDR): Likewise.
19640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
19641         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
19643 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
19645         [BZ #18111]
19646         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
19647         (_FPU_SETCW): Initialize cw from fpsr before storing.
19648         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
19649         (fesetexceptflag): Rewrite using fpu_control.h.
19650         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
19652 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
19654         [BZ #18110]
19655         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
19656         asms.
19657         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
19659 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
19661         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
19662         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
19663         abort.
19664         (_FP_FMA): Likewise.
19665         (_FP_DIV): Likewise.
19667 2015-03-10  Roland McGrath  <roland@hack.frob.com>
19669         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
19670         with 0 in that case.
19671         * Makefile (summarize-tests): New canned sequence, factored out of
19672         commands for targets tests and xtests.  Display summary lines that
19673         don't start with PASS: or XFAIL: rather than ones that do start with
19674         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
19675         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
19676         do start with ERROR: or FAIL:.
19677         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
19678         (except for [$(build-shared) = yes]).
19679         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
19680         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
19681         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
19682         * nptl/Makefile: Revert 2015-03-04 changes.
19683         [$(CXX) empty] (tests-unsupported): New variable.
19684         * debug/Makefile: Likewise.
19686         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
19687         gnulib file.  Replace __attribute with __attribute__ throughout.
19689 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
19691         * sysdeps/hppa/fpu/libm-test-ulps: Update.
19693 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
19695         [BZ #18104]
19696         * math/auto-libm-test-in: Add another test of pow.
19697         * math/auto-libm-test-out: Regenerated.
19699 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19701         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
19702         $(config-cflags-nofma).
19704 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
19706         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
19707         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
19708         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
19709         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
19710         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
19711         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
19712         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
19713         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
19714         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
19715         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
19716         Add comment on closing #endif.
19718 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19720         * posix/wordexp.c (CHAR_IN_SET): New macro.
19721         (parse_param): Use it.
19723 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19725         * sysdeps/powerpc/fpu/libm-test-ulps: update.
19727 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19729         [BZ #18043]
19730         * posix/wordexp.c (parse_param): Fix buffer overflow.
19731         * posix/wordexp-test.c (test_case): Add test case.
19733 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19735         [BZ #18042]
19736         * posix/wordexp.c (parse_backtick): Fix off-by-one.
19737         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
19739 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19741         [BZ #18043]
19742         * posix/wordexp-test.c (test_case): Add test for BZ #18043
19743         (do_bz18043): Delete.
19744         (at_page_end): New.
19745         (testit): Refactor to have words at the edge of unreadable page.
19747 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19749         [BZ #16734]
19750         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
19751         Cleanup read-only streams as well.
19752         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
19754 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19756         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
19757         <bits/libc-lockP.h>
19759 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
19761         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
19762         on [__KERNEL__].
19763         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
19764         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
19765         * soft-fp/op-common.h (_FP_DECL): Likewise.
19767 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
19769         * elf/ifuncdep2.c (global): Replace
19770         __attribute__((visibility("protected"))) with
19771         asm (".protected global").
19772         * elf/ifuncmod1.c (global): Likewise.
19773         * elf/ifuncmod5.c (global): Likewise.
19775 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
19777         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
19778         <asm/sfp-machine.h> instead of <sfp-machine.h>.
19780 2015-03-06  Roland McGrath  <roland@hack.frob.com>
19782         * manual/install.texi (Configuring and compiling):
19783         Document test-wrapper-env-only.
19784         * INSTALL: Regenerated.
19786 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19788         [BZ #18043]
19789         * posix/wordexp.c (parse_param): Fix buffer overflow.
19790         * posix/wordexp-test.c (do_bz18043): Add test case.
19792 2015-03-06  Vincent Bernat  <vincent@bernat.im>
19794         * time/tst-strptime2.c (do_test): Ensure failing tests are
19795         reported correctly.
19796         * time/tst-strptime3.c (do_test): Likewise.
19798 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
19800         Fix aio_error thread-safety.
19801         * sysdeps/pthread/aio_error.c: New file
19802         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
19803         synchronization.
19805 2015-03-06  Florian Weimer  <fweimer@redhat.com>
19807         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
19808         (group_number, vfprintf): Use it.
19809         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
19810         (JUMP, REF): Use it.
19811         (WORK_BUFFER_SIZE): New enum constant.
19812         (process_arg, vfprintf): Use it.
19814 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
19816         * manual/errno.texi (Error Messages): Complete example function
19817         by adding missing #define.
19818         (program_invocation_name): Add statement indicating GNU
19819         extension and reference which header file declares the variable.
19820         (program_invocation_short_name): Likewise.
19822 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
19824         * manual/errno.texi (Error Messages): Delete strerror ISO C89
19825         compatibility note.
19827 2015-03-05  Roland McGrath  <roland@hack.frob.com>
19829         * Makeconfig (test-wrapper-env-only): New variable.
19830         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
19831         then use that with $(test-wrapper-env-only) rather than using
19832         $(test-wrapper-env) $(run-program-env) $($*-ENV).
19834 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
19836         [BZ #18082]
19837         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
19838         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
19839         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
19840         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
19841         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
19842         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
19843         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
19844         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
19845         Likewise.
19846         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
19847         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
19848         Likewise.
19849         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
19850         Likewise.
19851         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
19852         Likewise.
19853         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
19854         Likewise.
19855         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
19856         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
19857         Likewise.
19858         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
19859         Likewise.
19860         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
19861         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
19863 2015-03-04  Roland McGrath  <roland@hack.frob.com>
19865         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
19866         (ETH_ALEN): New macro.
19867         (struct ether_addr): Use it for length of ether_addr_octet.
19869         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
19870         (setdb): Don't call __nss_configure_lookup for "rpc".
19871         (do_test): Don't call test_rpc.
19872         (output_rpcent, test_rpc): Functions moved ...
19873         * sunrpc/test-rpcent.c: ... to this new file.
19874         * sunrpc/Makefile (tests): Add it.
19876         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
19877         __xpg_sigpause.
19878         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
19879         * nptl/tst-signal6.c: Likewise.
19880         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
19881         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
19883         * configure.ac (libc_cv_cxx_link_ok): New check.
19884         Reset CXX to empty if it fails to link.
19885         * configure: Regenerated.
19886         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
19887         bug-atexit3-lib only if $(CXX) is nonempty.
19888         * nptl/Makefile (tests): Likewise for tst-cancel24.
19889         (tests, tests-static): Likewise for tst-cancel24-static.
19890         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
19891         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
19892         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
19893         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
19895 2015-03-04  Andreas Schwab  <schwab@suse.de>
19897         [BZ #17631]
19898         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
19899         for non-GCC compilers.
19900         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19901         Likewise.
19903 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19905         [BZ #17776]
19906         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
19907         integer before bitwise and assembly operations.
19908         (feclearexcept): Likewise.
19909         * math/test-fenvinline.c: New file.
19910         * math/Makefile: Add test-fenvinline test.
19912 2015-03-03  Alan Modra  <amodra@gmail.com>
19914         [BZ #16512]
19915         * scripts/localplt.awk: Strip off symbol version.
19916         * NEWS: Mention bug fix.
19918 2015-03-02  Roland McGrath  <roland@hack.frob.com>
19920         * sysdeps/pthread/timer_routines.c
19921         (timer_free_list, thread_free_list, thread_active_list): Make static.
19923 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
19925         [BZ #17779]
19926         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19927         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19928         Undefine.
19929         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19930         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19931         Likewise.
19932         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19933         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19934         Likewise.
19936 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
19938         [BZ #18036]
19939         * posix/fnmatch_loop.c (END): Detect invalid pattern.
19940         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
19942 2015-03-02  Andreas Schwab  <schwab@suse.de>
19944         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
19945         variable name.
19947 2015-03-02  Florian Weimer  <fweimer@redhat.com>
19949         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
19950         Return error status.
19952 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
19954         [BZ #15969]
19955         * locale/findlocale.c (_nl_find_locale): Introduce const
19956         version of loc_name and drop unsafe type casts.
19958 2015-02-27  Roland McGrath  <roland@hack.frob.com>
19960         * dlfcn/tststatic2.c (main): Converted to ...
19961         (do_test): ... this.
19962         (TEST_FUNCTION): New macro.
19963         Include test-skeleton.c.
19965 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
19967         [BZ #17711]
19968         * elf/Makefile (tests): Add vismain only if PIE is enabled.
19969         (tests-pie): Add vismain.
19970         (CFLAGS-vismain.c): New.
19971         * elf/vismain.c: Add comments for PIE requirement.
19973 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
19975         [BZ #18046]
19976         [BZ #18047]
19977         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
19978         0x1p-56L as threshold for just returning the argument.
19979         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
19980         0x1p-32L as threshold for just returning the argument.
19981         * math/auto-libm-test-in: Add more tests of atanh.
19982         * math/auto-libm-test-out: Regenerated.
19983         * sysdeps/i386/fpu/libm-test-ulps: Update.
19984         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
19986 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
19988         * string/bcopy.c (bcopy): Call memmove for performance.
19990 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
19992         * string/bzero.c (__bzero): Call memset for performance.
19994 2015-02-27  John David Anglin  <dave.anglin@bell.net>
19996         [BZ #18068]
19997         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
19998         to 00100000.
20000 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
20002         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
20004 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
20006         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
20007         (__kernel_standard): Use CSTR macro when setting exc.name.
20008         * sysdeps/ieee754/Makefile [$(subdir) = math]
20009         (CFLAGS-k_standard.c): Remove variable.
20011         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
20012         setting p and q from "else if" to "else".
20013         (qzero): Likewise.
20014         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
20015         (qone): Likewise.
20016         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
20017         (qzerof): Likewise.
20018         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
20019         (qonef): Likewise.
20020         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
20021         (qzero): Likewise.
20022         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
20023         (qone): Likewise.
20025         [BZ #18038]
20026         [BZ #18039]
20027         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
20028         return pi/2 for arguments below 0x1p-113L.
20029         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
20030         return pi/2 for arguments below 0x1p-106L.
20031         * math/auto-libm-test-in: Add more tests of acos.
20032         * math/auto-libm-test-out: Regenerated.
20034         [BZ #16351]
20035         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
20036         (MO): New macro.
20037         (__ieee754_asin): Force underflow exception for results with small
20038         absolute value.
20039         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
20040         (MO): New macro.
20041         (__ieee754_asinf): Force underflow exception for results with
20042         small absolute value.
20043         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
20044         (__ieee754_asin): Force underflow exception for results with small
20045         absolute value.
20046         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
20047         (__ieee754_asinf): Force underflow exception for results with
20048         small absolute value.
20049         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
20050         (__ieee754_asinl): Force underflow exception for results with
20051         small absolute value.
20052         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
20053         (__ieee754_asinl): Force underflow exception for results with
20054         small absolute value.
20055         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
20056         (__ieee754_asinl): Force underflow exception for results with
20057         small absolute value.
20058         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
20059         Include <math.h>.
20060         * math/auto-libm-test-in: Do not mark underflow exceptions as
20061         possibly missing for bug 16351.
20062         * math/auto-libm-test-out: Regenerated.
20064         [BZ #18030]
20065         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
20066         of power of 2 down when low part has opposite sign.
20067         * math/libm-test.inc (logb_test_data): Add more tests.
20069 2015-02-26  Andreas Schwab  <schwab@suse.de>
20071         [BZ #18032]
20072         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
20073         over collating symbol inside a bracket expression.  Minor cleanup.
20074         * posix/tst-fnmatch3.c (do_test): Add test case.
20076 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
20078         [BZ #18029]
20079         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
20080         Adjust exponent of power of 2 down when low part has opposite
20081         sign.
20082         * math/libm-test.inc (ilogb_test_data): Add more tests.
20084 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
20086         [BZ #15969]
20087         * locale/findlocale.c (_nl_find_locale): Fix constness error in
20088         the previous change.
20090         [BZ #15969]
20091         * locale/findlocale.c (_nl_find_locale): Retry archive search
20092         after alias expansion.
20094 2015-02-25  Roland McGrath  <roland@hack.frob.com>
20096         * iconv/tst-iconv3.c (main): Converted to ...
20097         (do_test): ... this.
20098         (TEST_FUNCTION): New macro.
20099         Include test-skeleton.c.
20101         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
20102         (convert): Make function static.
20103         (test_unalign): Likewise.  Add const to argument pointee types.
20104         (main): Replace with static function do_test.
20105         Print "Succeeded." only if RET is zero.
20106         (TEST_FUNCTION): New macro.
20107         Include test-skeleton.c.
20109         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
20110         returns a null pointer.
20112 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20114         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
20115         to __memcpy_ppc only for static builds.
20117 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
20119         [BZ #18020]
20120         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
20121         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
20122         * math/auto-libm-test-in: Add more tests of asinh.
20123         * math/auto-libm-test-out: Regenerated.
20124         * sysdeps/i386/fpu/libm-test-ulps: Update.
20125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20127 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
20129         [BZ #15850]
20130         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
20131         and ip6_mtuinfo definitions here.
20132         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
20133         in this define too.  Update comment.
20135 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
20137         * elf/sprof.c (load_shobj): Tweak error message to match others.
20139 2015-02-24  Kevin Easton  <kevin@guarana.org>
20141         [BZ #16145] (partial fix)
20142         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
20143         to reduce lock contention.
20145 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
20147         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
20148         (struct timex): Update time comment.
20149         (ADJ_SETOFFSET): Define.
20151 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20153         [BZ #18019]
20154         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20155         2**56 not 2**28 as threshold for log (2x) formula.
20156         * math/auto-libm-test-in: Add more tests of acosh.
20157         * math/auto-libm-test-out: Regenerated.
20158         * sysdeps/i386/fpu/libm-test-ulps: Update.
20159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20161 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20163         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
20164         parenthesis around the buf assignment.
20165         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
20167 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20169         [BZ #16783]
20170         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
20171         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
20172         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
20173         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20174         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20175         * math/libm-test.inc (scalb_test_data): Add more tests.
20177 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20179         [BZ #17916]
20180         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
20181         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
20183 2015-02-24  Eric Rannaud  <e@nanocritical.com>
20185         [BZ #17523]
20186         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
20187         * io/bits/fcntl2.h (open): Use it.
20188         (openat): Likewise.
20189         * io/open.c (__libc_open): Likewise.
20190         * io/open64.c (__libc_open64): Likewise.
20191         * io/open64_2.c (__open64_2): Likewise.
20192         * io/open_2.c (__open_2): Likewise.
20193         * io/openat.c (__openat): Likewise.
20194         * io/openat64.c (__openat64): Likewise.
20195         * io/openat64_2.c (__openat64_2): Likewise.
20196         * io/openat_2.c (__openat_2): Likewise.
20197         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
20198         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20199         * sysdeps/posix/open64.c (__libc_open64): Likewise.
20200         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20201         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20202         (__open_nocancel): Likewise.
20203         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20204         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20205         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
20207 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20209         [BZ #14841]
20210         * resolv/gethnamaddr.c (getanswer): Skip logging if
20211         RES_USE_DNSSEC is set.
20212         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20214 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20216         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
20218 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
20220         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
20221         201304L, for Unicode 7.
20223 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
20225         [BZ #17836]
20226         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
20227         shared library.  Add gmon-start.os otherwise.
20228         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
20229         $(objpfx)gmon-start.os if builing shared library.
20230         ($(objpfx)g$(static-start-installed-name)): Likewise.
20232 2015-02-23  Andreas Schwab  <schwab@suse.de>
20234         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
20236 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
20238         [BZ #17269]
20239         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
20240         (enlarge_userbuf): Likewise.
20242 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
20244         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
20245         * math/atest-exp.c (TIMEOUT): Adjust to 200.
20246         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
20247         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
20249 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
20251         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
20252         expression inside statement expression.
20254 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20256         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
20257         <sysdeps/nptl/lowlevellock.h> and remove macros and
20258         functions that are now defined there.
20259         (SYS_futex): Remove.
20260         (lll_compare_and_swap): Remove.
20261         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
20263 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
20265         [BZ #17999]
20266         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
20267         instead of scandirat.
20268         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
20269         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
20270         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
20271         __scandirat.
20272         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
20273         (__scandirat): Declare.  Use libc_hidden_proto.
20274         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
20275         Remove variable.
20276         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20278 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
20280         [BZ #15319]
20281         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
20282         (MO): New macro.
20283         (__ieee754_atan2): For results with small absolute value, force
20284         underflow exception and remove excess range and precision from
20285         return value.
20286         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
20287         (MO): New macro.
20288         (__ieee754_atan2f): For results with small absolute value, force
20289         underflow exception and remove excess range and precision from
20290         return value.
20291         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
20292         (MO): New macro.
20293         (__atan): For results with small absolute value, force underflow
20294         exception and remove excess range and precision from return value.
20295         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
20296         (MO): New macro.
20297         (__atanf): For results with small absolute value, force underflow
20298         exception and remove excess range and precision from return value.
20299         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
20300         <math.h>.
20301         (__ieee754_atan2): Force underflow exception for results with
20302         small absolute value.
20303         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
20304         <math_private.h>.
20305         (atan): Force underflow exception for results with small absolute
20306         value.
20307         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
20308         (__atanf): Force underflow exception for results with small
20309         absolute value.
20310         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
20311         <math.h>.
20312         (__atanl): Force underflow exception for results with small
20313         absolute value.
20314         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
20315         (__atanl): Force underflow exception for results with small
20316         absolute value.
20317         * sysdeps/x86/fpu/bits/mathinline.h
20318         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
20319         (__ieee754_atan2): Only define inline for long double.
20320         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
20321         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
20322         * math/auto-libm-test-in: Do not mark underflow exceptions as
20323         possibly missing for bug 15319.  Add more tests of atan2.
20324         * math/auto-libm-test-out: Regenerated.
20325         * math/libm-test.inc (casin_test_data): Do not mark underflow
20326         exceptions as possibly missing for bug 15319.
20327         (casinh_test_data): Likewise.
20328         * sysdeps/i386/fpu/libm-test-ulps: Update.
20330 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
20332         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
20333         * sysdeps/mips/bits/endian.h: Fix comments.
20335 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
20337         [BZ #17996]
20338         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
20339         (hdestroy_r): Likewise.
20340         (hsearch_r): Likewise.
20341         (__hcreate_r): Declare and use libc_hidden_proto.
20342         (__hdestroy_r): Likewise.
20343         (__hsearch_r): Likewise.
20344         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
20345         (hcreate): Call __hcreate_r instead of hcreate_r.
20346         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
20347         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
20348         as weak alias of __hcreate_r.
20349         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
20350         __hdestroy_r.
20351         (hsearch_r): Rename to __hsearch_r and define as weak alias of
20352         __hsearch_r.
20353         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
20354         Remove variable.
20355         (test-xfail-XPG4/search.h/linknamespace): Likewise.
20356         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20357         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20358         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20360 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20362         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
20363         arena_lock into a single arena_get.
20365 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
20367         * dl-reloc.c: Inlucde libc-internal.h.
20368         (_dl_try_allocate_static_tls): Call ALIGN_UP.
20369         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
20370         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
20371         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
20372         (grow_heap): Likewise.
20373         * malloc/malloc.c: Include libc-internal.h.
20374         (do_check_malloc): Call powerof2.
20375         (sysmalloc): Use pagesize. Call ALIGN_UP.
20376         (systrim): Use pagesize.
20377         (mremap_chunk): Use pagesize. Call ALIGN_UP.
20378         (__libc_valloc): Use pagesize.
20379         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
20381 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
20383         [BZ #17991]
20384         * include/sys/resource.h (__getrlimit64): Declare.  Use
20385         libc_hidden_proto.
20386         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
20387         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
20388         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
20389         getrlimit64.
20390         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
20391         __getrlimit64.
20392         [!getrlimit64] (getrlimit64): Define as weak alias of
20393         __getrlimit64.  Use libc_hidden_weak.
20394         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
20395         using __getrlimit64 not __new_getrlimit64.
20396         (__GI_getrlimit64): Likewise.
20397         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
20398         Likewise.
20399         (__GI_getrlimit64): Likewise.
20400         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
20401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
20402         (getrlimit): Add __getrlimit64 alias.
20403         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
20404         Likewise.
20405         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
20406         Remove variable.
20407         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20408         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20410 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
20412         * libio/fileops.c: Add missing sys/mman.h
20413         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
20415 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
20417         * manual/math.texi (Errors in Math Functions): Clarify goals
20418         regarding inexact and underflow exceptions.
20420 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
20422         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
20423         * sysdeps/mips/memset.S: Ditto.
20425 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
20427         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
20429 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20431         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
20432         (__v1longjmp): Remove versioned symbol.
20433         (__v1siglongjmp): Remove alias and versioned symbol.
20434         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
20435         (__v2siglongjmp): Likewise.
20437 2015-02-16  Torvald Riegel  <triegel@redhat.com>
20439         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
20441 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
20443         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
20445 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
20447         [BZ #17987]
20448         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
20449         zero result does not depend on the sign resulting from
20450         subtraction.
20451         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20452         Likewise.
20453         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20454         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20455         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20456         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20457         * math/libm-test.inc (remquo_test_data): Add more tests.
20459 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
20461         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
20462         Problem reported by J William Piggott.
20464 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
20466         [BZ #17978]
20467         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
20468         products 4 * y and 2 * y where those would overflow.
20469         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20470         Likewise.
20471         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20472         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20473         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20474         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20475         * math/libm-test.inc (remquo_test_data): Add more tests.
20477         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
20479         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
20480         [defined _COMPILING_NEWLIB].
20481         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
20482         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
20484         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
20485         [!defined __mips_isa_rev || __mips_isa_rev < 6].
20487 2015-02-16  Torvald Riegel  <triegel@redhat.com>
20489         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
20490         acquired.
20492 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
20494         [BZ #17792]
20495         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
20496         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
20497         HOST_STACK_END_ADDR): Likewise.
20499 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
20501         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
20502         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
20503         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
20505 2015-02-13  Roland McGrath  <roland@hack.frob.com>
20507         * sysdeps/generic/c++-types.data: New file.
20508         * sysdeps/generic/ld.abilist: New file.
20509         * sysdeps/generic/libBrokenLocale.abilist: New file.
20510         * sysdeps/generic/libanl.abilist: New file.
20511         * sysdeps/generic/libc.abilist: New file.
20512         * sysdeps/generic/libcrypt.abilist: New file.
20513         * sysdeps/generic/libdl.abilist: New file.
20514         * sysdeps/generic/libm.abilist: New file.
20515         * sysdeps/generic/libpthread.abilist: New file.
20516         * sysdeps/generic/libresolv.abilist: New file.
20517         * sysdeps/generic/librt.abilist: New file.
20519 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
20521         [BZ #17569]
20522         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20523         Compute absolute value of x as modified by fmod, not original
20524         value of x.
20525         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
20526         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
20527         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
20528         RUN_TEST_ffI_f1_mod8.
20529         (remquo_test_data): Add more tests.
20531 2015-02-13  Roland McGrath  <roland@hack.frob.com>
20533         * sysdeps/init_array/pt-crti.S: New file.
20535 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
20537         [BZ #17967]
20538         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
20539         __builtin_fmaf instead of relying on contraction of a * b + c.
20541 2015-02-12  J William Piggott  <elseifthen@gmx.com>
20543         [BZ #17969]
20544         * manual/time.texi: correct the zoneinfo path in the TZ Variable
20545         node.
20547 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
20549         [BZ #17964]
20550         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
20551         __builtin_fma instead of relying on contraction of a * b + c.
20553 2015-02-12  Roland McGrath  <roland@hack.frob.com>
20555         * Makeconfig (ASFLAGS): Add -Werror=undef.
20556         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
20557         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
20558         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
20560         * Makeconfig (after-link): New variable.
20561         (+link-pie, +link-pie-tests): Use it.
20562         (+link-static, +link-static-tests): Likewise.
20563         (+link, +link-tests): Likewise.
20564         * Makerules (build-module, build-module-asneeded): Likewise.
20565         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
20566         Likewise.
20567         * elf/Makefile ($(objpfx)ld.so): Likewise.
20569 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
20571         [BZ #17965]
20572         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
20573         both struct timeval and struct timespec.
20575 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
20577         [BZ #16560]
20578         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20579         and redefine.
20580         (__ieee754_exp2l): Do not multiply small fractional parts by
20581         M_LN2l.
20582         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
20583         small argument.
20584         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20585         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20586         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
20587         * math/auto-libm-test-in: Add more tests of exp2.
20588         * math/auto-libm-test-out: Regenerated.
20590 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20592         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
20593         unaligned path.
20595 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20597         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
20598         little endian.
20600 2015-02-12  Andreas Schwab  <schwab@suse.de>
20602         [BZ #15790]
20603         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
20604         Filter out elision flags from value returned in kind.
20605         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
20606         * nptl/tst-pthread-mutexattr.c: New file.
20608 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20610         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
20611         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
20612         into gnu-gnu, and update comment to refer to abi-tags.
20614 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
20616         [BZ #15467]
20617         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
20618         (__sincos): Set errno to EDOM for infinite argument.
20619         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
20620         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
20621         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
20622         (__sincosl): Set errno to EDOM for infinite argument.
20623         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
20624         (__sincosl): Set errno to EDOM for infinite argument.
20625         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
20626         (__sincosl): Set errno to EDOM for infinite argument.
20627         * math/libm-test.inc (sincos_test_data): Test errno setting.
20629 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
20631         * string/strxfrm_l.c: Remove #define STRCMP.
20632         * string/strcoll_l.c: Remove #define STRLEN.
20633         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
20634         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
20636 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
20638         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
20639         * sysdeps/mips/mips32/sfp-machine.h: ... here.
20640         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
20641         * sysdeps/mips/mips64/Makefile: ... here.
20642         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
20643         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
20644         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
20645         * sysdeps/mips/mips64/sfp-machine.h: ... here.
20646         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
20647         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
20648         * sysdeps/mips/mips64/n64/Implies: Likewise.
20650 2015-02-10  Roland McGrath  <roland@hack.frob.com>
20652         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
20653         <sys/time.h>, <string.h>, and <errno.h>.
20654         (dest_offset, dest_address, value, zero): Remove unused variables.
20655         (ldouble): Remove typedef.
20656         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
20657         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
20658         1).  Fix code style.
20659         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
20660         (check): Function removed.
20661         (CHECK): New macro.
20662         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
20663         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
20664         Don't call set_sigaction_FP and remove_sigaction_FP here.
20665         (ldouble_test): Just use 'long double' as macro argument, no need for
20666         the 'ldouble' typedef.
20667         (do_test): Set up SIGFPE handler at start, using plain signal rather
20668         than sigaction.  Fix code style.
20670 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
20672         [BZ #17949]
20673         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
20674         jump label.
20676 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20678         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
20679         * sysdeps/powerpc/powerpc32/configure: Regenerated.
20681         * sysdeps/powerpc/configure.ac: Remove file.
20682         * sysdeps/powerpc/configure: Likewise.
20684         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
20685         [sysdep_routines]: Remove wordcopy-power6 object.
20686         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
20687         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
20688         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
20689         (__memmove_ppc32): Likewise.
20690         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
20691         file.
20692         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
20693         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
20694         Remove preprocessor.
20696         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
20697         [sysdep_routines]: Remove wide chars objects.
20698         [wcsmbs]: New rule for wide char objects.
20700         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20701         Remove wordcopy-power6 obejct.
20702         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
20703         Use local call for wordcopy and memcpy symbols.
20704         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
20705         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
20706         implementation for loader.
20707         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
20709         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20710         Remove wordcopy-power7 object.
20711         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
20712         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
20713         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
20714         (_wordcopy_fwd_dest_aligned): Likewise.
20715         (_wordcopy_bwd_aligned): Likewise.
20716         (_wordcopy_bwd_dest_aligned): Likewise.
20718         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
20719         Rewrite to call __memmove_ppc instead of include default
20720         implementation.
20722         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20723         Remove wide chars objects.
20724         [wcsmbs]: New rule for wide char objects.
20726 2015-02-09  Andreas Schwab  <schwab@suse.de>
20728         [BZ #17912]
20729         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20730         in terms of __O_DIRECTORY.
20732 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20734         * time/getdate.c: Include <stdbool.h>.
20735         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
20736         call PTR_MANGLE.
20737         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
20738         PTR_DEMANGLE.
20740 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
20742         Add ersatz _Static_assert on older C hosts
20743         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
20744         pre-C11 C platform that is not known to support _Static_assert.
20746 2015-02-07  Richard Braun  <rbraun@sceen.net>
20748         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
20749         sigstate.
20750         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
20752 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20754         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
20755         priority against unexistent AIO_PRIO_DELTA_MAX.
20756         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
20757         instead of int.
20758         * misc/fchflags.c (fchflags): Likewise.
20759         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
20760         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
20761         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
20762         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
20763         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
20764         Declare macros.
20765         [__USE_MISC] (chflags, fchflags): Declare functions.
20766         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
20767         EINVAL when nfds is greater than FD_SETSIZE.
20768         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
20769         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
20770         45.
20771         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
20772         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
20773         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
20774         MACH_RCV_TIMED_OUT.
20775         * hurd/hurd/signal.h (_hurd_self_sigstate,
20776         _hurd_critical_section_lock, _hurd_critical_section_unlock):
20777         Explicit casts from void *.
20778         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
20779         * abi-tags: Rename gnu-gnu os into gnu.
20781         [BZ #4719]
20782         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
20783         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
20784         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
20785         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
20786         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
20787         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
20789         [BZ #17944]
20790         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
20791         duplicates ADDR->sun_path with sockaddr LEN limitation.
20792         * sysdeps/mach/hurd/connect.c: Include <string.h>
20793         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
20794         * sysdeps/mach/hurd/sendmsg.c: Likewise.
20795         * sysdeps/mach/hurd/sendto.c: Likewise.
20796         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
20797         implementing it by hand.
20799 2015-02-06  Roland McGrath  <roland@hack.frob.com>
20801         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
20802         Use sfi_breg on ldr.
20803         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
20804         Likewise.
20806         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
20807         it's defined.
20808         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
20809         Test SIGSETXID only if it's defined.
20811         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
20813         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
20814         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
20816         * nptl/tst-align2.c: Moved ...
20817         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
20818         * nptl/Makefile (tests): Remove tst-align2.
20819         * sysdeps/unix/sysv/linux/Makefile
20820         [$(subdir) = nptl] (tests): Add tst-align-clone.
20821         * nptl/tst-getpid1.c: Moved ...
20822         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
20823         * nptl/tst-getpid2.c: Moved ...
20824         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
20825         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
20826         * sysdeps/unix/sysv/linux/Makefile
20827         [$(subdir) = nptl] (tests): ... here.
20828         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
20829         * sysdeps/unix/sysv/linux/Makefile
20830         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
20832         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
20833         Drop trailing \n from perror argument.  Use return rather than exit.
20835         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
20836         on [SA_SIGINFO].
20837         * nptl/tst-cancel21.c (do_test): Likewise.
20838         * debug/tst-backtrace6.c: Include <signal.h> first thing.
20839         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
20840         [!SA_SIGINFO]: Make it a stub test.
20842         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
20843         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
20845         * posix/tst-getlogin.c: Move to ...
20846         * login/tst-getlogin.c: ... here.
20847         * posix/Makefile (tests): Move tst-getlogin to ...
20848         * login/Makefile (tests): ... here.
20850         * libio/tst-atime.c (do_test): Move local variables SV and E
20851         inside [ST_NOATIME] conditional.
20853         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
20855         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
20857         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
20858         (wait_code): New function replaces macro.
20859         Call nanosleep rather than syscall.
20861         * nptl/pt-system.c: Rewritten.  Put everything under
20862         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20863         Use IFUNC to redirect when possible.
20865         * nptl/pt-longjmp.c: Rewritten.  Put everything under
20866         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20867         Use IFUNC to redirect when possible.
20869         * nptl/pt-fork.c: Rewritten.  Put everything under
20870         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20871         Use IFUNC to redirect when possible.
20872         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
20874         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
20875         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
20876         unconditionally nowadays.  This included the only reference to
20877         __vdso_clock_gettime that appears outside libc proper.
20878         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
20879         Remove version set (containing only __vdso_clock_gettime).
20880         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20881         Add attribute_hidden.
20882         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20883         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
20884         libc_hidden_data_def.
20885         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20886         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20888         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
20889         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
20890         setrpcent, and getrpcport to ...
20891         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
20892         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
20893         getrpcbynumber_r, and getrpcent_r to ...
20894         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
20895         * inet/getrpcbyname.c: Moved ...
20896         * sunrpc/getrpcbyname.c: ... here.
20897         * inet/getrpcbyname_r.c: Moved ...
20898         * sunrpc/getrpcbyname_r.c: ... here.
20899         * inet/getrpcbynumber.c: Moved ...
20900         * sunrpc/getrpcbynumber.c: ... here.
20901         * inet/getrpcbynumber_r.c: Moved ...
20902         * sunrpc/getrpcbynumber_r.c: ... here.
20903         * inet/getrpcent.c: Moved ...
20904         * sunrpc/getrpcent.c: ... here.
20905         * inet/getrpcent_r.c: Moved ...
20906         * sunrpc/getrpcent_r.c: ... here.
20907         * inet/Makefile (routines): Move those to ...
20908         * sunrpc/Makefile (routines): ... here.
20909         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
20910         the $(subdirs) list.
20911         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
20912         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
20913         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
20914         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
20916         * elf/Makefile (routines): Include $(all-dl-routines), not just
20917         $(dl-routines).
20918         (rtld-routines): Likewise.  Use = rather than :=.
20919         * sysdeps/aarch64/Makefile [$(subdir) = elf]
20920         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
20921         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
20922         * sysdeps/arm/Makefile: Likewise.
20923         * sysdeps/i386/Makefile: Likewise.
20924         * sysdeps/x86_64/Makefile: Likewise.
20925         * sysdeps/hppa/Makefile [$(subdir) = elf]
20926         (sysdep_routines, sysdep-rtld-routines): Don't add
20927         $(sysdep-dl-routines) to these.
20928         * sysdeps/ia64/Makefile: Likewise.
20929         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
20930         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
20931         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
20932         Don't add dl-static to these; sysdep-dl-routines alone is enough.
20933         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
20934         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
20935         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
20936         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
20937         * sysdeps/powerpc/Makefile [$(subdir) = elf]
20938         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
20939         these; sysdep-dl-routines alone is enough.
20941 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
20943         [BZ #17932]
20944         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
20945         where multiplication results in zero and third argument is finite
20946         and nonzero.
20947         * math/auto-libm-test-in: Add more tests of fma.
20948         * math/auto-libm-test-out: Regenerated.
20950         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
20951         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
20952         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
20953         (_FP_CMP_EQ): Likewise.
20954         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
20956         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
20957         extra argument CHECK_NAN.  Redefine as wrapper around
20958         _FP_EXTEND_CNAN.
20960 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
20962         * version.h (RELEASE): Set to "stable".
20963         (VERSION): Set to "2.21"
20964         * include/features.h (__GLIBC_MINOR__): Set to 21.
20966         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
20968 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20969             Paul Eggert  <eggert@cs.ucla.edu>
20971         [BZ #16618]
20972         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
20973         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
20974         size in bytes. Store needed elements in wpmax. Use needed size
20975         in bytes for extend_alloca.
20977 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
20979         * manual/install.texi: Latest tested versions are GCC 4.9.2,
20980         binutls 2.25, and texinfo 5.2.
20981         * INSTALL: Regenerate.
20982         * sysdeps/nios2/configure: Regenerate.
20983         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
20984         * manual/contrib.texi: Update.
20985         * po/be.po: Update.
20986         * po/bg.po: Update.
20987         * po/ca.po: Update.
20988         * po/cs.po: Update.
20989         * po/da.po: Update.
20990         * po/de.po: Update.
20991         * po/el.po: Update.
20992         * po/eo.po: Update.
20993         * po/es.po: Update.
20994         * po/fi.po: Update.
20995         * po/fr.po: Update.
20996         * po/gl.po: Update.
20997         * po/hr.po: Update.
20998         * po/hu.po: Update.
20999         * po/ia.po: Update.
21000         * po/id.po: Update.
21001         * po/it.po: Update.
21002         * po/ja.po: Update.
21003         * po/ko.po: Update.
21004         * po/lt.po: Update.
21005         * po/nb.po: Update.
21006         * po/nl.po: Update.
21007         * po/pl.po: Update.
21008         * po/pt_BR.po: Update.
21009         * po/ru.po: Update.
21010         * po/rw.po: Update.
21011         * po/sk.po: Update.
21012         * po/sl.po: Update.
21013         * po/sv.po: Update.
21014         * po/tr.po: Update.
21015         * po/uk.po: Update.
21016         * po/vi.po: Update.
21017         * po/zh_CN.po: Update.
21018         * po/zh_TW.po: Update.
21020         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
21021         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
21022         * sysdeps/hppa/dl-irel.h: Remove #warning.
21023         * sysdeps/hppa/entry.h: Provide prototype for
21024         __canonicalize_funcptr_for_compare and cast argument.
21025         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
21026         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
21027         * sysdeps/hppa/sotruss-lib.c: New file.
21028         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
21029         (atomic_compare_and_exchange_val_acq): Use __typeof__.
21030         (atomic_compare_and_exchange_bool_acq): Likewise.
21031         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
21032         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
21034         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
21035         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
21036         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
21038 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
21040         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
21041         called function in non-PIC case.
21043 2015-01-31  David S. Miller  <davem@davemloft.net>
21045         * sysdeps/sparc/sparc32/bits/atomic.h
21046         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
21047         unlock not after it.
21048         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
21049         volatile register usage warnings from the compiler.
21051         * sysdeps/sparc/nptl/sem_init.c: Delete.
21052         * sysdeps/sparc/nptl/sem_post.c: Delete.
21053         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
21054         * sysdeps/sparc/nptl/sem_wait.c: Delete.
21055         * sysdeps/sparc/sparc32/sem_init.c: New file.
21056         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
21057         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
21058         padding explicitly initialized.
21059         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
21060         padding for in-semaphore spinlock.
21061         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
21062         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
21063         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
21064         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
21065         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
21066         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
21067         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
21068         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
21069         version.
21070         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
21071         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
21073 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
21075         [BZ #17801]
21076         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21077         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
21078         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
21079         New.
21080         (index_AVX_Fast_Unaligned_Load): Likewise.
21081         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
21082         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
21083         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
21084         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
21085         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
21086         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
21087         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
21088         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
21089         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
21091 2015-01-29  Andreas Schwab  <schwab@suse.de>
21093         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
21095 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
21097         [BZ #17892]
21098         * nscd/nscd_stat.c (send_stats): Initialize DATA.
21100 2015-01-28  Martin Sebor  <msebor@redhat.com>
21102         * math/README.libm-test: Clarify. Add "How to read the test output."
21104 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
21106         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
21107         Define to 0.
21109 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
21111         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
21112         (__HAVE_64B_ATOMICS): Define to 0.
21114 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21116         [BZ #17885]
21117         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
21118         value to set as new flag.
21120         [BZ #16576]
21121         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
21122         and use _ARCH_PPCSQ instead.
21123         (__ieee754_sqrt): Likewise.
21124         (__ieee754_sqrtf): Likewise.
21125         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
21126         _ARCH_PPCSQ is defined.
21127         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
21128         fsqrt instruction.
21129         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
21130         _ARCH_PPCSQ is defined.
21131         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
21132         fsqrts instruction.
21133         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
21135 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21137         * iconv/loop.c: Suppress array out of bound warning caused by GCC
21138         bug (GCC BZ #64739).
21140 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
21142         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
21143         Mark _retval as used.
21144         (lll_futex_wake_unlock): Likewise.
21145         (lll_futex_timed_wait_requeue_pi): Likewise.
21147         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
21148         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
21149         register variables.
21151         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
21152         libm_hidden_def.
21154         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
21155         (__bswap_64): Mark as __always_inline.
21157 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
21159         [BZ #15378]
21160         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
21161         when none of the search directories exist.
21163 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21165         [BZ #17869]
21166         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
21167         power8 in .machine directive.
21169         [BZ #17868]
21170         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
21171         set dependency from opd value.
21173 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21175         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21176         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
21177         architecture.
21179 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21181         [BZ #17870]
21182         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
21183         with uint64_t.
21184         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
21185         (uint64_t) 1.
21186         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
21187         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
21188         Replace 1UL with (uint64_t) 1.
21189         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
21190         int with uint64_t.
21192 2015-01-23  Roland McGrath  <roland@hack.frob.com>
21194         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
21195         (if_freenameindex): Likewise.
21197         * resource/getrlimit64.c: Add missing libc_hidden_def.
21199 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
21201         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
21202         __label__.
21203         (_FP_FMA): Likewise.
21204         (_FP_TO_INT_ROUND): Likewise.
21205         (_FP_FROM_INT): Likewise.
21207 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21209         [BZ #16418]
21210         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
21211         Make code racy and cancel safe.
21213 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
21215         * sysdeps/arm/unwind-resume.h: Fix copyright year.
21216         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
21217         attribution.
21219         * pwd/tst-getpw.c: Rewrite.
21221         [BZ #17702]
21222         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
21223         (modules-names): Add moddummy1 and moddummy2.
21224         ($(objpfx)tst-rec-dlopen): Define.
21225         * dlfcn/moddummy1.c: New file.
21226         * dlfcn/moddummy2.c: New file.
21227         * dlfcn/tst-rec-dlopen.c: New file.
21228         * elf/dl-cache.c (_dl_load_cache_lookup):
21229         Return char*. Copy result with alloca/strcpy/strdup.
21230         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
21231         returns char*. Free cached. If not saving realname
21232         free cached.
21233         * elf/dl-open.c (dl_open_worker): Do not assert that
21234         _r_debug->r_state is RT_CONSISTENT.
21235         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
21236         returns char*.
21238 2015-01-21  Torvald Riegel  <triegel@redhat.com>
21239             Carlos O'Donell  <carlos@redhat.com>
21241         [BZ #12674]
21242         * nptl/sem_waitcommon.c: New file.
21243         * nptl/sem_wait.c: Include sem_waitcommon.c.
21244         (__sem_wait_cleanup, do_futex_wait): Remove.
21245         (__new_sem_wait): Adapt.
21246         (__new_sem_trywait): New function.
21247         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
21248         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
21249         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
21250         (sem_timedwait): Adapt.
21251         * nptl/sem_post.c (__new_sem_post): Adapt.
21252         (futex_wake): New function.
21253         (__old_sem_post): Add release MO fence.
21254         * nptl/sem_open.c (sem_open): Adapt.
21255         * nptl/sem_init.c (__new_sem_init): Adapt.
21256         (futex_private_if_supported): New function.
21257         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
21258         (__old_sem_getvalue): Add using previous code.
21259         * sysdeps/nptl/internaltypes.h: Adapt.
21260         * nptl/tst-sem13.c (do_test): Adapt.
21261         * nptl/tst-sem11.c (main): Adapt.
21262         * nptl/sem_trywait.c: Remove.
21263         * nptl/DESIGN-sem.txt: Remove.
21264         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
21265         (gen-as-const-headers): Remove structsem.sym.
21266         * nptl/structsem.sym: Remove.
21267         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
21268         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
21269         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
21270         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
21271         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
21272         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
21273         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
21274         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
21275         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
21276         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
21277         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
21278         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
21279         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
21280         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
21281         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
21282         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
21283         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
21284         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
21285         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
21286         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
21287         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
21288         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
21290 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
21292         * INSTALL: Regenerated.
21294         * po/libc.pot: Regenerated.
21296 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
21297             Sandra Loosemore  <sandra@codesourcery.com>
21298             Andrew Jenner  <andrew@codesourcery.com>
21299             Joseph Myers  <joseph@codesourcery.com>
21300             Nathan Sidwell  <nathan@codesourcery.com>
21302         * NEWS: Mention new Nios II port.
21303         * sysdeps/nios2/Implies: New file.
21304         * sysdeps/nios2/Makefile: New file.
21305         * sysdeps/nios2/Subdirs: New file.
21306         * sysdeps/nios2/Versions: New file.
21307         * sysdeps/nios2/__longjmp.S: New file.
21308         * sysdeps/nios2/abort-instr.h: New file.
21309         * sysdeps/nios2/backtrace.c: New file.
21310         * sysdeps/nios2/bits/endian.h: New file.
21311         * sysdeps/nios2/bits/fenv.h: New file.
21312         * sysdeps/nios2/bits/link.h: New file.
21313         * sysdeps/nios2/bits/setjmp.h: New file.
21314         * sysdeps/nios2/bsd-_setjmp.S: New file.
21315         * sysdeps/nios2/bsd-setjmp.S: New file.
21316         * sysdeps/nios2/configure: New generated file.
21317         * sysdeps/nios2/configure.ac: New file.
21318         * sysdeps/nios2/crti.S: New file.
21319         * sysdeps/nios2/crtn.S: New file.
21320         * sysdeps/nios2/dl-init.c: New file.
21321         * sysdeps/nios2/dl-machine.h: New file.
21322         * sysdeps/nios2/dl-sysdep.h: New file.
21323         * sysdeps/nios2/dl-tls.h: New file.
21324         * sysdeps/nios2/dl-trampoline.S: New file.
21325         * sysdeps/nios2/gccframe.h: New file.
21326         * sysdeps/nios2/gmp-mparam.h: New file.
21327         * sysdeps/nios2/jmpbuf-offsets.h: New file.
21328         * sysdeps/nios2/jmpbuf-unwind.h: New file.
21329         * sysdeps/nios2/ldsodefs.h: New file.
21330         * sysdeps/nios2/libc-tls.c: New file.
21331         * sysdeps/nios2/libm-test-ulps: New file.
21332         * sysdeps/nios2/machine-gmon.h: New file.
21333         * sysdeps/nios2/math-tests.h: New file.
21334         * sysdeps/nios2/math_private.h: New file.
21335         * sysdeps/nios2/memusage.h: New file.
21336         * sysdeps/nios2/nptl/Makefile: New file.
21337         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
21338         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
21339         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
21340         * sysdeps/nios2/nptl/pthreaddef.h: New file.
21341         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
21342         * sysdeps/nios2/nptl/tls.h: New file.
21343         * sysdeps/nios2/preconfigure: New file.
21344         * sysdeps/nios2/s_fma.c: New file.
21345         * sysdeps/nios2/s_fmaf.c: New file.
21346         * sysdeps/nios2/setjmp.S: New file.
21347         * sysdeps/nios2/sfp-machine.h: New file.
21348         * sysdeps/nios2/sotruss-lib.c: New file.
21349         * sysdeps/nios2/stackguard-macros.h: New file.
21350         * sysdeps/nios2/stackinfo.h: New file.
21351         * sysdeps/nios2/start.S: New file.
21352         * sysdeps/nios2/sysdep.h: New file.
21353         * sysdeps/nios2/tls-macros.h: New file.
21354         * sysdeps/nios2/tst-audit.h: New file.
21355         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
21356         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
21357         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
21358         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
21359         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
21360         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
21361         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
21362         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
21363         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
21364         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
21365         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
21366         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
21367         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
21368         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
21369         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
21370         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
21371         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
21372         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
21373         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
21374         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
21375         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
21376         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
21377         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
21378         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
21379         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
21380         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
21381         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
21382         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
21383         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
21384         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
21385         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
21386         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
21387         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
21388         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
21389         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
21390         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
21391         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
21392         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
21393         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
21394         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
21395         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
21396         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
21397         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
21398         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
21400 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21402         [BZ #17844]
21403         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
21404         (getutent): Use weak_alias in non SHARED case
21405         and default_symbol_version in SHARED case.
21406         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
21407         (getutent_r, pututline): Likewise.
21408         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
21409         (getutid): Likewise.
21410         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
21411         (getutid_r): Likewise.
21412         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
21413         (getutline): Likewise.
21414         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
21415         (getutline_r): Likewise.
21416         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
21417         (updwtmp): Likewise.
21419 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21421         [BZ #17848]
21422         * sysdeps/s390/s390-32/memcmp.S
21423         (memcmp_g5): Rename to __memcmp_g5.
21424         * sysdeps/s390/s390-32/memcpy.S
21425         (memcpy_g5): Rename to __memcpy_g5.
21426         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21427         (memcpy_mvcle) Rename to __memcpy_mvcle.
21428         * sysdeps/s390/s390-32/memset.S
21429         (memset_g5): Rename to __memset_g5.
21430         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21431         (IFUNC_RESOLVE): Prefix ifunc-resolve function
21432         and use prefixed functions.
21433         * sysdeps/s390/s390-32/multiarch/memcmp.S
21434         (memcmp_z196): Rename to __memcmp_z196.
21435         (memcmp_z10): Rename to __memcmp_z10.
21436         (memcmp): Set alias to __memcmp_g5.
21437         (bcmp): Set alias to __memcmp_g5.
21438         * sysdeps/s390/s390-32/multiarch/memcpy.S
21439         (memcpy_z196): Rename to __memcpy_z196.
21440         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21441         (memcpy_z10): Rename to __memcpy_z10.
21442         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21443         (memcpy): Set alias to __memcpy_g5.
21444         * sysdeps/s390/s390-32/multiarch/memset.S
21445         (memset_z196): Rename to __memset_z196.
21446         Jump to __memset_mvcle instead of memset_mvcle.
21447         (memset_z10): Rename to __memset_z10.
21448         Jump to __memset_mvcle instead of memset_mvcle.
21449         (memset_mvcle) Rename to __memset_mvcle.
21450         (memset): Set alias to __memset_g5.
21451         * sysdeps/s390/s390-64/memcmp.S
21452         (memcmp_z900): Rename to __memcmp_z900.
21453         * sysdeps/s390/s390-64/memcpy.S
21454         (memcpy_z900): Rename to __memcpy_z900.
21455         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21456         (memcpy_mvcle) Rename to __memcpy_mvcle.
21457         * sysdeps/s390/s390-64/memset.S
21458         (memset_z900): Rename to __memset_z900.
21459         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
21460         (IFUNC_RESOLVE): Prefix ifunc-resolve function
21461         and use prefixed functions.
21462         * sysdeps/s390/s390-64/multiarch/memcmp.S
21463         (memcmp_z196): Rename to __memcmp_z196.
21464         (memcmp_z10): Rename to __memcmp_z10.
21465         (memcmp): Set alias to __memcmp_z900.
21466         (bcmp): Set alias to __memcmp_z900.
21467         * sysdeps/s390/s390-64/multiarch/memcpy.S
21468         (memcpy_z196): Rename to __memcpy_z196.
21469         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21470         (memcpy_z10): Rename to __memcpy_z10.
21471         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21472         (memcpy): Set alias to __memcpy_z900.
21473         * sysdeps/s390/s390-64/multiarch/memset.S
21474         (memset_z196): Rename to __memset_z196.
21475         Jump to __memset_mvcle instead of memset_mvcle.
21476         (memset_z10): Rename to __memset_z10.
21477         Jump to __memset_mvcle instead of memset_mvcle.
21478         (memset_mvcle) Rename to __memset_mvcle.
21479         (memset): Set alias to __memset_z900.
21481 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
21483         [BZ #17748]
21484         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
21485         __fesetenv instead of fesetenv.
21487 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21489         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
21490         macro.
21492 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21494         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
21495         regression on LE.
21497         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
21498         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
21499         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21500         strncmp-power8 object.
21501         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21502         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
21503         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
21504         * NEWS: Update.
21506 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21507             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21509         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
21510         trailing byte check.
21512 2015-01-13  David S. Miller  <davem@davemloft.net>
21514         * include/signal.h (__sigreturn): Guard with __USE_MISC.
21516 2015-01-13  Roland McGrath  <roland@hack.frob.com>
21518         * login/logout.c (logout): Use memset rather than bzero.
21519         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
21520         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
21521         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
21522         (_gethtbyaddr): Likewise.
21523         * locale/programs/simple-hash.c (bcopy): Macro removed.
21525 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21527         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21528         Add strcmp-power8 object.
21529         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21530         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
21531         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
21532         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
21533         __strcmp_power8 implementation.
21534         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
21535         * NEWS: Update.
21537         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21538         Add strncpy-power8 and stpncpy-power8 objects.
21539         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21540         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
21541         implementations.
21542         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
21543         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
21544         __stpncpy_power8 implementation.
21545         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
21546         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
21547         __strncpy_power8 implementation.
21548         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
21549         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
21550         * NEWS: Update.
21552         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
21553         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
21554         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
21556         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21557         strncat-power8 object.
21558         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
21559         __strcat_power8 implementation.
21560         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21561         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
21562         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
21563         optimized strcat for power8.
21565         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21566         strcpy-power8 and stpcpy-power8 objects.
21567         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21568         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
21569         implementations.
21570         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
21571         multiarch stpcpy implementation for POWER8.
21572         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
21573         multiarch strcpy implementation for POWER8.
21574         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
21575         __strcpy_power8 function.
21576         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
21577         stpcpy for POWER8.
21578         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
21579         strcpy for POWER8.
21580         * NEWS: Update.
21582 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
21584         [BZ #16009]
21585         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
21586         weights and rules. Use do_xfrm_cached if data fits in cache,
21587         do_xfrm otherwise.  Moved former main loop to...
21588         * (do_xfrm_cached): New function.
21589         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
21590         find_idx, find_position and stack_push.
21591         * (find_idx): New function.
21592         * (find_position): Likewise.
21593         * localedata/sort-test.sh: Added test run for do_xfrm.
21594         * localedata/xfrm-test.c (main): Added command line option
21595         -nocache to run the test with strings that are too large for
21596         the STRXFRM cache.
21598 2015-01-13  Torvald Riegel  <triegel@redhat.com>
21600         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
21601         variable to lll_futex_wake call, not the value itself.
21603 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
21605         [BZ #17803]
21606         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
21607         twom64.  Adjust value to 0x1p-64L.
21608         (__scalblnl): Only return standard underflowing result for K <=
21609         -64 not K <= -63; adjust exponent for underflowing result by 64
21610         not 63.
21611         * math/libm-test.inc (scalbn_test_data): Add more tests.
21612         (scalbln_test_data): Likewise.
21614         [BZ #17834]
21615         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
21616         0x1p63L.
21617         (__scalblnl): Get new exponent of adjusted subnormal value from ES
21618         not HX.
21619         * math/libm-test.inc (scalbn_test_data): Add more tests.
21620         (scalbln_test_data): Likewise.
21622 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21623             Stefani Seibold  <stefani@seibold.net>
21625         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
21626         (sysdep_routines): Add dl-vdso here, ...
21627         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
21628         (sysdep_routines): ... not here.
21629         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
21630         fallback when vDSO is not presented.
21631         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21632         Define with libc_hidden_proto/libc_hidden_data_def definitions.
21633         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
21634         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
21635         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
21636         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
21637         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
21638         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
21639         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
21640         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
21641         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
21642         fallback configurable symbol when vDSO is not available.
21643         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
21644         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
21645         be able to redefine fallback symbol when vDSO is not available.
21646         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
21647         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
21649 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21651         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
21652         (TLS_INIT_TP): Add tm_capable initialization.
21653         (TLS_DEFINE_INIT_TP): Likewise.
21654         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
21655         TCB.
21656         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
21657         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
21658         calculation.
21659         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
21660         transactoion is lock elision is built and TCB tm_capable is set.
21661         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
21662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21663         (INTERNAL_SYSCALL_NCS): Likewise.
21664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21665         (INTERNAL_SYSCALL_NCS): Likewise.
21666         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
21668         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
21669         for powerpc.
21670         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21671         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
21672         and remove it for 32 bits case.
21673         [pthread_rwlock_t] (__rwelision): New field for lock elision.
21674         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
21675         initialization.
21676         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
21677         Disable lock elision with rdlocks if elision is not available.
21679         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
21680         (sysdep_routines): Add lock elision objects.
21681         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21682         [pthread_mutex_t] (__spins): Rework to add lock elision field.
21683         [pthread_mutex_t] (__elision): Add field.
21684         [__PTHREAD_SPINS]: Adjust to init lock elision field.
21685         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
21686         elision definitions for powerpc.
21687         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
21688         implementation of lock elision for powerpc.
21689         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
21690         implementation of timed lock elision for powerpc.
21691         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
21692         implementation of trylock with lock elision for powerpc.
21693         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
21694         implementaion of unlock for lock elision for powerpc.
21695         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
21696         automatic enable lock elision for mutexes.
21697         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
21698         transaction execution definitions for powerpc.
21699         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
21700         definitions.
21701         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
21702         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
21703         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
21704         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
21705         * NEWS: Update.
21707 2015-01-09  Roland McGrath  <roland@hack.frob.com>
21709         * sysdeps/posix/shm-directory.c: Use <> rather than ""
21710         for #include of <shm-directory.h>.
21712 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
21714         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
21715         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
21717 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
21719         [BZ #17791]
21720         * NEWS: Mention bug fix.
21721         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
21722         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
21723         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
21725 2015-01-09  Torvald Riegel <triegel@redhat.com>
21727         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
21729 2015-01-09  Torvald Riegel <triegel@redhat.com>
21731         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
21733 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21735         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
21736         pointer and cast to uintptr_t.
21738 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21740         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
21741         removed.
21742         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
21744 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21746         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
21747         of 0.
21749 2015-01-08  Roland McGrath  <roland@hack.frob.com>
21751         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
21752         <nptl/pthreadP.h> instead.
21753         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
21755         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
21756         already defined.
21757         [__SIGRTMIN] (init): Function removed.
21758         [__SIGRTMIN] (initialized): Variable removed.
21759         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
21760         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
21761         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
21762         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
21763         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
21764         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
21765         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
21766         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
21767         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
21768         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
21769         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
21770         * sysdeps/nptl/allocrtsig.c: New file.
21771         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
21772         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
21773         * sysdeps/generic/testrtsig.h: File removed.
21775         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
21776         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
21778         * nptl/nptl-init.c (pthread_functions): Conditionalize
21779         .ptr__nptl_setxid initialization on [SIGSETXID].
21781         * sysdeps/nptl/sys/procfs.h: New file.
21782         * nptl_db/Makefile (headers): Add it.
21783         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
21785         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
21786         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
21787         * nptl/pthread_attr_setaffinity.c: Include it.
21788         * nptl/pthread_setattr_default_np.c: Likewise.
21789         * nptl/check-cpuset.h: New file.
21791 2015-01-08  Richard Henderson  <rth@redhat.com>
21793         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
21794         (CFLAGS-tst-execstack-prog.c): Likewise.
21795         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
21797 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
21798             Sandra Loosemore  <sandra@codesourcery.com>
21799             Andrew Jenner  <andrew@codesourcery.com>
21800             Joseph Myers  <joseph@codesourcery.com>
21801             Nathan Sidwell  <nathan@codesourcery.com>
21803         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
21804         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
21805         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
21806         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
21807         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
21808         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
21809         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
21810         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
21811         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
21812         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
21813         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
21814         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
21815         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
21816         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
21817         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
21818         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
21819         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
21821 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21823         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
21824         timespec struct member in syscall macro.
21825         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
21826         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
21827         first timeval struct member in syscall macro.
21828         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
21830 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
21832         [BZ #17748]
21833         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
21834         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
21835         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
21836         __feupdateenv and define as weak alias of __feupdateenv.  Use
21837         libm_hidden_weak.
21838         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
21839         libm_hidden_def.
21840         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
21841         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
21842         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
21843         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
21844         libm_hidden_def.
21845         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
21846         __feupdateenv and define as weak alias of __feupdateenv.  Use
21847         libm_hidden_weak.
21848         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
21849         libm_hidden_def.
21850         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
21851         __feupdateenv and define as weak alias of __feupdateenv.  Use
21852         libm_hidden_weak.
21853         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
21854         libm_hidden_def.
21855         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21856         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
21857         (__feupdateenv): Likewise.
21858         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
21859         __feupdateenv and define as weak alias of __feupdateenv.  Use
21860         libm_hidden_weak.
21861         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21862         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
21863         libm_hidden_def.
21864         * sysdeps/tile/math_private.h (__feupdateenv): New inline
21865         function.
21866         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
21867         libm_hidden_def.
21868         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
21869         __feupdateenv instead of feupdateenv.
21870         (default_libc_feupdateenv_test): Likewise.
21871         (libc_feresetround_ctx): Likewise.
21873 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21875         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
21876         prototype.
21878 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
21880         * posix/regcomp.c (parse_bracket_exp): Initialize type to
21881         COLL_SYM in a couple of places to avoid uninitialized variable
21882         wanings on tilegx gcc 4.8.2.
21884 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
21886         * sysdeps/aarch64/strcpy.S: New file.
21887         * sysdeps/aarch64/stpcpy.S: New file.
21888         * NEWS: Updated.
21890 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
21892         * sysdeps/aarch64/strrchr.S: New file.
21893         * NEWS: Updated.
21895 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
21897         [BZ #17658]
21898         * stdlib/setenv.c: Fix memory leak when setting large,
21899         duplicate string.
21901 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
21903         [BZ #17273]
21904         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
21905         and tabs from buffer before parsing fstab entry.
21906         * misc/tst-mntent.c (main): Add test for mount entry with
21907         trailing spaces and tabs.
21909 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
21911         [BZ #17748]
21912         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
21913         * math/fesetround.c (fesetround): Rename to __fesetround and
21914         define as weak alias of __fesetround.  Use libm_hidden_weak.
21915         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
21916         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
21917         * sysdeps/arm/fesetround.c (fesetround): Likewise.
21918         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
21919         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
21920         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
21921         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
21922         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
21923         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
21924         __fesetround_inline.
21925         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
21926         __fesetround_inline instead of __fesetround.
21927         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
21928         __fesetround and define as weak alias of __fesetround.  Use
21929         libm_hidden_weak.  Call __fesetround_inline instead of
21930         __fesetround.
21931         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
21932         __fesetround and define as weak alias of __fesetround.  Use
21933         libm_hidden_weak.
21934         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
21935         Likewise.
21936         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
21937         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21938         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
21939         * sysdeps/tile/math_private.h (__fesetround): New inline function.
21940         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
21941         __fesetround and define as weak alias of __fesetround.  Use
21942         libm_hidden_weak.
21943         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
21944         __fesetround instead of fesetround.
21945         (default_libc_feholdexcept_setround): Likewise.
21946         (libc_feholdsetround_ctx): Likewise.
21947         (libc_feholdsetround_noex_ctx): Likewise.
21949         [BZ #17748]
21950         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
21951         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
21952         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
21953         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
21954         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21955         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
21956         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21957         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
21958         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21959         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21960         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21961         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21962         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21963         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21964         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
21965         libm_hidden_def.
21966         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
21967         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
21968         Likewise.
21969         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21970         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21971         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21972         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21973         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
21974         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
21975         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
21976         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
21977         __fesetenv instead of fesetenv.
21978         (libc_feresetround_noex_ctx): Likewise.
21979         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
21980         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
21981         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
21982         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
21983         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
21984         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
21985         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21986         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
21987         (__feupdateenv): Likewise.
21988         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21989         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21990         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21991         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
21993 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
21995         [BZ #17806]
21996         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
21997         addresses have been freed.
21999 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
22001         * resolv/res_init.c (__res_vinit): Improve comments about nserv
22002         and nservall.
22004 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
22006         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
22007         Clean up check_pf allocation pattern. addresses
22009 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22011         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
22012         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
22013         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
22014         * nptl/pthread_exit.c (__pthread_exit): Likewise.
22015         * nptl/pthread_join.c (pthread_join): Likewise.
22016         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
22017         * sysdeps/posix/waitid.c (__waitid): Likewise.
22018         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
22019         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
22020         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
22021         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
22022         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
22023         Likewise.
22024         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
22025         (__libc_pread64): Likewise.
22026         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
22027         (__libc_pwrite): Likewise.
22028         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
22029         (__libc_pwrite64): Likewsie.
22030         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
22031         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
22032         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
22033         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
22034         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
22035         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
22036         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
22038         Likewise.
22039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22040         (__libc_pread64): Likewise.
22041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
22042         Likewise.
22043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22044         (__libc_pwrite64): Likewise.
22045         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
22046         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
22047         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
22048         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
22049         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
22050         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
22051         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
22052         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
22053         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
22054         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
22055         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
22056         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
22057         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
22058         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
22059         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22060         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
22061         Likewise.
22063 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
22065         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
22066         (CFLAGS-test-double.c): Likewise.
22067         (CFLAGS-test-ldouble.c): Likewise.
22068         (CPPFLAGS-test-ifloat.c): Likewise.
22069         (CPPFLAGS-test-idouble.c): Likewise.
22070         (CPPFLAGS-test-ildoubl.c): Likewise.
22071         (CFLAGS-test-test-fenv.c): Remove variable.
22072         (CFLAGS-test-misc.c): Likewise.
22074 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
22076         [BZ #17797]
22077         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
22078         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
22079         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
22080         CLOCKS_PER_SEC == 1000000.
22081         * time/clocktest.c (main): Replace %ld with %jd and cast to
22082         intmax_t.
22084 2015-01-05  Roland McGrath  <roland@hack.frob.com>
22086         * sysdeps/generic/unwind-resume.h: New file.
22087         * sysdeps/gnu/unwind-resume.c: Include it.
22088         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
22089         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
22090         argument list.
22091         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
22092         global rather than static.
22093         (_Unwind_Resume): Update user.
22094         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
22095         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
22096         rather than static.  Add __attribute__ ((cold)).
22097         (_Unwind_Resume, __gcc_personality_v0): Update callers.
22098         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
22099         * sysdeps/arm/arm-unwind-resume.S: New file.
22100         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
22101         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
22102         * sysdeps/arm/Makefile [$(subdir) = csu]
22103         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
22104         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22105         Add rt-arm-unwind-resume.
22106         [$(subdir) = nptl]
22107         (libpthread-sysdep_routines, libpthread-shared-only-routines):
22108         Add pt-arm-unwind-resume.
22109         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
22110         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
22112 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22114         [BZ #17748]
22115         * include/fenv.h (__feholdexcept): Declare.  Use
22116         libm_hidden_proto.
22117         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
22118         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
22119         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22120         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
22121         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
22122         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
22123         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
22124         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22125         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
22126         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
22127         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22128         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
22129         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
22130         (feholdexcept): Likewise.
22131         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22132         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22133         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22134         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22135         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
22136         __feholdexcept instead of feholdexcept.
22137         (default_libc_feholdexcept_setround): Likewise.
22139 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22141         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
22142         to avoid using stl/str to align destination.
22144 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22146         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
22148 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22150         [BZ #17796]
22151         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
22152         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
22153         Define as weak alias not strong alias.
22155 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22157         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
22158         bltzal with addiupc.
22159         (RTLD_START): Ditto.
22161 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
22163         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
22164         for __vdso_* functions in declarations.
22165         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
22166         definitions.
22167         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
22168         INTERNAL_VSYSCALL): Use struct return types to check for error.
22170         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
22171         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
22172         function with cast from llround().
22173         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
22174         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22175         Define.
22177 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22179         [BZ #17793]
22180         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
22181         Define as weak alias not strong alias.
22183         [BZ #17635]
22184         * ctype/ctype-c99.c: New file.  isblank implementation moved from
22185         ...
22186         * ctype/ctype-extn.c: ... here.
22187         (__isblank_l): Move to ...
22188         * ctype/ctype-c99_l.c: ... here.  New file.
22189         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
22190         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
22191         Remove variable.
22192         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
22193         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22194         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22195         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22196         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
22198         [BZ #17777]
22199         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
22200         (posix_fadvise64): Define as weak alias not strong alias.
22201         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22202         (posix_fallocate64): Likewise.
22203         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
22204         Remove variable.
22205         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
22206         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
22207         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
22208         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
22209         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
22211 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
22213         [BZ #16191]
22214         * NEWS: Mention bug fix.
22215         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
22216         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
22217         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
22218         (HOST_STACK_END_ADDR): Likewise.
22220 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
22222         [BZ #17748]
22223         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
22224         * math/fegetround.c (fegetround): Rename to __fegetround and
22225         define as weak alias of __fegetround.  Use libm_hidden_weak.
22226         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
22227         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
22228         * sysdeps/arm/fegetround.c (fegetround): Likewise.
22229         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
22230         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22231         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
22232         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
22233         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
22234         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22235         Undefine after rather than before function definition; use
22236         parentheses around function name in definition.
22237         (__fegetround): Also undefine macro after function definition.
22238         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
22239         __fegetround and define as weak alias of __fegetround.  Use
22240         libm_hidden_weak.  Do not undefine as macro.
22241         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22242         Likewise.
22243         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
22244         __fegetround and define as weak alias of __fegetround.  Use
22245         libm_hidden_weak.
22246         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22247         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22248         * sysdeps/tile/math_private.h (__fegetround): New inline function.
22249         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
22250         __fegetround and define as weak alias of __fegetround.  Use
22251         libm_hidden_weak.
22252         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
22253         __fegetround instead of fegetround.
22255         [BZ #17782]
22256         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
22257         Condition macro definition on [__USE_MISC].
22259         [BZ #17781]
22260         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
22261         (struct sigaction): Change type of sa_flags field to int.
22263         [BZ #17780]
22264         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
22265         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
22266         __glibc_reserved0.
22268         * nptl/version.c (banner): Use single year in copyright notice.
22270         * NEWS: Update copyright dates.
22271         * catgets/gencat.c (print_version): Likewise.
22272         * csu/version.c (banner): Likewise.
22273         * debug/catchsegv.sh: Likewise.
22274         * debug/pcprofiledump.c (print_version): Likewise.
22275         * debug/xtrace.sh (do_version): Likewise.
22276         * elf/ldconfig.c (print_version): Likewise.
22277         * elf/ldd.bash.in: Likewise.
22278         * elf/pldd.c (print_version): Likewise.
22279         * elf/sotruss.sh: Likewise.
22280         * elf/sprof.c (print_version): Likewise.
22281         * iconv/iconv_prog.c (print_version): Likewise.
22282         * iconv/iconvconfig.c (print_version): Likewise.
22283         * locale/programs/locale.c (print_version): Likewise.
22284         * locale/programs/localedef.c (print_version): Likewise.
22285         * login/programs/pt_chown.c (print_version): Likewise.
22286         * malloc/memusage.sh (do_version): Likewise.
22287         * malloc/memusagestat.c (print_version): Likewise.
22288         * malloc/mtrace.pl: Likewise.
22289         * manual/libc.texinfo: Likewise.
22290         * nptl/version.c (banner): Likewise.
22291         * nscd/nscd.c (print_version): Likewise.
22292         * nss/getent.c (print_version): Likewise.
22293         * nss/makedb.c (print_version): Likewise.
22294         * posix/getconf.c (main): Likewise.
22295         * scripts/test-installation.pl: Likewise.
22296         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22298 2015-01-02  Will Newton  <will.newton@linaro.org>
22300         * sysdeps/arm/armv7/configure: Removed.
22301         * sysdeps/arm/armv7/configure.ac: Likewise.
22303 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
22305         * All files with FSF copyright notices: Update copyright dates
22306         using scripts/update-copyrights.
22307         * intl/plural.c: Regenerated.
22308         * locale/programs/charmap-kw.h: Likewise.
22309         * locale/programs/locfile-kw.h: Likewise.
22311 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22313         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
22315 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
22317         [BZ #17748]
22318         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
22319         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
22320         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22321         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
22322         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22323         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
22324         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22325         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
22326         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22327         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22328         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22329         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22330         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22331         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22332         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
22333         libm_hidden_def.
22334         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
22335         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
22336         Likewise.
22337         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22338         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22339         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22340         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22341         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
22342         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22343         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
22344         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
22345         __fegetenv instead of fegetenv.
22346         (libc_feholdsetround_noex_ctx): Likewise.
22348 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
22350         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
22351         (Elf_MIPS_ABIFlags_v0): New structure.
22352         (EF_MIPS_FP64): Define.
22353         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
22354         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
22355         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
22356         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
22357         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
22358         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
22359         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
22360         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
22361         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
22362         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
22363         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
22364         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
22365         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
22366         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
22367         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
22368         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
22369         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
22370         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
22371         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
22372         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
22373         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
22374         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
22375         field.
22376         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
22377         EF_MIPS_FP64.
22378         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
22379         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
22380         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
22381         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
22382         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
22383         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
22384         * sysdeps/mips/tst-abi-interlink.c: Likewise.
22385         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
22386         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
22387         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
22388         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
22389         record the current FP ABI extension.
22390         (mips-mode-switch): Define to show if kernel headers support mode
22391         switching.
22392         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22393         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
22394         supported SYSV ABI version to 3.
22395         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
22396         feature.
22398 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22399             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22401         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
22402         path.
22403         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
22405 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
22407         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
22408         __fegetround and redefine to call __fegetround.  Remove condition
22409         on [!__NO_MATH_INLINES].
22410         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
22411         function.
22412         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
22413         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22414         Remove macro.
22415         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
22416         instead of <fenv_libc.h>.
22417         (__llrintl): Call fegetround instead of __fegetround.
22418         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
22419         instead of <fenv_libc.h>.
22420         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
22421         (__lrintl): Call fegetround instead of __fegetround.
22422         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
22423         instead of <fenv_libc.h>.
22424         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
22425         (__rintl): Call fegetround instead of __fegetround.
22427 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22429         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
22430         arrays.
22432 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
22434         [BZ #17775]
22435         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
22436         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
22437         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
22439 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22441         * sysdeps/i386/tls-macros.h: Include <features.h>.
22442         (TLS_LE): Use non-PIC version for GCC >= 5.0.
22443         (TLS_IE): Likewise.
22444         (TLS_LD): Likewise.
22445         (TLS_GD): Likewise.
22446         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
22447         define for GCC >= 5.0.
22449 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
22451         * math/test-fenv.c (test_single_exception, set_single_exc,
22452         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
22453         feexcp_mask_test, feenable_test, fe_single_test): Add
22454         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
22455         case where they are not used.
22456         * math/libm-test.inc: Likewise.
22457         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
22458         unused in the absence of FP rounding/exception support.
22459         * stdio-common/tst-printf-round.c: Likewise.
22460         * stdlib/tst-strtod-round.c: Likewise.
22461         * stdlib/tst-strtod-underflow.c: Likewise.
22463 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
22465         [BZ #17723]
22466         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
22467         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
22468         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22469         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22470         libm_hidden_weak.
22471         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
22472         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22473         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
22474         libm_hidden_def.
22475         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22476         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22477         libm_hidden_weak.
22478         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
22479         Likewise.
22480         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
22481         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22482         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22483         libm_hidden_weak.
22484         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22485         libm_hidden_def.
22486         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22487         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
22488         (__feraiseexcept): Likewise.
22489         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22490         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22491         libm_hidden_weak.
22492         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22493         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22494         libm_hidden_def.
22495         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
22496         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
22497         Use libm_hidden_def.
22498         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
22499         libm_hidden_def.
22500         (feraiseexcept): Define as weak not strong alias.  Use
22501         libm_hidden_weak.
22502         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
22503         New inline function.  Factored out of ...
22504         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
22505         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
22506         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
22507         feraiseexcept.
22508         * math/w_acos.c (__acos): Likewise.
22509         * math/w_asin.c (__asin): Likewise.
22510         * math/w_ilogb.c (__ilogb): Likewise.
22511         * math/w_j0.c (y0): Likewise.
22512         * math/w_j1.c (y1): Likewise.
22513         * math/w_jn.c (yn): Likewise.
22514         * math/w_log.c (__log): Likewise.
22515         * math/w_log10.c (__log10): Likewise.
22516         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
22517         * sysdeps/aarch64/fpu/math_private.h
22518         (libc_feupdateenv_test_aarch64): Likewise.
22519         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22520         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
22521         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
22522         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22523         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22524         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22525         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
22526         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22527         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22528         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22530 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
22532         [BZ #17732]
22533         * io/test-utime.c (main): Replace %ld with %jd and cast to
22534         intmax_t.
22535         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
22536         * nptl/tst-mutex5.c: Include <stdint.h>.
22537         (do_test): Replace %ld with %jd and cast to intmax_t.
22538         * posix/tst-regex.c (run_test): Likewise.
22539         (run_test_backwards): Likewise.
22540         * rt/tst-clock.c: Include <stdint.h>.
22541         (clock_test): Replace %ld with %jd and cast to intmax_t.
22542         * rt/tst-cpuclock1.c: Include <stdint.h>.
22543         (do_test): Replace %lu with %ju and cast to uintmax_t.
22544         * rt/tst-cpuclock2.c: Include <stdint.h>.
22545         (do_test): Replace %lu with %ju and cast to uintmax_t.
22546         * rt/tst-mqueue1.c: Include <stdint.h>.
22547         (check_attrs): Replace %ld with %jd and cast to intmax_t.
22548         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
22549         intmax_t.
22550         * rt/tst-mqueue4.c (do_test): Likewise.
22551         * rt/tst-timer4.c: Include <stdint.h>.
22552         (check_ts): Replace %ld with %jd and cast to intmax_t.
22553         (do_test): Likewise.
22554         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
22555         and cast to intmax_t.
22556         * sysdeps/pthread/tst-timer.c (main): Likewise.
22557         * time/clocktest.c (main): Likewise.
22558         * time/tst-posixtz.c (do_test): Likewise.
22559         * timezone/tst-timezone.c (main): Likewise.
22561 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22562             H.J. Lu  <hongjiu.lu@intel.com>
22564         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
22565         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
22566         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
22567         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
22568         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
22569         version if bit_Fast_Unaligned_Load is set.
22570         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22571         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22572         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22573         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22574         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22575         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22576         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22577         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
22578         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
22579         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
22580         to 4.
22581         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
22582         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
22583         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
22584         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
22586 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
22588         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
22589         instead of #if to avoid a Wundef warning.
22590         * stdlib/tst-limits.c (do_test): Likewise.
22592         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
22593         parallel other exception macros.
22594         (fegetenv): Convert from macro to extern inline so that it applies
22595         retroactively to inline functions already seen by the compiler.
22596         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
22598         * posix/Makefile (before-compile): Use $(objpfx) for
22599         posix-conf-vars-def.h.
22601 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22603         * posix/getconf.c (main): Use size_t for type of I.
22604         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
22605         NSPEC.
22607         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
22608         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
22609         * posix/posix-envs.def: Likewise.
22610         * sysdeps/posix/sysconf.c: Likewise.
22611         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
22612         (specs): Remove array.
22613         * scripts/gen-posix-conf-vars.awk: Support generation of specs
22614         array.
22616         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
22617         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
22618         (__sysconf): Use CONF_IS_* macros.
22620         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
22621         ($(objpfx)posix-conf-vars-def.h): New target.
22622         * posix/posix-conf-vars.list: New file.
22623         * posix/posix-conf-vars.h: New file.
22624         * posix/confstr.c: Include posix-conf-vars.h.
22625         (confstr): Use CONF_IS_* macros.
22626         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
22627         CONF_IS_* macros.
22628         * scripts/gen-posix-conf-vars.awk: New file.
22630 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
22632         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
22633         fegetround): Add no-op macros to avoid linknamespace issues.
22635         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
22636         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
22638         * sysdeps/unix/sysv/linux/tile/sysdep.h
22639         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
22640         assembly-specific section to avoid a redefinition warning.
22642         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
22643         long before casting to pointer to avoid a cast warning.
22645 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
22647         * sysdeps/tile/tilegx/Implies: New file.
22649 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
22651         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
22653 2014-12-23  Florian Weimer  <fweimer@redhat.com>
22655         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
22657 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22659         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
22660         not define.
22661         * sysdeps/unix/sysv/linux/utimes.c: Do not include
22662         <kernel-features.h>.
22663         (__utimes) [__NR_utimes]: Make code unconditional.
22664         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
22665         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22666         (__ASSUME_UTIMES): Do not undefine.
22667         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22668         (__ASSUME_UTIMES): Likewise.
22669         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22670         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
22671         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
22672         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
22674 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
22676         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
22678 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
22680         [BZ #17747]
22681         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
22682         alias to weak alias for j0l, y0l.
22683         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
22684         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
22686         [BZ #17746]
22687         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
22688         conversion.
22690 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
22692         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
22693         to zero if not already defined.
22695 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22697         [BZ #17724]
22698         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
22699         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
22700         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
22701         (char *) casts added.
22702         * sysdeps/ieee754/k_standardf.c: New file.
22703         * sysdeps/ieee754/k_standardl.c: Likewise.
22704         * math/Makefile (libm-support): Remove k_standard.
22705         (libm-calls): Add k_standard.
22707 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22709         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22710         Optimize to avoid an unnecessary FPCR read.
22712 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22714         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
22715         Optimize to reduce FPCR/FPSR accesses.
22717 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22719         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
22720         Call libc_fetestexcept_aarch64.
22722 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22724         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
22725         Call libc_fesetround_aarch64.
22727 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22729         [BZ #17733]
22730         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
22731         (__bind): Do not define as weak alias.
22732         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
22733         define.
22734         (__getsockname): Do not define as weak alias.
22736 2014-12-22  Will Newton  <will.newton@linaro.org>
22738         * manual/install.texi: Document that we require bison 2.7
22739         or above.
22740         * INSTALL: Regenerate.
22741         * configure.ac: Use AC_CHECK_PROG_VER instead of
22742         AC_PATH_PROG when checking for bison and check for
22743         version 2.7 or above.
22744         * configure: Regenerate.
22746 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
22748         [BZ #17745]
22749         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
22750         * sysdeps/tile/ffsll.c (ffsll): To here.
22752         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
22754 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
22756         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
22757         if not defined.
22758         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
22759         definition.
22760         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22761         hidden ___tls_get_addr.
22762         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22763         hidden __tls_get_addr.
22764         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
22765         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
22766         Likewise.
22768 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
22770         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
22771         _dl_init call.
22773 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
22775         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
22776         from "call _dl_init@PLT".
22777         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
22779 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
22781         * manual/search.texi: (Array Sort Function): Clarify stable sorting
22782         guarantees.
22784 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
22786         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
22788 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
22790         [BZ #17744]
22791         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
22792         strnlen.
22794 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
22796         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
22797         of multu on MIPSr6.
22798         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
22799         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
22800         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
22801         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
22802         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
22804 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
22806         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
22807         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
22808         (PTR_SUBU): Use subu for mips32r6/mips64r6.
22809         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
22810         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
22811         mips32r6/mips64r6.
22812         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
22814 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
22816         * string/strncat.c (STRNCAT): Simplify implementation.
22818 2014-12-19  David S. Miller  <davem@davemloft.net>
22820         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
22821         access the quad as both a long double and as a series of 4 words.
22823         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
22824         link_map->l_info array access.
22826 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
22828         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
22830         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
22831         * math/atest-exp2.c (TIMEOUT): Likewise.
22832         * math/atest-sincos.c (TIMEOUT): Likewise.
22834 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22836         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
22837         -Wno-error with -fno-builtin-lround.
22839 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22841         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
22842         Contains futex constants and functions moved over from ...
22843         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
22844         <lowlevellock-futex.h>.
22845         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
22846         (lll_timedwait_tid): Add comments and parentheses around macro
22847         arguments.
22849 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22851         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
22852         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
22853         (__lll_private_flag): Remove.
22854         (lll_futex_wait): Likewise.
22855         (lll_futex_timed_wait): Likewise.
22856         (lll_futex_wake): Likewise.
22857         (lll_futex_requeue): Likewise.
22858         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
22859         (__lll_timedwait_tid): Spell out argument names.
22860         (lll_timedwait_tid): Add comments and parentheses around macro
22861         arguments.
22862         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
22863         LLL_SHARED and LLL_PRIVATE usable from assembly code.
22865 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22867         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
22868         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
22869         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22870         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
22871         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
22872         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
22873         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
22874         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
22875         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
22876         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
22877         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
22878         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
22879         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
22880         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
22881         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
22882         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
22883         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
22884         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
22885         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
22887 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22889         * sysdeps/x86_64/x32/Makefile: New file.
22891 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22893         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
22894         1L with (mp_limb_t) 1.
22896 2014-12-17  Roland McGrath  <roland@hack.frob.com>
22898         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
22899         * nptl/libc_pthread_init.c: ... here.
22900         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
22901         * nptl/register-atfork.c: ... here.
22903         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
22904         Use pthread_sigmask rather than INTERNAL_SYSCALL.
22905         Use assert_perror to check its return value.
22906         (__gai_create_helper_thread): Likewise.
22908         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
22910         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
22912 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
22914         [BZ #17725]
22915         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
22916         __profil_counter.
22917         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
22918         Likewise.
22919         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
22920         Likewise.
22921         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
22922         Likewise.
22923         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
22924         (profil_counter): Likewise.
22925         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
22926         (profil_counter): Likewise.
22927         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
22928         Likewise.
22929         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
22930         Likewise.
22931         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
22932         (profil_counter): Likewise.
22933         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
22934         Likewise.
22935         [!__profil_counter] (profil_counter): Define as weak alias of
22936         __profil_counter.
22937         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
22938         (profil_counter): Rename to __profil_counter.
22939         [!__profil_counter] (profil_counter): Define as weak alias of
22940         __profil_counter.
22941         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
22942         (profil_counter): Rename to __profil_counter.
22943         [!__profil_counter] (profil_counter): Define as weak alias of
22944         __profil_counter.
22945         * sysdeps/posix/profil.c: Update comment referring to
22946         profil_counter.
22947         (__profil): Use __profil_counter instead of profil_counter.
22948         * sysdeps/posix/sprofil.c (profil_counter): Rename to
22949         __profil_counter.  Use __profil_counter_ushort and
22950         __profil_counter_uint in definitions.
22951         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
22952         instead of profil_counter_uint and profil_counter_ushort.
22954         [BZ #17722]
22955         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
22956         define as weak alias of __inet_makeaddr.
22957         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
22958         as weak alias of __inet_addr.
22959         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
22960         as weak alias of __inet_pton.  Use libc_hidden_weak.
22961         * include/arpa/inet.h (__inet_pton): Declare.  Use
22962         libc_hidden_proto.
22963         (inet_makeaddr): Don't use libc_hidden_proto.
22964         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
22965         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
22966         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
22967         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
22968         Remove variable.
22969         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
22970         (test-xfail-POSIX/time.h/linknamespace): Likewise.
22972 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
22974         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
22976 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22978         * stdio-common/bug-vfprintf-nargs.c (do_test):
22979         Cast value to intptr_t to avoid format warning
22980         for usage with PRIdPTR printing macro.
22982 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22984         * libio/tst-widetext.c (do_test):
22985         Use format type %td instead of %Zd for ptrdiff_t
22986         in order to avoid format warning.
22988 2014-12-17  Andreas Schwab  <schwab@suse.de>
22990         * nscd/mem.c (gc): Add size_t cast to match printf format.
22992 2014-12-16  Roland McGrath  <roland@hack.frob.com>
22994         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
22995         (init): Apply PTR_MANGLE to pointers before storing them.
22996         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
22997         before using them.
22999 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
23001         [BZ #17719]
23002         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
23003         define as weak alias of __memrchr.
23004         (__memrchr): Do not define as strong alias of memrchr.
23005         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
23006         Remove variable.
23007         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
23008         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
23009         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
23011         [BZ #17717]
23012         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
23013         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
23014         (if_indextoname): Rename to __if_indextoname and define as weak
23015         alias of __if_indextoname.  Use libc_hidden_weak.
23016         (if_freenameindex): Rename to __if_freenameindex and define as
23017         weak alias of __if_freenameindex.
23018         (if_nameindex): Rename to __if_nameindex and define as weak alias
23019         of __if_nameindex.
23020         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
23021         __if_nametoindex and define as weak alias of __if_nametoindex.
23022         Use libc_hidden_weak.
23023         (if_freenameindex): Rename to __if_freenameindex and define as
23024         weak alias of __if_freenameindex.
23025         (if_nameindex): Rename to __if_nameindex and define as weak alias
23026         of __if_nameindex.
23027         (if_indextoname): Rename to __if_indextoname and define as weak
23028         alias of __if_indextoname.  Use libc_hidden_weak.
23029         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
23030         __if_nametoindex and define as weak alias of __if_nametoindex.
23031         Use libc_hidden_weak.
23032         (if_freenameindex): Rename to __if_freenameindex and define as
23033         weak alias of __if_freenameindex.  Use libc_hidden_weak.
23034         (if_nameindex_netlink): Use __if_freenameindex instead of
23035         if_freenameindex.
23036         (if_nameindex): Rename to __if_nameindex and define as weak alias
23037         of __if_nameindex.  Use libc_hidden_weak.
23038         (if_indextoname): Rename to __if_indextoname and define as weak
23039         alias of __if_indextoname.  Use libc_hidden_weak.
23040         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
23041         libc_hidden_proto.
23042         [!_ISOMAC] (__if_freenameindex): Likewise.
23043         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
23044         if_nametoindex.
23045         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
23046         variable.
23047         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
23048         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
23049         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
23050         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
23051         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
23052         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
23053         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23055         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
23056         Remove variable.
23057         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23058         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23060 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23062         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
23063         subscript above bounds'
23065         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
23066         bounds.
23068 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
23070         * libio/tst-fopenloc.c: Use test-skeleton.c.
23072         * stdlib/tst-bsearch.c: Use test-skeleton.c.
23073         (entry): Rename to ITEM.
23074         (do_test, comp): Adjust.
23076         * stdio-common/tst-fseek.c: Use test-skeleton.c.
23078 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23080         * string/tester.c: Include <libc-internal.h>.
23081         (test_memset): Ignore -Wmemset-transposed-args.
23083 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23085         * misc/tst-mntent2.c (do_test): Fix warning.
23087 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23089         * elf/tst-unique4lib.cc(a): Mark as used.
23091 2014-12-16  Florian Weimer  <fweimer@redhat.com>
23093         [BZ #17630]
23094         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
23095         names.
23097 2014-12-16  Allan McRae  <allan@archlinux.org>
23099         * stdio-common/Makefile (tests): Re-add bug26.
23101 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
23103         [BZ #17657]
23104         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
23105         static array.
23107 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
23109         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
23110         (__lll_lock_wait): Likewise.
23111         (__lll_timedlock_wait): Likewise.
23112         (__lll_timedwait_tid): Likewise.
23113         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
23114         (__lll_robust_timedlock_wait): Likewise.
23115         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
23116         (lll_cond_trylock): Likewise.
23117         (__lll_lock): Likewise.
23118         (__lll_robust_lock): Likewise.
23119         (__lll_cond_lock): Likewise.
23120         (lll_robust_cond_lock): Likewise.
23121         (__lll_timedlock): Likewise.
23122         (__lll_robust_timedlock): Likewise.
23123         (__lll_unlock): Likewise.
23124         (__lll_robust_unlock): Likewise.
23125         (lll_wait_tid): Likewise.
23126         (lll_timedwait_tid): Likewise.
23128 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23130         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
23132 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23134         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
23136 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
23138         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
23139         * stdio-common/tst-sprintf.c: Likewise.
23141 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23143         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
23145 2014-12-15  Jeff Law  <law@redhat.com>
23147         [BZ #16617]
23148         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
23149         on the heap.  (CVE-2012-3406)
23150         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
23151         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
23152         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
23154 2014-12-15  Will Newton  <will.newton@linaro.org>
23156         * manual/install.texi: Bump required version of texinfo
23157         to 4.7 from 4.5.
23158         * INSTALL: Regenerated.
23159         * configure.ac: Check for makeinfo version 4.7 and above.
23160         * configure: Regenerated.
23162 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23164         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
23165         PREFIX, string constant to insert between directory and name.
23166         * sysdeps/posix/shm_open.c: Update caller.
23167         * sysdeps/posix/shm_unlink.c: Likewise.
23168         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
23169         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
23170         (SEM_SHM_PREFIX): New macro.
23171         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
23172         [$(have-thread-library) = no].
23173         * nptl/Makefile (libpthread-routines): Add shm-directory.
23174         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
23175         * sysdeps/nptl/shm-directory.h: New file.
23176         * sysdeps/posix/shm-directory.c
23177         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
23178         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
23179         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
23180         INTERNAL_SYSCALL.
23181         (__where_is_shmfs): Function removed.
23182         (mountpoint, defaultmount, defaultdir, __namedsem_once):
23183         Variables removed.
23184         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
23185         Use SHM_GET_NAME.
23186         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
23188         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
23189         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
23190         unconditional for use inside libpthread.
23191         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
23193 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23195         * nptl/pthread_getaffinity.c: New file.
23196         * nptl/pthread_setaffinity.c: New file.
23197         * nptl/pthread_getname.c: New file.
23198         * nptl/pthread_setname.c: New file.
23200         * nptl/pthread_create.c (START_THREAD_DEFN)
23201         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
23203 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23204             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23206         * resolv/res_send.c (send_vc): Disable warning resplen may
23207         be used uninitialized.
23209 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23211         * nptl/tst-mutex6.c
23212         (ATTR_NULL): New define checks ATTR against NULL.
23213         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
23214         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
23216 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
23218         [BZ #17581]
23219         * malloc/hooks.c
23220         (mem2mem_check): Revert my previous change.
23221         (malloc_check_get_size): Revert my previous change.
23222         (mem2chunk_check): Revert my previous change.
23224 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23226         * sysdeps/posix/shm-directory.c: New file.
23227         * sysdeps/posix/shm-directory.h: New file.
23228         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
23229         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
23230         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
23231         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
23232         Transmute EPERM to EACCES.
23233         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
23234         from ...
23235         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
23236         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
23238 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23240         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
23241         pointer and cast to uintptr_t.
23242         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
23243         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
23244         Add cast to avoid warning.
23245         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
23247 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23249         * nptl/semaphore.h: Move to ...
23250         * sysdeps/pthread/semaphore.h: ... here.
23251         * Makefile (installed-headers): Change nptl/semaphore.h to
23252         sysdeps/pthread/semaphore.h.
23254 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23256         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
23257         generated error format strings.
23259         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
23260         -Wformat-extra-args warnings for scanf formats.
23261         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
23262         test of zero-length format (duh).
23263         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
23264         corner-case scanf format test.
23265         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
23266         generated fprintf format string.
23267         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
23268         corner-case sprintf format tests.
23269         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
23270         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
23271         -Wformat-extra-args warnings throughout.
23272         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
23273         (CFLAGS-scanf4.c): Likewise.
23274         (CFLAGS-scanf7.c): Likewise.
23275         (CFLAGS-tst-sprintf.c): Likewise.
23276         (CFLAGS-tst-printf.c): Likewise.
23277         (CFLAGS-tst-printfsz.c): Likewise.
23279 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23281         * include/cpio.h: New file.
23282         * include/fmtmsg.h: Likewise.
23284         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
23285         corresponding format argument to size_t.
23286         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
23287         arguments.
23288         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
23289         corresponding format argument to size_t.
23290         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
23291         arguments.
23292         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
23293         corresponding format argument to size_t.
23294         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
23295         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
23296         (CFLAGS-tst-mbswcs2.c): Likewise.
23297         (CFLAGS-tst-mbswcs3.c): Likewise.
23298         (CFLAGS-tst-mbswcs4.c): Likewise.
23299         (CFLAGS-tst-mbswcs5.c): Likewise.
23300         (CFLAGS-tst-trans.c): Likewise.
23302 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23304         * posix/regexbug1.c (main): Use "%s" format with regerror results,
23305         rather than assuming they won't contain any '%'s.
23307 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
23309         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
23310         inhibit_loop_to_libcall to avoid recursive calls.
23311         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
23312         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
23314 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
23316         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
23317         prototype.
23319 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
23321         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
23322         integer value instead of boolean.
23324 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
23326         * malloc/malloc.c: Fix powerof2 check.
23328 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23330         * locale/programs/locfile.h (maybe_swap_uint32):
23331         Remove inline and add unused attribute.
23333 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23335         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23336         Truncating assembler expression to a .long expression.
23338 2014-12-11  Andreas Schwab  <schwab@suse.de>
23340         * elf/rtld.c (struct map_args): Constify str member.
23341         (do_preload): Constify fname argument.
23343 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23345         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
23346         constants definition.
23348 2014-12-11  Andreas Schwab  <schwab@suse.de>
23350         [BZ #16657]
23351         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
23352         FORCE_ELISION instead of DO_ELISION.
23353         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
23354         Remove.
23355         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
23356         Likewise.
23358         * iconvdata/gconv-modules: Remove duplicate entry.
23360 2014-12-11  Will Newton  <will.newton@linaro.org>
23362         Merge gettext 0.19.3 into intl/.
23364         This involves a number of cosmetic changes to comments
23365         and ANSI function definitions and prototypes throughout
23366         all the files. The gettext copyright header is used but
23367         with the date ranges taken from the glibc copy.
23369         * NEWS: Add gettext merge to 2.21.
23370         * intl/bindtextdom.c: Switch to gettext copyright.
23371         Use ANSI definitions and prototypes.
23372         Use gl_* locking primitives rather than __libc_* ones.
23373         Use __builtin_expect rather than __glibc_likely/unlikely.
23374         * intl/dcgettext.c: Switch to gettext copyright.
23375         Use ANSI definitions and prototypes.
23376         * intl/dcigettext.c: Switch to gettext copyright.
23377         Use ANSI definitions and prototypes.
23378         (INTDIV0_RAISES_SIGFPE): New define.
23379         Use gl_* locking primitives rather than __libc_* ones.
23380         Include eval-plural.h instead of plural-eval.c.
23381         Use __builtin_expect rather than __glibc_likely/unlikely.
23382         * intl/dcngettext.c: Switch to gettext copyright.
23383         Use ANSI definitions and prototypes.
23384         * intl/dgettext.c: Likewise.
23385         * intl/dngettext.c: Likewise.
23386         * intl/plural-eval.c: Renamed to...
23387         * intl/eval-plural.h: ...this.
23388         * intl/explodename.c: Switch to gettext copyright.
23389         Use ANSI definitions and prototypes.
23390         (_nl_explode_name): Use strchr instead of __rawmemchr.
23391         * intl/finddomain.c: Switch to gettext copyright.
23392         Use ANSI definitions and prototypes.
23393         Use gl_* locking primitives rather than __libc_* ones.
23394         (_nl_find_domain): Use malloc rather than alloca for
23395         allocation of temporary locale name.
23396         * intl/gettext.c: Switch to gettext copyright.
23397         Use ANSI definitions and prototypes.
23398         * intl/gettextP.h: Switch to gettext copyright.
23399         Use ANSI definitions and prototypes.
23400         Use gl_* locking primitives rather than __libc_* ones.
23401         * intl/gmo.h: Switch to gettext copyright.
23402         (struct sysdep_string): Move struct segment_pair outside of
23403         struct definition.
23404         * intl/hash-string.c: Use ANSI definitions and prototypes.
23405         * intl/hash-string.h: Switch to gettext copyright.
23406         Use ANSI definitions and prototypes.
23407         * intl/l10nflist.c: Switch to gettext copyright.
23408         Use ANSI definitions and prototypes.
23409         (_nl_normalize_codeset): Avoid integer overflow.
23410         * intl/loadinfo.h: Switch to gettext copyright.
23411         Use ANSI definitions and prototypes.
23412         (LIBINTL_DLL_EXPORTED): New define.
23413         (PATH_SEPARATOR): New define.
23414         * intl/loadmsgcat.c: Switch to gettext copyright.
23415         * intl/localealias.c: Switch to gettext copyright.
23416         Use ANSI definitions and prototypes.
23417         (_nl_expand_alias): Use PATH_SEPARATOR.
23418         * intl/ngettext.c: Switch to gettext copyright.
23419         Use ANSI definitions and prototypes.
23420         * intl/plural-exp.c: Likewise.
23421         * intl/plural-exp.h: Switch to gettext copyright.
23422         Use ANSI definitions and prototypes.
23423         (struct expression): Move definition of enum operator outside
23424         of struct definition.
23425         * intl/plural.c: Regenerate.
23426         * intl/plural.y: Switch to gettext copyright.
23427         Use ANSI definitions and prototypes.
23428         Port to bison 3.0.
23429         * intl/textdomain.c: Switch to gettext copyright.
23430         Use ANSI definitions and prototypes.
23431         Use gl_* locking primitives rather than __libc_* ones.
23433 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
23435         * debug/warning-nop.c: Add used atrribute.
23437 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23439         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
23441         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
23442         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
23443         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
23445 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23446             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23448         [BZ #17634]
23449         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
23450         Undefine after defining function.  Define as weak alias of
23451         __wcschr.  Use libc_hidden_weak.
23452         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
23453         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
23454         (libc_hidden_def): Also define __GI___wcschr alias.
23455         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
23456         __wcschr and define as weak alias of __wcschr.
23457         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
23458         __wcschr.
23459         [!WCSCHR] (DEFAULT_WCSCHR): Define.
23460         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
23461         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
23462         libc_hidden_weak.  Do not use libc_hidden_def.
23463         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
23464         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
23465         __GI___wcschr alias.
23466         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
23467         [IS_IN (libc)] (wcschr): Define as macro expanding to
23468         __redirect_wcschr.
23469         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
23470         [IS_IN (libc)] (__wcschr_power6): Likewise.
23471         [IS_IN (libc)] (__wcschr_power7): Likewise.
23472         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
23473         instead of wcschr.
23474         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
23475         __libc_wcschr.
23476         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
23477         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
23478         __wcschr and define as weak alias of __wcschr.  Use
23479         libc_hidden_builtin_def.
23480         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
23481         as weak alias of __wcschr.  Use libc_hidden_weak.
23482         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
23483         wcschr.
23484         * time/era.c (_nl_init_era_entries): Likewise.
23485         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
23486         variable.
23487         (test-xfail-XPG3/time.h/linknamespace): Likewise.
23488         (test-xfail-XPG4/time.h/linknamespace): Likewise.
23490 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23492         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
23493         format for long int variable.
23495 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
23497         [BZ #10672]
23498         * manual/search.texi: (Array Sort Function): Remove claim how to make
23499         qsort stable.
23501 2014-12-10  Andreas Schwab  <schwab@suse.de>
23503         [BZ #12847]
23504         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
23505         user-controlled locks.
23507 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
23509         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
23510         register.
23512 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23514         * configure.ac (--disable-werror): New configure option.
23515         (enable_werror): New AC_SUBST.
23516         * configure: Regenerated.
23517         * config.make.in (enable-werror): New variable.
23518         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
23519         -Wno-error=undef.
23520         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
23521         * manual/install.texi (Configuring and compiling): Document
23522         --disable-werror.
23523         * INSTALL: Regenerated.
23524         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
23525         (CFLAGS-tst-chk2.c): Likewise.
23526         (CFLAGS-tst-chk3.c): Likewise.
23527         (CFLAGS-tst-chk4.cc): Likewise.
23528         (CFLAGS-tst-chk5.cc): Likewise.
23529         (CFLAGS-tst-chk6.cc): Likewise.
23530         (CFLAGS-tst-lfschk1.c): Likewise.
23531         (CFLAGS-tst-lfschk2.c): Likewise.
23532         (CFLAGS-tst-lfschk3.c): Likewise.
23533         (CFLAGS-tst-lfschk4.cc): Likewise.
23534         (CFLAGS-tst-lfschk5.cc): Likewise.
23535         (CFLAGS-tst-lfschk6.cc): Likewise.
23537         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
23538         (main): Disable -Wdeprecated-declarations around calls to
23539         register_printf_function.
23541         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
23542         (do_test): Disable -Wdiv-by-zero around some calls to
23543         fwrite_unlocked and fread_unlocked.
23545         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
23546         (DIAG_POP_NEEDS_COMMENT): Likewise.
23547         (_DIAG_STR1): Likewise.
23548         (_DIAG_STR): Likewise.
23549         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
23550         * stdio-common/bug21.c: Include <libc-internal.h>.
23551         (do_test): Disable -Wformat around call to sscanf.
23552         * stdio-common/scanf14.c: Include <libc-internal.h>.
23553         (main): Disable -Wformat around some calls to scanf functions.
23555 2014-12-09  Torvald Riegel  <triegel@redhat.com>
23557         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
23559 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23561         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
23562         stack variable alignment.
23564 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
23566         [BZ #17682]
23567         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
23568         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
23569         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
23570         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
23571         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
23572         __getrlimit instead of getrlimit.
23573         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
23574         __gettimeofday instead of gettimeofday.
23575         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23576         Likewise.
23577         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23578         Likewise.
23579         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23580         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
23581         Remove variable.
23582         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
23583         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
23585 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23587         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
23588         for wide-character tests.
23590 2014-12-04  Roland McGrath  <roland@hack.frob.com>
23592         * io/openat64.c: #include <libc-internal.h>
23593         (__openat64): Prototypify.  Use ignore_value on MODE.
23594         * io/openat.c: Likewise.
23595         * misc/reboot.c: #include <libc-internal.h>
23596         (reboot): Prototypify.  Use ignore_value on HOWTO.
23597         * misc/ptrace.c: #include <libc-internal.h>
23598         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
23600 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
23602         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
23603         XPG4, UNIX98 and XOPEN2K.
23604         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
23605         Remove variable.
23606         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
23608 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23610         * libio/fileops.c: Use ISO C style for function definitions.
23611         * libio/iofopen.c: Likewise.
23612         * libio/wfileops.c: Likewise.
23614         [BZ #17653]
23615         * libio/fileops.c (_IO_new_file_underflow): Unset cached
23616         offset on EOF.
23617         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
23618         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
23619         (fgets_func): Function pointer to fgets and fgetws.
23620         (do_ftell_test): Add test to verify ftell value after read
23621         EOF.
23622         (do_test): Set fgets_func.
23624         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
23625         O_TRUNC flag for w and w+ modes.
23626         (do_rewind_test): Likewise.
23627         (do_ftell_test): Likewise.
23628         (do_write_test): Likewise.
23630         [BZ #17647]
23631         * libio/fileops.c (do_ftell): Seek only when there are
23632         unflushed writes.
23633         * libio/wfileops.c (do_ftell_wide): Likewise.
23634         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
23635         test case.
23636         (do_one_test): Call it.
23638 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
23640         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
23641         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
23642         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
23643         Remove variable.
23644         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
23645         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
23646         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
23648 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
23650         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
23651         Remove variable.
23652         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
23654         [BZ #17668]
23655         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
23656         as weak alias of __getifaddrs.  Use libc_hidden_weak.
23657         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23658         __freeifaddrs.  Use libc_hidden_weak.
23659         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
23660         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
23661         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23662         __freeifaddrs.  Use libc_hidden_weak.
23663         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
23664         __getifaddrs and define as weak alias of __getifaddrs.  Use
23665         libc_hidden_weak.
23666         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23667         __freeifaddrs.  Use libc_hidden_weak.
23668         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
23669         Remove variable.
23670         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
23671         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
23673 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
23675         [BZ #17601]
23676         * sysdeps/mips/start.S (__start): Use indirect jump to call
23677         __libc_start_main.
23679 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
23681         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
23683         * nptl/tst-mutex1.c: Include <stdbool.h>.
23684         [!ATTR] (ATTR_NULL): New macro.
23685         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
23686         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
23687         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
23689         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
23690         to char *.
23692         [BZ #17665]
23693         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
23694         Change conditional to [__USE_MISC].
23696         [BZ #17664]
23697         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
23698         fgets_unlocked.
23699         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
23700         __fgets_unlocked.
23701         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
23702         fgets_unlocked.
23703         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
23704         Remove variable.
23705         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
23706         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
23707         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
23708         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
23709         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
23710         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
23711         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
23712         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
23713         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
23715         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
23717 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23719         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23720         Remove strpbrk objects.
23721         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23722         (__libc_ifunc_impl_list): Remove strpbrk implementation.
23723         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
23724         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
23725         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
23726         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
23728         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23729         Remove strcspn objects.
23730         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23731         (__libc_ifunc_impl_list): Remove strcspn implementation.
23732         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
23733         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
23734         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
23735         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
23737         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23738         Remove strspn objetcs.
23739         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23740         (__libc_ifunc_impl_list): Remove strspn implementation.
23741         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
23742         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
23743         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
23744         * sysdeps/powerpc/powerpc64/strspn.S: New file.
23746 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
23748         [BZ #17581]
23749         * malloc/hooks.c
23750         (mem2mem_check): Add a terminator to the chain of checking blocks.
23751         (malloc_check_get_size): Use it here.
23752         (mem2chunk_check): Ditto.
23754 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23756         * sysdeps/powerpc/powerpc64/strtok.S: New file.
23757         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
23759 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
23761         * bits/ioctl-types.h: Indent preprocessor directives correctly.
23763         * nptl/nptl-init.c: Include libc-internal.h.
23764         (__pthread_initialize_minimal_internal): Use ROUND_UP.
23766         * elf/ldconfig.c (search_dir): Expand comment.
23768 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
23770         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
23771         variable.
23772         (linknamespace-symlist-stdlibs-tests): Likewise.
23773         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
23774         instead of $(objpfx)symlist-stdlibs.
23775         (linknamespace-libs-isoc): New variable.
23776         (linknamespace-libs): Use $(linknamespace-libs-isoc).
23777         (linknamespace-libs-ISO): New variable.
23778         (linknamespace-libs-ISO99): Likewise.
23779         (linknamespace-libs-ISO11): Likewise.
23780         (linknamespace-libs-XPG3): Likewise.
23781         (linknamespace-libs-XPG4): Likewise.
23782         (linknamespace-libs-POSIX): Likewise.
23783         (linknamespace-libs-UNIX98): Likewise.
23784         (linknamespace-libs-XOPEN2K): Likewise.
23785         (linknamespace-libs-POSIX2008): Likewise.
23786         (linknamespace-libs-XOPEN2K8): Likewise.
23787         ($(objpfx)symlist-stdlibs): Replace by
23788         $(linknamespace-symlist-stdlibs-tests).  Use
23789         $(linknamespace-libs-$*) as set of libraries.
23790         ($(linknamespace-header-tests)): Update dependencies.  Use
23791         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
23792         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
23793         * conform/linknamespace.pl: Remove comment about considering
23794         definitions of symbols from irrelevant libraries.
23796 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
23798         [BZ #13862]
23799         * elf/dl-tls.c: Include <atomic.h>.
23800         (oom): Remove #ifdef SHARED/#endif.
23801         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
23802         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
23803         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
23804         big enough.
23805         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
23806         * nptl/Makefile (tests): Add tst-stack4.
23807         (modules-names): Add tst-stack4mod.
23808         ($(objpfx)tst-stack4): New.
23809         (tst-stack4mod.sos): Likewise.
23810         ($(objpfx)tst-stack4.out): Likewise.
23811         ($(tst-stack4mod.sos)): Likewise.
23812         (clean): Likewise.
23813         * nptl/tst-stack4.c: New file.
23814         * nptl/tst-stack4mod.c: Likewise.
23816 2014-11-27  J. Brown  <jb999@gmx.de>
23818         * sysdeps/x86/bits/string.h: Add recent CPUs.
23820 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
23822         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
23823         sigblock.
23825         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
23826         feof.
23828         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
23829         variable.
23831 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
23833         * nscd/connections.c: Include libc-internal.h because of macro
23834         usage ignore_value.
23836 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23838         * string/bits/string3.h (__warn_memset_zero_len): Don't
23839         declare for gcc newer than 5.0.
23840         (memset): Don't test for zero-length __LEN for gcc newer than
23841         5.0.
23843 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
23845         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
23846         size_t for %zu format.
23848         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
23849         difference, not %ju.
23851 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
23853         * include/libc-internal.h (ignore_value): New macro.
23854         * nscd/connections.c (restart): Wrap calls to setuid and setgid
23855         with ignore_value.
23857         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
23858         definition.
23860         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
23861         pthread_cleanup_push to void *.
23863         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
23864         Undefine.
23866         [BZ #16619]
23867         [BZ #16740]
23868         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
23869         instead of 1L << 52.
23871         * libio/bug-rewind.c (do_test): Check fwscanf return values.
23872         * libio/bug-rewind2.c (do_test): Likewise.
23874         * debug/test-stpcpy_chk-ifunc.c: Remove file.
23875         * debug/test-strcpy_chk-ifunc.c: Likewise.
23876         * wcsmbs/test-wcschr-ifunc.c: Likewise.
23877         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23878         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23879         * wcsmbs/test-wcslen-ifunc.c: Likewise.
23880         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23881         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23882         * Rules [$(multi-arch) = no] (tests): Do not filter out
23883         $(tests-ifunc).
23884         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
23885         * debug/Makefile (tests-ifunc): Remove variable.
23886         (tests): Do not add $(tests-ifunc).
23887         * wcsmbs/Makefile (tests-ifunc): Remove variable.
23888         (tests): Do not add $(tests-ifunc).
23889         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
23890         [TEST_IFUNC]: Remove conditionals.
23891         * string/test-string.h (TEST_IFUNC): Remove macro.
23892         [TEST_IFUNC]: Remove conditionals.
23894         * string/test-strchr.c [!WIDE] (L): New macro.
23895         [WIDE] (L): Likewise.
23896         (check1): Use CHAR instead of char.  Use L on string and character
23897         constants.
23899 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
23901         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
23902         tests.
23903         * sysdeps/powerpc/bits/atomic.h
23904         (__arch_atomic_exchange_and_add_32_acq): Add definition.
23905         (__arch_atomic_exchange_and_add_32_rel): Likewise.
23906         (atomic_exchange_and_add_acq): Likewise.
23907         (atomic_exchange_and_add_rel): Likewise.
23908         * sysdeps/powerpc/powerpc32/bits/atomic.h
23909         (__arch_atomic_exchange_and_add_64_acq): Add definition.
23910         (__arch_atomic_exchange_and_add_64_rel): Likewise.
23911         * sysdeps/powerpc/powerpc64/bits/atomic.h
23912         (__arch_atomic_exchange_and_add_64_acq): Add definition.
23913         (__arch_atomic_exchange_and_add_64_rel): Likewise.
23915 2014-11-26  Torvald Riegel  <triegel@redhat.com>
23917         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
23918         Change synchronization of __sched_fifo_min_prio and
23919         __sched_fifo_max_prio.
23920         * nptl/pthread_mutexattr_getprioceiling.c
23921         (pthread_mutexattr_getprioceiling): Likewise.
23922         * nptl/pthread_mutexattr_setprioceiling.c
23923         (pthread_mutexattr_setprioceiling): Likewise.
23924         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23925         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
23926         Likewise.
23928 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
23930         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
23931         void.
23933 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
23935         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
23936         third argument const.
23938 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
23940         fnmatch: work around GCC compiler warning bug with uninit var
23941         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
23942         This works around a bug with x86-64 GCC 4.9.2 and earlier
23943         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
23944         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
23945         used uninitialized in this function [-Wmaybe-uninitialized]".
23947 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
23949         * posix/bug-regex31.c (main): Return RES not 0.
23951 2014-11-25  Anton Blanchard <anton@samba.org>
23953         * sysdeps/powerpc/bits/atomic.h
23954         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
23956 2014-11-24  Sterling Augustine  <saugustine@google.com>
23958         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
23960 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
23962         [BZ #17608]
23963         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
23965 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
23967         [BZ #17633]
23968         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
23969         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
23970         variable.
23971         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
23972         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
23974 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
23976         * string/strncpy.c (strncpy): Improve performance by using memset.
23978 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
23980         * string/strcpy.c (strcpy):
23981         Improve performance by using strlen and memcpy.
23983 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
23985         * string/strcoll_l.c (get_next_seq): __always_inline.
23986         * string/strcoll_l.c (do_compare): __always_inline.
23988 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23990         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
23991         defined.
23992         * include/mqueue.h: Likewise.
23993         * include/stdlib.h: Likewise.
23995         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
23996         (get_null_defines): Adjust.
23997         * sunrpc/Makefile: Adjust comment.
23998         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
23999         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
24000         (CFLAGS-interp.c): Likewise.
24001         (CFLAGS-ldconfig.c): Likewise.
24002         (CPPFLAGS-.os): Likewise.
24003         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24004         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24005         * extra-modules.mk (extra-modules.mk): Likewise.
24006         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
24007         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
24008         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
24009         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
24010         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
24011         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
24012         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
24013         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
24014         * iconvdata/Makefile (CPPFLAGS): Likewise.
24015         (cpp-srcs-left): Add libof for all iconvdata routines.
24016         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
24017         * include/assert.h: Likewise.
24018         * include/ctype.h: Likewise.
24019         * include/errno.h: Likewise.
24020         * include/libc-symbols.h: Likewise.
24021         * include/math.h: Likewise.
24022         * include/netdb.h: Likewise.
24023         * include/resolv.h: Likewise.
24024         * include/stdio.h: Likewise.
24025         * include/stdlib.h: Likewise.
24026         * include/string.h: Likewise.
24027         * include/sys/stat.h: Likewise.
24028         * include/wctype.h: Likewise.
24029         * intl/l10nflist.c: Likewise.
24030         * libidn/idn-stub.c: Likewise.
24031         * libio/libioP.h: Likewise.
24032         * nptl/libc_multiple_threads.c: Likewise.
24033         * nptl/pthreadP.h: Likewise.
24034         * posix/regex_internal.h: Likewise.
24035         * resolv/res_hconf.c: Likewise.
24036         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
24037         * sysdeps/arm/memmove.S: Likewise.
24038         * sysdeps/arm/sysdep.h: Likewise.
24039         * sysdeps/generic/_itoa.h: Likewise.
24040         * sysdeps/generic/symbol-hacks.h: Likewise.
24041         * sysdeps/gnu/errlist.awk: Likewise.
24042         * sysdeps/gnu/errlist.c: Likewise.
24043         * sysdeps/i386/i586/memcpy.S: Likewise.
24044         * sysdeps/i386/i586/memset.S: Likewise.
24045         * sysdeps/i386/i686/memcpy.S: Likewise.
24046         * sysdeps/i386/i686/memmove.S: Likewise.
24047         * sysdeps/i386/i686/mempcpy.S: Likewise.
24048         * sysdeps/i386/i686/memset.S: Likewise.
24049         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24050         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24051         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
24052         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
24053         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24054         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24055         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
24056         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24057         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24058         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24059         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24060         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24061         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24062         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24063         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24064         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24065         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
24066         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
24067         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
24068         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24069         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24070         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24071         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24072         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24073         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24074         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24075         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
24076         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24077         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
24078         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24079         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24080         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24081         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24082         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24083         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24084         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24085         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24086         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24087         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24088         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24089         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24090         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24091         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24092         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24093         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24094         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24095         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
24096         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
24097         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24098         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24099         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24100         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
24101         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
24102         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24103         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24104         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
24105         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24106         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
24107         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
24108         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24109         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24110         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24111         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
24112         * sysdeps/nptl/bits/libc-lock.h: Likewise.
24113         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24114         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
24115         * sysdeps/posix/closedir.c: Likewise.
24116         * sysdeps/posix/opendir.c: Likewise.
24117         * sysdeps/posix/readdir.c: Likewise.
24118         * sysdeps/posix/rewinddir.c: Likewise.
24119         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
24120         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
24121         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24122         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24123         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24124         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
24125         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
24126         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
24127         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
24128         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
24129         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
24130         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
24131         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
24132         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
24133         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
24134         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
24135         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
24136         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
24137         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
24138         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
24139         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
24140         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
24141         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
24142         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
24143         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
24144         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
24145         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
24146         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
24147         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
24148         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
24149         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
24150         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
24151         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
24152         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
24153         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
24154         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
24155         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24156         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24157         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
24158         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
24159         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
24160         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
24161         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
24162         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24163         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24164         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
24165         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
24166         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
24167         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
24168         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
24169         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
24170         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
24171         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
24172         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
24173         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
24174         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
24175         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
24176         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
24177         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
24178         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
24179         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24180         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
24181         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
24182         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
24183         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
24184         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24185         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
24186         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
24187         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
24188         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
24189         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24190         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
24191         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
24192         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
24193         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
24194         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
24195         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
24196         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
24197         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24198         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
24199         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
24200         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24201         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
24202         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
24203         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24204         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
24205         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
24206         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24207         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24208         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24209         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
24210         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
24211         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
24212         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24213         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24214         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
24215         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24216         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24217         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
24218         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
24219         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24220         * sysdeps/unix/alpha/sysdep.S: Likewise.
24221         * sysdeps/unix/alpha/sysdep.h: Likewise.
24222         * sysdeps/unix/make-syscalls.sh: Likewise.
24223         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24224         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24225         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24226         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
24227         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24228         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
24229         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
24230         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24231         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24232         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
24233         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24234         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24235         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24236         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24237         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24238         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24239         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24240         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24241         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24242         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24243         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
24244         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24245         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24246         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24247         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24248         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24249         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24252         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
24253         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24254         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24255         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24256         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24257         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24258         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24259         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24260         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24261         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24262         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24263         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24264         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24265         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24266         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24267         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24268         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24269         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24270         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24271         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24272         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24273         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24274         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24275         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24276         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24277         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
24278         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24279         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24280         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24281         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
24282         * sysdeps/x86_64/memcpy.S: Likewise.
24283         * sysdeps/x86_64/memmove.c: Likewise.
24284         * sysdeps/x86_64/memset.S: Likewise.
24285         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
24286         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24287         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24288         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
24289         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
24290         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24291         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24292         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24293         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24294         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24295         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24296         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24297         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
24298         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24299         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24300         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
24301         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24302         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24303         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24304         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24305         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
24306         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24307         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24308         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24309         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24310         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24311         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24312         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
24313         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24314         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24315         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
24316         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24317         * sysdeps/x86_64/strcmp.S: Likewise.
24319         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
24321         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
24322         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
24323         * elf/rtld-Rules: Likewise.
24324         * elf/setup-vdso.h: Likewise.
24325         * include/assert.h: Likewise.
24326         * include/bits/stdlib-float.h: Likewise.
24327         * include/errno.h: Likewise.
24328         * include/sys/stat.h: Likewise.
24329         * include/unistd.h: Likewise.
24330         * sysdeps/aarch64/setjmp.S: Likewise.
24331         * sysdeps/alpha/setjmp.S: Likewise.
24332         * sysdeps/arm/__longjmp.S: Likewise.
24333         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
24334         * sysdeps/arm/setjmp.S: Likewise.
24335         * sysdeps/arm/sysdep.h: Likewise.
24336         * sysdeps/generic/_itoa.h: Likewise.
24337         * sysdeps/generic/dl-sysdep.h: Likewise.
24338         * sysdeps/generic/ldsodefs.h: Likewise.
24339         * sysdeps/i386/dl-tls.h: Likewise.
24340         * sysdeps/i386/setjmp.S: Likewise.
24341         * sysdeps/m68k/setjmp.c: Likewise.
24342         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
24343         * sysdeps/mach/hurd/opendir.c: Likewise.
24344         * sysdeps/posix/getcwd.c: Likewise.
24345         * sysdeps/posix/opendir.c: Likewise.
24346         * sysdeps/posix/profil.c: Likewise.
24347         * sysdeps/powerpc/dl-procinfo.h: Likewise.
24348         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24349         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24350         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24351         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24352         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
24353         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
24354         * sysdeps/s390/dl-tls.h: Likewise.
24355         * sysdeps/s390/s390-32/setjmp.S: Likewise.
24356         * sysdeps/s390/s390-64/setjmp.S: Likewise.
24357         * sysdeps/sh/sh3/setjmp.S: Likewise.
24358         * sysdeps/sh/sh4/setjmp.S: Likewise.
24359         * sysdeps/unix/alpha/sysdep.h: Likewise.
24360         * sysdeps/unix/arm/sysdep.S: Likewise.
24361         * sysdeps/unix/i386/sysdep.S: Likewise.
24362         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24363         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
24364         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24365         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24366         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24367         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24368         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
24369         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24370         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24371         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24372         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
24373         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24374         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24377         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24378         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24379         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24380         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24381         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24382         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24383         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24384         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24385         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24386         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24387         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24388         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24389         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24390         * sysdeps/x86_64/setjmp.S: Likewise.
24392         * include/math.h: Use IS_IN instead of IS_IN_libm.
24393         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
24394         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24395         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24396         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
24397         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24398         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24399         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24400         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24401         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24402         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24403         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
24404         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
24405         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
24406         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
24407         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
24408         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
24409         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24410         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
24411         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24412         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
24413         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
24414         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
24415         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
24416         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
24417         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
24418         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
24419         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
24420         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
24421         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
24422         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
24423         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
24424         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24425         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
24427         Likewise.
24428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
24429         Likewise.
24430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
24431         Likewise.
24432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
24433         Likewise.
24434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
24435         Likewise.
24436         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24437         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
24438         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24439         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24440         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24441         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
24443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
24444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
24445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
24446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
24447         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
24448         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
24449         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24450         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24451         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24452         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24453         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24454         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24455         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24456         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
24457         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
24458         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
24459         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
24460         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
24461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24462         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
24464         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
24465         * nptl/pthreadP.h: Likewise.
24466         * nptl_db/structs.def: Likewise.
24467         * sysdeps/arm/sysdep.h: Likewise.
24468         * sysdeps/nptl/bits/libc-lock.h: Likewise.
24469         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24470         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
24471         * sysdeps/unix/alpha/sysdep.h: Likewise.
24472         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24473         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24474         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24475         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24476         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24477         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24478         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24479         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24480         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24481         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24482         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24483         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24484         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24485         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24488         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24489         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24490         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24491         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24492         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24493         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24494         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24495         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24496         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
24497         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24499         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
24500         * nptl/pthreadP.h: Likewise.
24501         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24502         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24503         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24504         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24505         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24506         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24507         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24508         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24509         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24510         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24511         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24512         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
24514         Likewise.
24515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
24516         Likewise.
24517         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24518         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24519         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24520         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24521         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24522         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24523         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24524         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24526         * dlfcn/dladdr.c: Use IS_IN.
24527         * dlfcn/dladdr1.c: Likewise.
24528         * dlfcn/dlclose.c: Likewise.
24529         * dlfcn/dlerror.c: Likewise.
24530         * dlfcn/dlinfo.c: Likewise.
24531         * dlfcn/dlmopen.c: Likewise.
24532         * dlfcn/dlopen.c: Likewise.
24533         * dlfcn/dlsym.c: Likewise.
24534         * dlfcn/dlvsym.c: Likewise.
24536         * include/ifaddrs.h: Use IS_IN.
24537         * inet/check_pf.c: Likewise.
24538         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24539         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
24541         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
24542         IS_IN_ldconfig.
24543         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
24544         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
24546         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
24547         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
24548         IS_IN (libc).
24550         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
24552         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
24553         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24554         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24555         * include/libc-symbols.h (IS_IN_LIB): New macro.
24556         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
24557         * include/netdb.h: Likewise.
24558         * include/stap-probe.h: Remove all uses of IN_LIB.
24560         * Makeconfig (module-cppflags-real): Define MODULE_NAME
24561         instead of IN_MODULE.
24562         * include/libc-symbols.h (IN_MODULE): Define using
24563         MODULE_NAME.
24564         (PASTE_NAME, PASTE_NAME1): New macros.
24565         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
24566         of IN_LIB.
24567         (STAP_PROBE_ASM): Likewise.
24569 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24571         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
24572         __mach_init in dlopened libc.
24574 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
24576         * sysdeps/arm/preconfigure.ac: Delete EABI check.
24577         * sysdeps/arm/preconfigure: Regenerate.
24579 2014-11-21  Roland McGrath  <roland@hack.frob.com>
24581         * nptl/pthread_create.c (__pthread_create_2_1): Set
24582         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
24583         when copying values from IATTR into PD.
24585 2014-11-21  Will Newton  <will.newton@linaro.org>
24586             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
24588         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
24589         Refactor inline-asm.  Also add comment.
24591         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
24592         ElfW macro instead of hardcoded Elf64 types.
24593         (la_aarch64_gnu_pltenter): Likewise.
24594         * sysdeps/aarch64/dl-machine.h
24595         (elf_machine_runtime_setup): Use ElfW(Addr).
24597         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
24598         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
24599         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
24600         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
24601         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
24602         (R_AARCH64_TLS_DTPMOD64): Rename to ..
24603         (R_AARCH64_TLS_DTPMOD): This.
24604         (R_AARCH64_TLS_DTPREL64): Rename to ...
24605         (R_AARCH64_TLS_DTPREL): This.
24606         (R_AARCH64_TLS_TPREL64): Rename to ...
24607         (R_AARCH64_TLS_TPREL): This.
24608         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
24609         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
24610         R_AARCH64_TLS_TPREL64.
24611         (elf_machine_rela): Likewise.
24613 2014-11-21  Torvald Riegel  <triegel@redhat.com>
24615         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
24616         by setting it to 0.  64b atomics are not supported currently.
24618 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24620         [BZ #16469]
24621         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
24622         search domain names.
24624 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24626         [BZ #16469]
24627         * NEWS: Update.
24628         * resolv/res_query.c (__libc_res_nquerydomain): Retain
24629         trailing dot.
24630         * posix/tst-getaddrinfo5.c: New.
24631         * posix/Makefile (tests): Add it.
24633 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24635         [BZ #14498]
24636         * NEWS: Fixed.
24637         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
24638         after parsing line but before break_if_match.
24639         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
24640         if there is a protocol mismatch.
24642 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
24644         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
24645         because the potential race is on the user-supplied stream.
24647 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24649         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
24650         string literal if not passed a buffer.
24651         * manual/job.texi (ctermid): Update reasoning, note deviation
24652         from posix, suggest mtasurace when not passed a buffer, for
24653         future non-preliminary safety notes.
24655 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24657         * manual/users.texi (cuserid): Fix MT-Safety note for the case
24658         of not passing it a buffer.
24659         Reported by Peng Haitao.
24661 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24663         * manual/Makefile ($(objpfx)stamp-summary): Require
24664         check-safety.sh to pass.
24665         * manual/check-safety.sh: Wish for verification that every
24666         @deftypefn and @deftypefun is followed by a @safety remark.
24668 2014-11-20  Roland McGrath  <roland@hack.frob.com>
24670         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
24672         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
24673         PTHREAD_CANCEL_ASYNCHRONOUS.
24674         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
24675         send SIGCANCEL.
24677         * nptl/default-sched.h: New file.
24678         * sysdeps/unix/sysv/linux/default-sched.h: New file.
24679         * nptl/pthread_create.c: Include it.
24680         (__pthread_create_2_1): Use collect_default_sched instead of making
24681         Linux syscalls here directly.
24683 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24685         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
24686         __pthread_once): Use C11 atomics.
24688 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24690         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
24692 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24694         * include/atomic.h (__atomic_link_error, __atomic_check_size,
24695         atomic_thread_fence_acquire, atomic_thread_fence_release,
24696         atomic_thread_fence_seq_cst, atomic_load_relaxed,
24697         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
24698         atomic_compare_exchange_weak_relaxed,
24699         atomic_compare_exchange_weak_acquire,
24700         atomic_compare_exchange_weak_release,
24701         atomic_exchange_acquire, atomic_exchange_release,
24702         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
24703         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
24704         atomic_fetch_and_acquire,
24705         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
24707 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24709         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
24710         USE_ATOMIC_COMPILER_BUILTINS): Define.
24711         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
24712         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24713         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
24714         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24715         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
24716         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24717         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
24718         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24719         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
24720         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24721         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
24722         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24723         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
24724         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24725         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
24726         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24727         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24728         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24729         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24730         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24731         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
24732         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24733         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24734         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24735         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
24736         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24737         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24738         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24739         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
24740         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24741         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
24742         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24743         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
24744         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24745         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24746         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24747         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
24748         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24749         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
24750         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24752 2014-11-19  Roland McGrath  <roland@hack.frob.com>
24754         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
24755         the sched_priority value here.  It was already checked when the user
24756         called pthread_attr_setschedparam.
24758         * nptl/tst-bad-schedattr.c: New file.
24759         * nptl/Makefile (tests): Add it.
24761 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
24762             Florian Weimer  <fweimer@redhat.com>
24763             Joseph Myers  <joseph@codesourcery.com>
24764             Adam Conrad  <adconrad@0c3.net>
24765             Andreas Schwab  <schwab@suse.de>
24766             Brooks  <bmoses@google.com>
24768         [BZ #17625]
24769         * wordexp-test.c (__dso_handle): Add prototype.
24770         (__register_atfork): Likewise.
24771         (__app_register_atfork): New function.
24772         (registered_forks): New global.
24773         (register_fork): New function.
24774         (test_case): Add 3 new tests for WRDE_CMDSUB.
24775         (main): Call __app_register_atfork.
24776         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
24777         fork count is non-zero fail the test.
24778         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
24779         is set.
24780         (parse_dollars): Remove check for WRDE_NOCMD.
24781         (parse_dquote): Likewise.
24783 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24785         * Makeconfig (built-modules): List non-library modules to be
24786         built.
24787         (module-cppflags): Include libc-modules.h for
24788         everything except shlib-versions.v.i.
24789         (CPPFLAGS): Use it.
24790         (before-compile): Add libc-modules.h.
24791         ($(common-objpfx)libc-modules.h,
24792         $(common-objpfx)libc-modules.stmp): New targets.
24793         (common-generated): Add libc-modules.h and libc-modules.stmp.
24794         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
24795         * include/libc-symbols.h: Don't include libc-modules.h.
24796         * include/libc-modules.h: Remove file.
24797         * scripts/gen-libc-modules.awk: New script to generate
24798         libc-modules.h.
24799         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
24800         Depend on libc-modules.stmp.
24802         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
24804         * Makeconfig (in-module): Get value of libof set for the
24805         translation unit.
24806         (CPPFLAGS): Use $(in-module).
24807         * Makerules: Don't suffix routine names for nonlib.
24808         * include/libc-modules.h: New file.
24809         * include/libc-symbols.h: Include libc-modules.h
24810         (IS_IN): New macro to replace IS_IN_* macros.
24811         * elf/Makefile: Set libof-* for each routine.
24812         * elf/rtld-Rules: Likewise.
24813         * extra-modules.mk: Likewise.
24814         * iconv/Makefile: Likewise.
24815         * iconvdata/Makefile: Likewise.
24816         * locale/Makefile: Likewise.
24817         * malloc/Makefile: Likewise.
24818         * nss/Makefile: Likewise.
24819         * sysdeps/gnu/Makefile: Likewise.
24820         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
24821         * sysdeps/unix/sysv/linux/Makefile: Likewise.
24822         * sysdeps/s390/s390-64/Makefile: Likewise.
24823         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
24824         CPPFLAGS for nscd instead of nonlib.
24826 2014-11-18  Roland McGrath  <roland@hack.frob.com>
24828         * nptl/createthread.c: New file.
24830         * nptl/createthread.c: Moved ...
24831         * sysdeps/unix/sysv/linux/createthread.c: ... here.
24833         * nptl/createthread.c: Add proper top-line comment.
24834         (do_clone): Folded into ...
24835         (create_thread): ... here.  Take new arguments STOPPED_START and
24836         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
24837         increment __nptl_threads, do event-reporting logic, do
24838         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
24839         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
24840         resource cleanup if sched_setaffinity or sched_setscheduler fails,
24841         just send SIGCANCEL.
24842         * nptl/pthread_create.c: Forward-declare create_thread before
24843         including createthread.c.
24844         (start_thread): Use new macro START_THREAD_DEFN to replace defining
24845         declaration, and new macro START_THREAD_SELF to replace argument.
24846         Remove return statement.
24847         (report_thread_creation): New function.
24848         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
24849         synchronization logic, and __nptl_nthreads increment here, around
24850         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
24851         PD->parent_cancelhandling here, before create_thread.  When
24852         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
24853         __deallocate_stack, and ENOMEM translation here.
24855 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
24857         [BZ #17616]
24858         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
24859         (mptwo): Rename to __mptwo.
24860         (__inv): Use __mptwo instead of mptwo.
24861         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
24862         (mptwo): Rename to __mptwo.
24863         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
24864         of mpone and __mptwo instead of mptwo.
24865         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
24866         instead of mpone.
24867         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24868         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
24869         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
24870         of mpone and __mptwo instead of mptwo.
24871         (__mpranred): Use __mpone instead of mpone.
24872         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
24873         variable.
24874         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
24875         (test-xfail-ISO99/math.h/linknamespace): Likewise.
24876         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
24877         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
24878         (test-xfail-ISO11/math.h/linknamespace): Likewise.
24879         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
24880         (test-xfail-XPG3/math.h/linknamespace): Likewise.
24881         (test-xfail-XPG4/math.h/linknamespace): Likewise.
24882         (test-xfail-POSIX/math.h/linknamespace): Likewise.
24883         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
24884         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
24885         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
24886         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
24887         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
24888         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
24889         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
24890         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
24891         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
24892         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
24894 2014-11-18  Tom de Vries  <tom@codesoucery.com>
24896         * manual/signal.texi (Primitives Interrupted by Signals): In section,
24897         replace BSD Handler xref with BSD Signal Handling.
24899 2014-11-17  Richard Henderson  <rth@redhat.com>
24901         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
24902         (_FP_PACK_RAW_2): Remove.
24903         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
24904         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
24905         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
24906         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
24907         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
24908         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
24909         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
24910         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
24911         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
24912         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
24913         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
24914         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
24915         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
24916         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
24917         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
24918         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
24920 2014-11-14  Roland McGrath  <roland@hack.frob.com>
24922         * signal/signal.h [__USE_MISC]
24923         (struct sigvec): Remove type.
24924         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
24925         (sigvec): Remove declaration.
24926         * sysdeps/posix/sigvec.c: Moved ...
24927         * signal/sigvec.c: ... here, replacing old file.
24928         (struct sigvec): New type, copied from old signal.h definition.
24929         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
24930         (__sigvec): Convert definition to prototype.
24931         (sigvec): Replace weak_alias with compat_symbol.
24932         * signal/Versions (libc: GLIBC_2.21): New version set.
24933         * include/signal.h: Remove __sigvec declaration.
24934         * sysdeps/unix/bsd/sigvec.c: Remove file.
24935         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
24936         * manual/signal.texi (BSD Handler): Remove subsection.
24937         Move siginterrupt up to ...
24938         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
24939         (Blocking in BSD): Fold subsection into its parent.
24940         * NEWS: Mention sigvec removal.
24942 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
24944         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
24945         (DLA_FMS): Make definition conditional only on [__FMA4__].
24946         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
24947         definition.
24949         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
24950         Make definition conditional only on [PROF].
24951         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
24952         definition.
24953         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
24954         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
24956         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
24957         !__GNUC__].
24958         * include/signal.h (__sigpause): Move declaration above call to
24959         libc_hidden_proto.
24960         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
24961         variable.
24962         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
24963         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
24965 2014-11-14  David S. Miller  <davem@davemloft.net>
24967         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
24968         Define before including <string/memcpy.c> and <string/mempcpy.c>.
24970 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
24972         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
24973         * configure: Regenerated.
24974         * manual/install.texi (Tools for Compilation): Document a
24975         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
24976         compiler verified to work.
24977         * INSTALL: Regenerated.
24979         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
24980         redeclare with asm name.
24981         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
24982         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
24983         including <string.h>.
24984         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24985         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
24986         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24987         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
24988         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24989         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24990         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24992 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
24994         * stdlib/strtol.c (__strtol): Use prototype definition.
24996         [BZ #17594]
24997         * stdlib/strtol.c (SYM__): New macro.
24998         (SYM__1): Likewise.
24999         (__strtol): Likewise.
25000         (strtol): Rename to __strtol and define as weak alias of
25001         __strtol.  Use libc_hidden_weak.
25003 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25005         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
25006         Use numbered labels in inline assembly.
25008 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25010         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
25011         Add setjmp LIBC_PROBE.
25012         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
25013         Likewise.
25014         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
25015         Add longjmp, longjmp_target LIBC_PROBE.
25016         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
25017         Likewise.
25019 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25021         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25022         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
25023         to get rid of unused variable warning.
25025 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25027         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
25028         Check for unwind_backtrace ==  NULL only in SHARED case.
25029         (__backchain_backtrace): Compile only in SHARED case.
25030         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
25031         Likewise.
25032         (__backchain_backtrace): Declare as static.
25034 2014-11-12  Roland McGrath  <roland@hack.frob.com>
25036         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
25037         (__libc_multiple_threads_ptr): Variable moved ...
25038         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
25040 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
25042         * conform/GlibcConform.pm: New file.
25043         * conform/conformtest.pl: Use GlibcConform module.
25044         * conform/linknamespace.pl: New file.
25045         * conform/list-header-symbols.pl: Likewise.
25046         * conform/Makefile (linknamespace-symlists-base): New variable.
25047         (linknamespace-symlists-tests): Likewise.
25048         (linknamespace-header-base): Likewise.
25049         (linknamespace-header-tests): Likewise.
25050         (tests-special): Add new tests.
25051         ($(linknamespace-symlists-tests)): New rule.
25052         (linknamespace-libs): New variable.
25053         ($(objpfx)symlist-stdlibs): New rule.
25054         ($(linknamespace-header-tests)): Likewise.
25055         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
25056         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
25057         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
25058         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
25059         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
25060         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
25061         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
25062         (test-xfail-ISO/math.h/linknamespace): Likewise.
25063         (test-xfail-ISO/signal.h/linknamespace): Likewise.
25064         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
25065         (test-xfail-ISO/time.h/linknamespace): Likewise.
25066         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25067         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
25068         (test-xfail-ISO99/math.h/linknamespace): Likewise.
25069         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25070         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
25071         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25072         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25073         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25074         (test-xfail-ISO11/math.h/linknamespace): Likewise.
25075         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25076         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
25077         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25078         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25079         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
25080         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
25081         (test-xfail-XPG3/math.h/linknamespace): Likewise.
25082         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
25083         (test-xfail-XPG3/search.h/linknamespace): Likewise.
25084         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
25085         (test-xfail-XPG3/time.h/linknamespace): Likewise.
25086         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
25087         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25088         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25089         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
25090         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25091         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25092         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
25093         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
25094         (test-xfail-XPG4/math.h/linknamespace): Likewise.
25095         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
25096         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25097         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25098         (test-xfail-XPG4/search.h/linknamespace): Likewise.
25099         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25100         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
25101         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
25102         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
25103         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
25104         (test-xfail-XPG4/time.h/linknamespace): Likewise.
25105         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
25106         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25107         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
25108         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
25109         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
25110         (test-xfail-POSIX/math.h/linknamespace): Likewise.
25111         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
25112         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
25113         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25114         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25115         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
25116         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
25117         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25118         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
25119         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
25120         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25121         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25122         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25123         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
25124         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
25125         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25126         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25127         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25128         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
25129         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25130         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25131         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25132         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
25133         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25134         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
25135         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
25136         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25137         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25138         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25139         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25140         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25141         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25142         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
25143         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
25144         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25145         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
25146         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25147         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
25148         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25149         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25150         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25151         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
25152         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25153         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25154         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25155         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
25156         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
25157         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
25158         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25159         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
25160         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
25161         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25162         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
25163         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
25164         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25165         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25166         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25167         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25168         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25169         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25170         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25171         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25172         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25173         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25174         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
25175         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25176         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25177         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
25178         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25179         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25180         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25181         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25182         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25183         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25184         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25185         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
25186         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25187         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
25188         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25189         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25190         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25191         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25192         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
25193         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25194         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25195         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
25196         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25197         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25198         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
25199         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25200         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25201         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25202         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25203         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25204         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25205         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25206         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
25207         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
25208         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25209         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
25210         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25211         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25212         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
25213         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25214         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25215         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
25217         [BZ #17589]
25218         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
25219         of fgets_unlocked.
25221         [BZ #17585]
25222         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
25223         (memmem): Rename to __memmem and define as weak alias of
25224         __memmem.  Use libc_hidden_weak.
25225         (__memmem): Use libc_hidden_def.
25226         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
25227         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
25228         memmem.
25230         [BZ #17582]
25231         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
25232         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
25233         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
25234         and define as weak alias of __fgets_unlocked.  Use
25235         libc_hidden_weak.
25236         (__fgets_unlocked): Use libc_hidden_def.
25237         * include/stdio.h (__fgets_unlocked): Declare.  Use
25238         libc_hidden_proto.
25239         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
25240         __fgets_unlocked instead of fgets_unlocked.
25241         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
25242         (GET_NPROCS_CONF_PARSER): Likewise.
25243         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
25244         (GET_NPROCS_CONF_PARSER): Likewise.
25246         [BZ #17574]
25247         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
25248         weak alias of __wmemset.  Use libc_hidden_weak.
25249         (__wmemset): Use libc_hidden_def.
25250         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
25251         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
25252         of wmemset.
25254         [BZ #17573]
25255         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
25256         with asm name __mempcpy.
25257         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
25259         [BZ #17572]
25260         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
25261         and define as weak alias of __rawmemchr.
25262         (__rawmemchr): Do not define as strong alias of rawmemchr.
25264         [BZ #17571]
25265         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
25266         alias of __qsort_r.
25267         (qsort): Call __qsort_r instead of qsort_r.
25268         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
25269         (__qsort_r): Declare.  Call libc_hidden_proto.
25270         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
25271         instead of qsort_r.
25272         * nscd/gai.c (__qsort_r): Define to qsort_r.
25273         * posix/tst-rfc3484.c (__qsort_r): Likewise.
25274         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
25275         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
25277         [BZ #17570]
25278         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
25279         define as weak alias of __malloc_info.
25281         [BZ #17584]
25282         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
25283         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25284         (__rewinddir): Use libc_hidden_def.
25285         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
25286         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25287         (__rewinddir): Use libc_hidden_def.
25288         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
25289         weak alias of __rewinddir.  Don't use libc_hidden_def.
25290         (__rewinddir): Use libc_hidden_def.
25291         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
25292         (__rewinddir): Use libc_hidden_proto.
25293         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
25294         rewinddir.
25295         (__getcwd): Use __rewinddir instead of rewinddir.
25297         [BZ #17583]
25298         * libio/fileno.c (fileno): Rename to __fileno and define as weak
25299         alias of __fileno.  Use libc_hidden_weak.
25300         (__fileno): Use libc_hidden_def.
25301         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
25302         * libio/ftello.c (ftello): Rename to __ftello and define as weak
25303         alias of __ftello.
25304         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
25305         __ftello.
25306         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
25307         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
25308         libc_hidden_def.
25309         (fread_unlocked): Don't use libc_hidden_ver.
25310         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
25311         and define as weak alias of __fread_unlocked.  Don't use
25312         libc_hidden_def.
25313         (__fread_unlocked): Use libc_hidden_def.
25314         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
25315         (ftello): Don't use libc_hidden_proto.
25316         (__ftello): Declare.  Use libc_hidden_proto.
25317         (fread_unlocked): Don't use libc_hidden_proto.
25318         (__fread_unlocked): Declare.  Use libc_hidden_proto.
25319         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
25320         and __ftello instead of fileno, fread_unlocked and ftello.
25322 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25324         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
25325         GOT12.
25326         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25327         Likewise.
25328         (_dl_start_user): Likewise.
25329         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
25331 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
25332             Siddhesh Poyarekar  <siddhesh@redhat.com>
25334         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
25335         Move argv and envp down instead of moving argc up.
25336         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
25338 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
25340         [BZ #17506]
25341         * test-skeleton.c (main): Return successful if one of
25342         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
25343         * string/tst-strcoll-overflow.c: Define expected status.
25345 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
25347         [BZ #17475]
25348         * locale/iso-639.def: Define Bhili and Tulu language codes.
25350 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
25352         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
25354 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
25356         [BZ #17555]
25357         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
25359 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25361         * configure.ac: Updated check of minimal required version to
25362         2.22.
25363         * manual/install.texi (Tools for Compilation): Updated version
25364         number.
25365         * configure: Regenerated.
25366         * INSTALL: Likewise.
25368 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
25370         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
25371         __tls_get_addr.
25373 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
25375         * include/sys/wait.h (__libc_waitpid): Remove declaration.
25376         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
25377         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25378         libc_hidden_weak.
25379         (waitpid): Define as alias of __waitpid.
25380         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
25381         __waitpid.
25382         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25383         libc_hidden_weak.
25384         (waitpid): Define as alias of __waitpid.
25385         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
25386         __libc_waitpid alias.
25387         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
25388         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
25389         Likewise.
25390         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
25391         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
25392         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
25393         alias.
25394         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
25395         __waitpid.
25396         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25397         libc_hidden_weak.
25398         (waitpid): Define as alias of __waitpid.
25400 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
25402         * manual/llio.texi: Add comment that write safety has been
25403         fixed in Linux.
25405         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
25406         (localplt-build-dso): Add elf/ld.so.
25407         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
25408         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
25409         and free for ld.so.
25410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
25411         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
25412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
25413         Likewise.
25414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
25415         Likewise.
25416         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
25417         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
25418         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
25419         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
25420         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
25421         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
25422         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
25423         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
25424         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
25425         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
25426         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
25428 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
25430         [BZ #14132]
25431         * include/libc-symbols.h (INTUSE): Remove macro.
25432         (INTDEF): Likewise.
25433         (INTVARDEF): Likewise.
25434         (_INTVARDEF): Likewise.
25435         (INTDEF2): Likewise.
25436         (INTVARDEF2): Likewise.
25437         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
25438         rtld_hidden_def instead of INTVARDEF.
25439         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
25440         (_dl_starting_up_internal): Remove declaration.
25441         (_dl_starting_up): Use rtld_hidden_proto.
25442         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
25443         declaration.
25444         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
25445         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
25446         _dl_starting_up.
25447         * elf/dl-writev.h (_dl_writev): Likewise.
25448         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
25449         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
25450         _dl_starting_up_internal.
25452 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25454         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
25455         test-skeleton.c.
25457 2014-11-05  Will Newton  <will.newton@linaro.org>
25459         * benchtests/Makefile: (bench-malloc): Add malloc thread
25460         scalability benchmark.
25461         * benchtests/bench-malloc-threads.c: New file.
25463 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
25465         * sysdeps/aarch64/strchrnul.S: New file.
25467 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25469         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
25470         definition.
25471         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
25472         Likwise.
25473         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
25474         Likewise.
25475         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
25476         Likewise.
25477         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
25478         Likewise.
25479         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
25480         Likewise.
25482 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
25484         * catgets/test-gencat.c: Use test-skeleton.c.
25485         * catgets/tst-catgets.c: Likewise.
25486         * csu/tst-empty.c: Likewise.
25487         * elf/tst-audit2.c: Likewise.
25488         * elf/tst-global1.c: Likewise.
25489         * elf/tst-pathopt.c: Likewise.
25490         * elf/tst-piemod1.c: Likewise.
25491         * elf/tst-tls10.c: Likewise.
25492         * elf/tst-tls11.c: Likewise.
25493         * elf/tst-tls12.c: Likewise.
25494         * gnulib/tst-gcc.c: Likewise.
25495         * iconvdata/tst-e2big.c: Likewise.
25496         * iconvdata/tst-loading.c: Likewise.
25497         * iconv/tst-iconv1.c: Likewise.
25498         * iconv/tst-iconv2.c: Likewise.
25499         * inet/test-inet6_opt.c: Likewise.
25500         * inet/tst-gethnm.c: Likewise.
25501         * inet/tst-network.c: Likewise.
25502         * inet/tst-ntoa.c: Likewise.
25503         * intl/tst-codeset.c: Likewise.
25504         * intl/tst-gettext2.c: Likewise.
25505         * intl/tst-gettext3.c: Likewise.
25506         * intl/tst-ngettext.c: Likewise.
25507         * intl/tst-translit.c: Likewise.
25508         * io/test-stat.c: Likewise.
25509         * libio/test-fmemopen.c: Likewise.
25510         * libio/tst-freopen.c: Likewise.
25511         * libio/tst-sscanf.c: Likewise.
25512         * libio/tst-ungetwc1.c: Likewise.
25513         * libio/tst-ungetwc2.c: Likewise.
25514         * libio/tst-widetext.c: Likewise.
25515         * localedata/tst-ctype.c: Likewise.
25516         * localedata/tst-digits.c: Likewise.
25517         * localedata/tst-leaks.c: Likewise.
25518         * localedata/tst-mbswcs1.c: Likewise.
25519         * localedata/tst-mbswcs2.c: Likewise.
25520         * localedata/tst-mbswcs3.c: Likewise.
25521         * localedata/tst-mbswcs4.c: Likewise.
25522         * localedata/tst-mbswcs5.c: Likewise.
25523         * localedata/tst-setlocale.c: Likewise.
25524         * localedata/tst-trans.c: Likewise.
25525         * localedata/tst-wctype.c: Likewise.
25526         * localedata/tst-xlocale1.c: Likewise.
25527         * login/tst-grantpt.c: Likewise.
25528         * malloc/tst-calloc.c: Likewise.
25529         * malloc/tst-malloc.c: Likewise.
25530         * malloc/tst-mallocstate.c: Likewise.
25531         * malloc/tst-mcheck.c: Likewise.
25532         * malloc/tst-mtrace.c: Likewise.
25533         * malloc/tst-obstack.c: Likewise.
25534         * math/atest-exp2.c: Likewise.
25535         * math/atest-exp.c: Likewise.
25536         * math/atest-sincos.c: Likewise.
25537         * math/test-matherr.c: Likewise.
25538         * math/test-misc.c: Likewise.
25539         * math/test-powl.c: Likewise.
25540         * math/tst-definitions.c: Likewise.
25541         * misc/tst-dirname.c: Likewise.
25542         * misc/tst-efgcvt.c: Likewise.
25543         * misc/tst-fdset.c: Likewise.
25544         * misc/tst-hsearch.c: Likewise.
25545         * misc/tst-mntent2.c: Likewise.
25546         * nptl/tst-sem7.c: Likewise.
25547         * nptl/tst-sem8.c: Likewise.
25548         * nptl/tst-sem9.c: Likewise.
25549         * nss/test-netdb.c: Likewise.
25550         * posix/tst-fnmatch.c: Likewise.
25551         * posix/tst-getlogin.c: Likewise.
25552         * posix/tst-gnuglob.c: Likewise.
25553         * posix/tst-mmap.c: Likewise.
25554         * pwd/tst-getpw.c: Likewise.
25555         * resolv/tst-inet_ntop.c: Likewise.
25556         * rt/tst-timer.c: Likewise.
25557         * stdio-common/test-fseek.c: Likewise.
25558         * stdio-common/test-popen.c: Likewise.
25559         * stdio-common/test-vfprintf.c: Likewise.
25560         * stdio-common/tst-cookie.c: Likewise.
25561         * stdio-common/tst-fileno.c: Likewise.
25562         * stdio-common/tst-gets.c: Likewise.
25563         * stdio-common/tst-obprintf.c: Likewise.
25564         * stdio-common/tst-perror.c: Likewise.
25565         * stdio-common/tst-sprintf2.c: Likewise.
25566         * stdio-common/tst-sprintf3.c: Likewise.
25567         * stdio-common/tst-sprintf.c: Likewise.
25568         * stdio-common/tst-swprintf.c: Likewise.
25569         * stdio-common/tst-tmpnam.c: Likewise.
25570         * stdio-common/tst-unbputc.c: Likewise.
25571         * stdio-common/tst-wc-printf.c: Likewise.
25572         * stdlib/tst-environ.c: Likewise.
25573         * stdlib/tst-fmtmsg.c: Likewise.
25574         * stdlib/tst-limits.c: Likewise.
25575         * stdlib/tst-rand48-2.c: Likewise.
25576         * stdlib/tst-rand48.c: Likewise.
25577         * stdlib/tst-random2.c: Likewise.
25578         * stdlib/tst-random.c: Likewise.
25579         * stdlib/tst-strtol.c: Likewise.
25580         * stdlib/tst-strtoll.c: Likewise.
25581         * stdlib/tst-tls-atexit.c: Likewise.
25582         * stdlib/tst-xpg-basename.c: Likewise.
25583         * string/test-ffs.c: Likewise.
25584         * string/tst-bswap.c: Likewise.
25585         * string/tst-inlcall.c: Likewise.
25586         * string/tst-strtok.c: Likewise.
25587         * string/tst-strxfrm.c: Likewise.
25588         * sysdeps/x86_64/tst-audit10.c: Likewise.
25589         * sysdeps/x86_64/tst-audit3.c: Likewise.
25590         * sysdeps/x86_64/tst-audit4.c: Likewise.
25591         * sysdeps/x86_64/tst-audit5.c: Likewise.
25592         * time/tst-ftime_l.c: Likewise.
25593         * time/tst-getdate.c: Likewise.
25594         * time/tst-mktime3.c: Likewise.
25595         * time/tst-mktime.c: Likewise.
25596         * time/tst-posixtz.c: Likewise.
25597         * time/tst-strptime2.c: Likewise.
25598         * time/tst-strptime3.c: Likewise.
25599         * wcsmbs/tst-btowc.c: Likewise.
25600         * wcsmbs/tst-mbrtowc.c: Likewise.
25601         * wcsmbs/tst-mbsrtowcs.c: Likewise.
25602         * wcsmbs/tst-wchar-h.c: Likewise.
25603         * wcsmbs/tst-wcpncpy.c: Likewise.
25604         * wcsmbs/tst-wcrtomb.c: Likewise.
25605         * wcsmbs/tst-wcsnlen.c: Likewise.
25606         * wcsmbs/tst-wcstof.c: Likewise.
25608 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
25610         [BZ #14132]
25611         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
25612         INTDEF.
25613         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
25614         declaration.
25615         (_dl_mcount): Use rtld_hidden_proto.
25616         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
25617         _dl_mcount.
25618         * elf/rtld.c (_rtld_global_ro): Likewise.
25620         [BZ #14132]
25621         * elf/dl-init.c (_dl_init): Don't use INTDEF.
25622         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
25623         of _dl_init_internal.
25624         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
25625         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
25626         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
25627         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
25628         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
25629         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
25630         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
25631         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
25632         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
25633         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
25634         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
25635         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
25636         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25637         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25638         * sysdeps/tile/dl-start.S (_start): Likewise.
25639         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
25640         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
25642         [BZ #14132]
25643         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
25644         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
25645         (rtld_progname): Make macro definition unconditional.
25646         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
25647         INTDEF.
25648         (dlmopen_doit): Do not use INTUSE with _dl_argv.
25649         (dl_main): Likewise.
25650         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25651         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
25652         instead of _dl_argv_internal.
25653         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25654         __GI__dl_argv instead of INTUSE(_dl_argv).
25655         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
25656         __GI__dl_argv instead of _dl_argv_internal.
25658         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
25659         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
25660         macro.
25661         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
25662         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
25663         New macro.
25664         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
25665         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
25666         macro.
25667         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
25668         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
25670 2014-11-04  Andreas Schwab  <schwab@suse.de>
25672         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
25674 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25676         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
25677         mtvsrd instruction in binary form.
25679 2014-11-03  Andreas Schwab  <schwab@suse.de>
25681         [BZ #17522]
25682         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
25683         for less than MB_LEN_MAX use a local buffer of that size.
25684         * libio/tst-fputws.c: New file.
25685         * libio/Makefile (tests): Add tst-fputws.
25687 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
25689         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
25690         the size of the fpu_fr.fpu_dregs[] array.
25692 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
25694         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
25695         (__nanosleep): Do not define as alias.
25696         (nanosleep): Define as alias of __nanosleep.
25697         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
25698         __libc_nanosleep name.
25700 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
25702         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
25703         install.texi in comment.
25705 2014-10-31  Torvald Riegel  <triegel@redhat.com>
25707         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
25708         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
25709         ... add here and use lwsync or sync ...
25710         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
25711         ... and add here using lwsync.
25713 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25715         * elf/dl-machine-reject-phdr.h: New file.
25716         * elf/dl-load.c: #include that.
25717         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
25718         if that returned true.
25720 2014-10-31  Roland McGrath  <roland@hack.frob.com>
25722         [BZ #17496]
25723         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
25724         gen-as-const-headers chunk.  Add a big scare comment after the last
25725         safe place to touch before-compile.
25727 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
25729         * manual/install.texi (Tools for Compilation): Update autoconf
25730         version requirements.
25731         * INSTALL: Regenerated.
25733         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
25734         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
25735         (__libc_pselect): Likewise.
25737         [BZ #14138]
25738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
25739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25743 2014-10-31  Torvald Riegel  <triegel@redhat.com>
25745         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
25746         correct barrier instruction.
25747         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
25748         Likewise.
25749         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
25750         Likewise.
25752 2014-10-30  Roland McGrath  <roland@hack.frob.com>
25754         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
25755         after defining inlines.  Instead, just use parens to defeat macro
25756         expansion of __isctype in its declaration.
25758 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
25760         * include/sys/uio.h (__libc_readv): Remove declaration.
25761         (__libc_writev): Likewise.
25762         * misc/readv.c (__libc_readv): Rename to __readv.
25763         (__readv): Do not define as alias.
25764         (readv): Define as alias of __readv.
25765         * misc/writev.c (__libc_writev): Rename to __writev.
25766         (__writev): Do not define as alias.
25767         (writev): Define as alias of __writev.
25768         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
25769         (__readv): Do not define as alias.
25770         (readv): Define unconditionally as alias of __readv.
25771         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
25772         (__writev): Do not define as alias.
25773         (writev): Define unconditionally as alias of __writev.
25774         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
25775         name.
25776         (writev): Do not define __libc_writev name.
25778 2014-10-30  Roland McGrath  <roland@hack.frob.com>
25780         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
25781         (convert_charseq): New function, broken out of ...
25782         (use_from_charmap): ... here.  Call it.
25783         (use_to_charmap): Use convert_charseq and free instead of duplicating
25784         its code with a variable-length stack struct.
25786 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
25788         * include/fcntl.h (__libc_creat): Remove declaration.
25789         * io/creat.c (__libc_creat): Rename to creat.
25790         (creat): Do not define as alias.
25791         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
25792         of creat instead of __libc_creat.
25793         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
25794         to creat.
25795         (creat): Do not define as alias.
25796         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
25797         __libc_creat.
25798         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
25799         __libc_creat name.
25800         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
25801         Likewise.
25803 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
25805         * manual/llio.texi: Add comments discussing why write() may be
25806         considered MT-unsafe on Linux.
25808 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
25810         * dl-load.c (local_strdup): Remove.
25811         (expand_dynamic_string_token): Use __strdup.
25812         (decompose_rpath): Likewise.
25813         (_dl_map_object): Likewise.
25815 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
25817         [BZ #14132]
25818         * sysdeps/generic/unwind-dw2-fde.c
25819         (__register_frame_info_bases_internal): Do not declare.
25820         (__register_frame_info_table_bases_internal): Likewise.
25821         (__deregister_frame_info_bases_internal): Likewise.
25822         (__register_frame_info_bases): Declare and use hidden_proto before
25823         definition.  Use hidden_def instead of INTDEF.
25824         (__register_frame_info_table_bases): Likewise.
25825         (__deregister_frame_info_bases): Likewise.
25826         (__register_frame_info): Do not use INTUSE.
25827         (__register_frame): Likewise.
25828         (__register_frame_info_table): Likewise.
25829         (__register_frame_table): Likewise.
25830         (__deregister_frame_info): Likewise.
25831         (__deregister_frame): Likewise.
25833 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
25835         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25836         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
25837         not undefine.
25838         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
25839         Likewise.
25840         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
25841         Likewise.
25843 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
25845         [BZ #14138]
25846         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
25847         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
25848         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
25849         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
25850         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
25851         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
25852         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
25853         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
25854         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
25855         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
25856         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
25857         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
25858         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
25859         syscall.
25860         (setfsuid): Likewise.
25861         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
25862         (setfsuid): Likewise.
25863         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
25864         (setfsuid): Likewise.
25865         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
25866         Likewise.
25867         (setfsuid): Likewise.
25868         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
25869         (setfsuid): Likewise.
25870         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
25871         Likewise.
25872         (setfsuid): Likewise.
25874 2014-10-27  Andreas Schwab  <schwab@suse.de>
25876         [BZ #17501]
25877         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
25878         check for Slow_SSE4_2 feature bit.
25879         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
25880         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25881         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
25882         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
25884 2014-10-24  Roland McGrath  <roland@hack.frob.com>
25886         * configure.ac: Validate compiler version with a empirical test of
25887         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
25888         $CC -v output.
25889         * configure: Regenerated.
25891         * inet/htons.c (htons): Prototypify.
25892         * inet/htonl.c (htonl): Likewise.
25894 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25896         * string/strncat.c (strncat): Improve performance by using strlen.
25898 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25900         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
25902 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25904         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
25905         Call libc_fetestexcept_aarch64.
25907 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25909         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
25910         Call libc_feholdexcept_aarch64.
25912 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25914         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
25915         Call get_rounding_mode.
25917 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25919         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25920         Simplify logic.
25922 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25924         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
25925         Simplify logic.
25927 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
25929         [BZ #14138]
25930         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
25931         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
25932         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
25933         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
25934         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
25935         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
25936         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
25937         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
25938         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
25939         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
25940         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25941         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
25942         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
25943         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
25944         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
25945         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
25946         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
25947         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
25948         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
25949         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
25950         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
25951         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
25952         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
25953         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
25954         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
25955         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
25956         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
25957         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
25958         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
25959         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
25960         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
25961         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
25962         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
25963         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
25964         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
25965         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
25966         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
25967         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
25968         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
25969         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
25970         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
25971         syscall.
25972         (geteuid): Likewise.
25973         (getgid): Likewise.
25974         (getuid): Likewise.
25975         (getresgid): Likewise.
25976         (getresuid): Likewise.
25977         (getgroups): Likewise.
25978         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
25979         (geteuid): Likewise.
25980         (getgid): Likewise.
25981         (getuid): Likewise.
25982         (getresgid): Likewise.
25983         (getresuid): Likewise.
25984         (getgroups): Likewise.
25985         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
25986         (geteuid): Likewise.
25987         (getgid): Likewise.
25988         (getuid): Likewise.
25989         (getresgid): Likewise.
25990         (getresuid): Likewise.
25991         (getgroups): Likewise.
25992         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
25993         Likewise.
25994         (geteuid): Likewise.
25995         (getgid): Likewise.
25996         (getuid): Likewise.
25997         (getresgid): Likewise.
25998         (getresuid): Likewise.
25999         (getgroups): Likewise.
26000         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
26001         (geteuid): Likewise.
26002         (getgid): Likewise.
26003         (getuid): Likewise.
26004         (getresgid): Likewise.
26005         (getresuid): Likewise.
26006         (getgroups): Likewise.
26007         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
26008         Likewise.
26009         (geteuid): Likewise.
26010         (getgid): Likewise.
26011         (getuid): Likewise.
26012         (getgroups): Likewise.
26014         [BZ #14138]
26015         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
26016         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
26017         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
26018         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26019         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
26020         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
26021         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
26022         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
26023         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
26024         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
26025         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
26026         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
26027         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
26028         __chown.
26029         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
26030         (lchown): Likewise.
26031         (fchown): Likewise.
26032         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
26033         Likewise.
26034         (lchown): Likewise.
26035         (fchown): Likewise.
26036         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
26037         (lchown): Likewise.
26038         (fchown): Likewise.
26039         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
26040         Likewise.
26041         (lchown): Likewise.
26042         (fchown): Likewise.
26044 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26046         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
26047         Simplify logic.
26049 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26051         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26052         Cleanup logic.
26054 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26056         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26057         Remove unused include.
26059 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26061         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
26062         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
26063         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
26064         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
26066 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
26067             Helge Deller <deller@gmx.de>
26069         [BZ #17508]
26070         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
26071         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
26072         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
26074 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
26076         [BZ #14132]
26077         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
26078         Remove macro definition.
26079         (__ashrdi3_v_glibc20): Likewise.
26080         (__lshrdi3_v_glibc20): Likewise.
26081         (__cmpdi2_v_glibc20): Likewise.
26082         (__ucmpdi2_v_glibc20): Likewise.
26083         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
26084         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26085         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26086         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26087         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26088         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
26090 2014-10-22  Roland McGrath  <roland@hack.frob.com>
26092         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
26093         old GNU extension [0] syntax.
26094         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
26095         alloca rather than an array member with variable length.
26096         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
26097         * nscd/nscd.c (invalidate_db): New function, broken out of ...
26098         (parse_opt): ... here.  Likewise use alloca there.
26099         Validate the -i argument before checking for rootness.
26100         (send_shutdown): New function, broken out of ...
26101         (parse_opt): ... here.
26103 2014-10-22  Roland McGrath  <roland@hack.frob.com>
26105         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
26106         macro to get at the _rt_local_ro field.
26107         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
26108         ([PIC] case) or _dl_hwcap ([!PIC] case).
26109         * sysdeps/arm/setjmp.S: Likewise.
26111         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
26112         * sysdeps/arm/configure.ac: New check to define it.
26113         * sysdeps/arm/configure: Regenerated.
26114         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
26115         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
26116         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
26117         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
26118         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
26119         Use move/movt pair instead of a load.
26120         (LDST_GLOBAL): Macro removed.
26121         (LDR_GLOBAL): New macro replaces it.
26122         (LDR_HIDDEN): New macro.
26123         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
26124         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
26126         * setjmp/tst-setjmp-static.c: New file.
26127         * setjmp/Makefile (tests): Add it.
26128         (tests-static): New variable.
26130 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
26132         [BZ #17485]
26133         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
26135 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
26137         [BZ #14132]
26138         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
26140 2014-10-21  Roland McGrath  <roland@hack.frob.com>
26142         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
26144 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26146         * io/fts.c (dirent_not_directory): New function.
26147         (fts_build): Call it.
26149 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26151         * nptl/version.c (__nptl_main): Use normal __write rather than
26152         INTERNAL_SYSCALL.
26153         (banner): Update copyright years.
26155         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
26156         gettimeofday.
26157         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26158         * nptl/pthread_cond_timedwait.c: Likewise.
26159         * nptl/pthread_mutex_timedlock.c: Likewise.
26160         * nptl/sem_timedwait.c: Likewise.
26162         * sysdeps/nptl/bits/libc-lock.h
26163         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
26164         (__libc_lock_init_recursive): Return void, not 0.
26165         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
26166         (__libc_rwlock_init): Likewise.
26167         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
26169 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26171         [BZ #15215]
26172         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
26173         (__pthread_once_slow): ... here.
26174         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
26175         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
26177 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26179         [BZ #15215]
26180         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
26181         __PTHREAD_ONCE_FORK_GEN_INCR): New.
26182         * sysdeps/nptl/fork.c (__libc_fork): Use them.
26183         * nptl/pthread_once.c (__pthread_once): Likewise.
26184         Update comments.
26186 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
26188         [BZ #14138]
26189         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
26190         name.
26191         (writev): Use __libc_writev as strong name.
26192         * sysdeps/unix/sysv/linux/readv.c: Remove file.
26193         * sysdeps/unix/sysv/linux/writev.c: Likewise.
26195 2014-10-17  Roland McGrath  <roland@hack.frob.com>
26197         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
26199         * sysdeps/i386/nptl/tls.h
26200         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
26201         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
26202         New macros.
26203         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
26204         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
26205         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
26206         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
26207         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
26208         Call CHECK_THREAD_SYSINFO instead of doing an assert.
26210         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26211         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
26212         on [__NR_futex].
26213         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
26214         broken out of ...
26215         (__pthread_mutex_init): ... here.  Call it.
26216         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
26217         Conditionalize PI cases on [__NR_futex].
26218         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
26219         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
26220         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
26222         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
26223         conditional on [SIGSETXID].
26224         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
26225         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
26226         is defined.  Likewise for SIGSETXID.
26227         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
26228         Conditionalize definitions on [SIGSETXID].
26229         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
26230         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
26231         unblocking on [SIGCANCEL].
26233         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
26234         [__NR_set_robust_list].
26236 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26238         * string/strcoll_l.c (get_next_seq): Fix up formatting.
26239         (do_compare): Likewise.
26241 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
26243         [BZ #15884]
26244         * string/strcoll_l.c: Don't include stdio.h.
26245         (coll_seq): Remove members idxarr and rulearr.
26246         (get_next_seq_cached): Remove function.
26247         (get_next_seq): Likewise.
26248         (get_next_seq_nocache): Rename to get_next_seq.
26249         (do_compare): Remove function.
26250         (do_compare_nocache): Rename to do_compare.
26251         (STRCOLL): Remove weight and rules cache.
26253 2014-10-16  Roland McGrath  <roland@hack.frob.com>
26255         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
26256         * sysdeps/arm/sfp-machine.h: ... to here.
26257         * sysdeps/arm/Implies: Remove arm/soft-fp.
26259 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
26261         * conform/data/sys/utsname.h-data (*_t): Allow.
26262         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
26263         [POSIX] (WEXITED): Do not expect constant.
26264         [POSIX] (WSTOPPED): Likewise.
26265         [POSIX] (WNOHANG): Likewise.
26266         [POSIX] (WNOWAIT): Likewise.
26267         [POSIX] (siginfo_t): Do not expect type or elements.
26268         [POSIX] (pid_t): Do not expect type.
26269         [POSIX] (signal.h): Do not allow header.
26270         [POSIX] (sys/resource.h): Likewise.
26271         [POSIX] (si_*): Do not allow pattern.
26272         [POSIX] (W*): Likewise.
26273         [POSIX] (P_*): Likewise.
26274         [POSIX] (BUS_*): Likewise.
26275         [POSIX] (CLD_*): Likewise.
26276         [POSIX] (FPE_*): Likewise.
26277         [POSIX] (ILL_*): Likewise.
26278         [POSIX] (POLL_*): Likewise.
26279         [POSIX] (SEGV_*): Likewise.
26280         [POSIX] (SI_*): Likewise.
26281         [POSIX] (TRAP_*): Likewise.
26282         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
26283         variable.
26285 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
26287         [BZ #12926]
26288         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
26289         infinite loop when __recvmsg returns 0.
26291 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
26293         * CANCEL-FCT-WAIVE: Remove file.
26294         * CANCEL-FILE-WAIVE: Likewise.
26296         [BZ #14132]
26297         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
26298         instead of INTVARDEF.
26299         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26300         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
26301         rtld_hidden_data_def instead of INTVARDEF.
26302         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26303         * elf/dl-deps.c (expand_dst): Likewise.
26304         * elf/dl-load.c (_dl_dst_count): Likewise.
26305         (_dl_dst_substitute): Likewise.
26306         (decompose_rpath): Likewise.
26307         (_dl_init_paths): Likewise.
26308         (open_path): Likewise.
26309         (_dl_map_object): Likewise.
26310         * elf/rtld.c (dl_main): Likewise.
26311         (process_dl_audit): Likewise.
26312         (process_envvars): Likewise.
26313         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
26314         Remove declaration.
26315         (__libc_enable_secure): Use rtld_hidden_proto.
26317 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26319         * elf/dl-load.c
26320         (add_path): New function broken out of _dl_rtld_di_serinfo.
26321         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
26323 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
26325         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
26326         parentheses around macro arguments.
26327         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
26328         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
26329         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
26330         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
26331         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
26332         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26333         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26334         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
26335         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
26336         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
26337         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
26338         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
26339         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
26340         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
26341         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
26342         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
26343         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
26344         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
26345         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
26346         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
26347         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
26348         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
26349         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
26350         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26351         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26352         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
26353         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
26354         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
26355         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
26356         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
26357         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
26358         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
26359         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
26360         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
26361         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
26362         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
26363         Likewise.
26364         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
26365         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26366         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26367         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
26368         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
26369         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
26370         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
26371         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
26372         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
26373         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
26374         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
26375         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
26376         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
26377         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
26378         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
26379         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26380         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26381         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
26382         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
26383         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
26384         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
26385         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
26386         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
26387         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
26388         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
26389         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
26390         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
26391         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
26392         (_FP_FRAC_SRS_1): Likewise.
26393         (_FP_FRAC_CLZ_1): Likewise.
26394         (_FP_MUL_MEAT_1_imm): Likewise.
26395         (_FP_MUL_MEAT_1_wide): Likewise.
26396         (_FP_MUL_MEAT_1_hard): Likewise.
26397         (_FP_SQRT_MEAT_1): Likewise.
26398         (_FP_FRAC_ASSEMBLE_1): Likewise.
26399         (_FP_FRAC_DISASSEMBLE_1): Likewise.
26400         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
26401         (__FP_CLZ_2): Likewise.
26402         (_FP_MUL_MEAT_2_wide): Likewise.
26403         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
26404         (_FP_MUL_MEAT_2_gmp): Likewise.
26405         (_FP_MUL_MEAT_2_120_240_double): Likewise.
26406         (_FP_SQRT_MEAT_2): Likewise.
26407         (_FP_FRAC_ASSEMBLE_2): Likewise.
26408         (_FP_FRAC_DISASSEMBLE_2): Likewise.
26409         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
26410         (_FP_FRAC_CLZ_4): Likewise.
26411         (_FP_MUL_MEAT_4_wide): Likewise.
26412         (_FP_MUL_MEAT_4_gmp): Likewise.
26413         (_FP_SQRT_MEAT_4): Likewise.
26414         (_FP_FRAC_ASSEMBLE_4): Likewise.
26415         (_FP_FRAC_DISASSEMBLE_4): Likewise.
26416         * soft-fp/op-common.h (_FP_CMP): Likewise.
26417         (_FP_CMP_EQ): Likewise.
26418         (_FP_CMP_UNORD): Likewise.
26419         (_FP_TO_INT): Likewise.
26420         (_FP_FROM_INT): Likewise.
26421         [!__FP_CLZ] (__FP_CLZ): Likewise.
26422         (_FP_DIV_HELP_imm): Likewise.
26423         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
26424         Likewise.
26425         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
26426         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
26427         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
26428         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
26429         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
26430         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26431         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26432         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
26433         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
26434         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
26435         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
26436         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
26437         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
26438         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
26439         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
26440         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
26441         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
26442         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
26443         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
26444         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
26445         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
26446         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
26447         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
26448         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26449         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26450         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
26451         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
26452         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
26453         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
26454         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
26455         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
26456         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
26457         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
26458         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
26459         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
26460         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
26461         (FP_UNPACK_RAW_SP): Likewise.
26462         (FP_PACK_RAW_S): Likewise.
26463         (FP_PACK_RAW_SP): Likewise.
26464         (FP_UNPACK_S): Likewise.
26465         (FP_UNPACK_SP): Likewise.
26466         (FP_UNPACK_SEMIRAW_S): Likewise.
26467         (FP_UNPACK_SEMIRAW_SP): Likewise.
26468         (FP_PACK_S): Likewise.
26469         (FP_PACK_SP): Likewise.
26470         (FP_PACK_SEMIRAW_S): Likewise.
26471         (FP_PACK_SEMIRAW_SP): Likewise.
26472         (_FP_SQRT_MEAT_S): Likewise.
26473         (FP_CMP_S): Likewise.
26474         (FP_CMP_EQ_S): Likewise.
26475         (FP_CMP_UNORD_S): Likewise.
26476         (FP_TO_INT_S): Likewise.
26477         (FP_FROM_INT_S): Likewise.
26479         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
26481         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
26482         (FP_EX_INVALID_IMZ): Likewise.
26483         (FP_EX_INVALID_IMZ_FMA): Likewise.
26484         (FP_EX_INVALID_ISI): Likewise.
26485         (FP_EX_INVALID_ZDZ): Likewise.
26486         (FP_EX_INVALID_IDI): Likewise.
26487         (FP_EX_INVALID_SQRT): Likewise.
26488         (FP_EX_INVALID_CVI): Likewise.
26489         (FP_EX_INVALID_VC): Likewise.
26490         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
26491         "invalid" exceptions.
26492         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
26493         (_FP_ADD_INTERNAL): Likewise.
26494         (_FP_MUL): Likewise.
26495         (_FP_FMA): Likewise.
26496         (_FP_DIV): Likewise.
26497         (_FP_CMP_CHECK_NAN): Likewise.
26498         (_FP_SQRT): Likewise.
26499         (_FP_TO_INT): Likewise.
26500         (FP_EXTEND): Likewise.
26502 2014-10-09  Allan McRae  <allan@archlinux.org>
26504         * po/fr.po: Update French translation from translation project.
26506 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
26508         [BZ #14132]
26509         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
26510         of INTDEF.
26511         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
26512         (__cxa_atexit): Use libc_hidden_proto.
26513         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
26515         [BZ #14132]
26516         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
26517         declaration.
26518         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
26519         [!_ISOMAC] (__iswspace_l_internal): Likewise.
26520         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
26521         [!_ISOMAC] (__iswctype_internal): Likewise.
26522         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
26523         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
26524         alias.
26525         (fcntl): Remove __fcntl_internal alias.
26526         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
26527         __connect_internal alias.
26528         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
26529         Likewise.
26531         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
26532         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
26533         FP_DENORM_ZERO.
26534         (_FP_CHECK_FLUSH_ZERO): New macro.
26535         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
26536         (_FP_CMP): Likewise.
26537         (_FP_CMP_EQ): Likewise.
26538         (_FP_TO_INT): Do not set inexact for subnormal arguments if
26539         FP_DENORM_ZERO.
26540         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
26541         (FP_TRUNC): Likewise.
26543         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
26544         treated as invalid conversion, not as normal exponent.
26546         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
26547         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
26548         (_FP_CMP_EQ): Likewise.
26549         (_FP_CMP_UNORD): Likewise.
26550         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
26551         (FP_CMP_EQ_D): Likewise.
26552         (FP_CMP_UNORD_D): Likewise.
26553         * soft-fp/extended.h (FP_CMP_E): Likewise.
26554         (FP_CMP_EQ_E): Likewise.
26555         (FP_CMP_UNORD_E): Likewise.
26556         * soft-fp/quad.h (FP_CMP_Q): Likewise.
26557         (FP_CMP_EQ_Q): Likewise.
26558         (FP_CMP_UNORD_Q): Likewise.
26559         * soft-fp/single.h (FP_CMP_S): Likewise.
26560         (FP_CMP_EQ_S): Likewise.
26561         (FP_CMP_UNORD_S): Likewise.
26562         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
26563         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
26564         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
26565         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
26566         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
26567         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
26568         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
26569         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
26570         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
26571         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
26572         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
26573         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
26574         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
26575         to FP_CMP_Q.
26576         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
26577         FP_CMP_Q.
26578         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
26579         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
26580         FP_CMP_EQ_Q.
26581         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
26582         FP_CMP_Q.
26583         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
26584         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
26585         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
26586         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
26587         FP_CMP_EQ_Q.
26588         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
26589         FP_CMP_Q.
26590         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
26591         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
26592         FP_CMP_EQ_Q.
26593         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
26594         FP_CMP_Q.
26595         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
26596         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
26597         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
26598         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
26599         FP_CMP_EQ_Q.
26601         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
26602         a subnormal result, set the underflow exception if trapping on
26603         underflow is enabled.
26604         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
26605         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
26606         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
26607         redefine to 0.
26608         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
26609         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26610         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26611         * soft-fp/extendxftf2.c (__extendxftf2): Use
26612         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
26614         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
26615         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
26616         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26617         FP_HANDLE_EXCEPTIONS.
26618         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
26619         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26620         FP_HANDLE_EXCEPTIONS.
26621         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
26622         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26623         FP_HANDLE_EXCEPTIONS.
26624         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
26625         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26626         FP_HANDLE_EXCEPTIONS.
26628 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
26630         [BZ #14132]
26631         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
26632         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
26633         use INTUSE.
26634         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
26635         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
26636         Remove alias.
26637         (__adjtimex): Define using libc_hidden_ver.
26638         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
26639         Remove declaration.
26640         (ntp_gettime): Call __adjtimex directly.
26641         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
26642         Remove declaration.
26643         (ntp_gettimex): Call __adjtimex directly.
26644         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
26645         __adjtimex_internal alias.
26647 2014-10-08  Roland McGrath  <roland@hack.frob.com>
26649         [BZ #17460]
26650         * nscd/nscd.c (more_help): Rewrite list of tables collection
26651         using xstrdup and asprintf.
26653         * nscd/nscd_conf.c: Remove local xstrdup declaration.
26655 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26656             Roland McGrath  <roland@hack.frob.com>
26658         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
26659         (do_lookup_unique): ... local function 'enter' here; update callers.
26661 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
26663         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
26664         compat_symbol calls on [SHARED].
26665         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
26666         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
26667         Remove.
26668         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26669         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
26670         (oldsetrlimit): Remove.
26671         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
26673         (lchown): New syscall entry.
26674         (oldsetrlimit): Remove.
26675         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26676         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
26677         (oldsetrlimit): Remove.
26678         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26680         [BZ #14138]
26681         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
26682         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
26683         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
26684         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
26685         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
26686         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
26687         (fchown): Likewise.
26688         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
26689         (fchown): Likewise.
26690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
26691         Likewise.
26693 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26695         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
26696         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
26697         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
26698         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
26699         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
26700         Likewise.
26701         (__old_sem_post): Likewise.
26703 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
26705         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
26706         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
26707         HAVE_CLOCK_GETTIME_VSYSCALL macros.
26708         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
26709         Use INLINE_VSYSCALL macro.
26710         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
26711         __vdso_clock_gettime.
26712         * sysdeps/unix/sysv/linux/tile/init-first.c
26713         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
26714         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
26715         __vdso_clock_gettime.
26717         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
26718         to set up frame more cleanly.
26720         * sysdeps/tile/memcmp.c: New file.
26722         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
26724         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
26725         * sysdeps/tile/tilegx/strcasestr.c: New file.
26726         * sysdeps/tile/tilegx/strnlen.c: New file.
26727         * sysdeps/tile/tilegx/strstr.c: New file.
26729         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
26731 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
26733         * nptl/tst-setuid3.c: Write errors to stdout.
26735 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26737         * elf/dl-deps.c
26738         (preload): New functions broken out of _dl_map_object_deps.
26739         (_dl_map_object_deps):  Remove a nested function. Update call sites.
26741 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
26743         [BZ #14138]
26744         * sysdeps/unix/sysv/linux/execve.c: Remove file.
26745         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
26747 2014-10-01  Steve Ellcey  <sellcey@mips.com>
26749         * sysdeps/mips/strcmp.S: New.
26751 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
26753         [BZ #14138]
26754         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
26755         (linkat): Likewise.
26756         (mkdirat): Likewise.
26757         (readlinkat): Likewise.
26758         (renameat): Likewise.
26759         (symlinkat): Likewise.
26760         (unlinkat): Likewise.
26761         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
26762         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
26763         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
26764         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
26765         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
26766         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
26767         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
26769 2014-09-30  Will Newton  <will.newton@linaro.org>
26771         * math/math.h: Define long double math functions if
26772         _LIBC_TEST is defined.
26773         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
26775         * localedata/Makefile: Move assignment to tests-special
26776         into an ifdef testing run-built-tests.
26777         * timezone/Makefile: Likewise.
26779 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
26781         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
26782         with $(BASH) not $(SHELL).
26784 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
26785             Matthew LeGendre  <legendre1@llnl.gov>
26787         [BZ #17411]
26788         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
26789         l_reloc_result.
26791 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26793         * stdio-common/printf_fp.c
26794         (hack_digit): New function, broken out of ...
26795         (__printf_fp): ... local function here.  Update call sites.
26796         hack_digit now takes an additional parameter that is a pointer
26797         to a struct of the referenced locals.  Those locals moved inside
26798         the struct and references updated.
26800 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
26802         * aclocal.m4: Require autoconf 2.69.
26803         * configure: Regenerated.
26804         * sysdeps/aarch64/configure: Likewise.
26805         * sysdeps/alpha/configure: Likewise.
26806         * sysdeps/arm/armv7/configure: Likewise.
26807         * sysdeps/arm/configure: Likewise.
26808         * sysdeps/ia64/configure: Likewise.
26809         * sysdeps/mach/configure: Likewise.
26810         * sysdeps/mips/configure: Likewise.
26811         * sysdeps/s390/configure: Likewise.
26812         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
26813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
26815         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
26816         file.
26817         * sysdeps/ia64/configure.ac: Likewise.
26819 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
26821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
26822         specify symbol version for ld.so.  Do not include entry for
26823         libpthread.
26824         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26825         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
26826         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26828         [BZ #14171]
26829         * Makeconfig [$(build-shared) = yes]
26830         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
26831         makefiles.
26832         [$(build-shared) = yes && $(soversions.mk-done) = t]
26833         ($(common-objpfx)gnu/lib-names.h): Remove rule.
26834         [$(build-shared) = yes && $(soversions.mk-done) = t]
26835         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
26836         to Makerules.
26837         [$(build-shared) = yes && $(soversions.mk-done) = t]
26838         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
26839         here.
26840         [$(build-shared) = yes && $(soversions.mk-done) = t]
26841         (common-generated): Don't append gnu/lib-names.h and
26842         gnu/lib-names.stmp here.
26843         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
26844         (lib-names-h-abi): New variable.
26845         [$(build-shared) = yes && $(soversions.mk-done) = t]
26846         (lib-names-stmp-abi): Likewise.
26847         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26848         abi-variants] (before-compile): Append
26849         $(common-objpfx)$(lib-names-h-abi).
26850         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26851         abi-variants] (common-generated): Append gnu/lib-names.h.
26852         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26853         abi-variants] (install-others-nosubdir): Depend on
26854         $(inst_includedir)/$(lib-names-h-abi).
26855         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26856         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
26857         [$(build-shared) = yes && $(soversions.mk-done) = t]
26858         ($(common-objpfx)$(lib-names-h-abi)): New rule.
26859         [$(build-shared) = yes && $(soversions.mk-done) = t]
26860         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
26861         [$(build-shared) = yes && $(soversions.mk-done) = t]
26862         (common-generated): Append $(lib-names-h-abi) and
26863         $(lib-names-stmp-abi).
26864         * scripts/lib-names.awk: Do not handle multi being set.
26865         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
26866         Remove variable.
26867         (abi-lp64_be-ld-soname): Likewise.
26868         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
26869         Likewise.
26870         (abi-hard-ld-soname): Likewise.
26871         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
26872         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
26873         Remove variable.
26874         (abi-o32_hard-ld-soname): Likewise.
26875         (abi-o32_soft_2008-ld-soname): Likewise.
26876         (abi-o32_hard_2008-ld-soname): Likewise.
26877         (abi-n32_soft-ld-soname): Likewise.
26878         (abi-n32_hard-ld-soname): Likewise.
26879         (abi-n32_soft_2008-ld-soname): Likewise.
26880         (abi-n32_hard_2008-ld-soname): Likewise.
26881         (abi-n64_soft-ld-soname): Likewise.
26882         (abi-n64_hard-ld-soname): Likewise.
26883         (abi-n64_soft_2008-ld-soname): Likewise.
26884         (abi-n64_hard_2008-ld-soname): Likewise.
26885         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
26886         Likewise.
26887         (abi-64-v2-ld-soname): Likewise.
26888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
26889         ld.so entries.
26890         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
26891         variable.
26892         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
26893         entry.
26894         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
26895         variable.
26896         (abi-64-ld-soname): Likewise.
26897         (abi-x32-ld-soname): Likewise.
26898         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
26899         entry.
26900         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26902 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
26904         [BZ #14138]
26905         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
26906         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
26907         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
26908         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
26909         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
26910         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
26911         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
26912         syscall entry for GLIBC_2.2 symbol version.
26913         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
26914         Likewise.
26915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
26916         (setrlimit): Likewise.
26917         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
26918         Likewise.
26920 2014-09-23  Will Newton  <will.newton@linaro.org>
26922         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
26923         _LINUX_ARM_SYSDEP_H include guard too.
26924         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
26925         define.
26927 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
26929         * sysdeps/unix/sysv/linux/eventfd.c:
26930         Make first argument unsigned.
26931         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
26932         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
26934 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
26936         [BZ #16852]
26937         * socket/recvmmsg.c (recvmmsg): Drop const argument.
26938         * socket/sys/socket.h: Likewise.
26939         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
26941 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26943         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
26945 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
26947         * time/tst-ftime.c: New test.
26948         * time/Makefile (tests): Add tst-ftime.
26950 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
26952         * soft-fp/extended.h: Fix comment formatting.
26953         * soft-fp/op-1.h: Likewise.
26954         * soft-fp/op-2.h: Likewise.
26955         * soft-fp/op-4.h: Likewise.
26956         * soft-fp/op-8.h: Likewise.
26957         * soft-fp/op-common.h: Likewise.
26958         * soft-fp/soft-fp.h: Likewise.
26960         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
26962 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
26964         [BZ #6652]
26965         * Makeconfig (soversions-default-setname): Remove variable.
26966         ($(common-objpfx)soversions.i): Don't pass default_setname to
26967         soversions.awk.
26968         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
26969         oldest_abi to abi-versions.awk.
26970         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
26971         * config.make.in (oldest-abi): Remove variable.
26972         * configure.ac (--enable-oldest-abi): Remove configure option.
26973         * configure: Regenerated.
26974         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
26975         text.
26976         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
26977         * scripts/soversions.awk: Do not handle default_setname variable.
26978         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
26979         variable.
26980         * sysdeps/mach/hurd/configure: Regenerated.
26981         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
26982         variable.
26983         * sysdeps/unix/sysv/linux/configure: Regenerated.
26985 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26987         * elf/Makefile (CFLAGS-interp.c): Remove.
26988         ($(elf-objpfx)runtime-linker.h): Generate header with linker
26989         path string.
26990         * elf/interp.c: Include generated runtime-linker.h
26992         * Makerules (lib%.so): Don't include $(+interp) in
26993         prerequisites.
26994         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
26995         * dlfcn/eval.c: Remove file.
26997         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
26998         macros.
27000         [BZ #17266]
27001         * misc/sys/cdefs.h: Define __extern_always_inline for clang
27002         4.2 and newer.
27004         [BZ #17370]
27005         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
27007 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27008             Jakub Jelinek  <jakub@redhat.com>
27010         [BZ #17266]
27011         * libio/stdio.h: Check definition of __fortify_function
27012         instead of __extern_always_inline to include bits/stdio2.h.
27013         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
27014         check if __extern_always_inline is defined.
27015         [__USE_MISC || __USE_XOPEN]: Likewise.
27016         [__USE_ISOC99] Likewise.
27017         * misc/sys/cdefs.h (__fortify_function): Define only if
27018         __extern_always_inline is defined.
27019         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
27020         __extern_always_inline and __extern_inline only for g++-4.3
27021         and newer or a compatible gcc.
27023 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
27025         [BZ #17371]
27026         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27027         last change to handle zero prefix length.
27029 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27031         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
27032         _SC_REGEX_VERSION.
27034         * posix/getconf.c (vars): Add _POSIX_IPV6 and
27035         _POSIX_RAW_SOCKETS.
27037 2014-09-13  Allan McRae  <allan@archlinux.org>
27039         * po/ru.po: Update Russian translation from translation project.
27041 2014-09-12  Roland McGrath  <roland@hack.frob.com>
27043         * locale/programs/locale.c (show_locale_vars): Inline local function
27044         into its sole call site.  Clean up some style nits.
27045         (print_item): New function, broken out of ...
27046         (show_info): ... local function here.  Clean up style nits.
27048         * locale/programs/ld-ctype.c (set_one_default): New function, broken
27049         out of ...
27050         (set_class_defaults): ... local function set_default here.
27051         Define set_default as a macro locally to pass constant parameters.
27052         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
27053         rather than a shared local.
27055         * stdlib/rpmatch.c (try): New function, broken out of ...
27056         (rpmatch): ... local function here.  Also, prototypify definition.
27058 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
27060         * scripts/soversions.awk: Do not handle configuration names.
27061         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
27062         vendor and os variables to soversions.awk.
27063         * configure.ac: Do not modify gnu-* host_os.
27064         * configure: Regenerated
27065         * shlib-versions: Remove first column with configuration names.
27066         * nptl/shlib-versions: Likewise.
27067         * nptl_db/shlib-versions: Likewise.
27068         * sysdeps/hppa/shlib-versions: Likewise.
27069         * sysdeps/m68k/shlib-versions: Likewise.
27070         * sysdeps/mach/hurd/shlib-versions: Likewise.
27071         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
27072         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
27073         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
27074         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
27075         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
27076         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
27077         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
27078         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
27079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27080         Likewise.
27081         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27082         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27083         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27084         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27085         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27086         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
27087         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27088         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27091         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
27092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
27093         Regenerated.
27094         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
27095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27096         Condition symbol version definitions on [HAVE_ELFV2_ABI].
27098         * shlib-versions: Remove OS-specific entries.  Moved to files in
27099         sysdeps.
27100         * sysdeps/mach/hurd/shlib-versions: New file.
27101         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27103         * nptl/shlib-versions: Remove architecture-specific entries.
27104         Moved to files in sysdeps.
27105         * shlib-versions: Likewise.
27106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
27107         file.
27108         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27109         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27110         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27111         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27113         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
27114         (UDP_NO_CHECK6_RX): Likewise.
27116 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27118         * sysdeps/posix/sysconf.c (__sysconf): Spell
27119         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
27121 2014-08-12  Florian Weimer  <fweimer@redhat.com>
27123         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
27124         loading.
27125         * iconv/Versions (__gconv_transliterate): Export for use from
27126         gconv modules.
27127         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
27128         (struct __gconv_trans_data, __gconv_trans_fct,
27129         __gconv_trans_context_fct, __gconv_trans_query_fct,
27130         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
27131         definitions.
27132         (struct __gconv_step_data): Remove __trans member.
27133         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
27134         longer hidden.  Remove unused trans_data argument.
27135         * iconv/gconv_int.h (struct trans_struct): Remove definition.
27136         (__gconv_translit_find): Remove declaration.
27137         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
27138         prototype.
27139         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
27140         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
27141         trans_data argument.  Add hidden definition.
27142         (__gconv_translit_find): Remove.
27143         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
27144         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
27145         * iconv/skeleton.c: Remove transliteration initialization.
27146         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
27147         __gconv_step_data initialization.
27148         * libio/iofwide.c (__libio_translit_): Remove.
27149         (_IO_fwide): Adjust struct __gconv_step_data initialization.
27150         * wcsmbs/btowc.c (__btowc): Likewise.
27151         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27152         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27153         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27154         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27155         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
27156         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27157         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27158         * wcsmbs/wctob.c (wctob): Likewise.
27160 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27162         [BZ #16194]
27163         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
27164         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
27165         register usage.
27166         * sysdeps/x86/Makefile: Adjust.
27168 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27169             Roland McGrath  <roland@hack.frob.com>
27171         * locale/weight.h: Add include guard.
27172         (findidx): Make static rather than auto; take new parameters
27173         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
27174         * locale/weightwc.h: Likewise.
27175         * posix/fnmatch_loop.c
27176         (FCT): Change type of EXTRA from int32_t to wint_t.
27177         Don't include either header inside the function.
27178         Call FINDIDX rather than findidx, and pass new arguments.
27179         #undef FINDIDX at the end of the file.
27180         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
27181         FINDIDX before including fnmatch_loop.c for the non-wide version.
27182         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
27183         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
27184         for the wide version.
27185         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
27186         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
27187         Pass new arguments to findidx.
27188         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
27189         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
27190         Don't #include it inside the function.  Pass new arguments to findidx.
27191         * posix/regex_internal.h
27192         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
27193         (re_string_elem_size_at): Don't #include it inside the function.
27194         Pass new arguments to findidx.
27195         * string/strcoll_l.c: #include WEIGHT_H at top level.
27196         (get_next_seq): Don't #include it inside the function.
27197         Pass new arguments to findidx.
27198         (get_next_seq_nocache): Likewise.
27199         * string/strxfrm_l.c: #include WEIGHT_H at top level.
27200         (STRXFRM): Don't #include it inside the function.
27201         Pass new arguments to findidx.
27203 2014-09-11  Florian Weimer  <fweimer@redhat.com>
27205         [BZ #17344]
27206         * malloc/malloc.c (unlink): Turn asserts into a call to
27207         malloc_printerr.
27209 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
27211         [BZ #17370]
27212         * libio/wfileops (do_ftell_wide): Free OUT.
27214 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
27216         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
27218 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27220         [BZ #17363]
27221         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
27222         group if the current group is empty.
27224 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27226         * benchtests/bench-memset.c (test_main): Add more test from size
27227         from 32 to 512 bytes.
27228         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27229         Add POWER8 memset object.
27230         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27231         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
27232         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
27233         implementation.
27234         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
27235         Likewise.
27236         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
27237         multiarch POWER8 memset optimization.
27238         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
27239         POWER8 memset optimization.
27241         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27242         Remove bzero multiarch objects.
27243         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
27244         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
27245         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
27246         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
27247         Remove define.
27248         [__bzero]: Redefine to specific name.
27249         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27250         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27251         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
27252         define.
27253         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27254         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27256 2014-09-10  Florian Weimer  <fweimer@redhat.com>
27258         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
27259         warnings into errors.
27261         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
27262         __cxa_thread_atexit_impl prototype.
27264 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27266         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
27267         Fix capitalization of error message.
27269 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27271         * sysdeps/mips/preconfigure: Modify ABI tests.
27273 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
27275         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
27277 2014-09-07  Roland McGrath  <roland@hack.frob.com>
27278             Carlos O'Donell  <carlos@systemhalted.org>
27280         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
27281         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
27282         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
27283         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
27284         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
27285         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
27286         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
27287         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
27288         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
27289         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
27290         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
27291         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
27292         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
27293         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
27294         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
27295         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
27296         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
27297         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
27298         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
27299         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
27300         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
27301         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
27302         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
27303         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
27304         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
27305         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
27306         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
27307         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
27308         Deconditionalize the code that was previously under [RESET_PID].
27309         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
27310         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
27311         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
27312         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
27313         include sysdep.h.
27315 2014-09-08  Allan McRae  <allan@archlinux.org>
27317         * version.h (RELEASE): Set to "development".
27318         (VERSION): Set to "2.20.90"
27320 2014-09-07  Allan McRae  <allan@archlinux.org
27322         * version.h (RELEASE): Set to "stable".
27323         (VERSION): Set to "2.20"
27324         * include/features.h (__GLIBC_MINOR__): Set to 20.
27326         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
27327         Liebler.
27329         * po/ko.po: Update Korean translation from translation project.
27331 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
27333         [BZ #17354]
27334         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
27335         macro for handling signed relocations.
27337 2014-09-03  Florian Weimer  <fweimer@redhat.com>
27339         [BZ #17325]
27340         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
27341         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
27342         assert.
27343         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
27344         * iconvdata/ibm935.c (BODY): Likewise.
27345         * iconvdata/ibm937.c (BODY): Likewise.
27346         * iconvdata/ibm939.c (BODY): Likewise.
27347         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
27348         assert.
27349         * iconvdata/Makefile (iconv-test.out): Pass module list to test
27350         script.
27351         * iconvdata/run-iconv-test.sh: New test loop for checking for
27352         decoder crashers.
27354 2014-09-02  Khem Raj  <raj.khem@gmail.com>
27356         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
27357         libm_hidden_ver.
27359 2014-09-01  Allan McRae  <allan@archlinux.org>
27361         * po/eo.po: Update Esperanto translation from translation project.
27363         * po/ca.po: Update Catalan translation from translation project.
27365 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27367         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
27368         __proc_dostop call.
27370 2014-08-27  Mark Wielaard  <mjw@redhat.com>
27372         [BZ #17319]
27373         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
27374         to call set_thread_area instead of hand written asm.
27375         (__NR_set_thread_area): Removed define.
27376         (TLS_FLAG_WRITABLE): Likewise.
27377         (__ASSUME_SET_THREAD_AREA): Remove check.
27378         (TLS_EBX_ARG): Remove define.
27379         (TLS_LOAD_EBX): Likewise.
27381 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27383         Simplify atomicity of socket creation in bind.
27385         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
27386         looking up the name after linking the file.
27388 2014-08-27  Allan McRae  <allan@archlinux.org>
27390         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27392 2014-08-26  Florian Weimer  <fweimer@redhat.com>
27394         [BZ #17187]
27395         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
27396         trans_compare, open_translit, __gconv_translit_find):
27397         Remove module loading code.
27399 2014-08-26  Allan McRae  <allan@archlinux.org>
27401         * po/vi.po: Update Vietnamese translation from translation project.
27403         * po/uk.po: Update Ukrainian translation from translation project.
27405         * po/fr.po: Update French translation from translation project.
27407         * po/ru.po: Update Russian translation from translation project.
27409         * po/pl.po: Update Polish translation from translation project.
27411         * po/cs.po: Update Czech translation from translation project.
27413         * po/de.po: Update German translation from translation project.
27415         * po/bg.po: Update Bulgarian translation from translation project.
27417         * po/sv.po: Update Sweedish translation from translation project.
27419         * po/nl.po: Update Dutch translation from translation project.
27421         * po/es.po: Update Spanish translation from translation project.
27423 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27425         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
27427         * catgets/Makefile (CPPFLAGS-gencat): Remove.
27428         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
27429         (CPPFLAGS-iconvconfig): Likewise.
27430         * timezone/Makefile (CPPFLAGS-zic): Likewise.
27432         * include/libc-symbols.h: Remove unnecessary check for
27433         NOT_IN_libc.
27434         * nptl/pthreadP.h: Likewise.
27435         * sysdeps/aarch64/setjmp.S: Likewise.
27436         * sysdeps/alpha/setjmp.S: Likewise.
27437         * sysdeps/arm/sysdep.h: Likewise.
27438         * sysdeps/i386/setjmp.S: Likewise.
27439         * sysdeps/m68k/setjmp.c: Likewise.
27440         * sysdeps/posix/getcwd.c: Likewise.
27441         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27442         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27443         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27444         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27445         * sysdeps/sh/sh3/setjmp.S: Likewise.
27446         * sysdeps/sh/sh4/setjmp.S: Likewise.
27447         * sysdeps/unix/alpha/sysdep.h: Likewise.
27448         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27449         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27450         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27451         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27454         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27455         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27456         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27457         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27458         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27459         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27460         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27461         * sysdeps/x86_64/setjmp.S: Likewise.
27463 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
27465         [BZ #17263]
27466         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
27467         <stdint.h>.
27468         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
27469         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
27471 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27473         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
27475         [BZ #17262]
27476         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
27477         and __x86_64__ when disabling x87 inline functions.
27479 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
27481         [BZ #17259]
27482         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
27483         asm statement with __cpuid_count.
27485 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
27487         * configure.ac: Change __ehdr_start code to dereference the struct.
27488         Run readelf on the output to look for relocations.
27489         * configure: Regenerated.
27491 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
27493         [BZ #17261]
27494         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
27495         value to 0.
27496         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
27498 2014-08-12  Roland McGrath  <roland@hack.frob.com>
27500         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
27502 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
27504         [BZ #16892]
27505         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
27506         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
27508 2014-08-12  Sean Anderson  <seanga2@gmail.com>
27510         * malloc/malloc.c: Fix typo in comment.
27512 2014-08-09  Allan McRae  <allan@archlinux.org>
27514         * Regenerate libc.po.
27516 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
27518         * intl/tst-gettext2.sh: Check every lang file for creation.
27520 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
27522         * sysdeps/aarch64/fpu/math_private.h
27523         (libc_feholdsetround_noex_aarch64_ctx): New function.
27525 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
27527         * sysdeps/arm/armv6/strcpy.S (strcpy):
27528         Fix performance issue in misaligned cases.
27530 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27532         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
27533         Move definition from termios.h.
27534         (struct termio): Likewise.
27535         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27536         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27537         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27538         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27539         Likewise.
27540         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
27541         Move definition to ioctl-types.h
27542         (struct termio): Likewise.
27543         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27544         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27545         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27546         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27547         Likewise.
27549 2014-08-05  Richard Henderson  <rth@redhat.com>
27551         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
27552         exceptions.
27553         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
27554         Add fraiseexcpt.
27555         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
27556         Use __feraiseexcept.
27557         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
27558         Protect libm symbols with IS_IN_libm.
27560         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
27562 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
27564         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
27566 2014-08-04  Will Newton  <will.newton@linaro.org>
27568         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
27569         file.
27571 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
27573         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
27574         variants for each function.
27576 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27578         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
27579         appended ...
27580         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
27581         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
27582         appended ...
27583         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
27584         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
27585         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
27586         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
27587         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
27588         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
27589         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
27590         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
27591         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
27592         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
27593         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
27594         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
27595         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
27596         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
27597         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
27598         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
27599         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
27600         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
27601         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
27602         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
27603         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
27604         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
27605         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
27606         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
27607         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
27608         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
27609         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
27610         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
27611         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
27612         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
27613         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
27614         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
27615         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
27616         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
27617         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
27618         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
27619         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
27620         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
27621         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
27622         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
27623         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
27624         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
27625         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
27626         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
27627         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
27628         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
27629         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
27630         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
27631         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
27632         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
27633         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
27634         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
27635         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
27636         Update #include.
27637         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
27638         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
27640 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27642         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
27643         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
27644         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
27645         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
27646         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
27647         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
27649 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27651         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
27652         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
27653         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27654         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
27656 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27658         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
27659         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
27660         (__libc_vfork): Define function under this name.
27661         (__vfork): Define as an alias.
27662         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
27663         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
27665 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27667         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
27668         that was previously under [RESET_PID].
27669         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
27671 2014-08-04  Andreas Schwab  <schwab@suse.de>
27673         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
27675 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
27677         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
27678         (main): Likewise.
27680 2014-08-01  Roland McGrath  <roland@hack.frob.com>
27682         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
27684 2014-08-01  Richard Henderon  <rth@redhat.com>
27686         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
27687         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
27688         typo in exact zero test.
27689         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27690         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27691         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27693 2014-08-01  Roland McGrath  <roland@hack.frob.com>
27695         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
27696         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
27697         * sysdeps/arm/sysdep.h: ... here.
27698         [!__ASSEMBLER__]: Include <stdint.h>.
27700 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27702         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
27703         (HAVE_WCTYPE_H): Likewise.
27704         (HAVE_ISWCTYPE): Likewise.
27705         (ENABLE_NLS): Likewise.
27706         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
27707         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
27709         * posix/regex_internal.c: Check if DEBUG is defined and is
27710         set.
27712         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
27713         (HAVE_MBSRTOWCS): Likewise.
27714         * posix/fnmatch.c: Include string.h unconditionally.
27716 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
27718         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
27719         reversal.
27721 2014-07-31  Roland McGrath  <roland@hack.frob.com>
27723         * sysdeps/generic/safe-fatal.h: New file.
27724         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
27725         * nptl/forward.c: Include it.
27726         (__pthread_unwind): Use __safe_fatal as default action, rather
27727         than a bogus use of INTERNAL_SYSCALL that could never work.
27729         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
27730         * configure.ac (libc_cv_builtin_trap): New test.
27731         * configure: Regenerated.
27732         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
27733         (ABORT_INSTRUCTION): Define using __builtin_trap.
27735         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
27736         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
27737         * sysdeps/nptl/nptl-signals.h: New file.
27738         * nptl/pthreadP.h: Include <nptl-signals.h>.
27740 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
27742         * sysdeps/s390/s390-64/utf16-utf32-z9.c
27743         (ONE_DIRECTION): Define.
27744         * sysdeps/s390/s390-64/utf8-utf16-z9.c
27745         (ONE_DIRECTION): Define.
27746         * sysdeps/s390/s390-64/utf8-utf32-z9.c
27747         (ONE_DIRECTION): Define.
27749 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
27751         * sysdeps/s390/Makefile: Delete file.
27752         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
27753         * sysdeps/s390/__longjmp.c: Delete file.
27754         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
27755         Remove fields __flags and __reserved.
27756         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
27757         and add versioning.
27758         * sysdeps/s390/rtld-__longjmp.c: Delete file.
27759         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
27760         * sysdeps/s390/rtld-setjmp.S: Likewise.
27761         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
27762         * sysdeps/s390/s390-32/__longjmp.c: ... here.
27763         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
27764         * sysdeps/s390/s390-32/setjmp.S: ... here.
27765         Add versioning.
27766         (__sigsetjmp): Remove setting __flags field.
27767         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
27768         * sysdeps/s390/s390-64/__longjmp.c: ... here.
27769         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
27770         * sysdeps/s390/s390-64/setjmp.S: ... here.
27771         Add versioning.
27772         (__sigsetjmp): Remove setting __flags field.
27773         * sysdeps/s390/setjmp.S: Delete file.
27774         * sysdeps/s390/sigjmp.c: Likewise.
27775         * sysdeps/s390/v1-longjmp.c: Likewise.
27776         * sysdeps/s390/v1-setjmp.h: Likewise.
27777         * sysdeps/s390/v1-sigjmp.c: Likewise.
27778         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
27779         Remove v1-longjmp_chk.
27780         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
27781         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
27782         Include debug/longjmp_chk.c and add versioning.
27783         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
27784         Include nptl/pt-longjmp.c and add versioning.
27785         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
27786         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
27787         Include __longjmp.c.
27788         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27789         Move to ...
27790         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
27791         (__getcontext): Remove setting __flags field.
27792         Add versioning.
27793         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27794         Don't restore upper high grps.
27795         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
27796         Likewise.
27797         (__swapcontext): Remove setting uc_flags field.
27798         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
27799         Delete file.
27800         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27801         Include __longjmp.c.
27802         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27803         Move to ...
27804         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
27805         (__getcontext): Remove setting __flags field.
27806         Add versioning.
27807         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
27808         (__swapcontext): Remove setting uc_flags field.
27809         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
27810         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
27811         Remove fields uc_high_gprs and __reserved.
27812         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
27813         New file with reverted content.
27814         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
27815         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
27816         Regenerated.
27817         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
27818         Regenerated.
27820 2014-07-31  Andreas Schwab  <schwab@suse.de>
27822         * config.h.in (HAVE_IFUNC): Define to 0.
27823         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
27824         definedness.
27826 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
27828         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27829         memmove-avx-unaligned, memcpy-avx-unaligned and
27830         mempcpy-avx-unaligned.
27831         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27832         Add tests for AVX memcpy functions.
27833         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
27834         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
27835         memcpy_chk.
27836         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
27837         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
27838         memmove_chk.
27839         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
27840         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
27841         mempcpy_chk.
27842         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
27843         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
27844         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
27846 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27848         [BZ #17213]
27849         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
27850         powerpc64le.
27852 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
27854         [BZ #16839]
27855         * manual/llio.texi: Add section about open file description locks.
27856         * manual/examples/ofdlocks.c: Example of open file description
27857         lock usage.
27858         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
27859         F_OFD_SETLK, and F_OFD_SETLKW.
27861 2014-07-23  Allan McRae  <allan@archlinux.org>
27863         * po/es.po: Update Spanish translation from translation project.
27865 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
27867         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
27869 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
27871         [BZ #17078]
27872         * sysdeps/arm/dl-machine.h (elf_machine_rela)
27873         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
27874         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
27876 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
27878         [BZ #17088]
27879         * math/fesetenv.c (__fesetenv)
27880         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
27881         * math/feupdateenv.c (__feupdateenv)
27882         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
27884         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
27885         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
27886         (__ASSUME_SOCKETCALL): Do not define.
27888         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
27889         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
27890         (__ASSUME_SOCKETCALL): Do not define.
27891         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
27892         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
27893         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27894         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
27895         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27896         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
27897         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27898         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27900         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
27901         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
27902         (__ASSUME_SOCKETCALL): Do not define.
27903         (__ASSUME_IPC64): Define unconditionally.
27904         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
27905         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27906         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
27907         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27908         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
27909         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27910         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
27911         Likewise.
27913         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
27914         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
27915         (__ASSUME_SOCKETCALL): Do not define.
27916         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
27917         (__ASSUME_FUTEX_LOCK_PI): Likewise.
27918         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27919         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
27920         (__ASSUME_REQUEUE_PI): Define unconditionally.
27921         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
27922         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
27923         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27924         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
27925         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27926         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27928         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
27929         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
27930         (__ASSUME_SOCKETCALL): Do not define.
27931         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
27932         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27933         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27934         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
27935         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27936         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27938         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
27939         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
27940         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27941         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
27942         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27943         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
27944         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27945         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
27946         (__ASSUME_GETCPU_SYSCALL): Likewise.
27948         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
27949         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
27950         cases for individual architectures.
27951         * sysdeps/gnu/configure: Regenerated.
27952         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
27953         LIBC_SLIBDIR_RTLDDIR.
27954         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
27955         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
27956         LIBC_SLIBDIR_RTLDDIR.
27957         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
27958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
27959         LIBC_SLIBDIR_RTLDDIR.
27960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
27961         Regenerated.
27962         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
27963         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
27964         file.
27965         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
27966         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
27967         file.
27968         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
27969         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
27970         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
27971         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
27973         * sysdeps/aarch64/shlib-versions: Move to ...
27974         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
27975         * sysdeps/alpha/shlib-versions: Move to ...
27976         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
27977         * sysdeps/arm/shlib-versions: Move to ...
27978         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
27979         * sysdeps/hppa/shlib-versions: Move all contents except for
27980         libgcc_s entry to ...
27981         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
27982         entry from ...
27983         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
27984         * sysdeps/ia64/shlib-versions: Move to ...
27985         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
27986         entry from ...
27987         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
27988         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
27989         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
27990         * sysdeps/microblaze/shlib-versions: Move to ...
27991         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
27992         * sysdeps/mips/shlib-versions: Move to ...
27993         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
27994         entry from ...
27995         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
27996         * sysdeps/tile/shlib-versions: Move to ...
27997         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
27998         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
27999         from ...
28000         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
28001         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
28002         entry from ...
28003         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
28005 2014-07-17  Will Newton  <will.newton@linaro.org>
28007         * sysdeps/arm/bits/atomic.h
28008         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
28009         (__arch_compare_and_exchange_bool_16_int): Likewise.
28010         (__arch_compare_and_exchange_bool_64_int): Likewise.
28012         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
28013         into an #else block.
28015 2014-07-16  Roland McGrath  <roland@hack.frob.com>
28017         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
28018         just Linux configurations.  Test empirically that the compiler sets
28019         __ARM_EABI__, rather than using the tuple to decide.
28020         * sysdeps/arm/preconfigure: Regenerated.
28021         * sysdeps/unix/sysv/linux/arm/configure: File removed.
28022         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
28023         contents appended ...
28024         * sysdeps/arm/configure.ac: ... here.
28025         * sysdeps/arm/configure: Regenerated.
28027 2014-07-15  Roland McGrath  <roland@hack.frob.com>
28029         * nptl/pthread_kill.c: New file.
28030         * nptl/pthread_sigmask.c: New file.
28031         * nptl/pthread_sigqueue.c: New file.
28033         * sysdeps/nptl/lowlevellock.h: New file.
28034         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
28035         * sysdeps/nptl/lowlevellock-futex.h: New file.
28037         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
28038         Remove dead declarations.
28040 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
28042         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
28043         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
28044         config-cflags-avx2.
28045         * sysdeps/x86_64/configure.ac: Likewise.
28046         * sysdeps/i386/configure: Regenerated.
28047         * sysdeps/x86_64/configure: Likewise.
28048         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28049         memset-avx2 only if config-cflags-avx2 is yes.
28050         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28051         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
28052         defined.
28053         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
28054         only if HAVE_AVX2_SUPPORT is defined.
28055         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28057 2014-07-14  Alan Modra  <amodra@gmail.com>
28059         [BZ #17153]
28060         * elf/elf.h (DT_PPC64_NUM): Correct value.
28061         * NEWS: Add to fixed bug list.
28063 2014-07-13  Jim Meyering  <meyering@fb.com>
28065         [BZ 17150]
28066         regex: don't deref NULL upon heap allocation failure
28067         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
28068         failure in one more place.
28069         To trigger the segfault, configure grep -with-included-regex,
28070         build it, and run these commands:
28071         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
28073 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
28075         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28077 2014-07-11  Richard Henderson  <rth@redhat.com>
28079         * sysdeps/aarch64/libm-test-ulps: Update.
28081 2014-07-10  Florian Weimer  <fweimer@redhat.com>
28083         [BZ #17135]
28084         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
28085         * nptl/allocatestack.c (__nptl_setxid_error): New function.
28086         (__nptl_setxid): Initialize error member.  Call
28087         __nptl_setxid_error.
28088         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
28089         * nptl/descr.h (struct xid_command): Add error member.
28090         * nptl/tst-setuid3.c: New file.
28091         * nptl/Makefile (tests): Add it.
28093 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28095         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
28096         New define.
28097         (__lll_trylock): Use __lll_base_trylock.
28098         (__lll_cond_trylock): Likewise.
28100 2014-07-10  Roland McGrath  <roland@hack.frob.com>
28102         * nptl/pthread_create.c (start_thread): Use atomic_or and
28103         lll_futex_wake directly rather than lll_robust_dead.
28104         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28105         (lll_robust_dead): Macro removed.
28106         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
28107         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28108         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28109         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28110         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28111         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28112         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28113         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28114         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28115         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28116         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28117         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28118         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28119         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28120         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28122         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
28123         Use atomic_compare_and_exchange_val_acq directly rather than
28124         lll_robust_trylock.
28125         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28126         (__lll_robust_trylock, lll_robust_trylock): Removed.
28127         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28128         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28129         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28130         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28131         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28132         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28133         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28134         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28135         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28136         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28137         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28138         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28139         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28140         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28142 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28144         * manual/locale.texi (Locale Names): New section documenting
28145         locale name syntax.  Adjust menu and node chaining accordingly.
28146         (Choosing Locale): Reference Locale Names, Locale Categories.
28147         Mention setting LC_ALL=C.  Reflect that name syntax is now
28148         documented.
28149         (Locale Categories): New section title.  Reference Locale Names.
28150         LC_ALL is an environment variable, but not a category.
28151         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
28152         description, now in Locale Name.  Reference that section.  Locale
28153         name syntax is now documented.
28155 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28157         [BZ #17137]
28158         * locale/findlocale.c (name_present, valid_locale_name): New
28159         functions.
28160         (_nl_find_locale): Use the loc_name variable to store name
28161         candidates.  Call name_present and valid_locale_name to check and
28162         validate locale names.  Return an error if the locale is invalid.
28164 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28166         * locale/setlocale.c (setlocale): Use strdup for allocating
28167         composite name copy.
28169 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28171         Sync up with gnulib.
28172         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
28173         [!_LIBC && ENABLE_NLS]: Include gettext.h.
28174         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
28175         and _GL_ARG_NONNULL.
28176         [USE_UNLOCKED_IO]: Include unlocked-io.h.
28177         [!_LIBC]: Include code for Windows and Cygwin.
28178         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
28179         Include prototype for int strerror_r.
28180         [!_LIBC] (is_open): New function.
28181         (flush_stdout): New function.
28182         (print_errno_message): Use it.
28183         (error): Likewise.
28184         (error_at_line): Likewise.
28185         (error_tail) Add function attribute macros.  Use
28186         __builtin_expect.
28188         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
28190         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
28192         * io/ftw.c: Include sys/param.h unconditionally.
28194         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
28196         [BZ #17125]
28197         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
28198         libc_freeres_ptr.
28199         (freecache): New function to free CACHE on exit.
28201         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
28202         initialization.
28204 2014-07-09  David S. Miller  <davem@davemloft.net>
28206         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28208         * sysdeps/sparc/nptl/internaltypes.h: Delete.
28209         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
28210         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
28211         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
28212         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
28213         * sysdeps/sparc/nptl/sem_init.c: Likewise.
28214         * sysdeps/sparc/nptl/sem_post.c: Likewise.
28215         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
28216         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
28217         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
28218         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
28219         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
28220         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
28222 2014-07-09  Andreas Schwab  <schwab@suse.de>
28224         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
28225         output.
28226         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
28227         (do_test): Likewise.
28229         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28231 2014-07-09  Will Newton  <will.newton@linaro.org>
28233         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
28234         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
28235         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28236         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28237         * sysdeps/hppa/start.S (_start): Likewise.
28239 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
28241         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
28243         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
28244         defined.
28246 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28248         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
28249         after checking that it is non-NULL.
28251         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
28253 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28255         * sysdeps/powerpc/memmove.c: Remove file.
28256         * sysdeps/powerpc/powerpc32/power4/memcopy.h
28257         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
28258         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
28259         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
28260         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
28261         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
28262         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
28263         string memmove instead of removed powerpc one.
28265         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28266         [weak_alias]: Fix compiler warning due trailing data.
28267         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
28268         [weak_alias]: Likewise.
28269         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
28270         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
28272         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28273         (__libc_ifunc_impl_list): Add memmove functions.
28275 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28277         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
28278         Remove code.
28279         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
28280         Likewise.
28281         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
28282         Likewise.
28283         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
28284         Likewise.
28285         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
28286         Likewise.
28287         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
28288         Likewise.
28289         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
28290         Likewise.
28291         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
28292         Likewise.
28293         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
28294         Likewise.
28295         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
28296         Likewise.
28297         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
28298         Likewise.
28299         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
28300         Likewise.
28301         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
28302         Likewise.
28303         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
28304         Likewise.
28305         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
28306         Likewise.
28307         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
28308         Likewise.
28309         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
28310         Likewise.
28312 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28314         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
28315         to avoid alignment traps in non-cacheable memory.
28316         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28318         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
28319         multiarch objects.
28320         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
28321         file: multiarch power7 memmove.
28322         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
28323         multiarch default memmove.
28324         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
28325         multiarch memove for powerpc32/power4.
28327         * string/bcopy.c: Use full path to include memmove.c.
28328         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
28329         multiarch objects.
28330         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
28331         bcopy for powerpc64.
28332         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
28333         bcopy for powerpc64.
28334         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
28335         and memmove implementations.
28336         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
28337         optimized multiarch memmove for POWER7/powerpc64.
28338         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
28339         default multiarch memmove for powerpc64.
28340         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
28341         multiarch for powerpc64.
28342         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
28343         for POWER7/powerpc64.
28344         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
28345         memmove for POWER7/powerpc64.
28347         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
28348         glibc default one.
28350         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
28351         __ELF_NATIVE_CLASS equal to 64.
28353 2014-07-07  Roland McGrath  <roland@hack.frob.com>
28355         * sysdeps/nptl/lowlevellock.h: File removed.
28357         * NEWS: NPTL is no longer an add-on!
28358         * nptl/internaltypes.h: Moved ...
28359         * sysdeps/nptl/internaltypes.h: ... here.
28360         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
28361         * sysdeps/nptl/fork.c: Likewise.
28362         * sysdeps/nptl/gai_misc.h: Likewise.
28363         * sysdeps/nptl/librt-cancellation.c: Likewise.
28364         * sysdeps/nptl/jmp-unwind.c: Likewise.
28365         * sysdeps/nptl/setxid.h: Likewise.
28366         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
28367         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
28368         * sysdeps/unix/sysv/linux/arm/Implies: New file.
28369         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
28370         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
28371         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
28372         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
28373         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
28374         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
28375         * sysdeps/unix/sysv/linux/mips/Implies: New file.
28376         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
28377         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
28378         * sysdeps/unix/sysv/linux/sh/Implies: New file.
28379         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
28380         * sysdeps/unix/sysv/linux/tile/Implies: New file.
28381         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
28382         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
28383         * nptl/Makeconfig: Moved ...
28384         * sysdeps/nptl/Makeconfig: ... here.
28385         * nptl/configure: File removed.
28386         * nptl/ANNOUNCE: File removed.
28387         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
28388         * sysdeps/unix/sysv/linux/configure: Regenerated.
28390         * nptl/Makefile (routines): Add libc_pthread_init,
28391         libc_multiple_threads, register-atfork and unregister-atfork.
28392         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
28393         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
28394         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
28395         pthread-pi-defines.sym, structsem.sym.
28396         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
28397         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
28398         [$(subdir) = nptl] (tests): Add tst-setgetname.
28399         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
28400         * sysdeps/unix/sysv/linux/sigaction.c: Just include
28401         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
28402         [!LIBC_SIGACTION]: Remove aliases.
28403         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
28404         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
28405         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28406         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
28407         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28408         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
28409         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28410         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28411         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28412         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
28413         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
28414         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
28415         __libc_allocate_rtsig_private.
28416         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
28417         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
28418         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
28419         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
28420         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
28421         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
28422         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
28423         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
28424         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
28425         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
28426         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
28427         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
28428         * nptl/internaltypes.h: ... here.
28429         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
28430         * sysdeps/nptl/jmp-unwind.c: ... here.
28431         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
28432         * nptl/libc-lowlevellock.c: ... here.
28433         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
28434         * nptl/libc_multiple_threads.c: ... here.
28435         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
28436         * nptl/libc_pthread_init.c: ... here.
28437         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
28438         * nptl/lowlevelbarrier.sym: ... here.
28439         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
28440         * nptl/lowlevelcond.sym: ... here.
28441         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
28442         * nptl/lowlevellock.c: ... here.
28443         * nptl/lowlevellock.h: Moved ...
28444         * sysdeps/nptl/lowlevellock.h: ... here.
28445         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
28446         * nptl/lowlevelrobustlock.c: ... here.
28447         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
28448         * nptl/lowlevelrobustlock.sym: ... here.
28449         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
28450         * nptl/lowlevelrwlock.sym: ... here.
28451         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
28452         * nptl/pt-fork.c: ... here.
28453         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
28454         * nptl/pthread-pi-defines.sym: ... here.
28455         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
28456         * nptl/pthread_attr_getaffinity.c: ... here.
28457         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
28458         * nptl/pthread_attr_setaffinity.c: ... here.
28459         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
28460         * nptl/pthread_mutex_cond_lock.c: ... here.
28461         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
28462         Update #include.
28463         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
28464         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
28465         * nptl/pthread_once.c: ... here, replacing old file.
28466         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
28467         * nptl/pthread_yield.c: ... here.
28468         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
28469         * nptl/register-atfork.c: ... here.
28470         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
28471         * nptl/sem_post.c: ... here.
28472         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
28473         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
28474         * nptl/sem_timedwait.c: ... here.
28475         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
28476         * nptl/sem_trywait.c: ... here.
28477         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
28478         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
28479         * nptl/sem_wait.c: ... here.
28480         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
28481         * nptl/structsem.sym: ... here.
28482         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
28483         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
28484         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
28485         * nptl/unregister-atfork.c: ... here.
28486         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
28487         * nptl/unwindbuf.sym: ... here.
28488         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
28489         * sysdeps/nptl/fork.c: ... here.
28490         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
28491         * sysdeps/nptl/fork.h: ... here.
28492         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
28493         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
28494         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
28495         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
28496         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
28497         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
28498         * sysdeps/unix/sysv/linux/getpid.c: ... here.
28499         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
28500         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
28501         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
28502         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
28503         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
28504         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
28505         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
28506         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
28507         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
28508         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
28509         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
28510         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
28511         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
28512         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
28513         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
28514         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
28515         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
28516         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
28517         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
28518         * sysdeps/unix/sysv/linux/raise.c: ... here.
28519         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
28520         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
28521         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
28522         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
28523         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
28524         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
28525         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
28526         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
28527         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
28528         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
28529         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
28530         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
28531         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
28532         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
28533         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
28535 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28537         * sysdeps/generic/memcopy.h: Add comment for
28538         MEMCPY_OK_FOR_FWD_MEMMOVE.
28540 2014-07-04  Will Newton  <will.newton@linaro.org>
28542         * string/memchr.c: Merge from gnulib.
28543         [_LIBC]: Remove conditionals.
28544         (__ptr_t): Remove define.
28545         (LONG_MAX_32_BITS): Likewise.
28546         (LONG_MAX): Likewise.
28547         (MEMCHR): Use ANSI prototype and optimize algorithm.
28549         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
28551 2014-07-03  Roland McGrath  <roland@hack.frob.com>
28553         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
28554         (lll_futex_timed_wait_bitset): Fix syscall argument count.
28556         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
28557         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
28558         in a bare environment with no <stdlib.h> installed.
28559         * sysdeps/nptl/configure: Regenerated.
28561         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
28563         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
28564         AC_EGREP_CPP for kernel header checks, so they only succeed if
28565         including <linux/version.h> actually works right.
28566         * sysdeps/unix/sysv/linux/configure: Regenerated.
28568         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
28569         value so it's not diagnosed as unused.
28571         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
28572         thing) with "ifeq ($(subdir),rt)".
28574 2014-07-03  Richard Henderson  <rth@redhat.com>
28576         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
28577         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
28578         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
28580         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
28581         (math_force_eval): New.
28583         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
28584         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
28586         * sysdeps/alpha/fpu/s_round.c: Remove file.
28587         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
28589         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
28590         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
28591         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
28592         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
28593         (_dl_start, print_statistics): Likewise.
28594         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
28595         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
28597         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28598         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28599         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28600         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28601         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28602         (HP_SMALL_TIMING_AVAIL): Define.
28603         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28604         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28605         (HP_SMALL_TIMING_AVAIL): Define.
28606         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28607         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28609         * sysdeps/aarch64/hp-timing.h: New file.
28611         * sysdeps/generic/hp-timing.h: Remove dead comment.
28612         * sysdeps/generic/hp-timing-common.h: New file.
28613         * sysdeps/alpha/hp-timing.h: Include it.
28614         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
28615         * sysdeps/i386/i686/hp-timing.h: Likewise.
28616         * sysdeps/ia64/hp-timing.h: Likewise.
28617         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28618         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28619         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28620         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28621         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
28622         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
28623         (hp_timing_t): New.
28625         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
28626         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
28627         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
28628         * elf/rtld.c (_dl_start_final): Likewise.
28629         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
28630         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28631         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28632         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28633         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28634         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28635         (HP_TIMING_DIFF_INIT): Remove.
28636         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28637         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28638         (HP_TIMING_DIFF_INIT): Remove.
28639         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28640         * sysdeps/i386/i686/hp-timing.c: Remove file.
28641         * sysdeps/x86_64/hp-timing.c: Remove file.
28642         * sysdeps/ia64/hp-timing.c: Remove file.
28643         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
28644         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
28645         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
28646         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
28648         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
28649         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
28650         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
28651         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28652         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28653         (HP_TIMING_ACCUM): Remove.
28654         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28655         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
28656         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28658         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
28659         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
28660         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
28661         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
28662         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
28663         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
28664         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
28665         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
28667         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
28669 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
28671         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
28673 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28675         Sync up with gettext.
28676         * intl/loadmsgcat.c: Define O_BINARY if not defined.
28677         [_MSC_VER]: Include malloc.h
28678         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
28679         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
28680         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
28681         TEMP_FAILURE_RETRY.  Cast return of alloca.
28682         [!_LIBC] Call gl_rwlock_init.
28683         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
28685 2014-07-02  Roland McGrath  <roland@hack.frob.com>
28687         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
28688         before checking its value.
28690 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28692         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
28694         * debug/memcpy_chk.c: Don't include pagecopy.h.
28695         * debug/mempcpy_chk.c: Likewise.
28696         * string/memcpy.c: Likewise.
28697         * string/memmove.c: Likewise.
28698         * sysdeps/powerpc/memmove.c: Likewise.
28699         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
28700         definition of PAGE_COPY_FWD_MAYBE here...
28701         * sysdeps/generic/pagecopy.h: ... from here.
28702         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
28704 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28705             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28707         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
28708         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
28709         optimizations.
28710         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28711         (__libc_ifunc_impl_list): Likewise.
28712         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
28713         multiarch strcat for PPC64.
28714         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
28715         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
28717 2014-07-02  Roland McGrath  <roland@hack.frob.com>
28719         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
28721 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28723         * intl/loadmsgcat.c: Remove declaration of
28724         get_sysdep_segment_value.
28725         (get_sysdep_segment_value): Use ISO C style.
28726         (_nl_load_domain): Use ISO C style.  Get rid of redundant
28727         semicolon.  Fix typo and formatting in comment.
28728         (_nl_unload_domain): Use ISO C style.
28730         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
28732 2014-07-02  Will Newton  <will.newton@linaro.org>
28734         * malloc/obstack.c: Merge from gnulib master.
28735         [HAVE_CONFIG_H]: Remove conditional code.
28736         [!_LIBC]: Include config.h.
28737         [!ELIDE_CODE]: Don't include inttypes.h, include
28738         stdint.h unconditionally.
28739         (print_and_abort): Mark as _Noreturn.
28740         (_obstack_allocated_p): Mark as __attribute_pure__.
28741         (obstack_free): Rename to __obstack_free.
28742         [!__attribute__]: Remove conditional code.
28743         * malloc/obstack.h: Merge from gnulib master.
28744         [__cplusplus]: Move conditional down.
28745         [!__attribute_pure__]: Define __attribute_pure__ here
28746         if it is not already defined.
28747         (_obstack_memory_used): Mark as __attribute_pure__.
28748         [!__obstack_free]: Define as obstack_free.
28749         [__GNUC__]: Remove check for ancient NeXT gcc.
28751 2014-07-02  Will Newton  <will.newton@linaro.org>
28752             Paul Eggert  <eggert@cs.ucla.edu>
28754         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
28756 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28758         * resolv/gethnamaddr.c: Add comment warning that the file is
28759         not maintained.
28761 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
28763         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
28764         entries.
28766         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
28767         entry for aio_cancel and aio_cancel64.
28768         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
28769         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
28770         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
28771         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
28772         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
28773         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
28774         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
28775         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
28776         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
28777         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
28778         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
28779         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
28780         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
28782 2014-07-01  Roland McGrath  <roland@hack.frob.com>
28784         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
28785         * nptl/pthread_mutex_lock.c: Likewise.
28786         * nptl/pthread_mutex_timedlock.c: Likewise.
28787         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
28789 2014-07-01  Richard henderson  <rth@redhat.com>
28791         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
28792         (__isnan, __isnanl): Remove.
28793         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
28795         * sysdeps/alpha/fpu/libm-test-ulps: Update.
28797 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
28799         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28801 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28803         * resolv/nss_dns/dns-host.c (getanswer_r)
28804         [MULTI_PTRS_ARE_ALIASES]: Remove code.
28806 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
28808         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28809         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
28810         undefine.
28811         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
28812         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
28814 2014-07-01  Roland McGrath <roland@hack.frob.com>
28816         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
28817         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
28819         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
28820         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
28822         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
28823         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
28824         ... here.
28825         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
28826         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
28828         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
28829         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
28830         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
28831         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
28833         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
28834         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
28835         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
28836         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
28837         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
28838         Moved ...
28839         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
28840         ... here.
28841         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
28842         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
28843         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
28844         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
28845         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
28846         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
28847         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
28848         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
28849         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
28850         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
28851         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
28852         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
28853         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
28854         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
28855         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
28856         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
28857         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
28858         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
28859         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
28860         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
28861         ... here.
28862         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
28863         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
28864         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
28865         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
28866         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
28867         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
28868         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
28869         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
28871 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
28873         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
28874         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
28875         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
28876         Add sysdep.
28878 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28882 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
28884         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
28885         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28887         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28889         * sysdeps/arm/libm-test-ulps: Regenerated.
28891 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
28892             Roland McGrath <roland@hack.frob.com>
28894         * test-skeleton.c (signal_handler): Kill the whole process group
28895         before killing the child individually.
28896         (main): Report any failure on `setpgid'.
28898 2014-06-30  Roland McGrath  <roland@hack.frob.com>
28900         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
28901         from _TLS_H to _ARM_NPTL_TLS_H.
28902         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
28903         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
28905 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
28907         [BZ #16539]
28908         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
28909         (__expm1l): Return argument unchanged when small but not
28910         subnormal.
28912         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
28913         include macro name.
28914         (_FP_UNPACK_RAW_1_P): Likewise.
28915         (_FP_PACK_RAW_1): Likewise.
28916         (_FP_PACK_RAW_1_P): Likewise.
28917         (_FP_MUL_MEAT_1_wide): Likewise.
28918         (_FP_MUL_MEAT_DW_1_hard): Likewise.
28919         (_FP_MUL_MEAT_1_hard): Likewise.
28920         (_FP_DIV_MEAT_1_imm): Likewise.
28921         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
28922         (_FP_DIV_MEAT_1_udiv): Likewise.
28923         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
28924         (_FP_UNPACK_RAW_2): Likewise.
28925         (_FP_UNPACK_RAW_2_P): Likewise.
28926         (_FP_PACK_RAW_2): Likewise.
28927         (_FP_PACK_RAW_2_P): Likewise.
28928         (_FP_MUL_MEAT_DW_2_wide): Likewise.
28929         (_FP_MUL_MEAT_2_wide): Likewise.
28930         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
28931         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
28932         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
28933         (_FP_MUL_MEAT_2_gmp): Likewise.
28934         (_FP_DIV_MEAT_2_udiv): Likewise.
28935         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
28936         (_FP_FRAC_SRL_4): Likewise.
28937         (_FP_FRAC_SRST_4): Likewise.
28938         (_FP_FRAC_SRS_4): Likewise.
28939         (_FP_UNPACK_RAW_4): Likewise.
28940         (_FP_UNPACK_RAW_4_P): Likewise.
28941         (_FP_PACK_RAW_4): Likewise.
28942         (_FP_PACK_RAW_4_P): Likewise.
28943         (_FP_MUL_MEAT_DW_4_wide): Likewise.
28944         (_FP_MUL_MEAT_4_wide): Likewise.
28945         (_FP_MUL_MEAT_4_gmp): Likewise.
28946         (umul_ppppmnnn): Likewise.
28947         (_FP_DIV_MEAT_4_udiv): Likewise.
28948         (__FP_FRAC_ADD_4): Likewise.
28949         (__FP_FRAC_SUB_3): Likewise.
28950         (__FP_FRAC_SUB_4): Likewise.
28951         (__FP_FRAC_DEC_3): Likewise.
28952         (__FP_FRAC_DEC_4): Likewise.
28953         (__FP_FRAC_ADDI_4): Likewise.
28954         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
28955         (_FP_FRAC_SRL_8): Likewise.
28956         (_FP_FRAC_SRS_8): Likewise.
28958         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
28959         include macro name.
28960         (FP_UNPACK_RAW_EP): Likewise.
28961         (FP_PACK_RAW_E): Likewise.
28962         (FP_PACK_RAW_EP): Likewise.
28963         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
28964         (_FP_ISSIGNAN): Likewise.
28965         (_FP_ADD_INTERNAL): Likewise.
28966         (_FP_FMA): Likewise.
28967         (_FP_CMP): Likewise.
28968         (_FP_SQRT): Likewise.
28969         (_FP_TO_INT): Likewise.
28970         (_FP_FROM_INT): Likewise.
28971         (FP_EXTEND): Likewise.
28972         (_FP_DIV_MEAT_N_loop): Likewise.
28974 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
28976         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
28977         throughout.
28979 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
28981         [BZ #17097]
28982         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
28983         result with correct sign in case of exponents that produce
28984         overflow except for X very close to 1.
28986 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
28988         mktime: merge #if/#ifdef usage from glibc
28989         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
28990         as that works with both Glibc's and Gnulib's style.
28991         See thread starting at Siddhesh Poyarekar's bug report at:
28992         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
28994 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28996         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
28997         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
28998         * sysdeps/tile/tilegx/memmove.c: Remove file.
29000 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
29002         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
29003         abi-name definition.
29004         * scripts/soversions.awk: Do not handle or generate ABI lines.
29005         * shlib-versions: Remove ABI entries.
29006         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
29007         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
29009 2014-06-27  Roland McGrath  <roland@hack.frob.com>
29011         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
29012         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
29013         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
29014         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
29015         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
29016         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
29017         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
29018         Moved ...
29019         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
29020         ... here.
29021         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
29022         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
29023         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
29024         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
29025         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
29026         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
29027         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
29028         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
29029         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
29030         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
29031         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
29032         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
29033         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
29034         Moved ...
29035         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
29036         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
29037         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
29038         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
29039         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
29040         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
29041         Moved ...
29042         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
29043         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
29044         Moved ...
29045         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
29046         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
29047         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
29048         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
29049         Moved ...
29050         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
29051         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
29052         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
29053         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
29054         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
29055         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
29056         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
29057         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
29058         Moved ...
29059         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
29060         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
29061         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
29062         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
29063         Moved ...
29064         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
29065         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
29066         Moved ...
29067         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
29068         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
29069         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
29070         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
29071         Moved ...
29072         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
29073         ... here.
29074         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
29075         Identical file removed.
29076         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
29077         Moved ...
29078         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
29079         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
29080         Identical file removed.
29081         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
29082         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
29083         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
29084         Moved ...
29085         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
29086         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
29087         Identical file removed.
29088         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
29089         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
29090         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
29091         Identical file removed.
29092         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
29093         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
29094         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
29095         Identical file removed.
29096         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
29097         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
29098         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
29099         Identical file removed.
29100         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
29101         Moved ...
29102         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
29103         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
29104         Identical file removed.
29105         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
29106         Moved ...
29107         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
29108         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
29109         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
29110         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
29111         Identical file removed.
29112         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
29113         Moved ...
29114         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
29115         ... here.
29116         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
29117         Identical file removed.
29118         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
29119         Moved ...
29120         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
29121         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
29122         Identical file removed.
29123         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
29124         Moved ...
29125         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
29126         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
29127         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
29128         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
29129         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
29130         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
29131         Moved ...
29132         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
29133         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
29134         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
29136         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
29137         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
29138         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
29139         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
29140         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
29142 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
29144         [BZ #17092]
29145         * nscd/nscd.c (monitor_child): Return exit status of child
29146         instead of return value from wait syscall.
29148 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
29150         * configure.ac (libc_commonpagesize): Remove variable.
29151         (libc_relro_required): Likewise.
29152         (libc_cv_z_relro): Remove configure test.
29153         * configure: Regenerated.
29154         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
29155         variable.
29156         (libc_relro_required): Likewise.
29157         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
29158         (libc_relro_required): Likewise.
29159         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
29160         (libc_relro_required): Likewise.
29161         * sysdeps/arm/preconfigure: Regenerated.
29162         * sysdeps/ia64/preconfigure: Remove file.
29163         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
29164         variable.
29165         (libc_relro_required): Likewise.
29167         [BZ #16561]
29168         [BZ #16562]
29169         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
29170         (__ieee754_yn): Set FE_TONEAREST mode internally and then
29171         recompute overflowing results in original rounding mode.
29172         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
29173         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
29174         recompute overflowing results in original rounding mode.
29175         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
29176         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29177         recompute overflowing results in original rounding mode.
29178         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
29179         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29180         recompute overflowing results in original rounding mode.
29181         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
29182         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29183         recompute overflowing results in original rounding mode.
29184         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
29185         (libc_feholdsetround_ctx): New macro.
29186         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
29187         * sysdeps/i386/fpu/libm-test-ulps: Update.
29188         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
29190 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29192         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
29193         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
29194         corresponding .cpsetup call.
29196 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29198         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
29199         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
29200         * sysdeps/arm/Makefile [$(subdir) = csu]
29201         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
29202         (static-only-routines): Add aeabi_read_tp here.
29203         (shared-only-routines): Add libc-aeabi_read_tp here.
29204         (CFLAGS-libc-start.c): Add -fexceptions here.
29205         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
29206         (sysdep_routines, static-only-routines, shared-only-routines):
29207         Don't add to these here.
29208         (CFLAGS-libc-start.c): Likewise.
29210         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
29211         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29212         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
29213         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29214         * sysdeps/arm/Makefile [$(subdir) = rt]
29215         (librt-sysdep_routines, librt-shared-only-routines):
29216         Append rt-aeabi_unwind_cpp_pr1 here.
29217         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
29218         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
29219         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
29220         (libpthread-sysdep_routines, libpthread-shared-only-routines):
29221         Append nptl-aeabi_unwind_cpp_pr1 here.
29222         (tests): Filter out tst-cleanupx4 here.
29223         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
29224         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
29225         Don't do those here.
29227 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29229         * scripts/list-sources.sh: Do not handle ports specially.
29231 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29233         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
29234         * sysdeps/arm/feupdateenv.c: Likewise.
29236         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
29238 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29240         * manual/texinfo.tex: Update to version 2014-05-05.10 with
29241         trailing whitespace removed.
29242         * scripts/config.guess: Update to version 2014-03-23.
29243         * scripts/config.sub: Update to version 2014-05-01
29244         * scripts/install-sh: Update to version 2013-12-25.23.
29245         * scripts/move-if-change: Update from gnulib.
29247 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29249         * debug/memmove_chk.c: Remove pagecopy.h include.
29251 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
29253         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
29254         identical to gnulib mktime.
29256 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29258         * configure.ac: Do not test for machine being rs6000.  Do not test
29259         for powerpc*-*soft.
29260         * configure: Regenerated.
29262         [BZ #11505]
29263         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
29264         test.
29265         * configure: Regenerated.
29266         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
29267         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
29268         Remove configure test.
29269         * sysdeps/arm/configure: Regenerated.
29270         * sysdeps/nptl/configure.ac: Do not check
29271         libc_cv_asm_cfi_directives.
29272         * sysdeps/nptl/configure: Regenerated.
29273         * sysdeps/x86_64/nptl/configure.ac: Remove file.
29274         * sysdeps/x86_64/nptl/configure: Remove generated file.
29275         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
29276         unconditional.
29277         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
29279 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29281         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
29282         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
29283         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
29284         it is defined.
29286         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
29287         instead of whether it is defined.
29288         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
29289         * sysdeps/hppa/dl-machine.h: Likewise.
29290         * sysdeps/ia64/dl-machine.h: Likewise.
29291         * sysdeps/m68k/dl-machine.h: Likewise.
29292         * sysdeps/microblaze/dl-machine.h: Likewise.
29293         * sysdeps/mips/dl-machine.: Likewise.
29294         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29295         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29296         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29297         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29298         * sysdeps/sh/dl-machine.h: Likewise.
29299         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29300         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29301         * sysdeps/tile/dl-machine.h: Likewise.
29302         * sysdeps/x86_64/dl-machine.h: Likewise.
29304         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
29305         code.
29306         (verify_persistent_db): Likewise.
29308 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
29311         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
29312         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
29313         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
29314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29315         Moved ...
29316         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
29317         ... here.
29318         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
29319         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
29320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
29321         Identical file removed.
29322         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
29323         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
29324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
29325         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
29326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
29327         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
29328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
29329         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
29330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
29331         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
29332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29333         Moved ...
29334         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
29335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
29336         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
29337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
29338         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
29339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29340         Moved ...
29341         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
29342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
29343         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
29344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
29345         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
29346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29347         Identical file removed.
29348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
29349         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
29350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
29351         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
29352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29353         Moved ...
29354         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
29355         ... here.
29356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
29357         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
29358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
29359         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
29360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
29361         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
29362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
29363         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
29364         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
29365         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
29366         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29367         Moved ...
29368         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
29369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
29370         Moved ...
29371         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
29372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
29373         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
29374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29375         Moved ...
29376         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
29377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
29378         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
29380         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
29381         folded into ...
29382         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
29383         * sysdeps/unix/sysv/linux/s390/Versions
29384         (libpthread: GLIBC_2.19): New version set.
29385         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
29386         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
29387         (librt: GLIBC_2.3.3): New version set.
29388         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
29389         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
29390         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
29391         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
29392         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
29393         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
29394         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
29395         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
29396         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
29397         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
29398         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
29399         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
29400         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
29401         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
29402         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
29403         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
29404         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
29405         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
29406         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
29407         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
29408         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
29409         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
29410         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
29411         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
29412         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
29413         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
29414         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
29415         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
29416         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
29417         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
29418         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
29419         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
29420         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
29421         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
29422         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
29423         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
29424         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
29425         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
29426         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
29427         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
29428         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
29429         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
29430         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
29431         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
29432         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
29434         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
29435         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
29436         (__libc_vfork): Define the function under this name.
29437         [!NOT_IN_libc] (__vfork): Make this an alias.
29438         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29439         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
29440         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
29441         (__libc_vfork): Define the function under this name.
29442         [!NOT_IN_libc] (__vfork): Make this an alias.
29443         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29444         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
29445         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
29446         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
29447         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
29448         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29450         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
29451         code that was previously under [RESET_PID].
29452         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
29453         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
29454         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
29456         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
29457         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
29458         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
29459         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
29460         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
29461         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
29462         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
29463         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
29464         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
29465         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
29466         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
29467         Moved ...
29468         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
29469         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
29470         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
29471         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
29472         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
29473         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
29474         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
29475         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
29476         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
29477         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
29478         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
29479         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
29480         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
29481         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
29482         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
29483         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
29484         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
29485         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
29486         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
29487         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
29488         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
29489         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
29490         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
29491         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
29492         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
29493         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
29494         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
29495         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
29496         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
29498 2014-06-25  Roland McGrath  <roland@hack.frob.com>
29500         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
29501         that was previously under [RESET_PID].
29502         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
29504 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29506         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
29507         not undefine and redefine.
29508         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
29509         [O_CLOEXEC]: Make code unconditional.
29510         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
29511         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
29512         <kernel-features.h>.
29513         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
29514         conditional variable definition.
29515         (shm_open) [O_CLOEXEC]: Make code unconditional.
29516         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
29517         code.
29519         * configure.ac (USE_REGPARMS): Don't define here.
29520         * configure: Regenerated.
29521         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
29522         * sysdeps/i386/configure: Regenerated.
29524         * nptl/createthread.c: Don't include kernel-features.h.
29525         * nptl/pthread_cancel.c: Likewise.
29526         * nptl/pthread_condattr_setclock.c: Likewise.
29527         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
29528         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
29529         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
29530         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
29531         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
29532         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
29533         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
29534         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
29535         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
29536         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
29537         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
29538         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
29539         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
29540         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
29541         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
29542         * nscd/gai.c: Likewise.
29543         * nss/nss_db/db-open.c: Likewise.
29544         * sysdeps/generic/ldsodefs.h: Likewise.
29545         * sysdeps/sh/nptl/tls.h: Likewise.
29546         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
29547         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
29548         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
29549         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
29550         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
29551         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
29552         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
29553         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29554         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29555         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
29556         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
29557         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29558         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
29559         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
29560         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
29561         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
29562         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
29563         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
29564         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
29565         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
29566         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
29567         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
29568         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
29569         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
29570         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
29571         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
29572         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
29573         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
29574         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
29575         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
29576         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
29577         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
29578         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
29579         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29580         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29581         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
29582         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29583         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
29584         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
29585         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
29586         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29587         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
29588         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
29589         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29590         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
29591         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
29592         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
29593         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
29594         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
29595         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
29596         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
29597         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
29598         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
29599         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
29600         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
29601         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29602         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29603         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
29604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
29606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
29607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
29608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
29609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
29610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
29611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
29612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
29615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
29616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
29617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
29618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
29624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
29625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
29626         * sysdeps/unix/sysv/linux/pread.c: Likewise.
29627         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
29628         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
29629         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
29630         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
29631         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
29632         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
29633         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
29634         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
29635         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
29636         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
29637         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
29638         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
29639         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
29640         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
29641         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
29642         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29643         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
29644         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
29645         * sysdeps/unix/sysv/linux/system.c: Likewise.
29646         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
29647         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
29648         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29649         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29650         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29651         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
29652         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29654         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
29655         * configure: Regenerated.
29656         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
29658         * configure.ac (base_machine): Do not set specially for particular
29659         machines here.
29660         * configure: Regenerated.
29661         * sysdeps/powerpc/preconfigure: Move machine and base_machine
29662         settings from configure.ac.
29663         * sysdeps/i386/preconfigure: New file.
29664         * sysdeps/s390/preconfigure: Likewise.
29665         * sysdeps/sh/preconfigure: Likewise.
29666         * sysdeps/sparc/preconfigure: Likewise.
29668 2014-06-25  Roland McGrath  <roland@hack.frob.com>
29670         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
29671         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
29672         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
29673         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
29674         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
29675         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
29676         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
29677         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
29678         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
29679         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
29680         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
29681         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
29682         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
29683         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
29684         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
29685         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
29686         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
29687         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
29688         * sysdeps/sparc/sparc64/Makefile: ... appended here.
29690         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
29691         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
29692         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
29693         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
29694         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
29695         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
29696         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
29697         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
29698         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
29699         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
29700         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
29701         * sysdeps/sparc/sparc32/sem_post.c: ... here.
29702         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
29703         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
29704         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
29705         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
29706         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
29707         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
29708         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
29709         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
29710         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
29711         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
29712         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
29713         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
29714         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
29715         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
29716         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
29717         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
29718         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
29719         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
29720         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
29721         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
29722         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
29723         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
29724         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
29725         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
29726         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
29727         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
29729         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
29730         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
29731         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
29732         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
29733         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
29734         Moved ...
29735         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
29736         ... here.
29737         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
29738         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
29739         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
29740         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
29741         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
29742         Moved ...
29743         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
29744         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
29745         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
29746         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
29747         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
29748         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
29749         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
29750         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29751         Moved ...
29752         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
29753         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
29754         Moved ...
29755         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
29756         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
29757         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
29758         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
29759         Moved ...
29760         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
29761         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
29762         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
29763         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
29764         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
29765         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
29766         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
29767         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
29768         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
29769         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
29770         Moved ...
29771         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
29772         ... here.
29773         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
29774         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
29775         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
29776         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
29777         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
29778         Moved ...
29779         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
29780         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
29781         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
29782         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
29783         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
29784         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
29785         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
29786         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29787         Moved ...
29788         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
29789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
29790         Moved ...
29791         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
29792         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
29793         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
29794         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
29795         Moved ...
29796         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
29797         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
29798         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
29799         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
29800         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
29802 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29804         * timezone/checktab.awk: Update from tzcode 2014e.
29805         * timezone/private.h: Likewise.
29806         * timezone/tzfile.h: Likewise.
29807         * timezone/zdump.c: Likewise.
29808         * timezone/zic.c: Likewise.
29810         * sysdeps/unix/sysv/linux/kernel-features.h
29811         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
29812         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
29813         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
29814         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29815         Remove conditional code.
29817 2014-06-25  Will Newton  <will.newton@linaro.org>
29819         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
29820         (_dl_arm_cap_flags): Add HWCAP2 values.
29821         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
29822         (_DL_HWCAP_COUNT): Increase to 37.
29823         (_DL_HWCAP_LAST): New define.
29824         (_DL_HWCAP2_LAST): New define.
29825         (_dl_procinfo): Add support for printing
29826         AT_HWCAP2 entries.
29827         (_dl_string_hwcap): Use _dl_hwcap_string.
29829 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29831         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29833 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29835         * README: Do not mention ports directory.
29837         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
29838         Remove macro.
29839         * sysdeps/unix/sysv/linux/futimes.c: Do not include
29840         <kernel-features.h>.
29841         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
29842         conditional variable definition.
29843         (__futimes): Update comment.
29844         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
29845         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
29847         [BZ #16560]
29848         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
29849         arguments close to 0.
29850         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
29851         Likewise.
29852         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
29853         Likewise.
29854         * math/auto-libm-test-in: Add more tests of exp10.
29855         * math/auto-libm-test-out: Regenerated.
29856         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29858         * sysdeps/unix/sysv/linux/kernel-features.h
29859         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
29860         * sysdeps/unix/sysv/linux/readv.c: Do not include
29861         <kernel-features.h>.
29862         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
29863         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
29864         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
29865         unconditional.
29866         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
29867         conditional code.
29868         * sysdeps/unix/sysv/linux/writev.c: Do not include
29869         <kernel-features.h>.
29870         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
29871         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
29872         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
29873         unconditional.
29874         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
29875         conditional code.
29877 2014-06-25  Will Newton  <will.newton@linaro.org>
29879         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
29880         comment changes throughout the file.  Remove checks
29881         for HAVE_*_H definitions that are not required.
29882         (__gen_tempname): Call abort if an unknown kind value is
29883         passed.
29885 2014-06-25  Andreas Schwab  <schwab@suse.de>
29887         [BZ #17086]
29888         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
29889         scalbln, scalblnf, scalblnl in libc.
29891 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29893         [BZ #17086]
29894         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
29895         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
29896         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
29898 2014-06-24  Roland McGrath  <roland@hack.frob.com>
29900         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
29901         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
29902         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
29903         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
29904         Update #include.
29905         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
29906         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
29907         Update #include.
29908         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
29909         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
29910         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
29911         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
29912         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
29913         * sysdeps/x86/bits/pthreadtypes.h: ... here.
29914         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
29915         * sysdeps/x86/bits/semaphore.h: ... here.
29916         * sysdeps/x86/nptl/elide.h: Moved ...
29917         * sysdeps/x86/elide.h: ... here.
29918         * sysdeps/x86_64/nptl/Implies: File removed.
29919         * sysdeps/i386/nptl/Implies: File removed.
29921 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
29923         [BZ #16539]
29924         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
29925         return the argument for normal arguments with exponent below -64.
29926         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29927         Likewise.
29928         * math/auto-libm-test-in: Add another test of expm1.
29929         * math/auto-libm-test-out: Regenerated.
29931         [BZ #16287]
29932         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
29933         calling __erfcl for arguments at least 16.
29934         * math/auto-libm-test-in: Add more tests of erf.
29935         * math/auto-libm-test-out: Regenerated.
29937         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
29938         individual architectures.
29939         * sysdeps/unix/sysv/linux/configure: Regenerated.
29940         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
29941         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
29942         * sysdeps/unix/sysv/linux/powerpc/configure.ac
29943         (ldd_rewrite_script): Define variable.
29944         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
29946         file.
29947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
29948         generated file.
29949         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
29950         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
29951         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
29952         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
29953         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
29954         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
29955         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
29956         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
29958 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29960         [BZ #17084]
29961         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
29962         Rename member __data.d to __data.__elision_data.
29964 2014-06-24  Wilco  <wdijkstr@arm.com>
29966         * NEWS: Add 16918 to fixed bug list.
29968 2014-06-24  Wilco  <wdijkstr@arm.com>
29970         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
29972 2014-06-24  Wilco  <wdijkstr@arm.com>
29974         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
29975         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
29976         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
29977         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
29978         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
29979         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
29980         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
29981         Use _FPU_MASK_RM.
29983 2014-06-24  Wilco  <wdijkstr@arm.com>
29985         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
29987 2014-06-24  Wilco  <wdijkstr@arm.com>
29989         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
29990         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
29991         * sysdeps/arm/fesetround.c (fesetround): Remove space.
29992         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
29994 2014-06-24  Wilco  <wdijkstr@arm.com>
29996         [BZ #16918]
29997         * sysdeps/arm/feupdateenv.c (feupdateenv):
29998         Rewrite to reduce FPSCR accesses and fix return value.
30000 2014-06-24  Wilco  <wdijkstr@arm.com>
30002         * sysdeps/arm/fclrexcpt.c (feclearexcept):
30003         Optimize to avoid unnecessary FPSCR writes.
30004         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
30005         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
30006         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
30007         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
30009 2014-06-24  Wilco  <wdijkstr@arm.com>
30011         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
30012         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
30013         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
30014         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
30015         Call libc_fetestexcept_vfp.
30016         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
30017         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
30018         __SOFTFP__ ifdef so that they can be built for softfp.
30020 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30022         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
30023         argument type signed char.
30025         * Makerules (check-abi): Dump diff of symlist if the test
30026         fails.
30028 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30030         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
30031         using abort.
30033         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30034         Remove unused variable ST.
30036 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
30038         [BZ #16354]
30039         [BZ #17061]
30040         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
30041         small arguments before calling __expm1.
30042         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
30043         small arguments before calling __expm1f.
30044         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
30045         small arguments before calling __expm1l.
30046         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
30047         Likewise.
30048         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
30049         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
30050         spurious underflow for some cosh tests.
30051         * math/auto-libm-test-out: Regenerated.
30052         * sysdeps/i386/fpu/libm-test-ulps: Update.
30054         [BZ #17050]
30055         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
30056         (__ieee754_y1): Set errno if return value overflows.
30057         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
30058         (__ieee754_y1f): Set errno if return value overflows.
30059         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
30060         (__ieee754_y1l): Set errno if return value overflows.
30061         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
30062         (__ieee754_y1l): Set errno if return value overflows.
30063         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
30064         * math/auto-libm-test-out: Regenerated.
30066         * math/gen-auto-libm-tests.c: Document use of
30067         ignore-zero-inf-sign.
30068         (input_flag_type): Add value flag_ignore_zero_inf_sign.
30069         (input_flags): Add ignore-zero-inf-sign.
30070         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
30071         * math/gen-libm-test.pl (generate_testfile): Handle
30072         ignore-zero-inf-sign.
30073         * math/auto-libm-test-in: Mark some cpow tests with
30074         ignore-zero-inf-sign and some with xfail-rounding.
30075         * math/auto-libm-test-out: Regenerated.
30076         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
30077         * sysdeps/i386/fpu/libm-test-ulps: Update.
30078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30080         [BZ #16315]
30081         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
30082         overflowing or underflowing operations take place with sign of
30083         result.
30084         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30085         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30086         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
30087         (__ieee754_pow): Recompute overflowing and underflowing results in
30088         original rounding mode.
30089         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
30090         (__powl_helper): Allow negative argument X and scale negated value
30091         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
30092         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
30093         overflowing or underflowing operations take place with sign of
30094         result.
30095         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
30096         Include <math.h>.
30097         * math/auto-libm-test-in: Add more tests of pow.
30098         * math/auto-libm-test-out: Regenerated.
30099         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
30100         (pow_tonearest_test_data): Remove.
30101         (pow_test_tonearest): Likewise.
30102         (pow_towardzero_test_data): Likewise.
30103         (pow_test_towardzero): Likewise.
30104         (pow_downward_test_data): Likewise.
30105         (pow_test_downward): Likewise.
30106         (pow_upward_test_data): Likewise.
30107         (pow_test_upward): Likewise.
30108         (main): Don't call removed functions.
30109         * sysdeps/i386/fpu/libm-test-ulps: Update.
30110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30112 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
30115         Moved ...
30116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
30117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30118         Moved ...
30119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
30120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30121         Moved ...
30122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
30123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30124         Moved ...
30125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
30126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30127         File removed.
30128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30129         File removed.
30130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
30131         File removed.
30132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
30133         File removed.
30134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
30135         File removed.
30136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
30137         File removed.
30138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
30139         File removed.
30140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30141         File removed.
30142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
30143         File removed.
30144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30145         File removed.
30146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
30147         File removed.
30148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
30149         File removed.
30150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
30151         Moved ...
30152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
30153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
30154         Moved ...
30155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
30156         ... here.
30157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
30158         Moved ...
30159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
30160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
30161         Moved ...
30162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
30163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
30164         Moved ...
30165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
30166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
30167         Moved ...
30168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
30169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
30170         Moved ...
30171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
30172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
30173         Moved ...
30174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
30175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
30176         Moved ...
30177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
30178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
30179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
30180         ... here.
30181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
30182         Moved ...
30183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
30184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30185         Moved ...
30186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
30187         ... here.
30188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
30189         Moved ...
30190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30191         ... here.
30192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30193         Moved ...
30194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
30195         ... here.
30196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30197         Moved ...
30198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
30199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30200         Moved ...
30201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
30202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
30203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
30204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30205         Moved ...
30206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
30207         ... here.
30208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30209         Moved ...
30210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
30211         ... here.
30212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
30213         Moved ...
30214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
30215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30216         Moved ...
30217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
30218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
30219         Moved ...
30220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
30221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30222         Moved ...
30223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
30224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
30225         Moved ...
30226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
30227         ... here.
30228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30229         Moved ...
30230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
30231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
30232         Moved ...
30233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
30234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30235         Moved ...
30236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
30237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
30238         Moved ...
30239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
30240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
30241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
30242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
30243         Moved ...
30244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
30245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30246         Moved ...
30247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
30248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
30249         Moved ...
30250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
30251         ... here.
30252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30253         Moved ...
30254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
30255         ... here.
30256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
30257         Moved ...
30258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
30259         ... here.
30260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30261         Moved ...
30262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
30263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
30264         Moved ...
30265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
30266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30267         Moved ...
30268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
30269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
30270         Moved ...
30271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
30272         ... here.
30273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30274         Moved ...
30275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
30276         ... here.
30277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
30278         Moved ...
30279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
30280         ... here.
30281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30282         Moved ...
30283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
30284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30285         Moved ...
30286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
30288 2014-06-23  Will Newton  <will.newton@linaro.org>
30289             Wilco  <wdijkstr@arm.com>
30291         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
30292         implementation.  Include get-rounding-mode.h.
30293         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
30294         [!libc_feholdsetround_noex_ctx]: Define
30295         libc_feholdsetround_noex_ctx.
30296         [!libc_feholdsetround_noexf_ctx]: Define
30297         libc_feholdsetround_noexf_ctx.
30298         [!libc_feholdsetround_noexl_ctx]: Define
30299         libc_feholdsetround_noexl_ctx.
30300         (libc_feholdsetround_ctx): New function.
30301         (libc_feresetround_ctx): New function.
30302         (libc_feholdsetround_noex_ctx): New function.
30303         (libc_feresetround_noex_ctx): New function.
30305 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30307         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
30308         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
30309         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
30310         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
30311         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
30312         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
30314         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
30315         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
30316         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
30317         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
30318         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
30319         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
30320         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
30321         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
30322         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
30323         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
30324         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
30325         Moved ...
30326         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
30327         ... here.
30328         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
30329         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
30330         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
30331         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
30332         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
30333         Moved ...
30334         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
30335         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
30336         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
30337         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
30338         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
30339         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
30340         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
30341         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
30342         Moved ...
30343         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
30344         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
30345         Moved ...
30346         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
30347         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
30348         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
30349         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
30350         Moved ...
30351         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
30352         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
30353         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
30354         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
30355         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
30356         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
30357         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
30358         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
30359         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
30360         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
30361         Moved ...
30362         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
30363         ... here.
30364         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
30365         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
30366         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
30367         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
30368         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
30369         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
30370         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
30371         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
30372         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
30373         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
30374         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
30375         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
30376         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
30377         Moved ...
30378         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
30379         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
30380         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
30381         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
30382         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
30383         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
30384         Moved ...
30385         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
30386         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
30387         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
30388         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
30389         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
30391         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
30392         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
30393         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
30394         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
30395         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
30396         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
30397         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
30398         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
30399         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
30400         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
30401         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
30402         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
30403         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
30404         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
30405         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
30406         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
30407         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
30408         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
30409         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
30410         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
30411         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
30412         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
30413         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
30414         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
30415         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
30416         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
30417         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
30418         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
30420 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
30422         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30423         (FALLOC_FL_COLLAPSE_RANGE): New macro.
30424         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
30425         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
30426         (IPV6_PMTUDISC_INTERFACE): Likewise.
30427         (IPV6_PMTUDISC_OMIT): Likewise.
30429 2014-06-23  Andreas Schwab  <schwab@suse.de>
30431         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
30432         Remove unused errout label.
30434 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30436         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
30437         macro: hardware supports Vector Crypto instructions.
30439 2014-06-23  Will Newton  <will.newton@linaro.org>
30441         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
30442         rather than __builtin_expect.
30444         * elf/dl-lookup.c (undefined_msg): Remove variable.
30445         (_dl_lookup_symbol_x): Replace undefined_msg with string
30446         literal.
30448         * elf/dl-lookup.c (do_lookup_unique): New function.
30449         (do_lookup_x): Move STB_GNU_UNIQUE handling code
30450         to a separate function.
30452 2014-06-23  Andreas Schwab  <schwab@suse.de>
30454         [BZ #17079]
30455         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
30456         before reading the next line.
30458 2014-06-23  Will Newton  <will.newton@linaro.org>
30460         * test-skeleton.c (signal_handler): Use printf and %m
30461         rather than perror.  Use printf rather than fprintf to
30462         stderr.  Use puts rather than fputs to stderr.
30463         (main): Likewise.
30465 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
30467         * nscd/nscd.c (thread_info_t): Remove typedef.
30468         (thread_info): Remove variable.
30470 2014-06-21  Allan McRae  <allan@archlinux.org>
30472         * NEWS: Mention CVE-2014-4043.
30474 2014-06-20  Roland McGrath  <roland@hack.frob.com>
30476         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
30477         * nptl/smp.h: ... here.
30479         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
30481         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
30482         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
30483         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
30484         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
30486         * nptl/allocatestack.c: Include <stack-aliasing.h>.
30487         * nptl/stack-aliasing.h: New file.
30488         * sysdeps/i386/i686/stack-aliasing.h: New file.
30489         * sysdeps/i386/i686/nptl/Makefile: File removed.
30490         * sysdeps/x86_64/stack-aliasing.h: New file.
30491         * sysdeps/x86_64/nptl/Makefile
30492         (CFLAGS-pthread_create.c): Variable removed.
30494         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
30495         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
30496         old file.
30497         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
30498         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
30499         old file.
30501 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
30503         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30504         (__ASSUME_SIGFRAME_V2): Remove macro.
30505         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
30506         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
30507         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
30508         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
30509         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
30510         Declare as function.  Remove conditional macro definitions.
30511         (__default_rt_sa_restorer): Likewise.
30512         (__default_sa_restorer_v1): Remove declaration.
30513         (__default_sa_restorer_v2): Likewise.
30514         (__default_rt_sa_restorer_v1): Likewise.
30515         (__default_rt_sa_restorer_v2): Likewise.
30516         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
30517         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
30518         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
30520 2014-06-20  Roland McGrath  <roland@hack.frob.com>
30522         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
30523         (libpthread-routines): Add sysdep.
30524         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
30525         * sysdeps/unix/sysv/linux/sparc/Versions
30526         (libpthread: GLIBC_2.3.3): New version set.
30527         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
30528         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
30529         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
30530         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
30531         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
30532         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
30533         Moved ...
30534         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
30535         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
30536         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
30537         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
30538         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
30539         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
30540         * sysdeps/sparc/nptl/sem_init.c: ... here.
30541         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
30542         * sysdeps/sparc/nptl/sem_post.c: ... here.
30543         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
30544         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
30545         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
30546         * sysdeps/sparc/nptl/sem_wait.c: ... here.
30547         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
30548         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
30549         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
30550         (libpthread-routines): Add cpu_relax.
30551         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
30552         File removed.
30553         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
30554         (librt: GLIBC_2.3.3): New version set.
30555         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
30556         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
30557         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
30558         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
30559         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
30560         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
30561         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
30562         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
30563         Moved ...
30564         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
30565         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
30566         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
30567         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
30568         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
30569         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
30570         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
30571         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
30572         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
30573         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
30574         Moved ...
30575         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
30576         Update #include.
30577         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
30578         Moved ...
30579         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
30580         Update #include.
30581         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
30582         Moved ...
30583         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
30584         Update #include.
30585         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
30586         Moved ...
30587         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
30588         Update #include.
30589         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
30590         Moved ...
30591         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
30592         Update #include.
30593         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
30594         Moved ...
30595         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
30596         Update #include.
30597         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
30598         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
30599         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
30600         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
30601         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
30602         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
30603         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
30604         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
30605         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
30606         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
30607         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
30608         Moved ...
30609         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
30610         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
30611         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
30612         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
30613         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
30615 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30617         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
30618         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
30619         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
30620         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
30621         * nscd/nscd.c: Likewise.
30622         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
30623         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
30624         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
30625         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
30627         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
30628         <kernel-features.h>.
30629         (init_mq_netlink): Remove conditional have_sock_cloexec
30630         definitions.  Remove code conditional on have_sock_cloexec < 0.
30631         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
30632         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
30633         * sysdeps/unix/sysv/linux/opensock.c: Do not include
30634         <kernel-features.h>.
30635         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
30636         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
30638 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
30640         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30641         Add tests for memset_chk and memset.
30643         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
30644         with AVX2_Usable.
30646 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
30648         [BZ #16046]
30649         * elf/tst-dl-iter-static.c: New file.
30650         * elf/Makefile (tests-static): Add tst-dl-iter-static.
30652         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
30653         error.
30655 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30657         * sysdeps/unix/sysv/linux/kernel-features.h
30658         (__ASSUME_F_GETOWN_EX): Remove macro.
30659         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
30660         <kernel-features.h>.
30661         (miss_F_GETOWN_EX): Remove variable or macro.
30662         (do_fcntl): Do not check miss_F_GETOWN_EX.
30663         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
30665         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
30666         Remove macro.
30667         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
30668         [!__ASSUME_AT_RANDOM]: Remove conditional code.
30669         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
30671         * sysdeps/unix/sysv/linux/kernel-features.h
30672         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
30673         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
30674         [ADJ_OFFSET_SS_READ]: Make code unconditional.
30675         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
30677 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
30679         [BZ #17075]
30680         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
30681         Fix calculation of the symbol's value.
30682         * sysdeps/arm/tst-armtlsdescloc.c: New file.
30683         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
30684         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
30685         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
30686         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
30687         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
30688         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
30689         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
30690         (modules-names): Add `tst-armtlsdescmod',
30691         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
30692         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
30693         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
30694         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
30695         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
30696         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
30697         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
30698         ($(objpfx)tst-armtlsdescloc): New dependency.
30699         ($(objpfx)tst-armtlsdescextnow): Likewise.
30700         ($(objpfx)tst-armtlsdescextlazy): Likewise.
30701         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
30702         TLS scheme support.
30703         * sysdeps/arm/configure: Regenerate.
30705 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30707         * include/fcntl.h (__atfct_seterrno): Remove prototype.
30708         (__atfct_seterrno_2): Likewise.
30709         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
30710         <kernel-features.h>.
30711         (__ASSUME_ATFCTS): Do not undefine and redefine.
30712         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
30713         (__have_atfcts): Remove conditional definition.
30714         (__fxstatat([__NR_fstatat64]: Make code unconditional.
30715         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
30716         unreachable if [__ASSUME_ATFCTS].
30717         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
30718         not undefine and redefine.
30719         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
30720         <kernel-features.h>.
30721         (faccessat) [__NR_faccessat]: Make code unconditional.
30722         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
30723         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
30724         <kernel-features.h>.
30725         (fchmodat) [__NR_fchmodat]: Make code unconditional.
30726         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30727         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
30728         <kernel-features.h>.
30729         (fchownat) [__NR_fchownat]: Make code unconditional.
30730         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
30731         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
30732         <kernel-features.h>.
30733         (futimesat) [__NR_futimesat]: Make code unconditional.
30734         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
30735         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30736         <kernel-features.h>.
30737         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30738         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30739         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30740         <kernel-features.h>.
30741         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
30742         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30743         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
30744         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30745         <kernel-features.h>.
30746         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
30747         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30748         * sysdeps/unix/sysv/linux/linkat.c: Do not include
30749         <kernel-features.h>.
30750         (linkat) [__NR_linkat]: Make code unconditional.
30751         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30752         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
30753         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
30754         <kernel-features.h>.
30755         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
30756         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30757         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
30758         <kernel-features.h>.
30759         (mkdirat) [__NR_mkdirat]: Make code unconditional.
30760         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
30761         * sysdeps/unix/sysv/linux/openat.c: Do not include
30762         <kernel-features.h>.
30763         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
30764         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
30765         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
30766         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
30767         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
30768         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
30769         <kernel-features.h>.
30770         (readlinkat) [__NR_readlinkat]: Make code unconditional.
30771         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
30772         result of INLINE_SYSCALL directly, not via int variable.
30773         * sysdeps/unix/sysv/linux/renameat.c: Do not include
30774         <kernel-features.h>.
30775         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
30776         (renameat) [__NR_renameat]: Make code unconditional.
30777         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
30778         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
30779         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
30780         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
30781         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
30782         (__ASSUME_ATFCTS): Do not undefine and redefine.
30783         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
30784         <kernel-features.h>.
30785         (symlinkat) [__NR_symlinkat]: Make code unconditional.
30786         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30787         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
30788         <kernel-features.h>.
30789         (unlinkat) [__NR_unlinkat]: Make code unconditional.
30790         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30791         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
30792         (__ASSUME_ATFCTS): Do not undefine and redefine.
30793         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30794         <kernel-features.h>.
30795         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30796         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30797         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30798         <kernel-features.h>.
30799         (__xmknodat) [__NR_mknodat]: Make code unconditional.
30800         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30802 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
30804         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
30806 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
30808         [BZ #17069]
30809         * posix/regcomp.c (parse_reg_exp): Deallocate partially
30810         constructed tree before returning error.
30811         * posix/bug-regexp36.c: Expand test case.
30813 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
30815         [BZ #6803]
30816         * math/libm-test.inc (scalbln_test_date):
30817         Add errno expectations.
30818         * math/w_scalblnf.c: New File.
30819         Add wrapper which checks for setting errno to ERANGE.
30820         Add weak_alias for corresponding scalbln function.
30821         * math/w_scalbln.c: Likewise.
30822         * math/w_scalblnl.c: Likewise.
30823         * math/Makefile (libm-calls): Add w_scalbln.
30824         * sysdeps/ieee754/flt-32/s_scalblnf.c:
30825         Remove weak_alias for corresponding scalbln function.
30826         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30827         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30828         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30829         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30830         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
30831         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30832         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
30833         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30834         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
30835         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
30836         Remove long_double_symbol for scalblnl function in libm, libc.
30837         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
30838         Add wrapper which checks for setting errno to ERANGE.
30839         Add long_double_symbol for scalblnl function in libm, libc.
30840         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
30841         Remove long_double_symbol for scalblnl in libm.
30842         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
30843         Add wrapper which checks for setting errno to ERANGE.
30844         Add long_double_symbol for scalblnl function in libm.
30845         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
30846         Do not use wrapper because of own implementation.
30848 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
30850         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
30851         3 bytes for __pad1 for x32.
30852         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
30854 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
30855             H.J. Lu  <hongjiu.lu@intel.com>
30857         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
30858         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
30859         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30860         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30861         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
30863 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
30865         [BZ #17069]
30866         * posix/regcomp.c (parse_expression): Deallocate partially
30867         constructed tree before returning error.
30868         * posix/Makefile.c (tests): Add bug-regex36.
30869         (generated): Add bug-regex36.mtrace.
30870         (tests-special): Add $(objpfx)bug-regex36-mem.out
30871         (bug-regex36-ENV): New variable.
30872         ($(objpfx)bug-regex36-mem.out): New rule.
30873         * posix/bug-regex36.c: New file.
30875 2014-06-19  Will Newton  <will.newton@linaro.org>
30877         * malloc/malloc.c (systrim): If extra is zero then return
30878         early.
30880 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30882         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
30884 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
30886         * sysdeps/aarch64/strchr.S: New file.
30888 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
30890         [BZ #17022]
30891         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
30892         from arguments -2 or below.
30893         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
30894         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
30896 2014-06-18  Andreas Schwab  <schwab@suse.de>
30898         [BZ #17062]
30899         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
30900         of a bracket expr not to run off the end of the string.
30901         * posix/Makefile (tests): Add tst-fnmatch3.
30902         * posix/tst-fnmatch3.c: New file.
30904 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
30906         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
30907         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30908         [$(cross-compiling) = no]: Likewise.
30909         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30910         [$(cross-compiling) = no]: Likewise.
30912 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30914         [BZ #17031]
30915         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
30916         double, adjusted for any remainder from the high double.
30917         * math/libm-test.inc (nearbyint): Add tests.
30918         (rint): Likewise.
30920 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30922         * nptl/sysdeps/powerpc/Makefile: Moved ...
30923         * sysdeps/powerpc/nptl/Makefile: ... here.
30924         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
30925         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
30926         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
30927         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
30928         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
30929         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
30930         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
30931         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
30932         * nptl/sysdeps/powerpc/tls.h: Moved ...
30933         * sysdeps/powerpc/nptl/tls.h: ... here.
30935 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
30937         [BZ #16681]
30938         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
30939         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
30940         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
30941         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
30942         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
30943         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
30944         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
30945         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
30946         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
30948 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
30950         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30952 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
30954         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
30955         defined operator.
30957         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
30958         $TIMEOUTFACTOR.
30960 2014-06-16  Florian Weimer  <fweimer@redhat.com>
30962         [BZ #17058]
30963         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
30964         non-executed part of the test.
30966 2014-06-16  Andreas Schwab  <schwab@suse.de>
30968         * string/bits/string2.h (strdup, strndup): Update feature guard.
30970 2014-06-14  David S. Miller  <davem@davemloft.net>
30972         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30974 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
30976         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
30977         that was previously under [RESET_PID].
30978         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
30980         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
30981         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
30982         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
30983         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30984         (__libc_vfork): New strong alias.
30985         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
30987 2014-06-14 Andi Kleen  <ak@linux.intel.com>
30989         * sysdeps/generic/elide.h: New file.
30991 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30993         * Makefile (installed-headers): Adjust path of pthread.h header.
30995 2014-06-13  Roland McGrath  <roland@hack.frob.com>
30997         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
30998         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
30999         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
31000         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
31002         * nptl/sysdeps/s390/Makefile: Moved ...
31003         * sysdeps/s390/nptl/Makefile: ... here.
31004         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
31005         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
31006         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
31007         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
31008         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
31009         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
31010         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
31011         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
31012         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
31013         * sysdeps/s390/nptl/pthreaddef.h: ... here.
31014         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
31015         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
31016         * nptl/sysdeps/s390/tls.h: Moved ...
31017         * sysdeps/s390/nptl/tls.h: ... here.
31019         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
31020         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
31022 2014-06-13  David S. Miller  <davem@davemloft.net>
31024         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
31025         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
31026         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
31027         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
31028         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
31029         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
31030         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
31031         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
31032         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
31033         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
31034         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
31035         Remove RESET_PID cpp guards.
31036         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
31037         Remove RESET_PID cpp guards.
31038         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
31040 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
31042         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
31043         __sp to uintptr_t.
31045 2014-06-13  Andi Kleen  <ak@linux.intel.com>
31047         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
31048         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
31049         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
31050         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
31051         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
31052         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
31053         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
31054         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
31055         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
31056         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
31057         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
31058         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
31059         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
31060         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
31061         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
31062         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
31063         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
31064         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
31065         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
31066         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
31068         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
31069         (pthread_rwlock_rdlock): Add elision.
31070         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
31071         (pthread_rwlock_wrlock): Add elision.
31072         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
31073         (pthread_rwlock_trywrlock): Add elision.
31074         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
31075         (pthread_rwlock_tryrdlock): Add elision.
31076         * nptl/pthread_rwlock_unlock.c: Include elide.h.
31077         (pthread_rwlock_tryrdlock): Add elision unlock.
31078         * nptl/sysdeps/pthread/pthread.h:
31079         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
31080         (PTHREAD_RWLOCK_INITIALIZER,
31081         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
31082         Handle new elision field.
31083         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
31084         * sysdeps/arm/nptl/bits/pthreadtypes.h
31085         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31086         * sysdeps/sh/nptl/bits/pthreadtypes.h
31087         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31088         * sysdeps/tile/nptl/bits/pthreadtypes.h
31089         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31090         * sysdeps/a/nptl/bits/pthreadtypes.h
31091         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31092         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
31093         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31094         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
31095         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31096         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
31097         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31098         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
31099         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31100         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
31101         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31102         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
31103         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31104         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
31105         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31106         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
31107         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31108         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
31109         (elision_init): Set try_xbegin to zero when no RTM.
31110         * sysdeps/x86/nptl/bits/pthreadtypes.h
31111         (pthread_rwlock_t): Change __pad1 to __rwelision.
31112         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31114 2014-06-13  Andi Kleen  <ak@linux.intel.com>
31116         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
31117         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
31118         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
31119         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
31121 2014-06-13  Meador Inge  <meadori@codesourcery.com>
31123         [BZ #16996]
31124         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
31125         that the cached result has been set before returning it.
31127 2014-06-12  Roland McGrath  <roland@hack.frob.com>
31129         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
31130         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
31131         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
31132         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
31133         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
31134         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
31136         * nptl/sysdeps/sparc/Makefile: Moved ...
31137         * sysdeps/sparc/nptl/Makefile: ... here.
31138         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
31139         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
31140         * nptl/sysdeps/sparc/tls.h: Moved ...
31141         * sysdeps/sparc/nptl/tls.h: ... here.
31142         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
31143         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
31144         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
31145         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
31146         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
31147         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
31148         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
31149         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
31150         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
31151         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
31152         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
31153         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
31154         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
31155         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
31156         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
31157         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
31158         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
31159         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
31160         Update #include.
31161         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
31162         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
31163         Update #include.
31164         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
31165         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
31166         Update #include.
31167         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
31168         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
31169         Update #include.
31171         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31173         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
31174         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
31176         * sysdeps/pthread/posix-timer.h: Include <list.h>.
31177         (struct list_links): Type removed.
31178         (struct thread_node, struct timer_node): Replace struct list_links
31179         with struct list_head.
31180         (list_unlink_ip): Likewise.
31181         * sysdeps/pthread/timer_routines.c
31182         (timer_free_list, thread_free_list, thread_active_list): Likewise.
31183         (list_append, list_insbefore): Likewise.
31184         (list_init): Function removed.
31185         (thread_init, init_module): Use INIT_LIST_HEAD instead.
31186         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
31187         * sysdeps/pthread/Makefile: ... here, new file.
31189         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
31190         * sysdeps/nptl/Implies: ... here.
31191         * sysdeps/unix/sysv/linux/Implies: Add nptl.
31192         * nptl/sysdeps/pthread/list.h: Moved ...
31193         * include/list.h: ... here.
31194         * nptl/sysdeps/pthread/createthread.c: Moved ...
31195         * nptl/createthread.c: ... here.
31196         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
31197         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
31198         * nptl/pt-longjmp.c: ... here.
31199         * nptl/sysdeps/pthread/Makefile: Moved ...
31200         * sysdeps/nptl/Makefile: ... here.
31201         * nptl/sysdeps/pthread/Subdirs: Moved ...
31202         * sysdeps/nptl/Subdirs: ... here.
31203         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
31204         * sysdeps/nptl/aio_misc.h: ... here.
31205         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
31206         * sysdeps/nptl/bits/libc-lock.h: ... here.
31207         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
31208         * sysdeps/nptl/bits/libc-lockP.h: ... here.
31209         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
31210         * sysdeps/nptl/bits/stdio-lock.h: ... here.
31211         * nptl/sysdeps/pthread/configure: Moved ...
31212         * sysdeps/nptl/configure: ... here.
31213         * nptl/sysdeps/pthread/configure.ac: Moved ...
31214         * sysdeps/nptl/configure.ac: ... here.
31215         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
31216         * sysdeps/nptl/gai_misc.h: ... here.
31217         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
31218         * sysdeps/nptl/librt-cancellation.c: ... here.
31219         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
31220         * sysdeps/nptl/malloc-machine.h: ... here.
31221         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
31222         * sysdeps/nptl/pthread-functions.h: ... here.
31223         * nptl/sysdeps/pthread/pthread.h: Moved ...
31224         * sysdeps/nptl/pthread.h: ... here.
31225         * nptl/sysdeps/pthread/setxid.h: Moved ...
31226         * sysdeps/nptl/setxid.h: ... here.
31227         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
31228         * sysdeps/nptl/sigfillset.c: ... here.
31229         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
31230         * sysdeps/nptl/tcb-offsets.h: ... here.
31231         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
31232         * sysdeps/nptl/tst-mqueue8x.c: ... here.
31233         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
31234         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
31235         * nptl/sysdeps/pthread/allocalim.h: Moved ...
31236         * sysdeps/pthread/allocalim.h: ... here.
31237         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
31238         * sysdeps/pthread/bits/sigthread.h: ... here.
31239         * nptl/sysdeps/pthread/flockfile.c: Moved ...
31240         * sysdeps/pthread/flockfile.c: ... here.
31241         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
31242         * sysdeps/pthread/ftrylockfile.c: ... here.
31243         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
31244         * sysdeps/pthread/funlockfile.c: ... here.
31245         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
31246         * sysdeps/pthread/posix-timer.h: ... here.
31247         * nptl/sysdeps/pthread/timer_create.c: Moved ...
31248         * sysdeps/pthread/timer_create.c: ... here.
31249         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
31250         * sysdeps/pthread/timer_delete.c: ... here.
31251         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
31252         * sysdeps/pthread/timer_getoverr.c: ... here.
31253         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
31254         * sysdeps/pthread/timer_gettime.c: ... here.
31255         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
31256         * sysdeps/pthread/timer_routines.c: ... here.
31257         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
31258         * sysdeps/pthread/timer_settime.c: ... here.
31259         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
31260         * sysdeps/pthread/tst-timer.c: ... here.
31261         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
31262         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
31264         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
31265         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
31267         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
31268         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
31269         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
31270         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
31271         Update #include target.
31272         * nptl/sysdeps/i386/i686/Makefile: Moved ...
31273         * sysdeps/i386/i686/nptl/Makefile: ... here.
31274         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
31275         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
31276         Update #include target.
31277         * nptl/sysdeps/i386/i686/tls.h: Moved ...
31278         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
31279         * nptl/sysdeps/i386/Makefile: Moved ...
31280         * sysdeps/i386/nptl/Makefile: ... here.
31281         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
31282         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
31283         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
31284         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
31285         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
31286         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
31287         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
31288         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
31289         * sysdeps/i386/nptl/pthreaddef.h: ... here.
31290         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
31291         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
31292         * nptl/sysdeps/i386/tls.h: Moved ...
31293         * sysdeps/i386/nptl/tls.h: ... here.
31295         * sysdeps/sh/Makefile [$(subdir) = csu]
31296         (gen-as-const-headers): Add tcb-offsets.sym.
31297         * nptl/sysdeps/sh/Makefile: File removed.
31298         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
31299         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
31300         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
31301         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
31302         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
31303         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
31304         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
31305         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
31306         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
31307         * sysdeps/sh/nptl/pthreaddef.h: ... here.
31308         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
31309         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
31310         * nptl/sysdeps/sh/tls.h: Moved ...
31311         * sysdeps/sh/nptl/tls.h: ... here.
31312         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
31313         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
31314         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
31315         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
31316         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
31317         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
31318         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
31319         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
31320         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
31321         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
31322         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
31323         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
31324         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
31325         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
31326         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
31327         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
31328         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
31329         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
31330         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
31331         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
31332         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
31333         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
31334         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
31335         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
31336         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
31337         Moved ...
31338         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
31339         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
31340         Moved ...
31341         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
31342         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
31343         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
31344         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
31345         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
31346         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
31347         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
31348         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
31349         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
31350         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
31351         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
31352         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
31353         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
31354         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
31355         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
31356         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
31357         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
31358         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
31359         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
31361 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31363         * posix/spawn_faction_addopen.c: Include string.h.
31365 2014-06-11  Roland McGrath  <roland@hack.frob.com>
31367         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
31368         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
31369         * nptl/sysdeps/x86_64/Makefile: Moved ...
31370         * sysdeps/x86_64/nptl/Makefile: ... here.
31371         * nptl/sysdeps/x86_64/configure: Moved ...
31372         * sysdeps/x86_64/nptl/configure: ... here.
31373         * nptl/sysdeps/x86_64/configure.ac: Moved ...
31374         * sysdeps/x86_64/nptl/configure.ac: ... here.
31375         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
31376         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
31377         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
31378         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
31379         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
31380         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
31381         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
31382         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
31383         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
31384         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
31385         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
31386         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
31387         * nptl/sysdeps/x86_64/tls.h: Moved ...
31388         * sysdeps/x86_64/nptl/tls.h: ... here.
31389         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
31390         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
31391         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
31392         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
31394         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
31396 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31398         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31400 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
31402         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
31403         type.
31404         [POSIX] (off_t): Likewise.
31405         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
31406         [POSIX] (S_ISBLK): Require macro.
31407         [POSIX] (S_ISCHR): Likewise.
31408         [POSIX] (S_ISDIR): Likewise.
31409         [POSIX] (S_ISFIFO): Likewise.
31410         [POSIX] (S_ISREG): Likewise.
31411         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
31412         optional-macro.
31413         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
31414         type.
31415         [POSIX] (time_t): Likewise.
31416         [POSIX] (timer_t): Likewise.
31418 2014-06-11  Florian Weimer  <fweimer@redhat.com>
31420         [BZ #17048]
31421         * posix/spawn_int.h (struct __spawn_action): Make the path string
31422         non-const to support deallocation.
31423         * posix/spawn_faction_addopen.c
31424         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
31425         * posix/spawn_faction_destroy.c
31426         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
31427         path in all spawn_do_open actions.
31428         * posix/tst-spawn.c (do_test): Exercise the copy operation in
31429         posix_spawn_file_actions_addopen.
31431 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
31433         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
31434         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
31435         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
31436         conditional code always true.
31437         (__libc_vfork): New alias.
31439 2014-06-11  Roland McGrath  <roland@hack.frob.com>
31441         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31442         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
31444         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
31446         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31447         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
31449         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31450         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
31452         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31453         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
31455 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31457         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
31458         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
31459         multiarch strcmp for PPC64.
31460         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
31461         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
31462         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
31463         multiarch optimizations.
31464         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31465         (__libc_ifunc_impl_list): Likewise.
31467 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31469         * benchtests/scripts/validate_benchout.py: New script.
31470         * benchtests/Makefile (bench-func): Call it.
31471         * benchtests/scripts/benchout.schema.json: New file.
31473 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
31475         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
31476         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
31477         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
31478         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
31479         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
31480         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
31481         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
31482         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
31483         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
31484         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
31485         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
31486         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
31487         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
31488         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
31489         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
31490         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
31491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
31492         Moved ...
31493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
31494         ... here.
31495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
31496         Moved ...
31497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
31498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
31499         Moved ...
31500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
31501         ... here.
31502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
31503         Moved ...
31504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
31505         ... here.
31506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
31507         Moved ...
31508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
31509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
31510         Moved ...
31511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
31512         ... here.
31513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
31514         Moved ...
31515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
31516         ... here.
31517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
31518         Moved ...
31519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
31520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
31521         Moved ...
31522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
31523         ... here.
31524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
31525         Moved ...
31526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
31527         ... here.
31528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
31529         Moved ...
31530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
31531         ... here.
31532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
31533         Moved ...
31534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
31535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
31536         Moved ...
31537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
31538         ... here.
31539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
31540         Moved ...
31541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
31542         ... here.
31543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
31544         Moved ...
31545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
31546         ... here.
31547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
31548         Moved ...
31549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
31550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
31551         Moved ...
31552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
31553         ... here.
31554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
31555         Moved ...
31556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
31557         ... here.
31558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
31559         Moved ...
31560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
31561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
31562         Moved ...
31563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
31564         ... here.
31565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
31566         Moved ...
31567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
31568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
31569         Moved ...
31570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
31571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
31572         Moved ...
31573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
31574         ... here.
31575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
31576         Moved ...
31577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
31578         ... here.
31579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
31580         Moved ...
31581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
31582         ... here.
31583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
31584         Moved ...
31585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
31586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
31587         Moved ...
31588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
31589         ... here.
31590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
31591         Moved ...
31592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
31593         ... here.
31594         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
31595         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
31596         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
31597         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
31598         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
31599         Moved ...
31600         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
31601         ... here.
31602         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
31603         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
31604         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
31605         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
31606         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
31607         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
31608         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
31609         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
31610         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
31611         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
31612         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
31613         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
31614         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
31615         Moved ...
31616         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
31617         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
31618         Moved ...
31619         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
31620         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
31621         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
31622         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
31623         Moved ...
31624         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
31625         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
31626         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
31627         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
31628         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
31629         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
31630         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
31632 2014-06-10  Wilco  <wdijkstr@arm.com>
31634         * math/test-fenv-return.c: New file.
31635         * math/Makefile: Add new test test-fenv-return.
31637 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
31639         [BZ #17042]
31640         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
31641         when x - 1 is zero.
31642         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
31643         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
31644         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
31645         0.0L for an argument of 1.0L.
31646         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
31647         Likewise.
31648         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
31649         value when x - 1 is zero.
31650         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
31651         * sysdeps/i386/fpu/libm-test-ulps: Update.
31652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31654 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
31656         [BZ #15119]
31657         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
31659 2014-06-09  Roland McGrath  <roland@hack.frob.com>
31661         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
31662         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
31664 2014-06-09  Roland McGrath  <roland@hack.frob.com>
31666         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31667         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
31669         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31670         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
31672         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31673         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
31675         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31676         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
31678         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
31679         if not already defined.
31680         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
31681         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
31682         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
31683         (TLS_INIT_TP): Use it.
31684         (TLS_DEFINE_INIT_TP): New macro.
31685         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
31687 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
31689         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
31690         constant.
31691         [POSIX] (IXANY): Likewise.
31692         [POSIX] (OLCUC): Likewise.
31693         [POSIX || POSIX2008] (CBAUD): Do not allow.
31694         [POSIX || POSIX2008] (DEFECHO): Likewise.
31695         [POSIX || POSIX2008] (ECHOCTL): Likewise.
31696         [POSIX || POSIX2008] (ECHOKE): Likewise.
31697         [POSIX || POSIX2008] (ECHOPRT): Likewise.
31698         [POSIX || POSIX2008] (EXTA): Likewise.
31699         [POSIX || POSIX2008] (EXTB): Likewise.
31700         [POSIX || POSIX2008] (FLUSHO): Likewise.
31701         [POSIX || POSIX2008] (LOBLK): Likewise.
31702         [POSIX || POSIX2008] (PENDIN): Likewise.
31703         [POSIX || POSIX2008] (SWTCH): Likewise.
31704         [POSIX || POSIX2008] (VDISCARD): Likewise.
31705         [POSIX || POSIX2008] (VDSUSP): Likewise.
31706         [POSIX || POSIX2008] (VLNEXT): Likewise.
31707         [POSIX || POSIX2008] (VREPRINT): Likewise.
31708         [POSIX || POSIX2008] (VSTATUS): Likewise.
31709         [POSIX || POSIX2008] (VWERASE): Likewise.
31710         (B*): Change to B[0123456789]*.
31711         * conform/data/time.h-data [POSIX || UNIX98]
31712         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
31713         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31714         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
31715         [POSIX] (tm_*): Do not allow.
31717 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
31719         * Makefile (install): Don't set LANGUAGE.
31720         * Makefile.in (install): Likewise.
31721         * assert/Makefile (test-assert-ENV): Remove variable.
31722         (test-assert-perr-ENV): Likewise.
31723         * elf/Makefile (neededtest4-ENV): Likewise.
31724         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31725         [$(cross-compiling) = no]: Don't set LANGUAGE.
31726         * io/ftwtest-sh (LANG): Remove variable.
31727         * libio/Makefile (tst-widetext-ENV): Likewise.
31728         * manual/install.texi (Running make install): Don't refer to
31729         environment settings for make install.
31730         * INSTALL: Regenerated.
31731         * nptl/tst-tls6.sh: Don't set LANG.
31732         * posix/globtest.sh (LANG): Remove variable.
31733         * string/Makefile (tester-ENV): Likewise.
31734         (inl-tester-ENV): Likewise.
31735         (noinl-tester-ENV): Likewise.
31736         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31737         [$(cross-compiling) = no]: Don't set LANGUAGE.
31738         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
31739         without explicit environment settings.
31741 2014-06-06  Roland McGrath  <roland@hack.frob.com>
31743         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
31744         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
31745         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
31746         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
31748 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
31750         * crypt/crypt-private.h [DOS]: Add some includes taken from the
31751         other files in the crypt directory.
31752         * crypt/crypt.c: Remove duplicate includes.
31753         * crypt/crypt-entry.c: Likewise.
31754         * crypt/crypt_util.c: Likewise.
31756 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
31758         * Makeconfig (run-program-env): New variable.
31759         (run-program-prefix-before-env): Likewise.
31760         (run-program-prefix-after-env): Likewise.
31761         (run-program-prefix): Define in terms of new variables.
31762         (built-program-cmd-before-env): New variable.
31763         (built-program-cmd-after-env): Likewise.
31764         (built-program-cmd): Define in terms of new variables.
31765         (test-program-prefix-before-env): New variable.
31766         (test-program-prefix-after-env): Likewise.
31767         (test-program-prefix): Define in terms of new variables.
31768         (test-program-cmd-before-env): New variable.
31769         (test-program-cmd-after-env): Likewise.
31770         (test-program-cmd): Define in terms of new variables.
31771         * Rules (make-test-out): Use $(run-program-env).
31772         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
31773         (help): Do not mention environment variables.  Mention
31774         --timeoutfactor option.
31775         (timeoutfactor): New variable.
31776         (blacklist_exports): Remove function.
31777         (exports): Remove variable.
31778         (command): Do not include ${exports}.
31779         * manual/install.texi (Configuring and compiling): Do not mention
31780         test wrappers preserving environment variables.  Mention that last
31781         assignment to a variable must take precedence.
31782         * INSTALL: Regenerated.
31783         * benchtests/Makefile (run-bench): Use $(run-program-env).
31784         * catgets/Makefile ($(objpfx)test1.cat): Use
31785         $(built-program-cmd-before-env), $(run-program-env) and
31786         $(built-program-cmd-after-env).
31787         ($(objpfx)test2.cat): Do not specify environment variables
31788         explicitly.
31789         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
31790         $(run-program-env) and $(built-program-cmd-after-env).
31791         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
31792         $(run-program-env) and $(test-program-cmd-after-env).
31793         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
31794         explicitly.
31795         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
31796         run_program_env and test_program_cmd_after_env arguments.
31797         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
31798         * elf/tst-pathopt.sh: Use run_program_env argument.
31799         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
31800         $(test-wrapper-env) and $(run-program-env).
31801         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
31802         run_program_env arguments.
31803         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
31804         * intl/Makefile ($(objpfx)tst-gettext.out): Use
31805         $(test-program-prefix-before-env), $(run-program-env) and
31806         $(test-program-prefix-after-env).
31807         ($(objpfx)tst-gettext2.out): Likewise.
31808         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
31809         run_program_env and test_program_prefix_after_env arguments.
31810         * intl/tst-gettext2.sh: Likewise.
31811         * intl/tst-gettext4.sh: Do not set environment variables
31812         explicitly.
31813         * intl/tst-gettext6.sh: Likewise.
31814         * intl/tst-translit.sh: Likewise.
31815         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
31816         $(test-program-prefix-before-env), $(run-program-env) and
31817         $(test-program-prefix-after-env).
31818         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
31819         run_program_env and test_program_prefix_after_env arguments.
31820         * math/Makefile (run-regen-ulps): Use $(run-program-env).
31821         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
31822         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
31823         explicitly with each use of ${test_wrapper_env}.
31824         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
31825         $(test-program-prefix-before-env), $(run-program-env) and
31826         $(test-program-prefix-after-env).
31827         * posix/tst-getconf.sh: Do not set environment variables
31828         explicitly.
31829         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
31830         run_program_env and test_program_prefix_after_env arguments.
31831         * stdio-common/tst-printf.sh: Do not set environment variables
31832         explicitly.
31833         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
31834         $(test-program-prefix-before-env), $(run-program-env) and
31835         $(test-program-prefix-after-env).
31836         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
31837         run_program_env and test_program_prefix_after_env arguments.
31838         Split $test calls into $test_pre and $test.
31839         * timezone/Makefile (build-testdata): Use
31840         $(built-program-cmd-before-env), $(run-program-env) and
31841         $(built-program-cmd-after-env).
31843 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31845         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
31846         strlen for non SHARED builds.
31848 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31850         * nptl/allocatestack.c (check_list): Inlined function...
31851         (__reclaim_stacks): ... here.
31853 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
31855         [BZ #15698]
31856         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
31857         memory overrun.
31859 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
31861         * Rules (make-test-out): Include
31862         LOCPATH=$(common-objpfx)localedata in default environment.
31863         * debug/Makefile (tst-chk1-ENV): Remove variable.
31864         (tst-chk2-ENV): Likewise.
31865         (tst-chk3-ENV): Likewise.
31866         (tst-chk4-ENV): Likewise.
31867         (tst-chk5-ENV): Likewise.
31868         (tst-chk6-ENV): Likewise.
31869         (tst-lfschk1-ENV): Likewise.
31870         (tst-lfschk2-ENV): Likewise.
31871         (tst-lfschk3-ENV): Likewise.
31872         (tst-lfschk4-ENV): Likewise.
31873         (tst-lfschk5-ENV): Likewise.
31874         (tst-lfschk6-ENV): Likewise.
31875         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
31876         (tst-iconv7-ENV): Likewise.
31877         * intl/Makefile (LOCPATH-ENV): Likewise.
31878         (tst-codeset-ENV): Likewise.
31879         (tst-gettext3-ENV): Likewise.
31880         (tst-gettext5-ENV): Likewise.
31881         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
31882         (tst-fopenloc-ENV): Likewise.
31883         (tst-fgetws-ENV): Remove variable.
31884         (tst-ungetwc1-ENV): Likewise.
31885         (tst-ungetwc2-ENV): Likewise.
31886         (bug-ungetwc2-ENV): Likewise.
31887         (tst-swscanf-ENV): Likewise.
31888         (bug-ftell-ENV): Likewise.
31889         (tst-fgetwc-ENV): Likewise.
31890         (tst-fseek-ENV): Likewise.
31891         (tst-ftell-partial-wide-ENV): Likewise.
31892         (tst-ftell-active-handler-ENV): Likewise.
31893         (tst-ftell-append-ENV): Likewise.
31894         * posix/Makefile (tst-fnmatch-ENV): Likewise.
31895         (tst-regexloc-ENV): Likewise.
31896         (bug-regex1-ENV): Likewise.
31897         (tst-regex-ENV): Likewise.
31898         (tst-regex2-ENV): Likewise.
31899         (bug-regex5-ENV): Likewise.
31900         (bug-regex6-ENV): Likewise.
31901         (bug-regex17-ENV): Likewise.
31902         (bug-regex18-ENV): Likewise.
31903         (bug-regex19-ENV): Likewise.
31904         (bug-regex20-ENV): Likewise.
31905         (bug-regex22-ENV): Likewise.
31906         (bug-regex23-ENV): Likewise.
31907         (bug-regex25-ENV): Likewise.
31908         (bug-regex26-ENV): Likewise.
31909         (bug-regex30-ENV): Likewise.
31910         (bug-regex32-ENV): Likewise.
31911         (bug-regex33-ENV): Likewise.
31912         (bug-regex34-ENV): Likewise.
31913         (bug-regex35-ENV): Likewise.
31914         (tst-rxspencer-ENV): Likewise.
31915         (tst-rxspencer-no-utf8-ENV): Likewise.
31916         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
31917         (tst-sscanf-ENV): Likewise.
31918         (tst-swprintf-ENV): Likewise.
31919         (tst-swscanf-ENV): Likewise.
31920         (test-vfprintf-ENV): Likewise.
31921         (scanf13-ENV): Likewise.
31922         (bug14-ENV): Likewise.
31923         (tst-grouping-ENV): Likewise.
31924         * stdlib/Makefile (tst-strtod-ENV): Likewise.
31925         (tst-strtod3-ENV): Likewise.
31926         (tst-strtod4-ENV): Likewise.
31927         (tst-strtod5-ENV): Likewise.
31928         (testmb2-ENV): Likewise./
31929         * string/Makefile (tst-strxfrm-ENV): Likewise.
31930         (tst-strxfrm2-ENV): Likewise.
31931         (bug-strcoll1-ENV): Likewise.
31932         (test-strcasecmp-ENV): Likewise.
31933         (test-strncasecmp-ENV): Likewise.
31934         * time/Makefile (tst-strptime-ENV): Likewise.
31935         (tst-ftime_l-ENV): Likewise.
31936         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
31937         (tst-mbrtowc-ENV): Likewise.
31938         (tst-wcrtomb-ENV): Likewise.
31939         (tst-mbrtowc2-ENV): Likewise.
31940         (tst-c16c32-1-ENV): Likewise.
31941         (tst-mbsnrtowcs-ENV): Likewise.
31943 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
31945         * manual/resource.texi (How to get information about the memory
31946         subsystem?): Fix typo.
31947         Reported by Peon de la Parra Ivan <peon@keba.com>
31949 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
31951         [BZ #16882]
31952         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
31953         (pthread_spin_lock): Branch out of spin loop to proper location.
31954         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
31955         (pthread_spin_lock): Likewise.
31957         * nptl/tst-spin4.c: New test.
31958         * nptl/Makefile (tests): Add tst-spin4.
31960 2014-06-03  Andreas Schwab  <schwab@suse.de>
31962         [BZ #15946]
31963         * resolv/res_send.c (send_dg): Reload file descriptor after
31964         calling reopen.
31966 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
31968         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31970 2014-06-03  Richard Henderson  <rth@redhat.com>
31972         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
31973         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
31974         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
31975         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
31976         in the SAVE_PID block.
31977         (__libc_vfork): New alias.
31978         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
31980         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
31981         child in registers, not on the stack.  Remove RESET_PID conditionals.
31982         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
31984 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31986         * sysdeps/aarch64/libm-test-ulps: Regenerate.
31988 2014-06-03  Wilco  <wdijkstr@arm.com>
31990         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
31991         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
31992         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
31993         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
31994         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
31995         Likewise.
31997 2014-06-03  Wilco  <wdijkstr@arm.com>
31999         * sysdeps/aarch64/fpu/math_private.h
32000         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
32001         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
32002         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
32003         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32004         Fix declarations.
32006 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32008         * crypt/crypt-private.h: Include ufc-crypt.h.
32009         (__b64_from_24bit): Declare extern.
32010         * crypt/crypt_util.c(__b64_from_24bit): New function.
32011         (b64t): New static const variable.
32012         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
32013         (b64t): Remove variable.
32014         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
32015         * crypt/sha256-crypt.c: Include crypt-private.h.
32016         (b64t): Remove variable.
32017         (__sha256_crypt_r): Remove b64_from_24bit and replace
32018         with __b64_from_24bit.
32019         * crypt/sha512-crypt.c: Likewise.
32021 2014-06-02  Roland McGrath  <roland@hack.frob.com>
32023         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
32024         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
32025         Label the code __libc_vfork rather than __vfork.
32026         [!NOT_IN_libc] (vfork): Define as weak alias.
32027         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
32028         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
32029         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
32031 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32033         * malloc/malloc.c (malloc_info): Fix format specifier for
32034         n_mmaps.
32036 2014-06-02  Wilco  <wdijkstr@arm.com>
32038         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
32039         FPCR write.
32041 2014-06-02  Wilco  <wdijkstr@arm.com>
32043         [BZ #17009]
32044         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
32045         Rewrite to reduce FPCR/FPSR accesses.
32047 2014-06-01  David S. Miller  <davem@davemloft.net>
32049         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32051 2014-05-31  David S. Miller  <davem@davemloft.net>
32053         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
32054         to occur in round to nearest mode when |x| >= 2.0
32056 2014-05-30  Richard Henderson  <rth@twiddle.net>
32058         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
32059         (PSEUDO_RET_NOERRNO): Remove.
32060         (ret): Don't redefine.
32061         (ret_NOERRNO): Define in terms of ret.
32062         (ret_ERRVAL): Likewise.
32064         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
32065         use of PSEUDO_RET; perform the error check directly.
32067 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
32069         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
32070         with __int128_t.
32072 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32074         * malloc/malloc (malloc_info): Fix formatting.
32076 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32077             Roland McGrath  <roland@hack.frob.com>
32079         * malloc/malloc (malloc_info): Also print mmapped statistics.
32081 2014-05-30  Roland McGrath  <roland@hack.frob.com>
32083         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
32084         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
32086 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
32088         * malloc/malloc.c (malloc_info): Inline mi_arena.
32090 2014-05-29  Richard Henderson  <rth@twiddle.net>
32092         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
32093         Remove comma before expanding ASM_ARGS_##nr.
32094         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
32095         Make _x0 a strict output; make _x8 a strict input; adjust expansion
32096         of ASM_ARGS_##nr.
32097         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
32098         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
32099         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
32100         (ASM_ARGS_1): Add leading comma.
32102         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
32103         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
32104         to __errno_location.
32105         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
32106         Remove the expected plt for __errno_location.
32108         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32109         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
32110         call to __read_tp.
32112         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32113         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
32114         it and break it down.
32115         (DOCARGS_0, DOCARGS_1): Do nothing.
32116         (DOCARGS_2): Update to store into the new stack frame.
32117         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
32118         (UNDOCARGS_1): Update to restore from the new stack frame.
32119         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
32120         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
32122         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32123         (SINGLE_THREAD_P): New parameter for result regno.
32124         (PSEUDO): Update to match; use cbz instead of beq.
32126         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32127         Use ENTRY to define the _nocancel entry point.  Share the syscall
32128         and syscall error check paths with the cancel path.
32129         (PSEUDO_END): New.
32131         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
32132         whitespace; tabs before and after asm mnemonics.
32134 2014-05-29  Eric Wong  <normalperson@yhbt.net>
32136         [BZ #15132]
32137         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32138         Call fstat64 or stat64 internally, depending on arguments passed.
32139         Replace stat buffer argument with file descriptor argument.
32140         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
32141         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32142         Pass fd to __internal_statvfs instead of calling fstat64.
32143         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
32144         Pass fd to __internal_statvfs64 instead of calling fstat64.
32145         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
32146         Pass -1 to __internal_statvfs instead of calling stat64.
32147         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
32148         Pass -1 to __internal_statvfs64 instead of calling stat64.
32150 2014-05-28  Roland McGrath  <roland@hack.frob.com>
32152         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
32153         that was previously under [RESET_PID].
32154         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
32156         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
32157         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
32159 2014-05-27  Roland McGrath  <roland@hack.frob.com>
32161         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
32163         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
32164         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
32166 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
32168         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
32170 2014-05-27  Andreas Schwab  <schwab@suse.de>
32172         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
32173         TLS_INIT_TP macro.
32174         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
32175         * elf/rtld.c (init_tls, dl_main): Likewise.
32176         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
32177         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
32178         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
32179         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
32180         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
32181         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
32182         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
32183         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
32184         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
32185         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
32186         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
32187         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
32188         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
32189         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
32190         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
32191         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
32192         * sysdeps/generic/tls.h: Update description.
32194 2014-05-27  Will Newton  <will.newton@linaro.org>
32196         [BZ #16990]
32197         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
32198         and restore r2 rather than just restoring.
32200 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32202         [BZ #16724]
32203         * libio/tst-ftell-append.c: New test case.
32204         * libio/Makefile (tests): Add test case.
32205         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
32206         append mode.
32207         * libio/wfileops.c (do_ftell_wide): Likewise.
32209 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32211         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32213         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
32214         ...
32215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
32216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32217         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
32218         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
32219         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
32220         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
32221         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
32222         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
32223         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32224         Moved ...
32225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
32226         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32227         Moved ...
32228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
32229         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
32230         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
32231         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
32232         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
32233         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
32234         ...
32235         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
32236         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
32237         Moved ...
32238         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
32239         here.
32240         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
32241         ...
32242         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
32243         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
32244         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
32246         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
32247         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
32248         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
32249         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
32251         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
32252         merge into ...
32253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
32254         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
32255         ...
32256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
32257         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
32258         ...
32259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
32260         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32261         Moved ...
32262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
32263         here.
32264         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32265         Moved ...
32266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
32267         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32268         Moved ...
32269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
32271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
32272         conditional [RESET_PID].
32273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
32274         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
32275         removed.
32276         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
32277         removed.
32279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
32280         <tcb-offsets.h>.
32281         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32282         (__libc_vfork): New strong alias.
32283         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
32284         removed.
32285         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
32286         Removed.
32288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
32289         <tcb-offsets.h>.
32290         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
32291         (__libc_vfork): New strong alias.
32292         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
32293         removed.
32294         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
32295         removed.
32297 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
32299         * malloc/malloc.c (mi_arena): New function.
32300         (malloc_info): Remove nested function mi_arena. Call non-nosted
32301         function mi_arena.
32303 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32305         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
32306         by insrwi.
32307         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32308         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32309         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
32310         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
32311         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
32312         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
32313         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
32315 2014-05-26  Andreas Schwab  <schwab@suse.de>
32317         [BZ #16984]
32318         * locale/programs/repertoire.c (repertoire_read): Add slash
32319         between I18NPATH element and file name.
32320         * locale/programs/locfile.c (locfile_read): Likewise.
32322 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32324         * nptl/pthread_mutexattr_settype.c
32325         (__pthread_mutexattr_settype):
32326         Disable lock elision for PTHREAD_MUTEX_NORMAL.
32328 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32330         * nptl/tst-mutex5 (do_test):
32331         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
32333 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32335         * benchtests/README: Document 'init' directive.
32336         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
32337         BENCH_INIT.
32338         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
32339         (parse_file): Recognize 'init' directive.
32341 2014-05-26  Kyle McMartin  <kyle@redhat.com>
32343         [BZ #16796]
32344         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
32345         alignment of struct pthread.
32347 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32349         [BZ #16878]
32350         * nscd/netgroupcache.c (addgetnetgrentX): Look for
32351         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32352         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
32353         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32355 2014-05-25  Richard Henderson  <rth@twiddle.net>
32357         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32358         (SINGLE_THREAD_P_PIC): Remove.
32359         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
32360         (SINGLE_THREAD_P_PIC): Remove.
32362         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
32363         branch to syscall error ...
32364         (PSEUDO): ... here.
32365         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
32366         from __local_syscall_error to .Lsyscall_error.
32367         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
32368         (SYSCALL_ERROR): Update label name.
32370         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32371         Do not use DOARGS/UNDOARGS.
32372         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
32373         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
32374         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
32375         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
32376         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
32378         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
32379         block comment.
32381         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
32382         define if !NOT_IN_libc.
32383         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
32384         define with non-default symbol versions.
32386 2014-05-23  Richard Henderson  <rth@twiddle.net>
32388         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
32389         (vfork, __vfork): Define via compat_symbol.
32391         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
32392         [!HAVE_IFUNC] (vfork_compat): Remove.
32393         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
32395 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
32397         [BZ #16978]
32398         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
32399         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
32400         variable.
32402 2014-05-23  Richard Henderson  <rth@twiddle.net>
32404         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
32405         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
32406         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
32407         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
32409         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
32410         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
32411         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
32412         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
32413         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
32414         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
32415         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
32416         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
32417         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
32418         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
32419         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
32420         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
32421         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
32422         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
32423         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
32424         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
32425         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
32426         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
32427         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
32428         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
32429         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
32430         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
32431         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
32432         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
32433         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
32434         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
32435         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
32436         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
32437         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
32438         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
32439         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
32440         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
32441         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
32442         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
32443         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
32444         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
32445         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
32446         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
32447         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
32448         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
32449         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
32450         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
32451         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
32452         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
32453         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
32454         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
32455         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
32456         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
32457         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
32458         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
32459         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
32460         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
32461         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
32462         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
32463         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
32464         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
32466         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
32467         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
32468         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
32469         before exiting on error.
32470         (__libc_vfork): New strong alias.
32471         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
32472         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
32474         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
32475         that was previously under [RESET_PID].
32476         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
32478         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
32480 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
32482         [BZ #16977]
32483         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
32484         value when x - 1 is zero.
32485         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
32486         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
32487         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
32488         0.0L for an argument of 1.0L.
32489         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
32490         Likewise.
32491         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
32492         value when x - 1 is zero.
32493         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
32494         * sysdeps/i386/fpu/libm-test-ulps: Update.
32495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32497 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
32499         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
32500         alphasort and versionsort.
32502 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32504         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
32505         macro.
32506         [copysignf]: Likewise.
32508 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32510         * crypt/md5-crypt.c: Fix formatting.
32512 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32514         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
32515         (b64_from_24bit): New function.
32517 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32519         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
32520         libc_hidden_builtin_def to ifunc.
32521         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
32522         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
32524 2014-05-21  Roland McGrath  <roland@hack.frob.com>
32526         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
32527         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
32529 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
32531         * nscd/Depend (linuxthreads): Remove.
32532         (nptl): Add.
32533         * resolv/Depend (linuxthreads): Remove.
32534         * rt/Depend (linuxthreads): Remove.
32536         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
32537         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
32538         $(common-objpfx)elf/.
32539         (link-libc-before-gnulib): Likewise.
32540         (elfobjdir): Remove variable.
32541         * Makefile (install): Use $(elf-objpfx) instead of
32542         $(common-objpfx)elf/.
32543         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
32544         $(elfobjdir)/.
32545         (link-libc-deps): Likewise.
32546         ($(common-objpfx)libc.so): Likewise.
32547         ($(common-objpfx)linkobj/libc.so): Likewise.
32548         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
32549         instead of $(common-objpfx)elf/.
32550         (symbolic-link-list): Likewise.
32551         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32552         [$(cross-compiling) = no]: Likewise.
32553         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
32554         $(elfobjdir)/.
32555         (static-gnulib-arch): Likewise.
32556         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32557         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
32558         $(common-objpfx)elf/.
32560 2014-05-21  Richard Henderson  <rth@redhat.com>
32562         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32563         (SINGLE_THREAD_P): Use the correct width load.  Fold
32564         into the ldr offset.
32566         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
32567         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
32569 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
32571         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
32572         (libgcc_s_resume): Use __attribute_used__.
32573         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
32574         Likewise.
32576 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32578         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
32579         optimization when used with float constants.
32581         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32583 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
32585         [BZ #16915]
32586         * locale/nl_langinfo_l.c: Make direct reference to every
32587         _nl_current_CATEGORY symbol.
32588         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
32589         (tests-static): Add tst-langinfo-static.
32590         (tests-special): Add tst-langinfo-static.out.
32591         ($(objpfx)tst-langinfo.out): Redirect output.
32592         ($(objpfx)tst-langinfo-static.out): New.
32593         * localedata/tst-langinfo.sh: Send output to stdout.
32594         * localedata/tst-langinfo-static.c: New file.
32596         [BZ #16965]
32597         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
32598         when the shift amount is modulo the limb size.
32600 2014-05-20  Richard Henderson  <rth@redhat.com>
32602         [BZ #16967]
32603         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
32604         Change type of sa_flags from unsigned int to int.
32606         [BZ #16966]
32607         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
32609         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
32611 2014-05-20  Will Newton  <will.newton@linaro.org>
32613         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32614         Test the return value of the system call in the nocancel case.
32616 2014-05-20  Will Newton  <will.newton@linaro.org>
32617             Yvan Roux  <yvan.roux@linaro.org>
32619         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
32620         #include of asm/ptrace.h.
32621         (PTRACE_GET_THREAD_AREA): Remove #undef.
32622         (PTRACE_GETHBPREGS): Likewise.
32623         (PTRACE_SETHBPREGS): Likewise.
32624         (struct user_regs_struct): New structure.
32625         (struct user_fpsimd_struct): New structure.
32626         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
32627         #include of asm/ptrace.h and second #include of sys/user.h.
32628         (PTRACE_GET_THREAD_AREA): Remove #undef.
32629         (PTRACE_GETHBPREGS): Likewise.
32630         (PTRACE_SETHBPREGS): Likewise.
32631         (ELF_NGREG): Use new struct user_regs_struct.
32632         (elf_fpregset_t): Use new struct user_fpsimd_struct.
32634 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32636         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
32637         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
32639 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
32641         [BZ #16958]
32642         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
32643         membar to avoid block loads/stores to overlap previous stores.
32645 2014-05-17  Richard Henderson  <rth@redhat.com>
32647         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
32648         Create the __##syscall_name##_nocancel entry point.
32649         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
32650         Remove; let the sysdep-cancel.h code create it.
32652 2014-05-17  David S. Miller  <davem@davemloft.net>
32654         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
32655         Protect with __USE_GNU.
32656         (TIOCSET_TEMPT): Likewise.
32657         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32658         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
32659         these are already provided in bits/ioctl-types.h
32661 2014-05-16  Roland McGrath  <roland@hack.frob.com>
32663         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
32664         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
32666         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
32667         Use wait4 regardless of [__NR_waitpid].
32669 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
32671         PR libgcc/60166
32672         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
32673         (_FP_NANSIGN_Q): Set the quiet bit.
32675 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
32677         * benchtests/Makefile
32678         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
32679         not $(common-objpfx)math/libm.so.
32680         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
32681         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
32682         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
32683         $(common-objpfx)dlfcn/libdl.so.
32684         ($(objpfx)tst-audit8): Depend on $(libm), not
32685         $(common-objpfx)math/libm.so.
32686         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
32687         not $(common-objpfx)dlfcn/libdl.so.
32688         * math/Makefile
32689         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32690         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
32691         [$(build-shared) = yes].
32692         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
32693         $(common-objpfx)nptl/libpthread.so.
32694         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
32695         $(common-objpfx)math/libm.so$(libm.so-version) or
32696         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
32697         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
32698         $(common-objpfx)dlfcn/libdl.so.
32699         * setjmp/Makefile (link-libm): Remove variable.
32700         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
32701         * stdio-common/Makefile (link-libm): Remove variable.
32702         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
32703         * stdlib/Makefile (link-libm): Remove variable.
32704         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
32705         ($(objpfx)tst-strtod-round): Likewise.
32706         ($(objpfx)tst-tininess): Likewise.
32707         ($(objpfx)tst-strtod-underflow): Likewise.
32708         ($(objpfx)tst-strtod6): Likewise.
32709         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
32710         $(libdl), not $(common-objpfx)nptl/libpthread.so and
32711         $(common-objpfx)dlfcn/libdl.so.
32713 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32715         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
32716         BSD terminal modes definitions.
32718 2014-05-16  Roland McGrath  <roland@hack.frob.com>
32720         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
32721         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
32723         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
32724         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
32725         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
32726         Don't do #include_next.
32727         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
32728         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
32729         Don't do #include_next.
32730         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
32731         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
32732         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
32733         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
32735 2014-05-16  Allan McRae  <allan@archlinux.org>
32737         * po/sv.po: Update Swedish translation from translation project.
32739         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
32740         in sed expression.
32742 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
32744         [BZ #16917]
32745         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
32746         errno if the TIOCGPTN ioctl fails with an error different than
32747         EINVAL.
32748         * login/tst-ptsname.c: New file.
32749         * login/Makefile (tests): Add tst-ptsname.
32751         [BZ #16943]
32752         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
32753         and prlimit64.
32755 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32757         [BZ #16849]
32758         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
32759         herrno to return EAI_AGAIN.
32761 2014-05-14  Roland McGrath  <roland@hack.frob.com>
32763         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
32764         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
32765         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
32766         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
32767         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
32768         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
32769         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
32770         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
32771         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
32772         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
32773         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
32774         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
32775         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
32776         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
32777         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
32778         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
32779         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
32780         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
32781         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
32782         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
32783         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
32784         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
32785         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
32786         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
32787         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
32788         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
32789         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
32790         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
32791         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
32792         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
32793         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
32794         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
32795         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
32796         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
32797         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32798         Moved ...
32799         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
32800         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
32801         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
32802         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
32803         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
32804         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
32805         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
32806         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
32807         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
32808         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
32809         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
32810         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
32811         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
32812         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
32813         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
32814         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
32815         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
32816         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
32817         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
32818         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
32819         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
32820         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
32821         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
32822         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
32823         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
32824         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
32825         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
32826         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32827         Moved ...
32828         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
32829         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
32830         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
32831         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
32832         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
32833         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
32834         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
32835         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
32836         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
32837         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
32838         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
32839         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
32840         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
32841         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
32842         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
32843         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
32844         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
32845         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
32846         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
32847         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32848         Moved ...
32849         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
32850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
32851         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
32853         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
32854         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
32855         (libpthread-sysdep_routines): Add elision-related stuff here instead.
32856         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
32857         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
32858         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
32859         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
32860         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
32861         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
32862         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
32863         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
32864         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
32865         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
32866         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
32867         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
32868         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
32869         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
32870         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
32871         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
32872         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
32873         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
32874         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
32875         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
32876         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
32877         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
32878         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
32879         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
32880         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
32881         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
32882         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
32883         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
32885         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
32886         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
32888         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
32889         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
32890         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
32891         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
32892         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
32893         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
32894         Moved ...
32895         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
32896         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
32897         Moved ...
32898         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
32899         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
32900         Moved ...
32901         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
32902         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
32903         Moved ...
32904         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
32905         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
32906         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
32907         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
32908         Moved ...
32909         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
32910         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
32911         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
32912         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
32913         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
32914         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
32915         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
32916         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
32917         Moved ...
32918         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
32919         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
32920         Moved ...
32921         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
32922         ... here.
32923         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
32924         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
32925         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
32926         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
32927         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
32928         Moved ...
32929         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
32930         ... here.
32931         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
32932         Moved ...
32933         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
32934         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
32935         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
32936         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
32937         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
32938         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
32939         Moved ...
32940         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
32941         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
32942         Moved ...
32943         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
32944         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
32945         Moved ...
32946         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
32947         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
32948         Moved ...
32949         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
32950         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
32951         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
32952         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
32953         Moved ...
32954         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
32955         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
32956         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
32957         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
32958         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
32959         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
32960         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
32961         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
32962         Moved ...
32963         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
32964         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
32965         Moved ...
32966         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
32967         ... here.
32968         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
32969         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
32970         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
32971         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
32972         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
32973         Moved ...
32974         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
32975         ... here.
32976         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
32977         Moved ...
32978         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
32979         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
32980         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
32981         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
32982         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
32983         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
32984         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
32985         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
32986         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
32987         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
32988         Moved ...
32989         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
32990         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
32991         Moved ...
32992         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
32993         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
32994         Moved ...
32995         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
32996         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
32997         Moved ...
32998         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
32999         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
33000         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
33001         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
33002         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
33003         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
33004         Moved ...
33005         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
33006         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
33007         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
33008         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
33009         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
33010         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
33011         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
33012         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
33013         Moved ...
33014         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
33015         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33016         Moved ...
33017         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33018         ... here.
33019         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
33020         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
33021         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
33022         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
33023         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33024         Moved ...
33025         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33026         ... here.
33027         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
33028         Moved ...
33029         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
33030         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
33031         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
33032         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
33033         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
33034         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
33035         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
33036         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
33037         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
33038         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
33039         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
33041         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
33042         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
33044         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
33045         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
33047         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
33048         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
33049         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
33050         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
33051         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
33052         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
33053         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
33054         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
33055         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
33056         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
33057         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
33058         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
33059         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
33060         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
33061         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
33062         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
33063         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
33064         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
33065         Moved ...
33066         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
33067         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
33068         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
33069         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
33070         Moved ...
33071         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
33072         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
33073         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
33074         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
33075         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
33076         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
33077         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
33078         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
33079         Moved ...
33080         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
33081         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
33082         Moved ...
33083         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
33084         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
33085         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
33086         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
33087         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
33088         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
33089         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
33090         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
33091         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
33092         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
33093         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
33094         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
33095         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
33096         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
33097         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
33098         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
33099         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
33101         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
33102         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
33103         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
33104         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
33105         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
33107         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
33108         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
33109         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
33110         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
33111         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
33112         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
33113         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
33114         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
33115         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
33116         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
33118         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
33119         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
33121         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
33122         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
33123         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
33124         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
33125         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
33126         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
33127         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
33128         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
33129         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
33130         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
33131         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
33132         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
33133         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
33134         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
33135         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
33136         Update #include.
33137         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
33138         Likewise.
33139         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33140         Likewise.
33141         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33142         Likewise.
33143         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33144         Likewise.
33145         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
33146         Likewise.
33147         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
33148         Likewise.
33149         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33150         Likewise.
33151         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
33152         Likewise.
33153         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
33154         Likewise.
33155         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
33156         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
33157         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
33158         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
33159         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
33160         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
33161         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
33162         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
33163         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
33164         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
33165         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
33166         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
33167         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
33168         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
33169         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
33171         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
33172         that was previously under [RESET_PID].
33173         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33174         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
33175         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
33177         * sysdeps/i386/nptl/Implies: New file.
33178         * sysdeps/x86_64/nptl/Implies: New file.
33179         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
33180         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
33181         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
33182         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
33184         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
33185         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33186         (__libc_vfork): New strong alias.
33187         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
33188         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
33190         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
33191         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33192         (__libc_vfork): New strong alias.
33193         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
33194         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
33196         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
33197         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33198         (__libc_vfork): New strong alias.
33199         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
33200         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
33201         * nptl/pt-vfork.c: New file.
33202         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
33203         (libpthread: GLIBC_2.20): New version set (empty).
33205 2014-05-14  Will Newton  <will.newton@linaro.org>
33207         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
33208         rather than #if.
33210 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33212         [BZ #16564]
33213         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
33214         arguments with exponent 65 or above.
33215         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
33216         arguments 0x1p113L or above.
33217         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
33218         to arguments 0x1p107L or above.
33219         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
33220         positive arguments with exponent 65 or above.
33221         * math/auto-libm-test-in: Add more tests of log1p.
33222         * math/auto-libm-test-out: Regenerated.
33224         [BZ #16928]
33225         * math/s_cacos.c (__cacos): Ensure zero real part of result from
33226         non-finite arguments is +0.
33227         * math/s_cacosf.c (__cacosf): Likewise.
33228         * math/s_cacosl.c (__cacosl): Likewise.
33229         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
33230         * sysdeps/i386/fpu/libm-test-ulps: Update.
33231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33233         [BZ #16927]
33234         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
33235         value.
33236         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
33237         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
33238         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
33239         for explicit high bit of mantissa when testing for argument equal
33240         to 1.
33241         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
33242         * sysdeps/i386/fpu/libm-test-ulps: Update.
33243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33245         [BZ #16516]
33246         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
33247         (__erf): Scale by 16 instead of 8 in potentially underflowing
33248         case.  Ensure exception if result actually underflows.
33249         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
33250         (__erff): Scale by 16 instead of 8 in potentially underflowing
33251         case.  Ensure exception if result actually underflows.
33252         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
33253         (efx8): Remove variable.
33254         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33255         case.  Ensure exception if result actually underflows.
33256         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
33257         (efx8): Remove variable.
33258         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33259         case.  Ensure exception if result actually underflows.
33260         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
33261         (efx8): Remove variable.
33262         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33263         case.  Ensure exception if result actually underflows.
33264         * math/auto-libm-test-in: Add more tests of erf.
33265         * math/auto-libm-test-out: Regenerated.
33267 2014-05-14  Andreas Schwab  <schwab@suse.de>
33269         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
33270         Remove code conditionalized on USE___THREAD.
33272         * config.h.in (HAVE_PT_CHOWN): Define as 0.
33273         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
33274         not definedness.
33276 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33278         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
33279         Define unconditionally.
33280         (__ASSUME_O_CLOEXEC): Likewise.
33281         (__ASSUME_SOCK_CLOEXEC): Likewise.
33282         (__ASSUME_IN_NONBLOCK): Likewise.
33283         (__ASSUME_PIPE2): Likewise.
33284         (__ASSUME_EVENTFD2): Likewise.
33285         (__ASSUME_SIGNALFD4): Likewise.
33286         (__ASSUME_DUP3): Likewise.
33287         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33288         (__ASSUME_DUP3): Do not define.
33289         (__ASSUME_EVENTFD2): Likewise.
33290         (__ASSUME_IN_NONBLOCK): Likewise.
33291         (__ASSUME_O_CLOEXEC): Likewise.
33292         (__ASSUME_PIPE2): Likewise.
33293         (__ASSUME_SIGNALFD4): Likewise.
33294         (__ASSUME_SOCK_CLOEXEC): Likewise.
33295         (__ASSUME_UTIMES): Undefine.
33296         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33297         (__ASSUME_UTIMES): Do not define.
33298         (__ASSUME_O_CLOEXEC): Likewise.
33299         (__ASSUME_SOCK_CLOEXEC): Likewise.
33300         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
33301         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
33302         0x020621].
33303         (__ASSUME_PIPE2): Likewise.
33304         (__ASSUME_EVENTFD2): Likewise.
33305         (__ASSUME_SIGNALFD4): Likewise.
33306         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
33307         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
33308         Do not define.
33309         (__ASSUME_EVENTFD2): Likewise.
33310         (__ASSUME_SIGNALFD4): Likewise.
33311         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33312         (__ASSUME_32BITUIDS): Likewise.
33313         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33314         (__ASSUME_IPC64): Likewise.
33315         (__ASSUME_ST_INO_64_BIT): Likewise.
33316         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
33317         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
33318         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33319         (__ASSUME_UTIMES): Do not define.
33320         (__ASSUME_PSELECT): Likewise.
33321         (__ASSUME_PPOLL): Likewise.
33322         (__ASSUME_O_CLOEXEC): Likewise.
33323         (__ASSUME_SOCK_CLOEXEC): Likewise.
33324         (__ASSUME_IN_NONBLOCK): Likewise.
33325         (__ASSUME_PIPE2): Likewise.
33326         (__ASSUME_EVENTFD2): Likewise.
33327         (__ASSUME_SIGNALFD4): Likewise.
33328         (__ASSUME_DUP3): Likewise.
33329         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33330         (__ASSUME_UTIMES): Likewise.
33331         (__ASSUME_O_CLOEXEC): Likewise.
33332         (__ASSUME_SOCK_CLOEXEC): Likewise.
33333         (__ASSUME_IN_NONBLOCK): Likewise.
33334         (__ASSUME_PIPE2): Likewise.
33335         (__ASSUME_EVENTFD2): Likewise.
33336         (__ASSUME_SIGNALFD4): Likewise.
33337         (__ASSUME_DUP3): Likewise.
33338         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33339         (__ASSUME_UTIMES): Likewise.
33340         (__ASSUME_O_CLOEXEC): Likewise.
33341         (__ASSUME_SOCK_CLOEXEC): Likewise.
33342         (__ASSUME_IN_NONBLOCK): Likewise.
33343         (__ASSUME_PIPE2): Likewise.
33344         (__ASSUME_EVENTFD2): Likewise.
33345         (__ASSUME_SIGNALFD4): Likewise.
33346         (__ASSUME_DUP3): Likewise.
33347         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
33348         Likewise.
33349         (__ASSUME_UTIMES): Likewise.
33350         (__ASSUME_EVENTFD2): Likewise.
33351         (__ASSUME_SIGNALFD4): Likewise.
33352         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33353         (__ASSUME_O_CLOEXEC): Likewise.
33354         (__ASSUME_SOCK_CLOEXEC): Likewise.
33355         (__ASSUME_IN_NONBLOCK): Likewise.
33356         (__ASSUME_PIPE2): Likewise.
33357         (__ASSUME_EVENTFD2): Likewise.
33358         (__ASSUME_SIGNALFD4): Likewise.
33359         (__ASSUME_DUP3): Likewise.
33360         (__ASSUME_UTIMES): Undefine.
33362         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
33363         feclearexcept.  Remove symbol versioning code.
33364         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
33365         symbol versioning code.
33366         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
33367         symbol versioning code.
33368         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
33369         feupdateenv.  Remove symbol versioning code.
33370         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
33371         fegetexceptflag.  Remove symbol versioning code.
33372         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
33373         fesetexceptflag.  Remove symbol versioning code.
33374         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
33375         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
33376         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
33377         (__posix_fadvise64_l32): Remove prototype.
33378         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
33379         code.
33381 2014-05-13  Roland McGrath  <roland@hack.frob.com>
33383         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
33384         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
33385         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
33386         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
33388 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
33390         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
33391         current working directory
33393 2014-05-13  Roland McGrath  <roland@hack.frob.com>
33395         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
33396         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
33397         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
33398         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
33399         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
33400         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
33401         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
33402         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
33403         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
33404         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
33405         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
33406         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
33407         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
33408         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
33409         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
33410         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
33411         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
33412         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
33413         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
33414         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
33415         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
33416         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
33417         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
33418         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
33419         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
33420         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
33421         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
33422         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
33423         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
33424         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
33425         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
33426         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
33427         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
33428         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
33429         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
33430         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
33431         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
33432         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
33433         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
33434         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
33435         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
33436         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
33438         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
33439         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
33441         * sysdeps/unix/sysv/linux/arm/Makefile
33442         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
33443         Add rt-aeabi_unwind_cpp_pr1.
33444         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
33445         Add nptl-aeabi_unwind_cpp_pr1.
33446         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
33447         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
33448         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
33449         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
33450         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
33451         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
33453         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
33454         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
33455         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
33456         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
33458         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
33459         Deconditionalize the code that was previously under [RESET_PID].
33460         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
33462         * sysdeps/generic/exit-thread.h: New file.
33463         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
33464         * include/unistd.h (__exit_thread): Remove declaration.
33465         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
33466         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
33467         * csu/libc-start.c: Include <exit-thread.h>.
33468         (LIBC_START_MAIN): Pass no argument to __exit_thread.
33469         * nptl/pthread_create.c: Include <exit-thread.h>.
33470         (start_thread): Call __exit_thread in place of __exit_thread_inline.
33471         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
33472         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
33473         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
33474         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
33475         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
33476         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
33477         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
33478         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
33479         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
33480         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
33481         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
33482         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
33483         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
33484         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
33485         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
33486         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
33488 2014-05-13  Andreas Schwab  <schwab@suse.de>
33490         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
33492 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
33494         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
33495         (__ASSUME_UTIMES): Do not condition on kernel version.
33496         (__ASSUME_PSELECT): Define unconditionally.
33497         (__ASSUME_PPOLL): Likewise.
33498         (__ASSUME_ATFCTS): Likewise.
33499         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
33500         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
33501         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
33502         (__ASSUME_UTIMENSAT): Define unconditionally.
33503         (__ASSUME_PRIVATE_FUTEX): Likewise.
33504         (__ASSUME_FALLOCATE): Likewise.
33505         (__ASSUME_O_CLOEXEC): Likewise.
33506         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
33507         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
33508         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
33509         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
33510         (__ASSUME_IN_NONBLOCK): Likewise.
33511         (__ASSUME_PIPE2): Likewise.
33512         (__ASSUME_EVENTFD2): Likewise.
33513         (__ASSUME_SIGNALFD4): Likewise.
33514         (__ASSUME_DUP3): Likewise.
33515         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33516         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
33517         (__ASSUME_AT_RANDOM): Likewise.
33518         (__ASSUME_PREADV): Likewise.
33519         (__ASSUME_PWRITEV): Likewise.
33520         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
33521         (__ASSUME_F_GETOWN_EX): Define unconditionally.
33522         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
33523         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33524         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
33525         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33526         (__ASSUME_O_CLOEXEC): Define unconditionally.
33527         (__ASSUME_PSELECT): Do not undefine conditionally.
33528         (__ASSUME_PPOLL): Likewise.
33529         (__ASSUME_ATFCTS): Likewise.
33530         (__ASSUME_SET_ROBUST_LIST): Likewise.
33531         (__ASSUME_UTIMENSAT): Likewise.
33532         (__ASSUME_FDATASYNC): Define unconditionally.
33533         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33534         (__ASSUME_SIGFRAME_V2): Likewise.
33535         )__ASSUME_EVENTFD2): Likewise.
33536         (__ASSUME_SIGNALFD4): Likewise.
33537         (__ASSUME_PSELECT): Do not undefine conditionally.
33538         (__ASSUME_PPOLL): Likewise.
33539         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33540         (__ASSUME_PSELECT): Define unconditionally.
33541         (__ASSUME_PPOLL): Likewise.
33542         (__ASSUME_O_CLOEXEC): Likewise.
33543         (__ASSUME_SOCK_CLOEXEC): Likewise.
33544         (__ASSUME_IN_NONBLOCK): Likewise.
33545         (__ASSUME_PIPE2): Likewise.
33546         (__ASSUME_EVENTFD2): Likewise.
33547         (__ASSUME_SIGNALFD4): Likewise.
33548         (__ASSUME_DUP3): Likewise.
33549         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33550         (__ASSUME_O_CLOEXEC): Likewise.
33551         (__ASSUME_SOCK_CLOEXEC): Likewise.
33552         (__ASSUME_IN_NONBLOCK): Likewise.
33553         (__ASSUME_PIPE2): Likewise.
33554         (__ASSUME_EVENTFD2): Likewise.
33555         (__ASSUME_SIGNALFD4): Likewise.
33556         (__ASSUME_DUP3): Likewise.
33557         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33558         (__ASSUME_EVENTFD2): Likewise.
33559         (__ASSUME_SIGNALFD4): Likewise.
33560         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33562 2014-05-12  Andreas Schwab  <schwab@suse.de>
33564         [BZ #16932]
33565         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
33566         (_nss_nis_gethostbyname4_r): Return error if item length is larger
33567         than maximum RPC packet size.
33568         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
33569         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
33570         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
33571         (_nss_nis_getservbyport_r): Likewise.
33573 2014-05-12  Will Newton  <will.newton@linaro.org>
33575         * malloc/Makefile (tests): Add tst-mallopt.
33576         * malloc/tst-mallopt.c: New file.
33578 2014-05-09  Roland McGrath  <roland@hack.frob.com>
33580         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
33581         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
33583 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33585         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
33586         (tst-tlsmod6.so): Likewise.
33588 2014-05-09  Roland McGrath  <roland@hack.frob.com>
33590         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
33592 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
33594         [BZ #16064]
33595         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
33596         and <dl-procinfo.h>.
33597         (__fegetenv): Save SSE state in envp->__eip if supported.
33598         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
33599         envp->__eip if supported.
33600         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
33601         and <dl-procinfo.h>.
33602         (__fesetenv): Always set __eip, __cs_selector, __opcode,
33603         __data_offset and __data_selector in environment to 0.  Set SSE
33604         state if supported.
33605         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
33606         test-fenv-sse.
33607         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
33608         -mfpmath=sse.
33609         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
33611 2014-05-09  Will Newton  <will.newton@linaro.org>
33613         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
33614         and libc_relro_required for ARM.
33615         * sysdeps/arm/preconfigure: Regenerate.
33617 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
33618             Stefan Liebler  <stli@linux.vnet.ibm.com>
33620         * config.make.in (enable-lock-elision): New Makefile variable.
33621         * configure.ac: Likewise.
33622         * configure: Regenerate.
33623         * sysdeps/s390/configure.ac:
33624         Add check for gcc transactions support.
33625         * sysdeps/s390/configure: Regenerate.
33626         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
33627         Build elision files if enabled.
33628         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
33629         Add lock elision support for s390.
33630         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
33631         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
33632         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
33633         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
33634         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
33635         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
33636         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
33637         Likewise.
33638         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
33639         Likewise.
33640         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
33641         Likewise.
33642         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
33643         Likewise.
33644         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
33645         (__lll_timedlock_elision, __lll_lock_elision)
33646         (__lll_unlock_elision, __lll_trylock_elision)
33647         (lll_timedlock_elision, lll_lock_elision)
33648         (lll_unlock_elision, lll_trylock_elision): Add.
33649         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33650         (pthread_mutex_t): Add lock elision support for s390.
33652 2014-05-14  Wilco  <wdijkstr@arm.com>
33654         * sysdeps/arm/fclrexcpt.c: Cleanup.
33655         * sysdeps/arm/fedisblxcpt.c: Cleanup.
33656         * sysdeps/arm/feenablxcpt.c: Cleanup.
33657         * sysdeps/arm/fegetenv.c: Cleanup.
33658         * sysdeps/arm/fegetexcept.c: Cleanup.
33659         * sysdeps/arm/fegetround.c: Cleanup.
33660         * sysdeps/arm/feholdexcpt.c: Cleanup.
33661         * sysdeps/arm/fesetenv.c: Cleanup.
33662         * sysdeps/arm/fesetround.c: Cleanup.
33663         * sysdeps/arm/feupdateenv.c: Cleanup.
33664         * sysdeps/arm/fgetexcptflg.c: Cleanup.
33665         * sysdeps/arm/fraiseexcpt.c: Cleanup.
33666         * sysdeps/arm/fsetexcptflg.c: Cleanup.
33667         * sysdeps/arm/ftestexcept.c: Cleanup.
33668         * sysdeps/arm/get-rounding-mode.h: Cleanup.
33669         * sysdeps/arm/setfpucw.c: Cleanup.
33671 2014-05-09  Will Newton  <will.newton@linaro.org>
33673         * sysdeps/arm/armv7/strcmp.S: New file.
33674         * NEWS: Mention addition of ARMv7 optimized strcmp.
33676 2014-05-08  Roland McGrath  <roland@hack.frob.com>
33678         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
33679         look for %.ac rather than %.in.
33681         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
33682         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
33683         * sysdeps/mach/hurd/configure: Regenerated.
33684         * sysdeps/unix/sysv/linux/configure: Regenerated.
33686         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
33688 2014-05-07  Steve Ellcey  <sellcey@mips.com>
33690         [BZ# 16922]
33691         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
33692         (LONG_SUB): Ditto.
33693         (PTR_SUB): Ditto.
33695 2014-05-07  Andreas Schwab  <schwab@suse.de>
33697         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
33698         when skipping over non-matching result from nscd.
33700 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
33702         [BZ #16876]
33703         * nptl/sockperf.c (client): Check socket return value.
33705         [BZ #16877]
33706         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
33707         nscd security class.
33709 2014-05-06  Roland McGrath  <roland@hack.frob.com>
33711         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
33712         * sysdeps/arm/unwind.h: ... here.
33714 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
33716         [BZ# 16916]
33717         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
33718         Define.
33720 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33722         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
33723         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
33724         multiarch strncpy for PPC64.
33725         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
33726         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
33727         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
33728         multiarch optimizations.
33729         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33730         (__libc_ifunc_impl_list): Likewise.
33731         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
33732         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
33733         multiarch stpncpy for PPC64.
33734         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
33735         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
33737 2014-05-06  Andreas Schwab  <schwab@suse.de>
33739         [BZ #16912]
33740         * gmon/mcount.c (_MCOUNT_DECL): Use
33741         atomic_compare_and_exchange_bool_acq instead of
33742         catomic_compare_and_exchange_bool_acq.
33744 2014-05-05  Roland McGrath  <roland@hack.frob.com>
33746         * elf/Makefile (others, install-bin): Remove pldd.
33747         (pldd-modules): Variable removed.
33748         ($(objpfx)pldd): Target removed.
33749         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
33750         (others, install-bin): Append pldd here.
33751         ($(objpfx)pldd): New target.
33753         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
33754         to 0, so the first #if test emitted later doesn't see it undefined.
33755         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
33756         * sysdeps/gnu/errlist.c: Regenerated.
33758 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33760         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33761         [libc_hidden_builtin_def]: Define to empty value.
33762         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
33763         [libc_hidden_builtin_def]: Likewise.
33764         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
33765         [libc_hidden_builtin_def]: Likewise.
33766         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
33767         [libc_hidden_builtin_def]: Likewise.
33768         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
33769         __redirect_memcpy and define ifunc as default hidden symbol.
33770         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
33771         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
33773 2014-05-04  Adam Conrad  <adconrad@0c3.net>
33775         * locale/iso-4217.def: Reintroduce XDR currency.
33777 2014-05-04  Allan McRae  <allan@archlinux.org>
33779         * po/eo.po: Update Esperanto translation from translation project.
33781 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
33783         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
33784         and FEATURE_INDEX_MAX to 1.
33785         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
33787 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33789         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
33790         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
33791         * iconvdata/big5.c (ONE_DIRECTION): Define.
33792         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
33793         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
33794         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
33795         * iconvdata/cp932.c (ONE_DIRECTION): Define.
33796         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
33797         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
33798         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
33799         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
33800         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
33801         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
33802         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
33803         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
33804         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
33805         * iconvdata/gbk.c (ONE_DIRECTION): Define.
33806         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
33807         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
33808         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
33809         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
33810         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
33811         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
33812         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
33813         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
33814         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
33815         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
33816         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
33817         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
33818         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
33819         * iconvdata/iso646.c (ONE_DIRECTION): Define.
33820         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
33821         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
33822         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
33823         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
33824         * iconvdata/johab.c (ONE_DIRECTION): Define.
33825         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
33826         * iconvdata/sjis.c (ONE_DIRECTION): Define.
33827         * iconvdata/t.61.c (ONE_DIRECTION): Define.
33828         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
33829         * iconvdata/tscii.c (ONE_DIRECTION): Define.
33830         * iconvdata/uhc.c (ONE_DIRECTION): Define.
33831         * iconvdata/unicode.c (ONE_DIRECTION): Define.
33832         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
33833         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
33834         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
33836 2014-05-01  Roland McGrath  <roland@hack.frob.com>
33838         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
33839         (_IO_JUMPS_OFFSET): Define to 0.
33841         * nptl/sysdeps/pthread/bits/libc-lock.h
33842         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
33843         (__libc_lock_define_initialized_recursive): Always define using
33844         initializer.  Modern compilers treat uninitialized (implicit zero) and
33845         explicit zero initializers the same (i.e. put the datum in bss).
33847 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33849         * nscd/nscd-client.h: Include <string.h>.
33851 2014-05-01  David S. Miller  <davem@davemloft.net>
33853         [BZ #16885]
33854         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
33855         multiple zero bytes exist at the end of a string.
33856         Reported by Aurelien Jarno <aurelien@aurel32.net>
33858         * string/test-strcmp.c (check): Add explicit test for situations where
33859         there are multiple zero bytes after the first.
33861 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33863         [BZ #16890]
33864         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
33865         when compiling wprintf.
33866         * stdio-common/tstdiomisc.c (t3): New function.
33867         (main): Call it.
33869 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33871         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
33872         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
33873         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
33874         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
33876 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33878         * stdlib/longlong.h: Updated from GCC.
33880 2014-05-01  Will Newton  <will.newton@linaro.org>
33881             Bernard Ogden  <bernie.ogden@linaro.org>
33883         * NEWS: Update fixed bug list.
33885         [BZ #15119]
33886         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
33888 2014-04-30  David S. Miller  <davem@davemloft.net>
33890         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
33891         (libc_feholdexcept_setround_sparc_ctx): New function.
33892         (libc_fesetenv_sparc_ctx): Likewise.
33893         (libc_feupdateenv_sparc_ctx): Likewise.
33894         (libc_feholdsetround_sparc_ctx): Likewise.
33895         (libc_feholdexcept_setround_ctx): Define.
33896         (libc_feholdexcept_setroundf_ctx): Likewise.
33897         (libc_feholdexcept_setroundl_ctx): Likewise.
33898         (libc_fesetenv_ctx): Likewise.
33899         (libc_fesetenvf_ctx): Likewise.
33900         (libc_fesetenvl_ctx): Likewise.
33901         (libc_feupdateenv_ctx): Likewise.
33902         (libc_feupdateenvf_ctx): Likewise.
33903         (libc_feupdateenvl_ctx): Likewise.
33904         (libc_feresetround_ctx): Likewise.
33905         (libc_feresetroundf_ctx): Likewise.
33906         (libc_feresetroundl_ctx): Likewise.
33907         (libc_feholdsetround_ctx): Likewise.
33908         (libc_feholdsetroundf_ctx): Likewise.
33909         (libc_feholdsetroundl_ctx): Likewise.
33911         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
33912         with __USE_GNU instead of XOPEN cpp guards.
33914         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
33915         0.
33917         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
33918         with XOPEN cpp guards.
33920 2014-04-30  Julian Brown  <julian@codesourcery.com>
33922         [BZ #16888]
33923         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
33924         handling.
33926 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
33928         [BZ #9894]
33929         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
33930         Change to 2.6.32.
33931         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
33932         * sysdeps/unix/sysv/linux/configure: Regenerated.
33933         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
33934         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
33935         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
33936         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
33937         * README: Update reference to required Linux kernel version.
33938         * manual/install.texi (Linux): Update reference to required Linux
33939         kernel headers version.
33940         * INSTALL: Regenerated.
33942         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
33943         header inclusion.
33944         [POSIX] (limits.h): Likewise.
33945         [POSIX] (math.h): Likewise.
33946         [POSIX] (sys/wait.h): Likewise.
33947         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
33948         function.
33949         [POSIX] (stddef.h): Do not allow header inclusion.
33951 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33953         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
33955 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
33957         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
33958         Return immediately after lll_futex_wake.
33960 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33962         [BZ #16791]
33963         * nscd/nscd-client.h (datahead_init_common): Initialize entire
33964         structure.
33965         (datahead_init_pos): Call datahead_init_common early.
33966         (datahead_init_neg): Likewise.
33968         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
33969         datahead_init_neg): New functions.
33970         * nscd/aicache.c (addhstaiX): Use them.
33971         * nscd/grpcache.c (cache_addgr): Likewise.
33972         * nscd/hstcache.c (cache_addhst): Likewise.
33973         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33974         * nscd/netgroupcache.c (do_notfound): Likewise.
33975         (addgetnetgrentX): Likewise.
33976         (addinnetgrX): Likewise.
33977         * nscd/pwdcache.c (cache_addpw): Likewise.
33978         * nscd/servicescache.c (cache_addserv): Likewise.
33980 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33981             Atsushi Onoe  <atsushi@onoe.org>
33983         [BZ #14308]
33984         [BZ #12994]
33985         [BZ #13651]
33986         * resolv/res_query.c (__libc_res_nsearch): Return if at least
33987         one response is valid.
33988         * resolv/res_send.c (send_dg): Check for validity of other
33989         response if the current response is a referral.
33991 2014-04-29  Steve Ellcey  <sellcey@mips.com>
33993         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
33995 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
33997         [BZ #16823]
33998         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
33999         Always divide by positive zero when computing -Inf result.
34000         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34001         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
34003 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34005         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
34006         FPSCR if value do not change.
34007         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34008         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
34009         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34010         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
34011         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
34012         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
34013         function.
34015 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
34017         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
34018         * sysdeps/unix/sysv/linux/hppa: Move directory from
34019         ports/systeps/unix/sysv/linux/hppa.
34020         * README: Update listing for hppa-*-linux-gnu.
34022 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
34024         [BZ #16754]
34025         * manual/stdio.texi (Hook functions): Fix types of stream hook
34026         functions.
34027         [BZ #16854]
34028         * socket/sys/socket.h: Fix typo in comment.
34030 2014-04-28  Wilco  <wdijkstr@arm.com>
34032         * sysdeps/arm/fenv_private.h: New file.
34033         * sysdeps/arm/math_private.h: New file.
34034         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
34036 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
34038         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
34039         with __int128_t.
34040         (La_x86_64_retval): Likewise.
34042 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
34044         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
34045         fpsr if value didn't change.
34046         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
34047         to fpcr if value didn't change.
34048         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
34049         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
34050         fpsr or fpcr if value didn't change.
34051         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
34052         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
34053         fpcr if value didn't change.
34054         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
34055         to fpsr if value didn't change.
34057 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34059         * nptl/tst-sem3.c: Use test-skeleton.c
34060         (main): Rename to do_test.  Use return instead of
34061         exit.
34062         * nptl/tst-sem4.c: Use test-skeleton.c
34063         (main): Rename to do_test.
34065 2014-04-22  David S. Miller  <davem@davemloft.net>
34067         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34068         (struct sigaction): New struct member __glibc_reserved0, change
34069         type of sa_flags to int.
34071 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
34073         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
34074         (COUNT_LEADING_ZEROS_0): Define for AArch64.
34076 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34078         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
34079         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
34081 2014-04-22  Will Newton  <will.newton@linaro.org>
34082             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
34084         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
34085         (__longjmp): Add longjmp and longjmp_target SystemTap
34086         probes.
34087         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
34088         (__sigsetjmp): Add setjmp SystemTap probe.
34090 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
34092         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
34093         match manual order.
34095 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34097         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
34099         * sysdeps/powerpc/fpu/fenv_private.h
34100         (libc_feholdexcept_setroundl_ctx): Define to
34101         libc_feholdexcept_setround_ppc_ctx.
34102         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
34103         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
34104         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
34105         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
34107 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
34109         * sysdeps/aarch64/math-tests.h: New file.
34111 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
34113         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
34114         New.
34115         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34116         Check and set bit_AVX2_Usable.
34117         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
34118         macro.
34119         (bit_AVX2): Likewise.
34120         (index_AVX2_Usable): Likewise.
34121         (CPUID_AVX2): Likewise.
34122         (HAS_AVX2): Likewise.
34124 2014-04-17  Will Newton  <will.newton@linaro.org>
34126         * manual/setjmp.texi (System V contexts): Add note that
34127         calling setcontext on a context created by a call to a
34128         signal handler is undefined.  Update text to note that
34129         setcontext from a signal handler is possible but not
34130         recommended.
34132         [BZ #16629]
34133         * stdlib/tst-setcontext.c: Include signal.h.
34134         (main): Check that the signal stack before and
34135         after swapcontext is the same.
34137         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
34138         Re-implement to restore registers in user code and avoid
34139         rt_sigreturn system call.
34141 2014-04-17  Wilco  <wdijkstr@arm.com>
34143         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
34144         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
34145         * math/test-fenv.c: Skip exception trap tests on targets which only
34146         support non-stop mode.
34148 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
34149             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34151         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
34152         (libc_feholdsetround_aarch64_ctx)
34153         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
34154         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
34155         (libc_feresetround_ctx, libc_feresetroundf_ctx)
34156         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
34157         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
34158         (libc_feresetround_noexl_ctx): Define.
34160 2014-04-16  Richard Henderson  <rth@redhat.com>
34162         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
34164         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
34165         unwind tables.
34167         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
34168         const from the non-libc, non-ldso copy.
34170         * sysdeps/alpha/libm-test-ulps: Regenerate.
34172 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
34173             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34175         * sysdeps/aarch64/fpu/math_private.h: New file.
34177 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34179         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34181 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
34183         [BZ #16275]
34184         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
34185         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
34186         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
34187         Intel MPX bound registers before _dl_profile_fixup.
34188         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
34189         registers after _dl_profile_fixup.  Save and restore bound
34190         registers bnd0/bnd1 when calling _dl_call_pltexit.
34191         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
34192         (LR_BND_OFFSET): Likewise.
34193         (LRV_BND0_OFFSET): Likewise.
34194         (LRV_BND1_OFFSET): Likewise.
34196 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34198         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
34199         to...
34200         * sysdeps/mach/hurd/i386/tls.h: ... here.
34201         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
34202         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
34203         fields.
34205 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34207         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
34209 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34211         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34213 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34215         [BZ #14770]
34216         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
34217         * sysdeps/s390/configure: Regenerate.
34219         [BZ #16824]
34220         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
34221         Set round-to-nearest internally to reduce error accumulation.
34223 2014-04-16  Alan Modra  <amodra@gmail.com>
34225         [BZ #16740]
34226         [BZ #16619]
34227         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
34228         * math/libm-test.inc (frexp_test_data): Add tests.
34229         * NEWS: Update fixed bug list.
34231 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34233         * benchtests/Makefile: Depend on libraries in build directory.
34234         (bench-math): Separate out math tests.
34235         (bench-pthread): Separate out pthread tests.
34236         (bench): Include math and pthread tests.
34238 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
34240         [BZ #16831]
34241         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
34242         _dl_debug_initialize.
34244         * configure.ac: Remove SELinux header check.
34245         * configure: Regenerate.
34246         * nscd/selinux.c (perms): Array of const char* to permission names.
34247         (nscd_request_avc_has_perm): Call security_deny_unknown to find
34248         default policy. Call string_to_security_class and string_to_av_perm to
34249         translate strings. Enforce default policy and call avs_has_perm with
34250         results of translated strings.
34252 2014-04-13  David S. Miller  <davem@davemloft.net>
34254         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34256 2014-04-12  Allan McRae  <allan@archlinux.org>
34258         [BZ #16838]
34259         * manual/string.texi (Collation Functions): Fix qsort argument
34260         order in example.
34261         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34263 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
34265         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
34266         Make the test a no-op if there are no exceptions defined.
34268 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
34270         * elf/Makefile (tests): make tst-dlopen-aout conditional on
34271         enable-hardcoded-path-in-tests
34273 2014-04-11  Will Newton  <will.newton@linaro.org>
34275         * benchtests/Makefile (extra-objs): Add json-lib.o.
34276         (bench-func): Tidy up JSON output.
34277         * benchtests/bench-skeleton.c: Include json-lib.h.
34278         (main): Use JSON library functions to do output of
34279         benchmark results.
34280         * benchtests/bench-timing-type.c (main): Output the
34281         timing type simply, leaving formatting to the user.
34282         * benchtests/json-lib.c: New file.
34283         * benchtests/json-lib.h: Likewise.
34285 2014-04-11  Torvald Riegel  <triegel@redhat.com>
34287         [BZ #15215]
34288         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
34289         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
34290         memory barriers.  Add comments.
34291         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
34292         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
34293         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
34294         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
34295         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
34296         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
34298 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34300         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
34301         * sysdeps/s390/s390-64/configure.ac: ... this ...
34302         * sysdeps/s390/configure.ac: ... to here.
34303         * sysdeps/s390/s390-32/configure: Delete file.
34304         * sysdeps/s390/s390-64/configure: Delete file.
34305         * sysdeps/s390/configure: Regenerate.
34307 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
34309         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
34311 2014-04-11  Will Newton  <will.newton@linaro.org>
34313         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
34314         to zero if it is not defined elsewhere.  (mtrim): Test
34315         the value of MALLOC_DEBUG with #if rather than #ifdef.
34317 2014-04-10 Torvald Riegel  <triegel@redhat.com>
34319         * benchtests/pthread_once-inputs: New file.
34320         * benchtests/pthread_once-source.c: New file.
34321         * benchtests/README: Update documentation.
34323 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
34324             H.J. Lu  <hongjiu.lu@intel.com>
34326         [BZ #16275]
34327         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
34328         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
34329         * sysdeps/x86_64/configure: Regenerated.
34330         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
34331         macro.
34332         (REGISTER_SAVE_RAX): Likewise.
34333         (REGISTER_SAVE_RCX): Likewise.
34334         (REGISTER_SAVE_RDX): Likewise.
34335         (REGISTER_SAVE_RSI): Likewise.
34336         (REGISTER_SAVE_RDI): Likewise.
34337         (REGISTER_SAVE_R8): Likewise.
34338         (REGISTER_SAVE_R9): Likewise.
34339         (REGISTER_SAVE_BND0): Likewise.
34340         (REGISTER_SAVE_BND1): Likewise.
34341         (REGISTER_SAVE_BND2): Likewise.
34342         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
34343         bound registers when calling _dl_fixup.
34345 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34347         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
34348         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
34349         of its definition.
34350         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
34351         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
34352         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
34353         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
34354         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
34355         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
34356         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
34358 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
34360         [BZ #15514]
34361         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
34362         pathconf(_PC_NAME_MAX).
34364 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34366         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
34367         Remove macro usage.
34368         (__PTHREAD_SPINS): Move definition to ...
34369         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34370         (__PTHREAD_SPINS): ... here.
34371         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34372         (__PTHREAD_SPIN): Likewise.
34373         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
34374         (__PTHREAD_SPIN): Likewise.
34375         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
34376         (__PTHREAD_SPIN): Likewise.
34377         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
34378         (__PTHREAD_SPIN): Likewise.
34379         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34380         (__PTHREAD_SPIN): Likewise.
34381         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34382         (__PTHREAD_SPIN): Likewise.
34383         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
34384         (__PTHREAD_SPIN): Likewise.
34385         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34386         (__PTHREAD_SPIN): Likewise.
34387         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34388         (__PTHREAD_SPIN): Likewise.
34389         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34390         (__PTHREAD_SPIN): Likewise.
34391         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34392         (__PTHREAD_SPIN): Likewise.
34393         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
34394         (__PTHREAD_SPIN): Likewise.
34396         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
34397         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
34398         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
34399         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
34400         imply folder.
34401         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
34402         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
34403         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
34404         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
34405         correct imply path.
34406         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
34407         strlen symbol for non multi-arch builds.
34408         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
34409         missing hidden_def and weak_alias.
34411 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
34413         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
34415 2014-04-07  Will Newton  <will.newton@linaro.org>
34417         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
34418         and contents.  [!_LIBC] Remove #ifndef and contents.
34419         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
34420         * string/memccpy.c (__memccpy): Use ANSI prototype.
34421         * string/memfrob.c (memfrob): Likewise.
34422         * string/strcoll.c (STRCOLL): Likewise.
34423         * string/strlen.c (strlen): Likewise.
34424         * string/strtok.c (STRTOK): Likewise.
34425         * string/strcat.c: Remove unused #include of memcopy.h.
34426         (strcat): Use ANSI prototype.
34427         * string/strchr.c: Remove unused #include of memcopy.h.
34428         (strchr): Use ANSI prototype.
34429         * string/strcmp.c: Remove unused #include of memcopy.h.
34430         (strcmp): Use ANSI prototype.
34431         * string/strcpy.c: Remove unused #include of memcopy.h.
34432         (strcpy): Use ANSI prototype.
34434 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34436         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
34437         * config.make.in (config-extra-cppflags): Set it from
34438         libc_extra_cppflags.
34439         * configure.ac (libc_extra_cflags): Make it accumulate over
34440         configure fragments.
34441         (libc_extra_cppflags): New flag.
34442         * configure. Regenerate.
34443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
34444         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
34445         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
34446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
34448         [BZ #16815]
34449         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
34450         result for FE_DOWNWARD rounding mode.
34451         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
34452         Likewise.
34453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34455 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
34457         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
34458         in function argument name.
34460 2014-04-03  David Svoboda  <svoboda@cert.org>
34462         [BZ #5666]
34463         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
34464         explicitly.
34466 2014-04-03  Roland McGrath  <roland@hack.frob.com>
34468         * elf/dl-unmap-segments.h: New file.
34469         * sysdeps/generic/ldsodefs.h
34470         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
34471         * elf/dl-close.c: Include <dl-unmap-segments.h>.
34472         * elf/dl-fptr.c: Likewise.
34473         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
34474         * sysdeps/aarch64/tlsdesc.c: Likewise.
34475         * sysdeps/arm/tlsdesc.c: Likewise.
34476         * sysdeps/i386/tlsdesc.c: Likewise.
34477         * sysdeps/tile/dl-runtime.c: Likewise.
34478         * sysdeps/x86_64/tlsdesc.c: Likewise.
34479         * elf/dl-load.h: New file.
34480         * elf/dl-load.c: Include it.
34481         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
34482         Macros moved to dl-load.h.
34483         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
34484         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
34485         Use _dl_unmap_segments in place of __munmap.
34486         Break out segment-mapping loop into ...
34487         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
34489 2014-04-03  Will Newton  <will.newton@linaro.org>
34491         * elf/dl-lookup.c (do_lookup_x): Remove comment
34492         referring to nested function and move variable
34493         declarations down to before first use.
34495 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
34497         [BZ #16799]
34498         [BZ #16800]
34499         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
34500         with 0 numerator.
34501         * math/s_catanf.c (__catanf): Likewise.
34502         * math/s_catanh.c (__catanh): Likewise.
34503         * math/s_catanhf.c (__catanhf): Likewise.
34504         * math/s_catanhl.c (__catanhl): Likewise.
34505         * math/s_catanl.c (__catanl): Likewise.
34506         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
34507         by positive zero when computing -Inf result.
34508         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
34509         (catanh_test): Likewise.
34510         * sysdeps/i386/fpu/libm-test-ulps: Update.
34511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34513         [BZ #16789]
34514         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
34515         instead of using underflowing value in computing result.
34516         * math/s_clog10.c (__clog10): Likewise.
34517         * math/s_clog10f.c (__clog10f): Likewise.
34518         * math/s_clog10l.c (__clog10l): Likewise.
34519         * math/s_clogf.c (__clogf): Likewise.
34520         * math/s_clogl.c (__clogl): Likewise.
34521         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
34522         (clog10_test): Likewise.
34523         * sysdeps/i386/fpu/libm-test-ulps: Update.
34524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34526 2014-04-02  Alan Modra  <amodra@gmail.com>
34528         [BZ #16739]
34529         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
34530         output when value is near a power of two.  Use int64_t for lx and
34531         remove casts.  Use decimal rather than hex exponent constants.
34532         Don't use long double multiplication when double will suffice.
34533         * math/libm-test.inc (nextafter_test_data): Add tests.
34534         * NEWS: Add 16739 and 16786 to bug list.
34536         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
34538         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
34540 2014-04-01  Will Newton  <will.newton@linaro.org>
34542         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
34543         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
34545 2014-04-01  Florian Weimer  <fweimer@redhat.com>
34547         [BZ #13347]
34548         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
34549         * nptl/tst-setuid2.c: New file.
34550         * nptl/Makefile (xtests): Add tst-setuid2.
34552 2014-04-01  Alan Modra  <amodra@gmail.com>
34554         [BZ #16786]
34555         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
34557 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
34559         [BZ #6803]
34560         [BZ #6804]
34561         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
34562         set errno as appropriate.
34563         * math/w_scalbf.c (__scalbf): Likewise.
34564         * math/w_scalbl.c (__scalbl): Likewise.
34565         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
34566         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
34567         * math/libm-test.inc (scalb_test_data): Add errno expectations.
34568         Add more NaN tests.
34570         [BZ #16349]
34571         * math/w_atan2.c: Include <errno.h>.
34572         (__atan2): Set errno for result underflowing to zero.
34573         * math/w_atan2f.c: Include <errno.h>.
34574         (__atan2f): Set errno for result underflowing to zero.
34575         * math/w_atan2l.c: Include <errno.h>.
34576         (__atan2l): Set errno for result underflowing to zero.
34577         * math/auto-libm-test-in: Don't allow missing errno for some atan2
34578         tests.
34579         * math/auto-libm-test-out: Regenerated.
34581 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34583         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
34584         Encode instruction correctly in little endian.
34585         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
34586         Likewise.
34587         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
34588         Likewise.
34589         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
34590         Likewise.
34591         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
34592         Likewise.
34594 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
34596         [BZ #9894]
34597         * sysdeps/unix/sysv/linux/kernel-features.h
34598         [__sparc__ && !__arch64__ && !__sparc_v9__]
34599         (__ASSUME_SET_ROBUST_LIST): Do not define.
34600         [__sparc__ && !__arch64__ && !__sparc_v9__]
34601         (__ASSUME_FUTEX_LOCK_PI): Likewise.
34602         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
34603         Likewise.
34604         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34605         (__ASSUME_FUTEX_LOCK_PI): Undefine.
34606         (__ASSUME_REQUEUE_PI): Likewise.
34607         (__ASSUME_SET_ROBUST_LIST): Likewise.
34608         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34609         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
34610         Undefine.
34611         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34612         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
34613         Likewise.
34614         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
34615         Likewise.
34616         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
34617         Likewise.
34618         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34619         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
34620         Undefine.
34621         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
34622         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
34623         Likewise.
34625         [BZ #16648]
34626         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34627         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
34628         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
34630 2014-03-31  Will Newton  <will.newton@linaro.org>
34632         * benchtests/Makefile (bench): Add ffs and ffsll to list
34633         of tests.
34634         * benchtests/ffs-inputs: New file.
34635         * benchtests/ffsll-inputs: Likewise.
34637 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
34639         [BZ #16770]
34640         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
34641         too large before casting to int.
34642         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
34643         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
34644         * math/libm-test.inc (scalb_test_data): Add more tests.
34646 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34648         * benchtests/Makefile (DETAILED_OPT): New make option.
34649         (bench-func): Run benchmark program with -d if DETAILED_OPT is
34650         set.
34651         * benchtests/bench-skeleton.c: Include stdbool.h.
34652         (main): Store and print timings per input.
34653         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
34654         member to each argument value.
34655         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
34656         (_print_arg_data): Initialize per-input timing to 0.
34658         * benchtests/Makefile (timing-type): New binary.
34659         (bench-clean): Also remove bench-timing-type.
34660         (bench): New target for timing-type.
34661         (bench-func): Print output in JSON format.
34662         * benchtests/bench-skeleton.c (main): Print output in JSON
34663         format.
34664         * benchtests/bench-timing-type.c: New file.
34665         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
34666         (TIMING_PRINT_STATS): Remove.
34667         * benchtests/scripts/bench.py (_print_arg_data): Store variant
34668         name separately.
34670         * benchtests/bench-modf.c: Remove.
34671         * benchtests/modf-inputs: New inputs file.
34673 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
34675         [BZ #16362]
34676         * math/s_clog10.c (M_PI_LOG10E): New macro.
34677         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
34678         imaginary parts are 0.
34679         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
34680         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
34681         imaginary parts are 0.
34682         * math/s_clog10l.c (M_PI_LOG10El): New macro.
34683         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
34684         imaginary parts are 0.
34685         * math/libm-test.inc (clog10_test_data): Update expected results
34686         for when real and imaginary parts are 0.
34688 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
34690         * elf/dl-load.c: Finish conversion of __builtin_expect into
34691         __glibc_{un}likely.
34693 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
34695         [BZ #16348]
34696         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
34697         1+x for argument with exponent below -67.
34698         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
34699         Likewise.
34700         * math/auto-libm-test-in: Add more tests of exp.
34701         * math/auto-libm-test-out: Regenerated.
34703 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34705         [BZ #16759]
34706         * inet/getnetgrent_r.c (get_nonempty_val): New function.
34707         (nscd_getnetgrent): Use it.
34709         [BZ #16760]
34710         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
34711         of stpcpy.
34713 2014-03-27  Andi Kleen  <ak@linux.intel.com>
34715         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
34716         (lll_robust_lock, lll_cond_lock, lll_timedlock)
34717         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34718         (lll_robust_unlock): Remove out of line section. Use cfi
34719         intrinsics.
34720         (LLL_STUB_UNWIND_INFO*): Remove.
34721         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
34722         (lll_robust_lock, lll_cond_lock, lll_timedlock)
34723         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34724         (lll_robust_unlock): Remove out of line section. Use cfi
34725         intrinsics.
34726         (LLL_STUB_UNWIND_INFO*): Remove.
34728 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34730         [BZ #16758]
34731         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
34732         blank values.
34734 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
34736         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
34738 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
34740         [BZ #16198]
34741         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
34742         fnstenv.
34743         * math/test-fenv-preserve.c: New file.
34744         * math/Makefile (tests): Add test-fenv-preserve.
34746 2014-03-26  Will Newton <will.newton@linaro.org>
34748         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
34750 2014-03-25  Roland McGrath  <roland@hack.frob.com>
34752         * scripts/versionlist.awk: Partition the version sets and emit all
34753         GLIBC_* (sorted) before all others (sorted).
34755 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
34757         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
34758         GLIBC_2.2.5 version.
34760 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34762         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
34763         calls.
34765         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
34766         previous change.
34768         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34770 2014-03-25  Andreas Schwab  <schwab@suse.de>
34772         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
34773         label to be used after in6ailist is initialized.
34775 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34777         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34778         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34780 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
34782         [BZ #16357]
34783         [BZ #16599]
34784         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
34785         min_plus_half.
34786         (fp_formats): Update initializers.
34787         (init_fp_formats): Initialize new field.
34788         (output_for_one_input_case): Allow underflow for results up to
34789         min_plus_half.
34790         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
34791         * math/auto-libm-test-in: Don't mark some underflows from asin and
34792         atanh as spurious.
34793         * math/auto-libm-test-out: Regenerated.
34794         * sysdeps/i386/fpu/libm-test-ulps: Update.
34795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34797 2014-03-25  Andreas Schwab  <schwab@suse.de>
34799         * libio/Makefile (tst-ftell-partial-wide-ENV)
34800         (tst-ftell-active-handler-ENV): Define.
34802 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
34804         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
34806 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34808         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
34810 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
34812         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
34813         * sysdeps/x86_64/fpu/multiarch/e_exp.c
34814         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
34816 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34818         [BZ #16634]
34819         * elf/dl-load.c (open_verify): Add mode parameter.
34820         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
34821         (open_path): Change from boolean 'secure' to complete flag 'mode'
34822         (_dl_map_object): Adjust.
34823         * elf/Makefile (tests): Add tst-dlopen-aout.
34824         * elf/tst-dlopen-aout.c: New test.
34826 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
34828         [BZ #16714]
34829         * sysdeps/unix/sysv/linux/s390/bits/stat.h
34830         (struct stat): Rename member pad0 to __glibc_reserved0.
34832         [BZ #16712]
34833         * sysdeps/s390/s390-32/bits/wordsize.h
34834         (__WORDSIZE32_SIZE_ULONG): New define.
34835         * sysdeps/s390/s390-64/bits/wordsize.h
34836         (__WORDSIZE32_SIZE_ULONG): Likewise.
34837         * sysdeps/generic/stdint.h (SIZE_MAX):
34838         Define as UL if __WORDSIZE32_SIZE_ULONG.
34840         [BZ #16713]
34841         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34842         (__glibc_reserved0): New variable.
34843         (sa_flags): Change type to int.
34845         * posix/Makefile (before-compile): Use += before-compile instead
34846         of a :=.
34848         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34849         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34851 2014-03-20  Andreas Schwab  <schwab@suse.de>
34853         [BZ #16743]
34854         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
34855         non-matching result from nscd.
34857 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34859         * scripts/bench.py: Moved to ...
34860         * benchtests/scripts/bench.py: ... here.
34861         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
34863 2014-03-24  Andreas Schwab  <schwab@suse.de>
34865         [BZ #16002]
34866         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
34867         alloca_account and account alloca use for struct in6ailist.
34869 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
34871         [BZ #16284]
34872         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
34873         rounding mode to recompute results that overflow to infinity or
34874         underflow to zero.
34875         * math/auto-libm-test-in: Don't mark tests as expected to fail for
34876         bug 16284.
34877         * math/auto-libm-test-out: Regenerated.
34878         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
34879         (ccosh_test): Likewise.
34880         (csin_test_data): Use plus_oflow.
34881         (csin_test): Use ALL_RM_TEST.
34882         (csinh_test_data): Use plus_oflow.
34883         (csinh_test): Use ALL_RM_TEST.
34884         * sysdeps/i386/fpu/libm-test-ulps: Update.
34885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34887 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
34889         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
34890         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
34891         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
34893         [BZ #16731]
34894         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
34895         when x - 1 is zero.
34896         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
34897         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
34898         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
34899         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
34900         argument is 1.
34901         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
34902         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
34903         zero.
34904         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
34905         * sysdeps/i386/fpu/libm-test-ulps: Update.
34906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34908 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34910         * scripts/bench.pl: Remove file.
34911         * scripts/bench.py: New benchmark script.
34912         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
34913         * benchtests/README: Mention python dependency.
34914         * scripts/pylintrc: New file.
34915         * scripts/pylint: New file.
34917         * bits/mathdef.h: Use #ifdef instead of #if.
34918         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
34919         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34920         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
34921         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34922         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
34923         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34925 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34926             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34928         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
34929         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
34930         and strpbrk-ppc64 objects.
34931         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34932         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
34933         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
34934         multiarch strpbrk for POWER7.
34935         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
34936         multiarch strpbrk for PPC64.
34937         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
34938         ifunc selector.
34939         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
34940         strpbrk for POWER7.
34942 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
34944         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
34945         (atan_test): Likewise.
34946         (atanh_test_data): Use NO_TEST_INLINE for two tests.
34947         (atanh_test): Use ALL_RM_TEST.
34948         (atan2_test_data): Likewise.
34949         (cabs_test): Likewise.
34950         (cacosh_test): Likewise.
34951         (carg_test): Likewise.
34952         (casin_test): Likewise.
34953         (casinh_test): Likewise.
34954         (cbrt_test): Likewise.
34955         (csqrt_test): Likewise.
34956         (erf_test): Likewise.
34957         (erfc_test): Likewise.
34958         (pow10_test): Likewise.
34959         (exp2_test): Likewise.
34960         (hypot_test): Likewise.
34961         (j0_test): Likewise.
34962         (j1_test): Likewise.
34963         (lgamma_test): Likewise.
34964         (gamma_test): Likewise.
34965         (sincos_test): Likewise.
34966         (tanh_test): Likewise.
34967         (y0_test): Likewise.
34968         (y1_test): Likewise.
34969         * sysdeps/i386/fpu/libm-test-ulps: Update.
34970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34972 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34974         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
34975         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
34976         and strcspn-ppc64 objects.
34977         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34978         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
34979         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
34980         multiarch strcspn for POWER7.
34981         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
34982         multiarch strcspn for PPC64.
34983         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
34984         ifunc selector.
34985         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
34986         strcspn for POWER7.
34988 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
34990         * math/gen-libm-test.pl (generate_testfile): Expect only function
34991         name as argument to AUTO_TESTS_* and pass results for all rounding
34992         modes to parse_args.
34993         (parse_auto_input): Separate inputs of automatic tests from
34994         outputs before storing in %auto_tests.
34995         * math/libm-test.inc (acos_test_data): Update call to
34996         AUTO_TESTS_f_f.
34997         (acos_test): Use ALL_RM_TEST.
34998         (acos_tonearest_test_data): Remove.
34999         (acos_test_tonearest): Likewise.
35000         (acos_towardzero_test_data): Likewise.
35001         (acos_test_towardzero): Likewise.
35002         (acos_downward_test_data): Likewise.
35003         (acos_test_downward): Likewise.
35004         (acos_upward_test_data): Likewise.
35005         (acos_test_upward): Likewise.
35006         (acosh_test_data): Update call to AUTO_TESTS_f_f.
35007         (asin_test_data): Likewise.
35008         (asin_test): Use ALL_RM_TEST.
35009         (asin_tonearest_test_data): Remove.
35010         (asin_test_tonearest): Likewise.
35011         (asin_towardzero_test_data): Likewise.
35012         (asin_test_towardzero): Likewise.
35013         (asin_downward_test_data): Likewise.
35014         (asin_test_downward): Likewise.
35015         (asin_upward_test_data): Likewise.
35016         (asin_test_upward): Likewise.
35017         (asinh_test_data): Update call to AUTO_TESTS_f_f.
35018         (atan_test_data): Likewise.
35019         (atanh_test_data): Likewise.
35020         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
35021         (cabs_test_data): Update call to AUTO_TESTS_c_f.
35022         (carg_test_data): Likewise.
35023         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
35024         (ccos_test_data): Update call to AUTO_TESTS_c_c.
35025         (ccosh_test_data): Likewise.
35026         (cexp_test_data): Likewise.
35027         (clog_test_data): Likewise.
35028         (clog10_test_data): Likewise.
35029         (cos_test_data): Update call to AUTO_TESTS_f_f.
35030         (cos_test): Use ALL_RM_TEST.
35031         (cos_tonearest_test_data): Remove.
35032         (cos_test_tonearest): Likewise.
35033         (cos_towardzero_test_data): Likewise.
35034         (cos_test_towardzero): Likewise.
35035         (cos_downward_test_data): Likewise.
35036         (cos_test_downward): Likewise.
35037         (cos_upward_test_data): Likewise.
35038         (cos_test_upward): Likewise.
35039         (cosh_test_data): Update call to AUTO_TESTS_f_f.
35040         (cosh_test): Use ALL_RM_TEST.
35041         (cosh_tonearest_test_data): Remove.
35042         (cosh_test_tonearest): Likewise.
35043         (cosh_towardzero_test_data): Likewise.
35044         (cosh_test_towardzero): Likewise.
35045         (cosh_downward_test_data): Likewise.
35046         (cosh_test_downward): Likewise.
35047         (cosh_upward_test_data): Likewise.
35048         (cosh_test_upward): Likewise.
35049         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
35050         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
35051         (ctan_test_data): Likewise.
35052         (ctan_test): Use ALL_RM_TEST.
35053         (ctan_tonearest_test_data): Remove.
35054         (ctan_test_tonearest): Likewise.
35055         (ctan_towardzero_test_data): Likewise.
35056         (ctan_test_towardzero): Likewise.
35057         (ctan_downward_test_data): Likewise.
35058         (ctan_test_downward): Likewise.
35059         (ctan_upward_test_data): Likewise.
35060         (ctan_test_upward): Likewise.
35061         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
35062         (ctanh_test): Use ALL_RM_TEST.
35063         (ctanh_tonearest_test_data): Remove.
35064         (ctanh_test_tonearest): Likewise.
35065         (ctanh_towardzero_test_data): Likewise.
35066         (ctanh_test_towardzero): Likewise.
35067         (ctanh_downward_test_data): Likewise.
35068         (ctanh_test_downward): Likewise.
35069         (ctanh_upward_test_data): Likewise.
35070         (ctanh_test_upward): Likewise.
35071         (erf_test_data): Update call to AUTO_TESTS_f_f.
35072         (erfc_test_data): Likewise.
35073         (exp_test_data): Likewise.
35074         (exp_test): Use ALL_RM_TEST.
35075         (exp_tonearest_test_data): Remove.
35076         (exp_test_tonearest): Likewise.
35077         (exp_towardzero_test_data): Likewise.
35078         (exp_test_towardzero): Likewise.
35079         (exp_downward_test_data): Likewise.
35080         (exp_test_downward): Likewise.
35081         (exp_upward_test_data): Likewise.
35082         (exp_test_upward): Likewise.
35083         (exp10_test_data): Update call to AUTO_TESTS_f_f.
35084         (exp10_test): Use ALL_RM_TEST.
35085         (exp10_tonearest_test_data): Remove.
35086         (exp10_test_tonearest): Likewise.
35087         (exp10_towardzero_test_data): Likewise.
35088         (exp10_test_towardzero): Likewise.
35089         (exp10_downward_test_data): Likewise.
35090         (exp10_test_downward): Likewise.
35091         (exp10_upward_test_data): Likewise.
35092         (exp10_test_upward): Likewise.
35093         (exp2_test_data): Update call to AUTO_TESTS_f_f.
35094         (expm1_test_data): Likewise.
35095         (expm1_test): Use ALL_RM_TEST.
35096         (expm1_tonearest_test_data): Remove.
35097         (expm1_test_tonearest): Likewise.
35098         (expm1_towardzero_test_data): Likewise.
35099         (expm1_test_towardzero): Likewise.
35100         (expm1_downward_test_data): Likewise.
35101         (expm1_test_downward): Likewise.
35102         (expm1_upward_test_data): Likewise.
35103         (expm1_test_upward): Likewise.
35104         (fma_test_data): Update call to AUTO_TESTS_fff_f.
35105         (fma_test): Use ALL_RM_TEST.
35106         (fma_towardzero_test_data): Remove.
35107         (fma_test_towardzero): Likewise.
35108         (fma_downward_test_data): Likewise.
35109         (fma_test_downward): Likewise.
35110         (fma_upward_test_data): Likewise.
35111         (fma_test_upward): Likewise.
35112         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
35113         (j0_test_data): Update call to AUTO_TESTS_f_f.
35114         (j1_test_data): Likewise.
35115         (jn_test_data): Update call to AUTO_TESTS_if_f.
35116         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
35117         (log_test_data): Update call to AUTO_TESTS_f_f.
35118         (log10_test_data): Likewise.
35119         (log1p_test_data): Likewise.
35120         (log2_test_data): Likewise.
35121         (pow_test_data): Update call to AUTO_TESTS_ff_f.
35122         (pow_tonearest_test_data): Likewise.
35123         (sin_test_data): Update call to AUTO_TESTS_f_f.
35124         (sin_test): Use ALL_RM_TEST.
35125         (sin_tonearest_test_data): Remove.
35126         (sin_test_tonearest): Likewise.
35127         (sin_towardzero_test_data): Likewise.
35128         (sin_test_towardzero): Likewise.
35129         (sin_downward_test_data): Likewise.
35130         (sin_test_downward): Likewise.
35131         (sin_upward_test_data): Likewise.
35132         (sin_test_upward): Likewise.
35133         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
35134         (sinh_test_data): Update call to AUTO_TESTS_f_f.
35135         (sinh_test): Use ALL_RM_TEST.
35136         (sinh_tonearest_test_data): Remove.
35137         (sinh_test_tonearest): Likewise.
35138         (sinh_towardzero_test_data): Likewise.
35139         (sinh_test_towardzero): Likewise.
35140         (sinh_downward_test_data): Likewise.
35141         (sinh_test_downward): Likewise.
35142         (sinh_upward_test_data): Likewise.
35143         (sinh_test_upward): Likewise.
35144         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
35145         (sqrt_test): Use ALL_RM_TEST.
35146         (sqrt_tonearest_test_data): Remove.
35147         (sqrt_test_tonearest): Likewise.
35148         (sqrt_towardzero_test_data): Likewise.
35149         (sqrt_test_towardzero): Likewise.
35150         (sqrt_downward_test_data): Likewise.
35151         (sqrt_test_downward): Likewise.
35152         (sqrt_upward_test_data): Likewise.
35153         (sqrt_test_upward): Likewise.
35154         (tan_test_data): Update call to AUTO_TESTS_f_f.
35155         (tan_test): Use ALL_RM_TEST.
35156         (tan_tonearest_test_data): Remove.
35157         (tan_test_tonearest): Likewise.
35158         (tan_towardzero_test_data): Likewise.
35159         (tan_test_towardzero): Likewise.
35160         (tan_downward_test_data): Likewise.
35161         (tan_test_downward): Likewise.
35162         (tan_upward_test_data): Likewise.
35163         (tan_test_upward): Likewise.
35164         (tanh_test_data): Update call to AUTO_TESTS_f_f.
35165         (tgamma_test_data): Likewise.
35166         (y0_test_data): Likewise.
35167         (y1_test_data): Likewise.
35168         (yn_test_data): Update call to AUTO_TESTS_if_f.
35169         (main): Do not call removed functions.
35171 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35173         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
35174         (ldexp_test_data): Remove.
35175         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
35176         scalbn_test_data.
35177         (scalb_test): Use ALL_RM_TEST.
35179 2014-03-19  Andreas Schwab  <schwab@suse.de>
35181         * nscd/nscd.service: Also invalidate netgroup cache on reload.
35183 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35185         [BZ #16649]
35186         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35187         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
35188         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
35189         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35190         (__ASSUME_PREADV): Undefine.
35191         (__ASSUME_PWRITEV): Likewise.
35193 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35195         * bits/mman-linux.h: Add comment about non-Linux use.
35196         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
35197         bits/mman-linux.h resting place.
35199         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
35200         * bits/mman-linux.h: ... here.
35202 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35204         * conform/conformtest.pl: Add standard definition when calling C
35205         preprocessor on data files.
35206         (checknamespace): Remove unused variable.
35208 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35210         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
35211         minus_oflow, plus_uflow and minus_uflow in expected results.
35212         * math/libm-test.inc (scalbn_test_data): Add more tests of
35213         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
35214         minus_uflow.
35215         (scalbn_test): Use ALL_RM_TEST.
35216         (scalbln_test_data): Add more tests of negative arguments.  Use
35217         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
35218         (scalbln_test): Use ALL_RM_TEST.
35220 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35222         * scripts/abilist.awk: Ignore symbols marked with .hidden.
35224 2014-03-18  Will Newton  <will.newton@linaro.org>
35226         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
35227         inaccurate comment.
35229 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35231         * Makerules [!subdir] (check-abi): Exit with error status if a
35232         test failed.
35234 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
35236         * math/libm-test.inc (nearbyint_test_data): Include all tests used
35237         for rint.  Include results for all rounding modes.
35238         (nearbyint_test): Use ALL_RM_TEST.
35239         (rint_test_data): Include all tests used for nearbyint.
35241 2014-03-17  Will Newton  <will.newton@linaro.org>
35243         * nptl/sysdeps/pthread/pthread.h: Revert previous
35244         change.
35246         * sysdeps/generic/ldsodefs.h: Revert previous
35247         change.
35249         * libio/genops.c: Revert previous change.
35250         * libio/libioP.h: Likewise.
35251         * stdio-common/vfprintf.c: Likewise.
35253         * sysdeps/generic/math_private.h: Revert previous
35254         change.
35256         * sysdeps/generic/math_private.h: Check whether
35257         HAVE_RM_CTX is defined with #ifdef rather
35258         than #if.
35260         * argp/argp-fmtstream.h: Check whether
35261         __STRICT_ANSI__ is defined with #ifdef rather
35262         than #if.
35263         * argp/argp.h: Likewise.
35265         * libio/genops.c: Check whether
35266         _IO_JUMPS_OFFSET is defined with #ifdef rather
35267         than #if.
35268         * libio/libioP.h: Likewise.
35269         * stdio-common/vfprintf.c: Likewise.
35271         * sysdeps/generic/ldsodefs.h: Check whether
35272         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
35273         than #if.
35275         * nptl/sysdeps/pthread/pthread.h: Check
35276         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
35277         its value.
35279 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35281         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
35282         setting O_APPEND.
35283         * libio/tst-ftell-active-handler.c (do_append_test): Add a
35284         test case.
35286         [BZ #16680]
35287         * libio/fileops.c (_IO_file_open): Seek to end of file but
35288         don't cache the offset.
35289         (get_file_offset): Remove function.
35290         (do_ftell): Use cached offset when available.
35291         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
35292         don't cache the offset.
35293         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
35294         case.
35295         (do_one_test): Call it.
35296         (do_ftell_test): Fix up expected old offset for a+ mode.
35297         * libio/wfileops.c (do_ftell_wide): Used cached offset when
35298         available.
35300         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
35301         up test status with function return status.
35302         (do_write_test): Likewise.
35303         (do_append_test): Likewise.
35305         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
35306         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
35307         Remove.
35309 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
35311         * math/gen-libm-test.pl (parse_args): Handle results specified for
35312         each rounding mode separately.
35313         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
35314         tests and results from lrint_tonearest_test_data,
35315         lrint_towardzero_test_data, lrint_downward_test_data and
35316         lrint_upward_test_data.
35317         (lrint_test): Use ALL_RM_TEST.
35318         (lrint_tonearest_test_data): Remove.
35319         (lrint_test_tonearest): Likewise.
35320         (lrint_towardzero_test_data): Likewise.
35321         (lrint_test_towardzero): Likewise.
35322         (lrint_downward_test_data): Likewise.
35323         (lrint_test_downward): Likewise.
35324         (lrint_upward_test_data): Likewise.
35325         (lrint_test_upward): Likewise.
35326         (llrint_test_data): Merge in per-rounding-mode tests and results
35327         from llrint_tonearest_test_data, llrint_towardzero_test_data,
35328         llrint_downward_test_data and llrint_upward_test_data.
35329         (llrint_test): Use ALL_RM_TEST.
35330         (llrint_tonearest_test_data): Remove.
35331         (llrint_test_tonearest): Likewise.
35332         (llrint_towardzero_test_data): Likewise.
35333         (llrint_test_towardzero): Likewise.
35334         (llrint_downward_test_data): Likewise.
35335         (llrint_test_downward): Likewise.
35336         (llrint_upward_test_data): Likewise.
35337         (llrint_test_upward): Likewise.
35338         (rint_test_data): Merge in per-rounding-mode tests and results
35339         from rint_tonearest_test_data, rint_towardzero_test_data,
35340         rint_downward_test_data and rint_upward_test_data.  Add
35341         per-rounding-mode results for tests not in those arrays.
35342         (rint_test): Use ALL_RM_TEST.
35343         (rint_tonearest_test_data): Remove.
35344         (rint_test_tonearest): Likewise.
35345         (rint_towardzero_test_data): Likewise.
35346         (rint_test_towardzero): Likewise.
35347         (rint_downward_test_data): Likewise.
35348         (rint_test_downward): Likewise.
35349         (rint_upward_test_data): Likewise.
35350         (rint_test_upward): Likewise.
35351         (main): Don't call removed functions.
35353 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35355         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
35356         "Compiled on ..." crapola.  It is anti-useful.
35358 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
35360         * scripts/evaluate-test.sh: Handle fourth argument to determine
35361         whether test run should stop on failure.
35362         * Makeconfig (stop-on-test-failure): New variable.
35363         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
35364         $(stop-on-test-failure).
35365         * Makefile (tests): Give a summary of results from testing and
35366         exit with failure status if they include an ERROR or FAIL.
35367         (xtests): Likewise.
35368         * manual/install.texi (Configuring and compiling): Mention
35369         stop-on-test-failure=y.
35370         * INSTALL: Regenerated.
35372 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35374         * scripts/versionlist.awk: New file.
35375         * Makerules [$(build-shared) = yes]
35376         (postclean-generated): Add Versions.def, not Versions.def.v and
35377         Versions.def.v.i.
35378         ($(common-objpfx)Versions.def.v.i): Target removed.
35379         ($(common-objpfx)Versions.def): New target.
35380         ($(common-objpfx)Versions.all): Depend on that rather that
35381         $(common-objpfx)Versions.def.v.
35382         * Versions.def: File removed.
35384         * Makeconfig (+gccwarn): Add -Wundef.
35385         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
35386         a dl-sysdep.h breaking its contract.
35387         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
35388         * include/stackinfo.h: New file.
35389         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
35390         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
35391         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
35392         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
35393         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
35394         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
35395         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35396         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35397         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35398         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35399         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35400         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
35401         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35402         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35403         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35405 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35407         [BZ #16707]
35408         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
35409         implementation.
35410         * math/libm-test.inc (round_test_data): Add more tests.
35412         [BZ #16706]
35413         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
35414         implementation.
35415         * math/libm-test.inc (nearbyint_test_data): Add more tests.
35417         [BZ #16701]
35418         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
35419         implementation.
35420         * math/libm-test.inc (ceil_test_data): Add more tests.
35422         * math/libm-test.inc (trunc_test_data): Add more tests related to
35423         BZ#16414.
35425 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35427         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
35428         with #if rather than #ifdef.
35429         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
35431 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
35433         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
35434         first.  Disable AVX-512 GCC support if assembler doesn't support
35435         it.
35436         * sysdeps/x86_64/configure: Regenerated.
35438 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
35440         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
35441         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
35442         (__old_pthread_attr_setstack): Likewise.
35443         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
35444         [!_STACK_GROWS_DOWN]: Likewise.
35446 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
35448         * config.make.in (have-bash2): Delete.
35449         * configure.ac (libc_cv_have_bash2): Delete.
35450         * configure: Regenerate.
35451         * elf/Makefile (common-ldd-rewrite): Rename to ...
35452         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
35453         (sh-ldd-rewrite): Delete.
35454         (bash-ldd-rewrite): Delete.
35455         (have-bash2): Delete checks.
35456         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
35457         ldd-rewrite.
35459         * config.make.in (have-ksh): Delete.
35460         (KSH): Delete.
35461         * configure.ac (libc_cv_have_ksh): Delete.
35462         * configure: Regenerate.
35464         * elf/Makefile: Delete $(have-ksh) check.
35465         ($(objpfx)sotruss): Change KSH to BASH.
35466         * elf/sotruss.ksh: Rename to ...
35467         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
35468         function style to match POSIX.  Drop ksh vim mode setting.
35470         * manual/time.texi (Specifying the Time Zone with TZ): Change
35471         Tuesday to Thursday.
35473         * debug/tst-longjmp_chk2.c: Update header comment.
35474         (stackoverflow_handler): Add comment.  Call assert on pass value.
35476 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
35478         [BZ #16194]
35479         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
35480         (HAVE_AVX512_ASM_SUPPORT): Likewise.
35481         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
35482         (La_x86_64_vector): Add zmm.
35483         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
35484         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
35485         ($(objpfx)tst-audit10): New target.
35486         ($(objpfx)tst-audit10.out): Likewise.
35487         (tst-audit10-ENV): New.
35488         (AVX512-CFLAGS): Likewise.
35489         (CFLAGS-tst-audit10.c): Likewise.
35490         (CFLAGS-tst-auditmod10a.c): Likewise.
35491         (CFLAGS-tst-auditmod10b.c): Likewise.
35492         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
35493         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
35494         * sysdeps/x86_64/configure: Regenerated.
35495         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
35496         AVX-512 zmm register support.
35497         (_dl_x86_64_save_sse): Likewise.
35498         (_dl_x86_64_restore_sse): Likewise.
35499         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
35500         size vector registers.
35501         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
35502         (ZMM_SIZE): Likewise.
35503         * sysdeps/x86_64/tst-audit10.c: New file.
35504         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
35505         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
35507 2014-03-13  Roland McGrath  <roland@hack.frob.com>
35509         * configure.ac (HAVE_EHDR_START): New check.
35510         * configure: Regenerated.
35511         * config.h.in (HAVE_EHDR_START): New #undef.
35512         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
35513         assuming the lowest-addressed segment maps the start of the file.
35515 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
35517         * INSTALL: Regenerated.
35519 2014-03-13  Will Newton  <will.newton@linaro.org>
35521         * manual/setjmp.texi (System V contexts): Improve
35522         clarity and grammar of documentation.
35524 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
35526         [BZ #16381]
35527         * elf/Makefile (tests): Add tst-pie2.
35528         (tests-pie): Add tst-pie2.
35529         * elf/tst-pie2.c: New file.
35530         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
35531         for ET_EXEC.
35532         * elf/rtld.c (map_doit): Load executable as lt_executable.
35533         (dl_main): Likewise.
35535 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
35537         [BZ #16642]
35538         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35539         (__ASSUME_PSELECT): Undefine.
35541 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35543         [BZ #16689]
35544         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
35545         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
35546         static build.
35547         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
35548         selector for static builds.
35550 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35552         [BZ #16695]
35553         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
35554         key in the buffer.
35556 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35558         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
35559         IFUNC selector for static builds.
35561 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
35563         * sysdeps/mips/math_private.h [__mips_hard_float]
35564         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
35565         libc_feresetround_mips_ctx.
35566         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
35567         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
35568         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
35570         [BZ #16677]
35571         * math/s_nextafter.c (__nextafter): Do not return value from
35572         overflowing computation.
35573         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35574         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
35575         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35576         Likewise.
35577         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
35578         Likewise.
35579         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35580         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
35582 2014-03-11  Roland McGrath  <roland@hack.frob.com>
35584         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
35585         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
35586         Move sfi_sp use from the load-multiple (that no longer sets sp) to
35587         the new mov targetting sp.
35589 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35591         [BZ #16683]
35592         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
35593         Define it for static builds as well.
35594         (NO_BZERO_IMPL): Likewise.
35596 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35598         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
35599         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
35600         multiarch strspn for PPC64.
35601         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
35602         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
35603         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35604         (__libc_ifunc_impl_list): Likewise.
35605         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
35606         multiarch optimizations
35607         * string/strspn.c (strspn): Using macro to redefine symbol name.
35609 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35610             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35612         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
35613         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
35614         multiarch strncat for PPC64.
35615         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
35616         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
35617         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35618         (__libc_ifunc_impl_list): Likewise.
35619         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
35620         multiarch optimizations
35622 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35624         [BZ #16639]
35625         * nscd/nscd.service: Make service type forking.
35627 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35629         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
35630         sign in non default rounding modes.
35631         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
35633 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
35635         * math/libm-test.inc (ALL_RM_TEST): New macro.
35636         (ceil_test): Use ALL_RM_TEST.
35637         (cimag_test): Likewise.
35638         (conj_test): Likewise.
35639         (copysign_test): Likewise.
35640         (cproj_test): Likewise.
35641         (creal_test): Likewise.
35642         (fabs_test): Likewise.
35643         (floor_test): Likewise.
35644         (fmax_test): Likewise.
35645         (fmin_test): Likewise.
35646         (fmod_test): Likewise.
35647         (fpclassify_test): Likewise.
35648         (frexp_test): Likewise.
35649         (ilogb_test): Likewise.
35650         (isfinite_test): Likewise.
35651         (finite_test): Likewise.
35652         (isgreater_test): Likewise.
35653         (isgreaterequal_test): Likewise.
35654         (isinf_test): Likewise.
35655         (isless_test): Likewise.
35656         (islessequal_test): Likewise.
35657         (islessgreater_test): Likewise.
35658         (isnan_test): Likewise.
35659         (isnormal_test): Likewise.
35660         (issignaling_test): Likewise.
35661         (isunordered_test): Likewise.
35662         (logb_test): Likewise.
35663         (logb_downward_test_data): Remove.
35664         (logb_test_downward): Likewise.
35665         (lround_test): Use ALL_RM_TEST.
35666         (llround_test): Likewise.
35667         (modf_test): Likewise.
35668         (nexttoward_test): Likewise.
35669         (remainder_test): Likewise.
35670         (drem_test): Likewise.
35671         (remainder_tonearest_test_data): Likewise.
35672         (remainder_test_tonearest): Likewise.
35673         (drem_test_tonearest): Likewise.
35674         (remainder_towardzero_test_data): Likewise.
35675         (remainder_test_towardzero): Likewise.
35676         (drem_test_towardzero): Likewise.
35677         (remainder_downward_test_data): Likewise.
35678         (remainder_test_downward): Likewise.
35679         (drem_test_downward): Likewise.
35680         (remainder_upward_test_data): Likewise.
35681         (remainder_test_upward): Likewise.
35682         (drem_test_upward): Likewise.
35683         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
35684         (round_test): Use ALL_RM_TEST.
35685         (signbit_test): Likewise.
35686         (trunc_test): Likewise.
35687         (significand_test): Likewise.
35688         (main): Don't call removed functions.
35690 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
35692         [BZ #16674]
35693         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
35694         || __USE_XOPEN2K8].
35695         (ILL_ILLOPN): Likewise.
35696         (ILL_ILLADR): Likewise.
35697         (ILL_ILLTRP): Likewise.
35698         (ILL_PRVOPC): Likewise.
35699         (ILL_PRVREG): Likewise.
35700         (ILL_COPROC): Likewise.
35701         (ILL_BADSTK): Likewise.
35702         (FPE_INTDIV): Likewise.
35703         (FPE_INTOVF): Likewise.
35704         (FPE_FLTDIV): Likewise.
35705         (FPE_FLTOVF): Likewise.
35706         (FPE_FLTUND): Likewise.
35707         (FPE_FLTRES): Likewise.
35708         (FPE_FLTINV): Likewise.
35709         (FPE_FLTSUB): Likewise.
35710         (SEGV_MAPERR): Likewise.
35711         (SEGV_ACCERR): Likewise.
35712         (BUS_ADRALN): Likewise.
35713         (BUS_ADRERR): Likewise.
35714         (BUS_OBJERR): Likewise.
35715         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35716         (TRAP_TRACE): Likewise.
35717         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35718         __USE_XOPEN2K8].
35719         (CLD_KILLED): Likewise.
35720         (CLD_DUMPED): Likewise.
35721         (CLD_TRAPPED): Likewise.
35722         (CLD_STOPPED): Likewise.
35723         (CLD_CONTINUED): Likewise.
35724         (POLL_IN): Likewise.
35725         (POLL_OUT): Likewise.
35726         (POLL_MSG): Likewise.
35727         (POLL_ERR): Likewise.
35728         (POLL_PRI): Likewise.
35729         (POLL_HUP): Likewise.
35730         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
35731         Likewise.
35732         (ILL_ILLOPN): Likewise.
35733         (ILL_ILLADR): Likewise.
35734         (ILL_ILLTRP): Likewise.
35735         (ILL_PRVOPC): Likewise.
35736         (ILL_PRVREG): Likewise.
35737         (ILL_COPROC): Likewise.
35738         (ILL_BADSTK): Likewise.
35739         (FPE_INTDIV): Likewise.
35740         (FPE_INTOVF): Likewise.
35741         (FPE_FLTDIV): Likewise.
35742         (FPE_FLTOVF): Likewise.
35743         (FPE_FLTUND): Likewise.
35744         (FPE_FLTRES): Likewise.
35745         (FPE_FLTINV): Likewise.
35746         (FPE_FLTSUB): Likewise.
35747         (SEGV_MAPERR): Likewise.
35748         (SEGV_ACCERR): Likewise.
35749         (BUS_ADRALN): Likewise.
35750         (BUS_ADRERR): Likewise.
35751         (BUS_OBJERR): Likewise.
35752         (BUS_MCEERR_AR): Likewise.
35753         (BUS_MCEERR_AO): Likewise.
35754         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35755         (TRAP_TRACE): Likewise.
35756         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35757         __USE_XOPEN2K8].
35758         (CLD_KILLED): Likewise.
35759         (CLD_DUMPED): Likewise.
35760         (CLD_TRAPPED): Likewise.
35761         (CLD_STOPPED): Likewise.
35762         (CLD_CONTINUED): Likewise.
35763         (POLL_IN): Likewise.
35764         (POLL_OUT): Likewise.
35765         (POLL_MSG): Likewise.
35766         (POLL_ERR): Likewise.
35767         (POLL_PRI): Likewise.
35768         (POLL_HUP): Likewise.
35769         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
35770         (ILL_ILLOPN): Likewise.
35771         (ILL_ILLADR): Likewise.
35772         (ILL_ILLTRP): Likewise.
35773         (ILL_PRVOPC): Likewise.
35774         (ILL_PRVREG): Likewise.
35775         (ILL_COPROC): Likewise.
35776         (ILL_BADSTK): Likewise.
35777         (FPE_INTDIV): Likewise.
35778         (FPE_INTOVF): Likewise.
35779         (FPE_FLTDIV): Likewise.
35780         (FPE_FLTOVF): Likewise.
35781         (FPE_FLTUND): Likewise.
35782         (FPE_FLTRES): Likewise.
35783         (FPE_FLTINV): Likewise.
35784         (FPE_FLTSUB): Likewise.
35785         (SEGV_MAPERR): Likewise.
35786         (SEGV_ACCERR): Likewise.
35787         (BUS_ADRALN): Likewise.
35788         (BUS_ADRERR): Likewise.
35789         (BUS_OBJERR): Likewise.
35790         (BUS_MCEERR_AR): Likewise.
35791         (BUS_MCEERR_AO): Likewise.
35792         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35793         (TRAP_TRACE): Likewise.
35794         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35795         __USE_XOPEN2K8].
35796         (CLD_KILLED): Likewise.
35797         (CLD_DUMPED): Likewise.
35798         (CLD_TRAPPED): Likewise.
35799         (CLD_STOPPED): Likewise.
35800         (CLD_CONTINUED): Likewise.
35801         (POLL_IN): Likewise.
35802         (POLL_OUT): Likewise.
35803         (POLL_MSG): Likewise.
35804         (POLL_ERR): Likewise.
35805         (POLL_PRI): Likewise.
35806         (POLL_HUP): Likewise.
35807         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
35808         Likewise.
35809         (ILL_ILLOPN): Likewise.
35810         (ILL_ILLADR): Likewise.
35811         (ILL_ILLTRP): Likewise.
35812         (ILL_PRVOPC): Likewise.
35813         (ILL_PRVREG): Likewise.
35814         (ILL_COPROC): Likewise.
35815         (ILL_BADSTK): Likewise.
35816         (ILL_BADIADDR): Likewise.
35817         (ILL_BREAK): Likewise.
35818         (FPE_INTDIV): Likewise.
35819         (FPE_INTOVF): Likewise.
35820         (FPE_FLTDIV): Likewise.
35821         (FPE_FLTOVF): Likewise.
35822         (FPE_FLTUND): Likewise.
35823         (FPE_FLTRES): Likewise.
35824         (FPE_FLTINV): Likewise.
35825         (FPE_FLTSUB): Likewise.
35826         (FPE_DECOVF): Likewise.
35827         (FPE_DECDIV): Likewise.
35828         (FPE_DECERR): Likewise.
35829         (FPE_INVASC): Likewise.
35830         (FPE_INVDEC): Likewise.
35831         (SEGV_MAPERR): Likewise.
35832         (SEGV_ACCERR): Likewise.
35833         (SEGV_PSTKOVF): Likewise.
35834         (BUS_ADRALN): Likewise.
35835         (BUS_ADRERR): Likewise.
35836         (BUS_OBJERR): Likewise.
35837         (BUS_MCEERR_AR): Likewise.
35838         (BUS_MCEERR_AO): Likewise.
35839         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35840         (TRAP_TRACE): Likewise.
35841         (TRAP_BRANCH): Likewise.
35842         (TRAP_HWBKPT): Likewise.
35843         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35844         __USE_XOPEN2K8].
35845         (CLD_KILLED): Likewise.
35846         (CLD_DUMPED): Likewise.
35847         (CLD_TRAPPED): Likewise.
35848         (CLD_STOPPED): Likewise.
35849         (CLD_CONTINUED): Likewise.
35850         (POLL_IN): Likewise.
35851         (POLL_OUT): Likewise.
35852         (POLL_MSG): Likewise.
35853         (POLL_ERR): Likewise.
35854         (POLL_PRI): Likewise.
35855         (POLL_HUP): Likewise.
35856         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
35857         (ILL_ILLOPN): Likewise.
35858         (ILL_ILLADR): Likewise.
35859         (ILL_ILLTRP): Likewise.
35860         (ILL_PRVOPC): Likewise.
35861         (ILL_PRVREG): Likewise.
35862         (ILL_COPROC): Likewise.
35863         (ILL_BADSTK): Likewise.
35864         (FPE_INTDIV): Likewise.
35865         (FPE_INTOVF): Likewise.
35866         (FPE_FLTDIV): Likewise.
35867         (FPE_FLTOVF): Likewise.
35868         (FPE_FLTUND): Likewise.
35869         (FPE_FLTRES): Likewise.
35870         (FPE_FLTINV): Likewise.
35871         (FPE_FLTSUB): Likewise.
35872         (SEGV_MAPERR): Likewise.
35873         (SEGV_ACCERR): Likewise.
35874         (BUS_ADRALN): Likewise.
35875         (BUS_ADRERR): Likewise.
35876         (BUS_OBJERR): Likewise.
35877         (BUS_MCEERR_AR): Likewise.
35878         (BUS_MCEERR_AO): Likewise.
35879         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35880         (TRAP_TRACE): Likewise.
35881         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35882         __USE_XOPEN2K8].
35883         (CLD_KILLED): Likewise.
35884         (CLD_DUMPED): Likewise.
35885         (CLD_TRAPPED): Likewise.
35886         (CLD_STOPPED): Likewise.
35887         (CLD_CONTINUED): Likewise.
35888         (POLL_IN): Likewise.
35889         (POLL_OUT): Likewise.
35890         (POLL_MSG): Likewise.
35891         (POLL_ERR): Likewise.
35892         (POLL_PRI): Likewise.
35893         (POLL_HUP): Likewise.
35894         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
35895         (ILL_ILLOPN): Likewise.
35896         (ILL_ILLADR): Likewise.
35897         (ILL_ILLTRP): Likewise.
35898         (ILL_PRVOPC): Likewise.
35899         (ILL_PRVREG): Likewise.
35900         (ILL_COPROC): Likewise.
35901         (ILL_BADSTK): Likewise.
35902         (FPE_INTDIV): Likewise.
35903         (FPE_INTOVF): Likewise.
35904         (FPE_FLTDIV): Likewise.
35905         (FPE_FLTOVF): Likewise.
35906         (FPE_FLTUND): Likewise.
35907         (FPE_FLTRES): Likewise.
35908         (FPE_FLTINV): Likewise.
35909         (FPE_FLTSUB): Likewise.
35910         (SEGV_MAPERR): Likewise.
35911         (SEGV_ACCERR): Likewise.
35912         (BUS_ADRALN): Likewise.
35913         (BUS_ADRERR): Likewise.
35914         (BUS_OBJERR): Likewise.
35915         (BUS_MCEERR_AR): Likewise.
35916         (BUS_MCEERR_AO): Likewise.
35917         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35918         (TRAP_TRACE): Likewise.
35919         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35920         __USE_XOPEN2K8].
35921         (CLD_KILLED): Likewise.
35922         (CLD_DUMPED): Likewise.
35923         (CLD_TRAPPED): Likewise.
35924         (CLD_STOPPED): Likewise.
35925         (CLD_CONTINUED): Likewise.
35926         (POLL_IN): Likewise.
35927         (POLL_OUT): Likewise.
35928         (POLL_MSG): Likewise.
35929         (POLL_ERR): Likewise.
35930         (POLL_PRI): Likewise.
35931         (POLL_HUP): Likewise.
35932         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
35933         (ILL_ILLOPN): Likewise.
35934         (ILL_ILLADR): Likewise.
35935         (ILL_ILLTRP): Likewise.
35936         (ILL_PRVOPC): Likewise.
35937         (ILL_PRVREG): Likewise.
35938         (ILL_COPROC): Likewise.
35939         (ILL_BADSTK): Likewise.
35940         (FPE_INTDIV): Likewise.
35941         (FPE_INTOVF): Likewise.
35942         (FPE_FLTDIV): Likewise.
35943         (FPE_FLTOVF): Likewise.
35944         (FPE_FLTUND): Likewise.
35945         (FPE_FLTRES): Likewise.
35946         (FPE_FLTINV): Likewise.
35947         (FPE_FLTSUB): Likewise.
35948         (SEGV_MAPERR): Likewise.
35949         (SEGV_ACCERR): Likewise.
35950         (BUS_ADRALN): Likewise.
35951         (BUS_ADRERR): Likewise.
35952         (BUS_OBJERR): Likewise.
35953         (BUS_MCEERR_AR): Likewise.
35954         (BUS_MCEERR_AO): Likewise.
35955         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35956         (TRAP_TRACE): Likewise.
35957         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35958         __USE_XOPEN2K8].
35959         (CLD_KILLED): Likewise.
35960         (CLD_DUMPED): Likewise.
35961         (CLD_TRAPPED): Likewise.
35962         (CLD_STOPPED): Likewise.
35963         (CLD_CONTINUED): Likewise.
35964         (POLL_IN): Likewise.
35965         (POLL_OUT): Likewise.
35966         (POLL_MSG): Likewise.
35967         (POLL_ERR): Likewise.
35968         (POLL_PRI): Likewise.
35969         (POLL_HUP): Likewise.
35970         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
35971         (ILL_ILLOPN): Likewise.
35972         (ILL_ILLADR): Likewise.
35973         (ILL_ILLTRP): Likewise.
35974         (ILL_PRVOPC): Likewise.
35975         (ILL_PRVREG): Likewise.
35976         (ILL_COPROC): Likewise.
35977         (ILL_BADSTK): Likewise.
35978         (ILL_DBLFLT): Likewise.
35979         (ILL_HARDWALL): Likewise.
35980         (FPE_INTDIV): Likewise.
35981         (FPE_INTOVF): Likewise.
35982         (FPE_FLTDIV): Likewise.
35983         (FPE_FLTOVF): Likewise.
35984         (FPE_FLTUND): Likewise.
35985         (FPE_FLTRES): Likewise.
35986         (FPE_FLTINV): Likewise.
35987         (FPE_FLTSUB): Likewise.
35988         (SEGV_MAPERR): Likewise.
35989         (SEGV_ACCERR): Likewise.
35990         (BUS_ADRALN): Likewise.
35991         (BUS_ADRERR): Likewise.
35992         (BUS_OBJERR): Likewise.
35993         (BUS_MCEERR_AR): Likewise.
35994         (BUS_MCEERR_AO): Likewise.
35995         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35996         (TRAP_TRACE): Likewise.
35997         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35998         __USE_XOPEN2K8].
35999         (CLD_KILLED): Likewise.
36000         (CLD_DUMPED): Likewise.
36001         (CLD_TRAPPED): Likewise.
36002         (CLD_STOPPED): Likewise.
36003         (CLD_CONTINUED): Likewise.
36004         (POLL_IN): Likewise.
36005         (POLL_OUT): Likewise.
36006         (POLL_MSG): Likewise.
36007         (POLL_ERR): Likewise.
36008         (POLL_PRI): Likewise.
36009         (POLL_HUP): Likewise.
36010         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
36011         (ILL_ILLOPN): Likewise.
36012         (ILL_ILLADR): Likewise.
36013         (ILL_ILLTRP): Likewise.
36014         (ILL_PRVOPC): Likewise.
36015         (ILL_PRVREG): Likewise.
36016         (ILL_COPROC): Likewise.
36017         (ILL_BADSTK): Likewise.
36018         (FPE_INTDIV): Likewise.
36019         (FPE_INTOVF): Likewise.
36020         (FPE_FLTDIV): Likewise.
36021         (FPE_FLTOVF): Likewise.
36022         (FPE_FLTUND): Likewise.
36023         (FPE_FLTRES): Likewise.
36024         (FPE_FLTINV): Likewise.
36025         (FPE_FLTSUB): Likewise.
36026         (SEGV_MAPERR): Likewise.
36027         (SEGV_ACCERR): Likewise.
36028         (BUS_ADRALN): Likewise.
36029         (BUS_ADRERR): Likewise.
36030         (BUS_OBJERR): Likewise.
36031         (BUS_MCEERR_AR): Likewise.
36032         (BUS_MCEERR_AO): Likewise.
36033         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36034         (TRAP_TRACE): Likewise.
36035         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36036         __USE_XOPEN2K8].
36037         (CLD_KILLED): Likewise.
36038         (CLD_DUMPED): Likewise.
36039         (CLD_TRAPPED): Likewise.
36040         (CLD_STOPPED): Likewise.
36041         (CLD_CONTINUED): Likewise.
36042         (POLL_IN): Likewise.
36043         (POLL_OUT): Likewise.
36044         (POLL_MSG): Likewise.
36045         (POLL_ERR): Likewise.
36046         (POLL_PRI): Likewise.
36047         (POLL_HUP): Likewise.
36048         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
36049         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36051         [BZ #16670]
36052         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
36053         before #include of <time.h>.
36054         [!__USE_XOPEN2K] (__need_timespec): Likewise.
36055         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
36056         (test-xfail-UNIX98/sched.h/conform): Likewise.
36058 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36060         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
36061         error absence of trapping exception support.
36062         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36064 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
36066         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
36067         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
36068         * timezone/Makefile (testdata): Move definition above include of
36069         Rules.
36070         (test-zones): New variable.
36071         (tests-special): Add zone files.
36072         (build-testdata): Use $(evaluate-test).
36074         * elf/Makefile (tests-special): Rename tests to end with .out.
36075         ($(objpfx)noload-mem): Likewise.
36076         ($(objpfx)tst-leaks1-mem): Likewise.
36077         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
36078         * iconv/Makefile (xtests-special): Change test-iconvconfig to
36079         $(objpfx)test-iconvconfig.out.
36080         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
36081         set -e inside subshell and redirect output to file.
36082         * iconvdata/Makefile (generated): Rename tests to end with .out.
36083         Correct type.
36084         (tests-special): Rename tests to end with .out.
36085         ($(objpfx)mtrace-tst-loading): Likewise.
36086         * intl/Makefile (generated): Likewise.
36087         (tests-special): Likewise.
36088         ($(objpfx)mtrace-tst-gettext): Likewise.
36089         * misc/Makefile (generated): Likewise.
36090         (tests-special): Likewise.
36091         ($(objpfx)tst-error1-mem): Likewise.
36092         * nptl/Makefile (tests-special): Likewise.
36093         ($(objpfx)tst-stack3-mem): Likewise.
36094         (generated): Likewise.
36095         * posix/Makefile (generated): Likewise.
36096         (tests-special): Likewise.
36097         (xtests-special): Likewise.
36098         ($(objpfx)tst-fnmatch-mem): Likewise.
36099         ($(objpfx)bug-regex2-mem): Likewise.
36100         ($(objpfx)bug-regex14-mem): Likewise.
36101         ($(objpfx)bug-regex21-mem): Likewise.
36102         ($(objpfx)bug-regex31-mem): Likewise.
36103         ($(objpfx)tst-vfork3-mem): Likewise.
36104         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
36105         ($(objpfx)tst-pcre-mem): Likewise.
36106         ($(objpfx)tst-boost-mem): Likewise.
36107         ($(objpfx)bug-ga2-mem): Likewise.
36108         ($(objpfx)bug-glob2-mem): Likewise.
36109         * resolv/Makefile (generate): Likewise.
36110         (tests-special): Likewise.
36111         (xtests-special): Likewise.
36112         (generated): Likewise.
36113         ($(objpfx)mtrace-tst-leaks): Likewise.
36114         ($(objpfx)mtrace-tst-leaks2): Likewise.
36116         * scripts/merge-test-results.sh: New file.
36117         * Makefile (tests-special-notdir): New variable.
36118         (tests): Run merge-test-results.sh.
36119         (xtests): Likewise.
36120         * Rules (tests-special-notdir): New variable.
36121         (xtests-special-notdir): Likewise.
36122         (tests): Run merge-test-results.sh
36123         (xtests): Likewise.
36125         * Makeconfig (test-xfail-name): New variable.
36126         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
36127         compute variable name for expected failures.
36128         * conform/Makefile (conformtest-headers-data): New variable.
36129         (conformtest-standards): Likewise.
36130         (conformtest-headers-ISO): Likewise.
36131         (conformtest-headers-ISO99): Likewise.
36132         (conformtest-headers-ISO11): Likewise.
36133         (conformtest-headers-POSIX): Likewise.
36134         (conformtest-headers-XPG3): Likewise.
36135         (conformtest-headers-XPG4): Likewise.
36136         (conformtest-headers-UNIX98): Likewise.
36137         (conformtest-headers-XOPEN2K): Likewise.
36138         (conformtest-headers-POSIX2008): Likewise.
36139         (conformtest-headers-XOPEN2K8): Likewise.
36140         (conformtest-header-list-base): Likewise.
36141         (conformtest-header-list-tests): Likewise.
36142         (conformtest-header-base): Likewise.
36143         (conformtest-header-tests): Likewise.
36144         (tests-special): Add $(conformtest-header-list-tests).  If
36145         [$(fast-check) && !$(cross-compiling)], add
36146         $(conformtest-header-tests) instead of
36147         $(objpfx)run-conformtest.out.
36148         (generated): Add $(conformtest-header-list-base).  If
36149         [$(fast-check) && !$(cross-compiling)], add
36150         $(conformtest-header-base).  Remove previous setting.
36151         ($(conformtest-header-list-tests)): New target.
36152         (test-xfail-run-conformtest): Remove variable.
36153         ($(objpfx)run-conformtest.out): Remove target.
36154         (test-xfail-ISO11/complex.h/conform): New variable.
36155         (test-xfail-ISO11/stdalign.h/conform): Likewise.
36156         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
36157         (test-xfail-XPG3/varargs.h/conform): Likewise.
36158         (test-xfail-XPG4/varargs.h/conform): Likewise.
36159         (test-xfail-UNIX98/varargs.h/conform): Likewise.
36160         (test-xfail-XPG4/ndbm.h/conform): Likewise.
36161         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
36162         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
36163         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
36164         (test-xfail-XPG3/fcntl.h/conform): Likewise.
36165         (test-xfail-XPG3/ftw.h/conform): Likewise.
36166         (test-xfail-XPG3/grp.h/conform): Likewise.
36167         (test-xfail-XPG3/langinfo.h/conform): Likewise.
36168         (test-xfail-XPG3/limits.h/conform): Likewise.
36169         (test-xfail-XPG3/pwd.h/conform): Likewise.
36170         (test-xfail-XPG3/search.h/conform): Likewise.
36171         (test-xfail-XPG3/signal.h/conform): Likewise.
36172         (test-xfail-XPG3/stdio.h/conform): Likewise.
36173         (test-xfail-XPG3/stdlib.h/conform): Likewise.
36174         (test-xfail-XPG3/string.h/conform): Likewise.
36175         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
36176         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
36177         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
36178         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
36179         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
36180         (test-xfail-XPG3/sys/types.h/conform): Likewise.
36181         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
36182         (test-xfail-XPG3/termios.h/conform): Likewise.
36183         (test-xfail-XPG3/time.h/conform): Likewise.
36184         (test-xfail-XPG3/unistd.h/conform): Likewise.
36185         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
36186         (test-xfail-XPG4/fcntl.h/conform): Likewise.
36187         (test-xfail-XPG4/langinfo.h/conform): Likewise.
36188         (test-xfail-XPG4/netdb.h/conform): Likewise.
36189         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
36190         (test-xfail-XPG4/signal.h/conform): Likewise.
36191         (test-xfail-XPG4/stdio.h/conform): Likewise.
36192         (test-xfail-XPG4/stdlib.h/conform): Likewise.
36193         (test-xfail-XPG4/stropts.h/conform): Likewise.
36194         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
36195         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
36196         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
36197         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
36198         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
36199         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
36200         (test-xfail-XPG4/sys/time.h/conform): Likewise.
36201         (test-xfail-XPG4/sys/types.h/conform): Likewise.
36202         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
36203         (test-xfail-XPG4/termios.h/conform): Likewise.
36204         (test-xfail-XPG4/ucontext.h/conform): Likewise.
36205         (test-xfail-XPG4/unistd.h/conform): Likewise.
36206         (test-xfail-XPG4/utmpx.h/conform): Likewise.
36207         (test-xfail-POSIX/sched.h/conform): Likewise.
36208         (test-xfail-POSIX/signal.h/conform): Likewise.
36209         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36210         (test-xfail-POSIX/tar.h/conform): Likewise.
36211         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
36212         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
36213         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
36214         (test-xfail-UNIX98/netdb.h/conform): Likewise.
36215         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
36216         (test-xfail-UNIX98/sched.h/conform): Likewise.
36217         (test-xfail-UNIX98/signal.h/conform): Likewise.
36218         (test-xfail-UNIX98/stdio.h/conform): Likewise.
36219         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
36220         (test-xfail-UNIX98/stropts.h/conform): Likewise.
36221         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
36222         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
36223         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
36224         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
36225         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
36226         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
36227         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
36228         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
36229         (test-xfail-UNIX98/unistd.h/conform): Likewise.
36230         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
36231         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
36232         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
36233         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
36234         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
36235         (test-xfail-XOPEN2K/math.h/conform): Likewise.
36236         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
36237         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
36238         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
36239         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
36240         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
36241         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
36242         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
36243         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
36244         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
36245         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
36246         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
36247         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
36248         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
36249         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
36250         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
36251         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
36252         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
36253         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
36254         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
36255         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
36256         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
36257         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
36258         (test-xfail-POSIX2008/signal.h/conform): Likewise.
36259         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
36260         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
36261         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
36262         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
36263         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
36264         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
36265         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
36266         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
36267         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
36268         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
36269         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
36270         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
36271         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
36272         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
36273         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
36274         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
36275         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
36276         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
36277         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
36278         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
36279         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
36280         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
36281         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
36282         (conformtest-cc-flags): Likewise.
36283         ($(conformtest-header-tests): New target.
36284         * conform/check-header-lists.sh: New file.
36285         * conform/run-conformtest.sh: Remove.
36287         * conform/conformtest.pl: Allow ' and \ in values given for
36288         constants.
36289         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
36290         inclusion.
36291         [POSIX] (sys/types.h): Likewise.
36292         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
36293         inclusion.
36294         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
36295         inclusion.
36296         * conform/data/signal.h-data (SIGIO): Remove expectation.
36297         [XPG3] (SIGBUS): Do not expect.
36298         [POSIX || XPG3] (SIGPOLL): Likewise.
36299         [POSIX || XPG3] (SIGPROF): Likewise.
36300         [POSIX || XPG3] (SIGSYS): Likewise.
36301         [XPG3] (SIGTRAP): Likewise.
36302         [POSIX || XPG3] (SIGURG): Likewise.
36303         [POSIX || XPG3] (SIGVTALRM): Likewise.
36304         [POSIX || XPG3] (SIGXCPU): Likewise.
36305         [POSIX || XPG3] (SIGXFSZ): Likewise.
36306         [POSIX] (SA_SIGINFO): Expect.
36307         [XPG3] (siginfo_t): Do not expect type or contents.
36308         [POSIX] (si_pid): Do not expect element.
36309         [POSIX] (si_uid): Likewise.
36310         [POSIX] (si_addr): Likewise.
36311         [POSIX] (si_status): Likewise.
36312         [POSIX] (si_band): Likewise.
36313         [XPG4] (si_value): Likewise.
36314         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
36315         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
36316         [POSIX || XPG3] (ILL_ILLADR): Likewise.
36317         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
36318         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
36319         [POSIX || XPG3] (ILL_PRVREG): Likewise.
36320         [POSIX || XPG3] (ILL_COPROC): Likewise.
36321         [POSIX || XPG3] (ILL_BADSTK): Likewise.
36322         [POSIX || XPG3] (FPE_INTDIV): Likewise.
36323         [POSIX || XPG3] (FPE_INTOVF): Likewise.
36324         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
36325         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
36326         [POSIX || XPG3] (FPE_FLTUND): Likewise.
36327         [POSIX || XPG3] (FPE_FLTRES): Likewise.
36328         [POSIX || XPG3] (FPE_FLTINV): Likewise.
36329         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
36330         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
36331         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
36332         [POSIX || XPG3] (BUS_ADRALN): Likewise.
36333         [POSIX || XPG3] (BUS_ADRERR): Likewise.
36334         [POSIX || XPG3] (BUS_OBJERR): Likewise.
36335         [POSIX || XPG3] (CLD_EXITED): Likewise.
36336         [POSIX || XPG3] (CLD_KILLED): Likewise.
36337         [POSIX || XPG3] (CLD_DUMPED): Likewise.
36338         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
36339         [POSIX || XPG3] (CLD_STOPPED): Likewise.
36340         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
36341         [POSIX || XPG3] (POLL_IN): Likewise.
36342         [POSIX || XPG3] (POLL_OUT): Likewise.
36343         [POSIX || XPG3] (POLL_MSG): Likewise.
36344         [POSIX || XPG3] (POLL_ERR): Likewise.
36345         [POSIX || XPG3] (POLL_PRI): Likewise.
36346         [POSIX || XPG3] (POLL_HUP): Likewise.
36347         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
36348         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
36349         (SIG*): Do not allow.
36350         [XPG3] (si_*): Likewise.
36351         [XPG3] (SI_*): Likewise.
36352         [XPG3 || XPG4] (sigev_*): Likewise.
36353         [XPG3 || XPG4] (SIGEV_*): Likewise.
36354         [XPG3 || XPG4] (sival_*): Likewise.
36355         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
36356         [POSIX || XPG3] (BUS_*): Likewise.
36357         [POSIX || XPG3] (CLD_*): Likewise.
36358         [POSIX || XPG3] (FPE_*): Likewise.
36359         [POSIX || XPG3] (ILL_*): Likewise.
36360         [POSIX || XPG3] (POLL_*): Likewise.
36361         [POSIX || XPG3] (SEGV_*): Likewise.
36362         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
36363         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
36364         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
36365         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
36366         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
36367         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
36368         Specify type and value.
36369         (TVERSLEN): Likewise.
36370         (REGTYPE): Likewise.
36371         (AREGTYPE): Likewise.
36372         (LNKTYPE): Likewise.
36373         (SYMTYPE): Likewise.
36374         (CHRTYPE): Likewise.
36375         (BLKTYPE): Likewise.
36376         (DIRTYPE): Likewise.
36377         (FIFOTYPE): Likewise.
36378         (CONTTYPE): Likewise.
36379         (TSUID): Likewise.
36380         (TSGID): Likewise.
36381         (TSVTX): Likewise.
36382         (TUREAD): Likewise.
36383         (TUWRITE): Likewise.
36384         (TUEXEC): Likewise.
36385         (TGREAD): Likewise.
36386         (TGWRITE): Likewise.
36387         (TGEXEC): Likewise.
36388         (TOREAD): Likewise.
36389         (TOWRITE): Likewise.
36390         (TOEXEC): Likewise.
36391         [POSIX] (TSVTX): Expect constant.
36393 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
36395         * Makefile (tests): Change dependencies to ....
36396         (tests-special): ... additions to this variable.
36397         (tests): Depend on $(tests-special).
36398         * Makerules (check-abi-list): New variable.
36399         (check-abi): Depend on $(check-abi-list).
36400         [$(subdir) = elf] (tests-special): Add
36401         $(objpfx)check-abi-libc.out.
36402         [$(build-shared) = yes && subdir] (tests-special): Add
36403         $(check-abi-list).
36404         [$(build-shared) = yes && subdir] (tests): Do not depend on
36405         check-abi.
36406         * Rules (tests): Depend on $(tests-special).
36407         (xtests): Depend on $(xtests-special).
36408         * catgets/Makefile (tests): Change dependencies to ....
36409         (tests-special): ... additions to this variable.
36410         * conform/Makefile (tests): Change dependencies to ....
36411         (tests-special): ... additions to this variable.
36412         * elf/Makefile (tests): Change dependencies to ....
36413         (tests-special): ... additions to this variable.
36414         * grp/Makefile (tests): Change dependencies to ....
36415         (tests-special): ... additions to this variable.
36416         * iconv/Makefile (xtests): Change dependencies to ....
36417         (xtests-special): ... additions to this variable.
36418         * iconvdata/Makefile (tests): Change dependencies to ....
36419         (tests-special): ... additions to this variable.
36420         * intl/Makefile (tests): Change dependencies to ....
36421         (tests-special): ... additions to this variable.  Also add
36422         $(objpfx)tst-gettext.out.
36423         * io/Makefile (tests): Change dependencies to ....
36424         (tests-special): ... additions to this variable.
36425         * libio/Makefile (tests): Change dependencies to ....
36426         (tests-special): ... additions to this variable.
36427         * malloc/Makefile (tests): Change dependencies to ....
36428         (tests-special): ... additions to this variable.
36429         * misc/Makefile (tests): Change dependencies to ....
36430         (tests-special): ... additions to this variable.
36431         * nptl/Makefile (tests): Change dependencies to ....
36432         (tests-special): ... additions to this variable.
36433         * nptl_db/Makefile (tests): Change dependencies to ....
36434         (tests-special): ... additions to this variable.
36435         * posix/Makefile (tests): Change dependencies to ....
36436         (tests-special): ... additions to this variable.
36437         (xtests): Change dependencies to ....
36438         (xtests-special): ... additions to this variable.
36439         * resolv/Makefile (tests): Change dependencies to ....
36440         (tests-special): ... additions to this variable.
36441         (xtests): Change dependencies to ....
36442         (xtests-special): ... additions to this variable.
36443         * stdio-common/Makefile (tests): Change dependencies to ....
36444         (tests-special): ... additions to this variable.
36445         (do-tst-unbputc): Remove target.
36446         (do-tst-printf): Likewise.
36447         * stdlib/Makefile (tests): Change dependencies to ....
36448         (tests-special): ... additions to this variable.
36449         * string/Makefile (tests): Change dependencies to ....
36450         (tests-special): ... additions to this variable.
36451         * sysdeps/x86/Makefile (tests): Change dependencies to ....
36452         (tests-special): ... additions to this variable.
36454         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
36455         whole file.
36456         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
36457         whole file.
36458         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
36459         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
36461         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
36462         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
36463         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
36464         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
36465         * conform/data/libgen.h-data [XPG3]: Likewise.
36466         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
36467         * conform/data/ndbm.h-data [XPG3]: Likewise.
36468         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36469         * conform/data/netdb.h-data [XPG3]: Likewise.
36470         * conform/data/netinet/in.h-data [XPG3]: Likewise.
36471         * conform/data/poll.h-data [XPG3]: Likewise.
36472         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36473         * conform/data/strings.h-data [XPG3]: Likewise.
36474         * conform/data/stropts.h-data [XPG3]: Likewise.
36475         * conform/data/sys/mman.h-data [XPG3]: Likewise.
36476         * conform/data/sys/resource.h-data [XPG3]: Likewise.
36477         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
36478         Likewise.
36479         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
36480         * conform/data/sys/time.h-data [XPG3]: Likewise.
36481         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
36482         * conform/data/sys/uio.h-data [XPG3]: Likewise.
36483         * conform/data/sys/un.h-data [XPG3]: Likewise.
36484         * conform/data/syslog.h-data [XPG3]: Likewise.
36485         * conform/data/ucontext.h-data [XPG3]: Likewise.
36486         * conform/data/utmpx.h-data [XPG3]: Likewise.
36487         * conform/data/varargs.h-data [UNIX98]: Enable file.
36489         * manual/Makefile (INSTALL_INFO): Remove variable setting.
36491         * math/libm-test.inc (struct test_f_f_data): Move expected results
36492         into structure for each rounding mode.
36493         (struct test_ff_f_data): Likewise.
36494         (struct test_ff_f_data_nexttoward): Likewise.
36495         (struct test_fi_f_data): Likewise.
36496         (struct test_fl_f_data): Likewise.
36497         (struct test_if_f_data): Likewise.
36498         (struct test_fff_f_data): Likewise.
36499         (struct test_c_f_data): Likewise.
36500         (struct test_f_f1_data): Likewise.
36501         (struct test_fF_f1_data): Likewise.
36502         (struct test_ffI_f1_data): Likewise.
36503         (struct test_c_c_data): Likewise.
36504         (struct test_cc_c_data): Likewise.
36505         (struct test_f_i_data): Likewise.
36506         (struct test_ff_i_data): Likewise.
36507         (struct test_f_l_data): Likewise.
36508         (struct test_f_L_data): Likewise.
36509         (struct test_fFF_11_data): Likewise.
36510         (RM_): New macro.
36511         (RM_FE_DOWNWARD): Likewise.
36512         (RM_FE_TONEAREST): Likewise.
36513         (RM_FE_TOWARDZERO): Likewise.
36514         (RM_FE_UPWARD): Likewise.
36515         (RUN_TEST_LOOP_f_f): Update references to expected results.
36516         (RUN_TEST_LOOP_2_f): Likewise.
36517         (RUN_TEST_LOOP_fff_f): Likewise.
36518         (RUN_TEST_LOOP_c_f): Likewise.
36519         (RUN_TEST_LOOP_f_f1): Likewise.
36520         (RUN_TEST_LOOP_fF_f1): Likewise.
36521         (RUN_TEST_LOOP_fI_f1): Likewise.
36522         (RUN_TEST_LOOP_ffI_f1): Likewise.
36523         (RUN_TEST_LOOP_c_c): Likewise.
36524         (RUN_TEST_LOOP_cc_c): Likewise.
36525         (RUN_TEST_LOOP_f_i): Likewise.
36526         (RUN_TEST_LOOP_f_i_tg): Likewise.
36527         (RUN_TEST_LOOP_ff_i_tg): Likewise.
36528         (RUN_TEST_LOOP_f_b): Likewise.
36529         (RUN_TEST_LOOP_f_b_tg): Likewise.
36530         (RUN_TEST_LOOP_f_l): Likewise.
36531         (RUN_TEST_LOOP_f_L): Likewise.
36532         (RUN_TEST_LOOP_fFF_11): Likewise.
36533         * math/gen-libm-test.pl (parse_args): Output four copies of
36534         expected results for each test.
36536         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36537         (__ASSUME_UTIMES): Remove.
36538         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36539         (__ASSUME_UTIMES): Likewise.
36541         * math/gen-auto-libm-tests.c: Update comment on output format.
36542         (output_for_one_input_case): Generate before-rounding and
36543         after-rounding information as conditions on output flags not
36544         floating-point format.
36545         * math/auto-libm-test-out: Regenerated.
36546         * math/gen-libm-test.pl (cond_value): New function.
36547         (or_cond_value): Use cond_value.
36548         (generate_testfile): Handle conditional exceptions.
36550 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
36552         * math/libm-test.inc (max_valid_error): New variable.
36553         (init_max_error): Take new argument specifying whether function
36554         results are exactly determined.  Set max_valid_error and bound
36555         other variables for errors based on this argument.
36556         (set_max_error): Do not record results above max_valid_error.
36557         (check_float_internal): Only accept errors of up to 0.5ulps if
36558         also at most max_valid_error.
36559         (START): Take new argument EXACT and pass it to init_max_error.
36560         (acos_test): Update call to START.
36561         (acos_test_tonearest): Likewise.
36562         (acos_test_towardzero): Likewise.
36563         (acos_test_downward): Likewise.
36564         (acos_test_upward): Likewise.
36565         (acosh_test): Likewise.
36566         (asin_test): Likewise.
36567         (asin_test_tonearest): Likewise.
36568         (asin_test_towardzero): Likewise.
36569         (asin_test_downward): Likewise.
36570         (asin_test_upward): Likewise.
36571         (asinh_test): Likewise.
36572         (atan_test): Likewise.
36573         (atanh_test): Likewise.
36574         (atan2_test): Likewise.
36575         (cabs_test): Likewise.
36576         (cacos_test): Likewise.
36577         (cacosh_test): Likewise.
36578         (carg_test): Likewise.
36579         (casin_test): Likewise.
36580         (casinh_test): Likewise.
36581         (catan_test): Likewise.
36582         (catanh_test): Likewise.
36583         (cbrt_test): Likewise.
36584         (ccos_test): Likewise.
36585         (ccosh_test): Likewise.
36586         (ceil_test): Likewise.
36587         (cexp_test): Likewise.
36588         (cimag_test): Likewise.
36589         (clog_test): Likewise.
36590         (clog10_test): Likewise.
36591         (conj_test): Likewise.
36592         (copysign_test): Likewise.
36593         (cos_test): Likewise.
36594         (cos_test_tonearest): Likewise.
36595         (cos_test_towardzero): Likewise.
36596         (cos_test_downward): Likewise.
36597         (cos_test_upward): Likewise.
36598         (cosh_test): Likewise.
36599         (cosh_test_tonearest): Likewise.
36600         (cosh_test_towardzero): Likewise.
36601         (cosh_test_downward): Likewise.
36602         (cosh_test_upward): Likewise.
36603         (cpow_test): Likewise.
36604         (cproj_test): Likewise.
36605         (creal_test): Likewise.
36606         (csin_test): Likewise.
36607         (csinh_test): Likewise.
36608         (csqrt_test): Likewise.
36609         (ctan_test): Likewise.
36610         (ctan_test_tonearest): Likewise.
36611         (ctan_test_towardzero): Likewise.
36612         (ctan_test_downward): Likewise.
36613         (ctan_test_upward): Likewise.
36614         (ctanh_test): Likewise.
36615         (ctanh_test_tonearest): Likewise.
36616         (ctanh_test_towardzero): Likewise.
36617         (ctanh_test_downward): Likewise.
36618         (ctanh_test_upward): Likewise.
36619         (erf_test): Likewise.
36620         (erfc_test): Likewise.
36621         (exp_test): Likewise.
36622         (exp_test_tonearest): Likewise.
36623         (exp_test_towardzero): Likewise.
36624         (exp_test_downward): Likewise.
36625         (exp_test_upward): Likewise.
36626         (exp10_test): Likewise.
36627         (exp10_test_tonearest): Likewise.
36628         (exp10_test_towardzero): Likewise.
36629         (exp10_test_downward): Likewise.
36630         (exp10_test_upward): Likewise.
36631         (pow10_test): Likewise.
36632         (exp2_test): Likewise.
36633         (expm1_test): Likewise.
36634         (expm1_test_tonearest): Likewise.
36635         (expm1_test_towardzero): Likewise.
36636         (expm1_test_downward): Likewise.
36637         (expm1_test_upward): Likewise.
36638         (fabs_test): Likewise.
36639         (fdim_test): Likewise.
36640         (floor_test): Likewise.
36641         (fma_test): Likewise.
36642         (fma_test_towardzero): Likewise.
36643         (fma_test_downward): Likewise.
36644         (fma_test_upward): Likewise.
36645         (fmax_test): Likewise.
36646         (fmin_test): Likewise.
36647         (fmod_test): Likewise.
36648         (fpclassify_test): Likewise.
36649         (frexp_test): Likewise.
36650         (hypot_test): Likewise.
36651         (ilogb_test): Likewise.
36652         (isfinite_test): Likewise.
36653         (finite_test): Likewise.
36654         (isgreater_test): Likewise.
36655         (isgreaterequal_test): Likewise.
36656         (isinf_test): Likewise.
36657         (isless_test): Likewise.
36658         (islessequal_test): Likewise.
36659         (islessgreater_test): Likewise.
36660         (isnan_test): Likewise.
36661         (isnormal_test): Likewise.
36662         (issignaling_test): Likewise.
36663         (isunordered_test): Likewise.
36664         (j0_test): Likewise.
36665         (j1_test): Likewise.
36666         (jn_test): Likewise.
36667         (ldexp_test): Likewise.
36668         (lgamma_test): Likewise.
36669         (gamma_test): Likewise.
36670         (lrint_test): Likewise.
36671         (lrint_test_tonearest): Likewise.
36672         (lrint_test_towardzero): Likewise.
36673         (lrint_test_downward): Likewise.
36674         (lrint_test_upward): Likewise.
36675         (llrint_test): Likewise.
36676         (llrint_test_tonearest): Likewise.
36677         (llrint_test_towardzero): Likewise.
36678         (llrint_test_downward): Likewise.
36679         (llrint_test_upward): Likewise.
36680         (log_test): Likewise.
36681         (log10_test): Likewise.
36682         (log1p_test): Likewise.
36683         (log2_test): Likewise.
36684         (logb_test): Likewise.
36685         (logb_test_downward): Likewise.
36686         (lround_test): Likewise.
36687         (llround_test): Likewise.
36688         (modf_test): Likewise.
36689         (nearbyint_test): Likewise.
36690         (nextafter_test): Likewise.
36691         (nexttoward_test): Likewise.
36692         (pow_test): Likewise.
36693         (pow_test_tonearest): Likewise.
36694         (pow_test_towardzero): Likewise.
36695         (pow_test_downward): Likewise.
36696         (pow_test_upward): Likewise.
36697         (remainder_test): Likewise.
36698         (drem_test): Likewise.
36699         (remainder_test_tonearest): Likewise.
36700         (drem_test_tonearest): Likewise.
36701         (remainder_test_towardzero): Likewise.
36702         (drem_test_towardzero): Likewise.
36703         (remainder_test_downward): Likewise.
36704         (drem_test_downward): Likewise.
36705         (remainder_test_upward): Likewise.
36706         (drem_test_upward): Likewise.
36707         (remquo_test): Likewise.
36708         (rint_test): Likewise.
36709         (rint_test_tonearest): Likewise.
36710         (rint_test_towardzero): Likewise.
36711         (rint_test_downward): Likewise.
36712         (rint_test_upward): Likewise.
36713         (round_test): Likewise.
36714         (scalb_test): Likewise.
36715         (scalbn_test): Likewise.
36716         (scalbln_test): Likewise.
36717         (signbit_test): Likewise.
36718         (sin_test): Likewise.
36719         (sin_test_tonearest): Likewise.
36720         (sin_test_towardzero): Likewise.
36721         (sin_test_downward): Likewise.
36722         (sin_test_upward): Likewise.
36723         (sincos_test): Likewise.
36724         (sinh_test): Likewise.
36725         (sinh_test_tonearest): Likewise.
36726         (sinh_test_towardzero): Likewise.
36727         (sinh_test_downward): Likewise.
36728         (sinh_test_upward): Likewise.
36729         (sqrt_test): Likewise.
36730         (sqrt_test_tonearest): Likewise.
36731         (sqrt_test_towardzero): Likewise.
36732         (sqrt_test_downward): Likewise.
36733         (sqrt_test_upward): Likewise.
36734         (tan_test): Likewise.
36735         (tan_test_tonearest): Likewise.
36736         (tan_test_towardzero): Likewise.
36737         (tan_test_downward): Likewise.
36738         (tan_test_upward): Likewise.
36739         (tanh_test): Likewise.
36740         (tgamma_test): Likewise.
36741         (trunc_test): Likewise.
36742         (y0_test): Likewise.
36743         (y1_test): Likewise.
36744         (yn_test): Likewise.
36745         (significand_test): Likewise.
36747         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
36748         individual tests in comment.
36749         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
36750         (prev_max_error): New variable.
36751         (prev_real_max_error): Likewise.
36752         (prev_imag_max_error): Likewise.
36753         (compare_ulp_data): Don't refer to test names in comment.
36754         (find_test_ulps): Remove function.
36755         (find_function_ulps): Likewise.
36756         (find_complex_function_ulps): Likewise.
36757         (init_max_error): Take function name as argument.  Look up ulps
36758         for that function.
36759         (print_ulps): Remove function.
36760         (print_max_error): Use prev_max_error instead of calling
36761         find_function_ulps.
36762         (print_complex_max_error): Use prev_real_max_error and
36763         prev_imag_max_error instead of calling find_complex_function_ulps.
36764         (check_float_internal): Take max_ulp parameter instead of calling
36765         find_test_ulps.  Don't call print_ulps.
36766         (check_float): Update call to check_float_internal.
36767         (check_complex): Update calls to check_float_internal.
36768         (START): Pass argument to init_max_error.
36769         * math/gen-libm-test.pl (%results): Don't include "kind"
36770         information.
36771         (parse_ulps): Don't handle ulps of individual tests.
36772         (print_ulps_file): Likewise.
36773         (output_ulps): Likewise.
36774         * math/README.libm-test: Update.
36775         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
36776         individual tests.
36777         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
36778         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
36779         * sysdeps/arm/libm-test-ulps: Likewise.
36780         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
36781         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
36782         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
36783         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
36784         * sysdeps/microblaze/libm-test-ulps: Likewise.
36785         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
36786         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
36787         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36788         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
36789         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36790         * sysdeps/sh/libm-test-ulps: Likewise.
36791         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36792         * sysdeps/tile/libm-test-ulps: Likewise.
36793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36795 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
36797         * math/libm-test.inc (print_complex_max_error): Check separately
36798         whether real and imaginary errors are within allowed range and
36799         pass 0 to print_complex_function_ulps instead of value within
36800         allowed range.
36802 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36804         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
36805         formatting.
36806         (get_handles_fopen): Likewise.
36807         (do_write_test): Likewise.
36809         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
36811         * libio/fileops.c (do_ftell): Use cached offset when
36812         available.
36813         * libio/iofwide.c (do_ftell_wide): Likewise.
36814         * libio/iofdopen.c (_IO_new_fdopen): Don't use
36815         _IO_file_attach.
36816         * libio/wfileops.c (_IO_fwide): Don't cache offset.
36818         [BZ #16532]
36819         * libio/libioP.h (get_file_offset): New function.
36820         * libio/fileops.c (get_file_offset): Likewise.
36821         (do_ftell): Likewise.
36822         (_IO_new_file_seekoff): Split out ftell logic.
36823         * libio/wfileops.c (do_ftell_wide): Likewise.
36824         (_IO_wfile_seekoff): Split out ftell logic.
36825         * libio/tst-ftell-active-handler.c: New test case.
36826         * libio/Makefile (tests): Add it.
36828 2014-03-03  Roland McGrath  <roland@hack.frob.com>
36830         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
36831         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
36833 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36835         [BZ #16639]
36836         * nscd/connections.c (nscd_init): Call do_exit.
36837         (start_threads): Call do_exit and notify_parent.
36838         (begin_drop_privileges): Call do_exit.
36839         (finish_drop_privileges): Likewise.
36840         * nscd/selinux.c (preserve_capabilities): Likewise.
36841         (install_real_capabilities): Likewise.
36842         (nscd_selinux_enabled): Likewise.
36843         (avc_create_thread): Likewise.
36844         (avc_alloc_lock): Likewise.
36845         (nscd_avc_init): Likewise.
36846         * nscd/nscd.c (parent_fd): New static variable.
36847         (main): Create a pipe between parent and child processes.
36848         Skip closing parent_fd.
36849         (monitor_child): New function.
36850         (do_exit): Likewise.
36851         (notify_parent): Likewise.
36852         * nscd/nscd.h (notify_parent): Likewise.
36853         (do_exit): Likewise.
36855 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
36857         * malloc/malloc.c (__libc_calloc): Revert last change.
36859 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36861         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36863 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36865         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
36866         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
36867         implementation.
36868         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36869         (__libc_ifunc_impl_list): Likewise.
36870         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
36871         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
36872         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
36873         * string/strrchr.c: Define STRRCHR.
36875 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
36877         * benchtest/bench-strtok.c (simple_strtok): Delete.
36878         (strtok_string): Use as benchmark.
36879         * string/strtok (STRTOK): New macro.
36881 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
36883         * manual/threads.texi: Add header and standard comments to all
36884         functions.
36886         * elf/dl-lookup.c (check_match): New function.
36887         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
36888         (do_lookup_x): Remove nested function check_match. Use non-nested
36889         function check_match.
36891 2014-02-28  Roland McGrath  <roland@hack.frob.com>
36893         * csu/Makefile (generated, before-compile): Use += rather than =.
36894         * catgets/Makefile (generated, generated-dirs): Likewise.
36895         * debug/Makefile (generated): Likewise.
36896         * dlfcn/Makefile (generated): Likewise.
36897         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
36898         * iconvdata/Makefile (before-compile, generated): Likewise.
36899         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
36900         * libio/Makefile (generated): Likewise.
36901         * malloc/Makefile (generated): Likewise.
36902         * manual/Makefile (generated, generated-dirs): Likewise.
36903         * misc/Makefile (generated): Likewise.
36904         * posix/Makefile (generated): Likewise.
36905         * resolv/Makefile (generated): Likewise.
36906         * sunrpc/Makefile (generated, generated-dirs): Likewise.
36907         * timezone/Makefile (generated, generated-dirs): Likewise.
36909         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
36911 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36913         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
36914         power8 implementation.
36915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
36916         file: POWER8 llround ifunc implementation.
36917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
36918         (__lllround): Add POWER8 implementation.
36919         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
36920         POWER8 llround implementation.
36922         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
36923         power8 implementation.
36924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
36925         file: POWER8 llrint ifunc implementation.
36926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
36927         Add POWER8 implementation.
36928         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
36929         POWER8 llrint implementation.
36931         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
36932         power8 implementation.
36933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
36934         file: POWER8 finite ifunc implementation.
36935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
36936         Add POWER8 implementation.
36937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
36938         Likewise.
36939         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
36940         POWER8 finite implementation.
36941         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
36943         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
36944         power8 implementation.
36945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
36946         file: POWER8 isinf ifunc implementation.
36947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
36948         POWER8 implementation.
36949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
36950         Likewise.
36951         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
36952         isinf implementation.
36953         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
36955         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
36956         (INIT_ARCH): Add hwcap2 initialization.
36957         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
36958         power8 implementation.
36959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
36960         file: POWER8 isnan ifunc implementation.
36961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
36962         POWER8 implementation.
36963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
36964         Likewise.
36965         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
36966         isnan implementation.
36967         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
36969 2014-02-27  Joey Ye  <joey.ye@arm.com>
36971         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
36972         (_FP_NANFRAC_Q): Set to zero.
36974 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36976         [BZ #16623]
36977         * math/auto-libm-test-in: New test inputs.
36978         * math/auto-libm-test-out: Regenerate.
36979         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
36980         and DA.
36981         (__cos): Likewise.
36982         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36984 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
36986         * scripts/evaluate-test.sh: Take new argument indicating whether
36987         failure is expected.
36988         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
36989         indicating whether failure is expected.
36990         * conform/Makefile (test-xfail-run-conformtest): New variable.
36991         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
36992         level.
36993         * posix/Makefile (test-xfail-annexc): New variable.
36994         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
36996 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
36998         * argp/Makefile: Include Makeconfig immediately after defining
36999         subdir.
37000         * assert/Makefile: Likewise.
37001         * benchtests/Makefile: Likewise.
37002         * catgets/Makefile: Likewise.
37003         * conform/Makefile: Likewise.
37004         * crypt/Makefile: Likewise.
37005         * csu/Makefile: Likewise.
37006         (all): Remove target.
37007         * ctype/Makefile: Include Makeconfig immediately after defining
37008         subdir.
37009         * debug/Makefile: Likewise.
37010         * dirent/Makefile: Likewise.
37011         * dlfcn/Makefile: Likewise.
37012         * gmon/Makefile: Likewise.
37013         * gnulib/Makefile: Likewise.
37014         * grp/Makefile: Likewise.
37015         * gshadow/Makefile: Likewise.
37016         * hesiod/Makefile: Likewise.
37017         * hurd/Makefile: Likewise.
37018         (all): Remove target.
37019         * iconvdata/Makefile: Include Makeconfig immediately after
37020         defining subdir.
37021         * inet/Makefile: Likewise.
37022         * intl/Makefile: Likewise.
37023         * io/Makefile: Likewise.
37024         * libio/Makefile: Likewise.
37025         (all): Remove target.
37026         * locale/Makefile: Include Makeconfig immediately after defining
37027         subdir.
37028         * login/Makefile: Likewise.
37029         * mach/Makefile: Likewise.
37030         (all): Remove target.
37031         * malloc/Makefile: Include Makeconfig immediately after defining
37032         subdir.
37033         (all): Remove target.
37034         * manual/Makefile: Include Makeconfig immediately after defining
37035         subdir.
37036         * math/Makefile: Likewise.
37037         * misc/Makefile: Likewise.
37038         * nis/Makefile: Likewise.
37039         * nss/Makefile: Likewise.
37040         * po/Makefile: Likewise.
37041         (all): Remove target.
37042         * posix/Makefile: Include Makeconfig immediately after defining
37043         subdir.
37044         * pwd/Makefile: Likewise.
37045         * resolv/Makefile: Likewise.
37046         * resource/Makefile: Likewise.
37047         * rt/Makefile: Likewise.
37048         * setjmp/Makefile: Likewise.
37049         * shadow/Makefile: Likewise.
37050         * signal/Makefile: Likewise.
37051         * socket/Makefile: Likewise.
37052         * soft-fp/Makefile: Likewise.
37053         * stdio-common/Makefile: Likewise.
37054         * stdlib/Makefile: Likewise.
37055         * streams/Makefile: Likewise.
37056         * string/Makefile: Likewise.
37057         * sunrpc/Makefile: Likewise.
37058         (all): Remove target.
37059         * sysvipc/Makefile: Include Makeconfig immediately after defining
37060         subdir.
37061         * termios/Makefile: Likewise.
37062         * time/Makefile: Likewise.
37063         * timezone/Makefile: Likewise.
37064         (all): Remove target.
37065         * wcsmbs/Makefile: Include Makeconfig immediately after defining
37066         subdir.
37067         * wctype/Makefile: Likewise.
37069 2014-02-26  Steve Ellcey  <sellcey@mips.com>
37071         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
37072         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
37073         (libc_feholdexcept_setround_mips): Ditto.
37074         (libc_feholdsetround): New.
37075         (libc_feholdsetroundf): New.
37076         (libc_feholdsetroundl): New.
37077         (libc_feupdateenv_test_mips): New.
37078         (libc_feupdateenv_test): New.
37079         (libc_feupdateenv_testf): New.
37080         (libc_feupdateenv_testl): New.
37081         (libc_feresetround): New.
37082         (libc_feresetroundf): New.
37083         (libc_feresetroundl): New.
37084         (libc_fetestexcept_mips): New.
37085         (libc_fetestexcept): New.
37086         (libc_fetestexceptf): New.
37087         (libc_fetestexceptl): New.
37088         (HAVE_RM_CTX): New.
37089         (libc_feholdexcept_setround_mips_ctx): New.
37090         (libc_feholdexcept_setround_ctx): New.
37091         (libc_feholdexcept_setroundf_ctx): New.
37092         (libc_feholdexcept_setroundl_ctx): New.
37093         (libc_fesetenv_mips_ctx): New.
37094         (libc_fesetenv_ctx): New.
37095         (libc_fesetenv_ctxf): New.
37096         (libc_fesetenv_ctxl): New.
37097         (libc_feupdateenv_mips_ctx): New.
37098         (libc_feupdateenv_ctx): New.
37099         (libc_feupdateenvf_ctx): New.
37100         (libc_feupdateenvl_ctx): New.
37101         (libc_feholdsetround_mips_ctx): New.
37102         (libc_feholdsetround_ctx): New.
37103         (libc_feholdsetroundf_ctx): New.
37104         (libc_feholdsetroundl_ctx): New.
37105         (libc_feresetround_mips_ctx): New.
37106         (libc_feresetround_ctx): New.
37107         (libc_feresetroundf_ctx): New.
37108         (libc_feresetroundl_ctx): New.
37110 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
37112         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
37114         * manual/ipc.texi: New file.
37115         * manual/Makefile (chapters): Add ipc.
37116         * manual/job.texi: Add "Inter-Process Communication" to next.
37117         * manual/process.texi: Add "Inter-Process Communication" to prev.
37119 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37121         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37123 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
37125         * malloc/malloc.c (__libc_calloc): Simplify implementation.
37127         * manual/arith.texi: Fix spaces after sentences.
37128         * manual/charset.texi: Likewise.
37129         * manual/errno.texi: Likewise.
37130         * manual/install.texi: Likewise.
37131         * manual/llio.texi: Likewise.
37132         * manual/locale.texi: Likewise.
37133         * manual/maint.texi: Likewise.
37134         * manual/math.texi: Likewise.
37135         * manual/memory.texi: Likewise.
37136         * manual/message.texi: Likewise.
37137         * manual/probes.texi: Likewise.
37138         * manual/resource.texi: Likewise.
37139         * manual/signal.texi: Likewise.
37140         * manual/socket.texi: Likewise.
37141         * manual/stdio.texi: Likewise.
37142         * manual/string.texi: Likewise.
37143         * manual/time.texi: Likewise.
37144         * manual/users.texi: Likewise.
37146 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
37148         [BZ #16632]
37149         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
37150         _DEFAULT_SOURCE is defined.
37152 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
37153             Carlos O'Donell  <carlos@redhat.com>
37155         [BZ #16613]
37156         * elf/dl-tls.c (_dl_count_modids): New function.
37157         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
37158         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
37159         audit library and increment generation counter.
37160         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
37161         * elf/tst-audit9.c: New file.
37162         * elf/tst-auditmod9a.c: New file.
37163         * elf/tst-auditmod9b.c: New file.
37164         * elf/Makefile: Add rules to build and run tst-audit9.
37166 2014-02-25  Florian Weimer  <fweimer@redhat.com>
37168         [BZ #15347]
37169         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
37171 2014-02-25  Will Newton  <will.newton@linaro.org>
37173         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
37174         (__longjmp): Restore sp and lr before restoring callee
37175         saved registers.  Add longjmp and longjmp_target
37176         SystemTap probe point.
37177         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
37178         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
37179         Define to zero to match jmpbuf layout.
37180         * sysdeps/arm/setjmp.S: Include stap-probe.h.
37181         (__sigsetjmp): Save sp and lr before saving callee
37182         saved registers.  Add setjmp SystemTap probe point.
37184 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
37186         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37188 2014-02-24  Andreas Schwab  <schwab@suse.de>
37190         [BZ #15804]
37191         * elf/pldd.c (wait_for_ptrace_stop): New function.
37192         (main): Call it after attaching.
37194 2014-02-22  Roland McGrath  <roland@hack.frob.com>
37196         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
37197         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
37198         Versions files is now verboten.
37199         * hurd/Versions (libc: GLIBC_2.0):
37200         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
37201         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
37202         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
37203         * mach/Versions: Likewise.
37205         * csu/Versions: Remove unused %include.
37206         * resolv/Versions: Likewise.
37208 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
37210         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
37211         ($(objpfx)check-local-headers.out): Likewise.
37212         ($(objpfx)begin-end-check.out): Likewise.
37213         * Makerules (check-abi-%.out): Likewise.
37214         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
37215         ($(objpfx)test2.cat): Likewise.
37216         ($(objpfx)de/libc.cat): Likewise.
37217         ($(objpfx)test-gencat.out): Likewise.
37218         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
37219         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
37220         ($(objpfx)noload-mem): Likewise.
37221         ($(objpfx)tst-pathopt.out): Likewise.
37222         ($(objpfx)tst-rtld-load-self.out): Likewise.
37223         ($(objpfx)tst-array1-cmp.out): Likewise.
37224         ($(objpfx)tst-array1-static-cmp.out): Likewise.
37225         ($(objpfx)tst-array2-cmp.out): Likewise.
37226         ($(objpfx)tst-array3-cmp.out): Likewise.
37227         ($(objpfx)tst-array4-cmp.out): Likewise.
37228         ($(objpfx)tst-array5-cmp.out): Likewise.
37229         ($(objpfx)tst-array5-static-cmp.out): Likewise.
37230         ($(objpfx)check-textrel.out): Likewise.
37231         ($(objpfx)check-execstack.out): Likewise.
37232         ($(objpfx)check-localplt.out): Likewise.
37233         ($(objpfx)order2-cmp.out): Likewise.
37234         ($(objpfx)tst-leaks1-mem): Likewise.
37235         ($(objpfx)tst-leaks1-static-mem): Likewise.
37236         ($(objpfx)tst-initorder-cmp.out): Likewise.
37237         ($(objpfx)tst-initorder2-cmp.out): Likewise.
37238         ($(objpfx)tst-unused-dep.out): Likewise.
37239         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
37240         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37241         * iconv/Makefile (test-iconvconfig): Likewise.
37242         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
37243         ($(objpfx)iconv-test.out): Likewise.
37244         ($(objpfx)tst-tables.out): Likewise.
37245         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
37246         ($(objpfx)tst-gettext.out): Likewise.
37247         ($(objpfx)tst-translit.out): Likewise.
37248         ($(objpfx)tst-gettext2.out): Likewise.
37249         ($(objpfx)tst-gettext4.out): Likewise.
37250         ($(objpfx)tst-gettext6.out): Likewise.
37251         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
37252         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37253         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
37254         ($(objpfx)tst-fopenloc-mem.out): Likewise.
37255         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37256         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
37257         * posix/Makefile ($(objpfx)globtest.out): Likewise.
37258         ($(objpfx)wordexp-tst.out): Likewise.
37259         ($(objpfx)annexc.out): Likewise.
37260         ($(objpfx)tst-fnmatch-mem): Likewise.
37261         ($(objpfx)bug-regex2-mem): Likewise.
37262         ($(objpfx)bug-regex14-mem): Likewise.
37263         ($(objpfx)bug-regex21-mem): Likewise.
37264         ($(objpfx)bug-regex31-mem): Likewise.
37265         ($(objpfx)tst-vfork3-mem): Likewise.
37266         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37267         ($(objpfx)tst-pcre-mem): Likewise.
37268         ($(objpfx)tst-boost-mem): Likewise.
37269         ($(objpfx)tst-getconf.out): Likewise.
37270         ($(objpfx)bug-ga2-mem): Likewise.
37271         ($(objpfx)bug-glob2-mem): Likewise.
37272         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
37273         ($(objpfx)mtrace-tst-leaks2): Likewise.
37274         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
37275         ($(objpfx)tst-printf.out): Likewise.
37276         ($(objpfx)tst-setvbuf1.out): Likewise.
37277         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
37278         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
37279         ($(objpfx)tst-fmtmsg.out): Likewise.
37280         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
37281         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
37283         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
37284         * bits/sigaction.h [__USE_MISC]: Likewise.
37285         * bits/waitstatus.h: Update #endif comments.
37286         * ctype/ctype.h: Likewise.
37287         * dirent/dirent.h: Likewise.
37288         [__USE_MISC]: Remove redundant conditionals.
37289         * grp/grp.h: Update #endif comments.
37290         [__USE_GNU]: Remove redundant conditionals.
37291         [__USE_MISC]: Likewise.
37292         * inet/netinet/in.h [__USE_GNU]: Likewise.
37293         * io/sys/stat.h [__USE_MISC]: Likewise.
37294         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
37295         * libio/bits/stdio.h: Update #endif comments.
37296         [__USE_MISC]: Remove redundant conditionals.
37297         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
37298         * libio/stdio.h: Update #endif comments.
37299         [__USE_MISC]: Remove redundant conditionals.
37300         * math/bits/math-finite.h [__USE_MISC]: Likewise.
37301         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
37302         * math/math.h: Update #else and #endif comments.
37303         [__USE_MISC]: Remove redundant conditionals.
37304         * misc/sys/uio.h: Update #endif comments.
37305         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
37306         * posix/glob.h [__USE_MISC]: Likewise.
37307         * posix/sys/types.h: Update #endif comments.
37308         [__USE_MISC]: Remove redundant conditionals.
37309         * posix/sys/wait.h: Update #endif comments.
37310         [__USE_MISC]: Remove redundant conditionals.
37311         * posix/unistd.h: Update #endif comments.
37312         [__USE_MISC]: Remove redundant conditionals.
37313         * pwd/pwd.h [__USE_GNU]: Likewise.
37314         [__USE_MISC]: Likewise.
37315         * resolv/netdb.h [__USE_GNU]: Likewise.
37316         * signal/signal.h: Update #endif comments.
37317         [__USE_MISC]: Remove redundant conditionals.
37318         * stdlib/stdlib.h: Update #else and #endif comments.
37319         [__USE_MISC]: Remove redundant conditionals.
37320         [__USE_GNU]: Likewise.
37321         * string/bits/string2.h [__USE_MISC]: Likewise.
37322         * string/string.h: Update #endif comments.
37323         [__USE_MISC]: Remove redundant conditionals.
37324         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
37325         Likewise.
37326         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
37327         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
37328         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
37329         Likewise.
37330         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
37331         Likewise.
37332         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
37333         comments.
37334         [__USE_MISC]: Remove redundant conditionals.
37335         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
37336         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
37337         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
37338         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
37339         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
37340         Likewise.
37341         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
37342         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
37343         Likewise.
37344         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
37345         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
37346         Likewise.
37347         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
37348         Likewise.
37349         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
37350         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
37351         Likewise.
37352         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
37353         Likewise.
37354         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
37355         * sysdeps/x86/bits/string.h: Update #endif comments.
37356         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
37357         conditionals.
37358         * time/sys/time.h: Update #endif comments.
37359         * time/time.h: Likewise.
37360         [__USE_MISC]: Remove redundant conditionals.
37362 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
37364         [BZ #16600]
37365         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
37367 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
37369         * Versions.def (librt): Add GLIBC_2.17.
37371 2014-02-21  Adam Conrad  <adconrad@0c3.net>
37373         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
37374         synonym for _SYS_AUXV_H to allow direct inclusion.
37375         * sysdeps/sparc/bits/hwcap.h: Likewise.
37376         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
37377         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
37378         * sysdeps/sparc/sysdep.h: Likewise.
37380 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37382         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
37384 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37386         * benchtests/bench-strrchr.c: Print length instead of position.
37388 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
37390         [BZ #16611]
37391         * sysdeps/unix/sysv/linux/kernel-features.h
37392         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
37393         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
37394         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
37395         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
37396         Likewise.
37397         [__i386__ || __powerpc__ || __sh__ || __sparc__]
37398         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37399         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
37400         (__ASSUME_SENDMMSG): Define instead of using previous
37401         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
37402         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37403         (__ASSUME_SENDMMSG_SYSCALL): Define.
37404         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37405         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
37406         Likewise.
37407         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37408         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37409         Likewise.
37410         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37411         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37412         Likewise.
37413         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
37414         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37415         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37416         [__ASSUME_SENDMMSG]: Change conditionals to
37417         [__ASSUME_SENDMMSG_SOCKETCALL].
37418         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37419         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
37420         Define.
37421         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37422         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
37423         Likewise.
37424         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
37425         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37426         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37427         [!__ASSUME_SENDMMSG]: Change conditional to
37428         [!__ASSUME_SENDMMSG_SOCKETCALL].
37429         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37430         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37431         Define.
37433         [BZ #16610]
37434         * sysdeps/unix/sysv/linux/kernel-features.h
37435         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
37436         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
37437         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
37438         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
37439         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37440         [__i386__ || __sparc__]
37441         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37442         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
37443         (__ASSUME_RECVMMSG): Define instead of using previous
37444         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
37445         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37446         (__ASSUME_RECVMMSG_SYSCALL): Define.
37447         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37448         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37449         Likewise.
37450         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37451         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37452         Likewise.
37453         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37454         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37455         Likewise.
37456         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
37457         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37458         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37459         [__ASSUME_RECVMMSG]: Change condition to
37460         [__ASSUME_RECVMMSG_SOCKETCALL].
37461         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37462         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37463         Define.
37464         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37465         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37466         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37467         Likewise.
37468         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
37469         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37470         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37471         [!__ASSUME_RECVMMSG]: Change condition to
37472         [!__ASSUME_RECVMMSG_SOCKETCALL].
37473         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37474         (__ASSUME_RECVMMSG_SYSCALL): Define.
37476         [BZ #16609]
37477         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
37478         __powerpc__ || __s390__ || __sh__ || __sparc__]
37479         (__ASSUME_SOCKETCALL): Define.
37480         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
37481         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
37482         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
37483         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
37484         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37485         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
37486         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
37487         (__ASSUME_ACCEPT4): Define instead of using previous
37488         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
37489         __powerpc__ || __sparc__ || __s390__)] condition.
37490         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37491         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37492         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
37493         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37494         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37495         [!__ASSUME_ACCEPT4]: Change condition to
37496         [!__ASSUME_ACCEPT4_SOCKETCALL].
37497         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37498         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
37499         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
37500         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37501         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
37502         __ASSUME_ACCEPT4_SYSCALL.
37503         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
37504         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
37505         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37506         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
37507         __ASSUME_ACCEPT4_SYSCALL.
37508         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
37509         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37510         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37511         [__ASSUME_ACCEPT4]: Change condition to
37512         [__ASSUME_ACCEPT4_SOCKETCALL].
37513         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37514         (__ASSUME_SOCKETCALL): Define.
37515         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
37516         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37517         (__ASSUME_SOCKETCALL): Define.
37518         (__ASSUME_ACCEPT4): Remove.
37519         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
37520         Define.
37521         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37522         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
37523         Likewise.
37524         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37525         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37527         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
37528         macro.
37529         (HWCAP_ARM_LPAE): Likewise.
37530         (HWCAP_ARM_EVTSTRM): Likewise.
37531         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
37532         Add vpfd32, lpae and evtstrm.
37533         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
37534         Increase to 22.
37536 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
37538         * math/auto-libm-test-in: Add tests of clog10.
37539         * math/auto-libm-test-out: Regenerated.
37540         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
37541         * sysdeps/i386/fpu/libm-test-ulps: Update.
37542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37544 2014-02-18  Andreas Schwab  <schwab@suse.de>
37546         [BZ #16574]
37547         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
37548         Store non-zero if the second buffer was newly allocated.
37549         (send_dg): Likewise.
37550         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
37551         to send_vc and send_dg.
37552         (res_nsend): Pass NULL for ansp2_malloced.
37553         * resolv/res_query.c (__libc_res_nquery): Add parameter
37554         answerp2_malloced and pass it down to __libc_res_nsend.
37555         (res_nquery): Pass additional NULL to __libc_res_nquery.
37556         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
37557         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
37558         second answer buffer if answerp2_malloced was set.
37559         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
37560         (__libc_res_nquerydomain): Add parameter
37561         answerp2_malloced and pass it down to __libc_res_nquery.
37562         (res_nquerydomain): Pass additional NULL to
37563         __libc_res_nquerydomain.
37564         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
37565         additional NULL to __libc_res_nsend and __libc_res_nquery.
37566         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
37567         additional NULL to __libc_res_nsearch.
37568         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
37569         parameter of __libc_res_nsearch to check for separately allocated
37570         second buffer.
37571         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
37572         __libc_res_nquery.
37573         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
37574         additional NULL to __libc_res_nquery.
37575         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
37576         __libc_res_nsearch.
37577         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
37578         * include/resolv.h: Update prototypes of __libc_res_nquery,
37579         __libc_res_nsearch, __libc_res_nsend.
37581 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
37583         * math/auto-libm-test-in: Add tests of fma.
37584         * math/auto-libm-test-out: Regenerated.
37585         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
37586         (fma_towardzero_test_data): Likewise.
37587         (fma_downward_test_data): Likewise.
37588         (fma_upward_test_data): Likewise.
37589         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
37590         mpc_mode.
37591         (rounding_modes): Add values for new field.
37592         (func_calc_method): Add value mpfr_fff_f.
37593         (func_calc_desc): Add mpfr_fff_f union field.
37594         (test_function): Add field exact_args.
37595         (FUNC): Add macro argument EXACT_ARGS.
37596         (FUNC_mpfr_f_f): Update call to FUNC.
37597         (FUNC_mpfr_f_f): Likewise.
37598         (FUNC_mpfr_ff_f): Likewise.
37599         (FUNC_mpfr_if_f): Likewise.
37600         (FUNC_mpc_c_f): Likewise.
37601         (FUNC_mpc_c_c): Likewise.
37602         (test_functions): Add fma.  Update calls to FUNC.
37603         (handle_input_arg): Add argument exact_args.
37604         (add_test): Update call to handle_input_arg.
37605         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
37606         (output_for_one_input_case): Update call to calc_generic_results.
37607         Recalculate exact zero results in each rounding mode.
37609         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
37610         non-negative before setting low bit.
37611         * math/auto-libm-test-in: Mark one asin test possibly having
37612         spurious underflow.
37613         * math/auto-libm-test-out: Regenerated.
37614         * sysdeps/i386/fpu/libm-test-ulps: Update.
37615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37617 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
37619         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
37620         * sysdeps/unix/sysv/linux/microblaze: Move directory from
37621         ports/sysdeps/unix/sysv/linux/microblaze.
37622         * README: Add missing listing for microblaze*-*-linux-gnu.
37624 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
37626         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
37627         duplicate code
37629 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
37631         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
37632         * sysdeps/unix/sysv/linux/ia64: Move directory from
37633         ports/sysdeps/unix/sysv/linux/ia64.
37634         * README: Update listing for ia64-*-linux-gnu.
37636 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
37637             Joseph Myers  <joseph@codesourcery.com>
37639         * Makeconfig (test-name): New variable.
37640         (evaluate-test): Likewise.
37641         * Makerules (do-test-clean): Remove .test-result files.
37642         (common-mostlyclean): Likewise.
37643         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
37644         * scripts/evaluate-test.sh: New file.
37646 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
37648         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
37649         separate $(objpfx)tst-fopenloc-cmp.out and
37650         $(objpfx)tst-fopenloc-mem.out targets.
37651         (tests): Update dependencies.
37652         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
37653         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
37654         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
37655         (tst-rxspencer-no-utf8-ARGS): New variable.
37656         (tst-rxspencer-no-utf8-ENV): Likewise.
37657         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
37658         instead of $(objpfx)tst-rxspencer-mem.
37659         ($(objpfx)tst-rxspencer-mem): Change target to
37660         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
37661         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
37662         * posix/tst-rxspencer-no-utf8.c: New file.
37664         * elf/Makefile ($(objpfx)order.out): Remove rule.
37665         [$(run-built-tests) = yes] (tests): Depend on
37666         $(objpfx)order-cmp.out.
37667         ($(objpfx)order-cmp.out): New rule.
37668         [$(run-built-tests) = yes] (tests): Depend on
37669         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
37670         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
37671         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
37672         $(objpfx)tst-array5-static-cmp.out.
37673         ($(objpfx)tst-array1.out): Remove rule.
37674         ($(objpfx)tst-array1-cmp.out): New rule.
37675         ($(objpfx)tst-array1-static.out): Remove rule.
37676         ($(objpfx)tst-array1-static-cmp.out): New rule.
37677         ($(objpfx)tst-array2.out): Remove rule.
37678         ($(objpfx)tst-array2-cmp.out): New rule.
37679         ($(objpfx)tst-array3.out): Remove rule.
37680         ($(objpfx)tst-array3-cmp.out): New rule.
37681         ($(objpfx)tst-array4.out): Remove rule.
37682         ($(objpfx)tst-array4-cmp.out): New rule.
37683         ($(objpfx)tst-array5.out): Remove rule.
37684         ($(objpfx)tst-array5-cmp.out): New rule.
37685         ($(objpfx)tst-array5-static.out): Remove rule.
37686         ($(objpfx)tst-array5-static-cmp.out): New rule.
37687         [$(run-built-tests) = yes] (tests): Depend on
37688         $(objpfx)order2-cmp.out.
37689         ($(objpfx)order2.out): Remove rule.
37690         ($(objpfx)order2-cmp.out): New rule.
37691         ($(objpfx)tst-initorder.out): Remove rule.
37692         [$(run-built-tests) = yes] (tests): Depend on
37693         $(objpfx)tst-initorder-cmp.out.
37694         ($(objpfx)tst-initorder-cmp.out): New rule.
37695         ($(objpfx)tst-initorder2.out): Remove rule.
37696         [$(run-built-tests) = yes] (tests): Depend on
37697         $(objpfx)tst-initorder2-cmp.out.
37698         ($(objpfx)tst-initorder2-cmp.out): New rule.
37699         [$(run-built-tests) = yes] (tests): Depend on
37700         $(objpfx)tst-unused-dep-cmp.out.
37701         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
37702         ($(objpfx)tst-unused-dep-cmp.out): New rule.
37703         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
37704         on $(objpfx)tst-setvbuf1-cmp.out.
37705         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
37706         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
37707         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
37708         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
37709         ($(objpfx)tst-svc.out): Remove rule.
37710         ($(objpfx)tst-svc-cmp.out): New rule.
37712 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
37714         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
37715         * ctype/ctype.h [__USE_MISC]: Likewise.
37716         * dirent/dirent.h [__USE_MISC]: Likewise.
37717         * grp/grp.h [__USE_MISC]: Likewise.
37718         * io/fcntl.h [__USE_MISC]: Likewise.
37719         * io/sys/stat.h [__USE_MISC]: Likewise.
37720         * libio/stdio.h [__USE_MISC]: Likewise.
37721         * posix/unistd.h [__USE_MISC]: Likewise.
37722         * pwd/pwd.h [__USE_MISC]: Likewise.
37723         * stdlib.h [__USE_MISC]: Likewise.
37724         * string/bits/string2.h [__USE_MISC]: Likewise.
37725         * string/string.h [__USE_MISC]: Likewise.
37726         * time/time.h [__USE_MISC]: Likewise.
37728 2014-02-13  Andreas Schwab  <schwab@suse.de>
37730         [BZ #16574]
37731         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
37732         second answer buffer if it was separately allocated.
37734 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
37736         * sysdeps/mips/math-tests.h: Include <features.h>.
37737         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37738         (ROUNDING_TESTS_long_double): Do not define.
37739         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37740         (EXCEPTION_TESTS_long_double): Likewise.
37741         * sysdeps/mips/mips64/libm-test-ulps: Update.
37743         * include/features.h (__USE_BSD): Remove macro definitions.
37744         (__USE_SVID): Likewise.
37745         (_BSD_SOURCE): Likewise.
37746         (_SVID_SOURCE): Likewise.
37747         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
37748         from definition of _DEFAULT_SOURCE.
37749         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
37750         [_DEFAULT_SOURCE].
37751         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
37752         * bits/mman.h [__USE_BSD]: Likewise.
37753         * bits/termios.h [__USE_BSD]: Likewise.
37754         * bits/waitstatus.h [__USE_BSD]: Likewise.
37755         * ctype/ctype.h [__USE_SVID]: Likewise.
37756         * dirent/dirent.h [__USE_BSD]: Likewise.
37757         * grp/grp.h [__USE_SVID]: Likewise.
37758         [__USE_BSD]: Likewise.
37759         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
37760         * io/fcntl.h [__USE_BSD]: Likewise.
37761         * io/ftw.h [__USE_BSD]: Likewise.
37762         * io/sys/stat.h [__USE_BSD]: Likewise.
37763         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
37764         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
37765         * libio/stdio.h [__USE_SVID]: Likewise.
37766         [__USE_BSD]: Likewise.
37767         * math/math.h [__USE_SVID]: Likewise.
37768         [__USE_BSD]: Likewise.
37769         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
37770         * misc/bits/syslog.h [__USE_BSD]: Likewise.
37771         * misc/search.h [__USE_SVID]: Likewise.
37772         * misc/sys/mman.h [__USE_BSD]: Likewise.
37773         * misc/sys/syslog.h [__USE_BSD]: Likewise.
37774         * misc/sys/uio.h [__USE_BSD]: Likewise.
37775         * posix/bits/unistd.h [__USE_BSD]: Likewise.
37776         * posix/glob.h [__USE_BSD]: Likewise.
37777         * posix/regex.h [__USE_BSD]: Likewise.
37778         * posix/sys/types.h [__USE_BSD]: Likewise.
37779         [__USE_SVID]: Likewise.
37780         * posix/sys/utsname.h [__USE_SVID]: Likewise.
37781         * posix/sys/wait.h [__USE_BSD]: Likewise.
37782         [__USE_SVID]: Likewise.
37783         * posix/unistd.h [__USE_BSD]: Likewise.
37784         [__USE_SVID]: Likewise.
37785         * pwd/pwd.h [__USE_SVID]: Likewise.
37786         * resolv/netdb.h [__USE_BSD]: Likewise.
37787         * setjmp/setjmp.h [__USE_BSD]: Likewise.
37788         * signal/signal.h [__USE_BSD]: Likewise.
37789         [__USE_SVID]: Likewise.
37790         * socket/sys/socket.h [__USE_BSD]: Likewise.
37791         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
37792         * stdlib/stdlib.h [__USE_BSD]: Likewise.
37793         [__USE_SVID]: Likewise.
37794         * string/bits/string2.h [__USE_BSD]: Likewise.
37795         [__USE_SVID]: Likewise.
37796         * string/bits/string3.h [__USE_BSD]: Likewise.
37797         * string/endian.h [__USE_BSD]: Likewise.
37798         * string/string.h [__USE_SVID]: Likewise.
37799         [__USE_BSD]: Likewise.
37800         * string/strings.h [__USE_BSD]: Likewise.
37801         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
37802         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
37803         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
37804         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
37805         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
37806         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
37807         Likewise.
37808         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
37809         Likewise.
37810         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
37811         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
37812         Likewise.
37813         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
37814         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
37815         Likewise.
37816         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
37817         Likewise.
37818         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
37819         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
37820         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
37821         Likewise.
37822         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
37823         Likewise.
37824         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
37825         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
37826         * termios/termios.h [__USE_BSD]: Likewise.
37827         * time/sys/time.h [__USE_BSD]: Likewise.
37828         * time/time.h [__USE_BSD]: Likewise.
37829         [__USE_SVID]: Likewise.
37831         * Makefile (subdir_targets): Remove subdir_lint.out.
37833         * stdio-common/Makefile (do-tst-unbputc): Remove target.
37834         (do-tst-printf): Likewise.
37835         (tests): Depend directly on $(objpfx)tst-unbputc.out and
37836         $(objpfx)tst-printf.out.
37838         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
37840         * Makerules (check-abi-%): Change target to
37841         $(objpfx)check-abi-%.out.
37842         (check-abi target): Update dependencies.
37843         (check-abi-pattern variable): Redirect output of diff to $@.
37844         (check-abi variable): Likewise.
37845         * elf/Makefile (check-abi): Update dependencies.
37847         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
37848         unused.
37849         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
37850         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
37851         subnormal range.
37852         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
37853         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
37854         value has largest subnormal exponent.
37855         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
37856         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
37857         * sysdeps/aarch64/soft-fp/sfp-machine.h
37858         (_FP_TININESS_AFTER_ROUNDING): New macro.
37859         * sysdeps/alpha/soft-fp/sfp-machine.h
37860         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37861         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37862         Likewise.
37863         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
37864         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37865         * sysdeps/mips/soft-fp/sfp-machine.h
37866         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37867         * sysdeps/powerpc/soft-fp/sfp-machine.h
37868         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37869         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37870         Likewise.
37871         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37872         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37873         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37874         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37875         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37876         Likewise.
37878 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
37880         [BZ #16545]
37881         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
37882         model 1.
37884 2014-02-12  Richard Henderson  <rth@redhat.com>
37886         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
37887         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
37888         * sysdeps/unix/sysv/linux/alpha: Move directory from
37889         ports/sysdeps/unix/sysv/linux/alpha.
37890         * README: Update listing for alpha-*-linux-gnu.
37892 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
37894         * include/features.h: Update comment documenting feature test
37895         macros.
37896         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
37897         _DEFAULT_SOURCE.
37898         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
37899         (_SVID_SOURCE): Likewise.
37900         (_DEFAULT_SOURCE): Update description of default features.
37901         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
37902         with _GNU_SOURCE.
37903         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
37904         (S_ISVTX): Likewise.
37905         * manual/math.texi (Mathematical Constants): Likewise.
37906         * manual/signal.texi (Interrupted Primitives): Likewise.
37907         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
37908         * math/test-matherr.c (_SVID_SOURCE): Do not define.
37909         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
37910         Don't refer to _SVID_SOURCE in warning text.
37912         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37914         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
37915         already defined.
37916         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
37917         * sysdeps/mips/dl-lookup.c: Remove.
37918         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
37920 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37922         [BZ #16447]
37923         * math/auto-libm-test-in: Add testcase for expl.
37924         * math/auto-libm-test-out: Regenerate.
37925         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
37926         calculation of unsafe.
37927         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
37929 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37931         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
37932         * sysdeps/unix/sysv/linux/aarch64: Move directory from
37933         ports/sysdeps/unix/sysv/linux/aarch64.
37934         * README: Update listing for aarch64*-*-linux-gnu.
37936 2014-02-11  Will Newton  <will.newton@linaro.org>
37938         * manual/probes.texi (Mathematical Function Probes): Use
37939         "triggered" instead of "hit".
37941         * manual/probes.texi (Internal Probes): Add documentation
37942         of setjmp, longjmp and longjmp_target probes.
37944         * include/stap-probe.h: Add comment about probe argument
37945         format.
37947         * malloc/mtrace.c (attribute_hidden): Remove unused macro
37948         definition.  (tr_where, tr_freehook, tr_mallochook,
37949         tr_reallochook, tr_memalignhook): Use ANSI protoype.
37951 2014-02-11  David S. Miller  <davem@davemloft.net>
37953         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
37954         processing int_tests.
37956 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
37958         * sysdeps/mips: Move directory from ports/sysdeps/mips.
37959         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
37960         * sysdeps/unix/sysv/linux/mips: Move directory from
37961         ports/sysdeps/unix/sysv/linux/mips.
37962         * README: Update listing for mips-*-linux-gnu and
37963         mips64-*-linux-gnu.
37965 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
37967         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
37968         * sysdeps/unix/sysv/linux/m68k: Move directory from
37969         ports/sysdeps/unix/sysv/linux/m68k.
37970         * README: Update listing for m68k-*-linux-gnu.
37972 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
37974         * sysdeps/tile: Move directory from ports/sysdeps/tile.
37975         * sysdeps/unix/sysv/linux/generic: Move directory from
37976         ports/sysdeps/unix/sysv/linux/generic.
37977         * sysdeps/unix/sysv/linux/tile: Move directory from
37978         ports/sysdeps/unix/sysv/linux/tile.
37979         * README: Update listing for tile*-*-linux-gnu.
37981 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
37983         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
37984         __builtin_expect.
37985         * benchtests/bench-memmem.c (simple_memmem): Likewise.
37986         * catgets/open_catalog.c (__open_catalog): Likewise.
37987         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
37988         * debug/confstr_chk.c: Likewise.
37989         * debug/fread_chk.c (__fread_chk): Likewise.
37990         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
37991         * debug/getgroups_chk.c: Likewise.
37992         * debug/mbsnrtowcs_chk.c: Likewise.
37993         * debug/mbsrtowcs_chk.c: Likewise.
37994         * debug/mbstowcs_chk.c: Likewise.
37995         * debug/memcpy_chk.c: Likewise.
37996         * debug/memmove_chk.c: Likewise.
37997         * debug/mempcpy_chk.c: Likewise.
37998         * debug/memset_chk.c: Likewise.
37999         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
38000         * debug/strcat_chk.c (__strcat_chk): Likewise.
38001         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
38002         * debug/strncat_chk.c (__strncat_chk): Likewise.
38003         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
38004         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
38005         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
38006         * debug/wcpncpy_chk.c: Likewise.
38007         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
38008         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
38009         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
38010         * debug/wcsncpy_chk.c: Likewise.
38011         * debug/wcsnrtombs_chk.c: Likewise.
38012         * debug/wcsrtombs_chk.c: Likewise.
38013         * debug/wcstombs_chk.c: Likewise.
38014         * debug/wmemcpy_chk.c: Likewise.
38015         * debug/wmemmove_chk.c: Likewise.
38016         * debug/wmempcpy_chk.c: Likewise.
38017         * debug/wmemset_chk.c: Likewise.
38018         * dirent/scandirat.c (SCANDIRAT): Likewise.
38019         * dlfcn/dladdr1.c (dladdr1): Likewise.
38020         * dlfcn/dladdr.c (dladdr): Likewise.
38021         * dlfcn/dlclose.c (dlclose_doit): Likewise.
38022         * dlfcn/dlerror.c (__dlerror): Likewise.
38023         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
38024         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
38025         * dlfcn/dlopen.c (dlopen_doit): Likewise.
38026         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
38027         * dlfcn/dlsym.c (dlsym_doit): Likewise.
38028         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
38029         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
38030         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
38031         Likewise.
38032         * elf/dl-conflict.c: Likewise.
38033         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
38034         * elf/dl-dst.h: Likewise.
38035         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
38036         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
38037         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
38038         * elf/dl-init.c (call_init, _dl_init): Likewise.
38039         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
38040         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
38041         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
38042         Likewise.
38043         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
38044         Likewise.
38045         * elf/dl-minimal.c (__libc_memalign): Likewise.
38046         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
38047         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
38048         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
38049         * elf/dl-sym.c (do_sym): Likewise.
38050         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
38051         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
38052         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
38053         * elf/dl-writev.h (_dl_writev): Likewise.
38054         * elf/ldconfig.c (search_dir): Likewise.
38055         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
38056         (dl_main): Likewise.
38057         * elf/setup-vdso.h (setup_vdso): Likewise.
38058         * grp/compat-initgroups.c (compat_call): Likewise.
38059         * grp/fgetgrent.c (fgetgrent): Likewise.
38060         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
38061         * grp/putgrent.c (putgrent): Likewise.
38062         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38063         Likewise.
38064         * hurd/hurdinit.c: Likewise.
38065         * iconvdata/8bit-gap.c (struct): Likewise.
38066         * iconvdata/ansi_x3.110.c : Likewise.
38067         * iconvdata/big5.c : Likewise.
38068         * iconvdata/big5hkscs.c : Likewise.
38069         * iconvdata/cp1255.c: Likewise.
38070         * iconvdata/cp1258.c : Likewise.
38071         * iconvdata/cp932.c : Likewise.
38072         * iconvdata/euc-cn.c: Likewise.
38073         * iconvdata/euc-jisx0213.c : Likewise.
38074         * iconvdata/euc-jp.c: Likewise.
38075         * iconvdata/euc-jp-ms.c : Likewise.
38076         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
38077         * iconvdata/gb18030.c : Likewise.
38078         * iconvdata/gbbig5.c (const): Likewise.
38079         * iconvdata/gbgbk.c: Likewise.
38080         * iconvdata/gbk.c : Likewise.
38081         * iconvdata/ibm1364.c : Likewise.
38082         * iconvdata/ibm930.c : Likewise.
38083         * iconvdata/ibm932.c: Likewise.
38084         * iconvdata/ibm933.c : Likewise.
38085         * iconvdata/ibm935.c : Likewise.
38086         * iconvdata/ibm937.c : Likewise.
38087         * iconvdata/ibm939.c : Likewise.
38088         * iconvdata/ibm943.c: Likewise.
38089         * iconvdata/iso_11548-1.c: Likewise.
38090         * iconvdata/iso-2022-cn.c : Likewise.
38091         * iconvdata/iso-2022-cn-ext.c : Likewise.
38092         * iconvdata/iso-2022-jp-3.c: Likewise.
38093         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
38094         * iconvdata/iso-2022-kr.c : Likewise.
38095         * iconvdata/iso646.c (gconv_end): Likewise.
38096         * iconvdata/iso_6937-2.c : Likewise.
38097         * iconvdata/iso_6937.c : Likewise.
38098         * iconvdata/iso8859-1.c: Likewise.
38099         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
38100         * iconvdata/shift_jisx0213.c : Likewise.
38101         * iconvdata/sjis.c : Likewise.
38102         * iconvdata/t.61.c : Likewise.
38103         * iconvdata/tcvn5712-1.c : Likewise.
38104         * iconvdata/tscii.c: Likewise.
38105         * iconvdata/uhc.c : Likewise.
38106         * iconvdata/unicode.c (gconv_end): Likewise.
38107         * iconvdata/utf-16.c (gconv_end): Likewise.
38108         * iconvdata/utf-32.c (gconv_end): Likewise.
38109         * iconvdata/utf-7.c (base64): Likewise.
38110         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
38111         * iconv/gconv_close.c (__gconv_close): Likewise.
38112         * iconv/gconv_open.c (__gconv_open): Likewise.
38113         * iconv/gconv_simple.c (internal_ucs4_loop_single)
38114         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
38115         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
38116         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
38117         (ucs4le_internal_loop_single): Likewise.
38118         * iconv/iconv.c (iconv): Likewise.
38119         * iconv/iconv_close.c: Likewise.
38120         * iconv/loop.c (SINGLE): Likewise.
38121         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
38122         * include/atomic.h: Likewise.
38123         * inet/inet6_option.c (option_alloc): Likewise.
38124         * intl/bindtextdom.c (set_binding_values): Likewise.
38125         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
38126         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
38127         * intl/localealias.c (read_alias_file): Likewise.
38128         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
38129         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
38130         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
38131         * libio/fmemopen.c (fmemopen): Likewise.
38132         * libio/iofgets.c (_IO_fgets): Likewise.
38133         * libio/iofgets_u.c (fgets_unlocked): Likewise.
38134         * libio/iofgetws.c (fgetws): Likewise.
38135         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
38136         * libio/iogetdelim.c (_IO_getdelim): Likewise.
38137         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
38138         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
38139         * locale/findlocale.c (_nl_find_locale): Likewise.
38140         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
38141         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
38142         Likewise.
38143         * locale/setlocale.c (setlocale): Likewise.
38144         * login/programs/pt_chown.c (main): Likewise.
38145         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
38146         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
38147         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
38148         (mmap, mmap64, mremap, munmap): Likewise.
38149         * math/e_exp2l.c: Likewise.
38150         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
38151         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
38152         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
38153         * math/s_catan.c (__catan): Likewise.
38154         * math/s_catanf.c (__catanf): Likewise.
38155         * math/s_catanh.c (__catanh): Likewise.
38156         * math/s_catanhf.c (__catanhf): Likewise.
38157         * math/s_catanhl.c (__catanhl): Likewise.
38158         * math/s_catanl.c (__catanl): Likewise.
38159         * math/s_ccosh.c (__ccosh): Likewise.
38160         * math/s_ccoshf.c (__ccoshf): Likewise.
38161         * math/s_ccoshl.c (__ccoshl): Likewise.
38162         * math/s_cexp.c (__cexp): Likewise.
38163         * math/s_cexpf.c (__cexpf): Likewise.
38164         * math/s_cexpl.c (__cexpl): Likewise.
38165         * math/s_clog10.c (__clog10): Likewise.
38166         * math/s_clog10f.c (__clog10f): Likewise.
38167         * math/s_clog10l.c (__clog10l): Likewise.
38168         * math/s_clog.c (__clog): Likewise.
38169         * math/s_clogf.c (__clogf): Likewise.
38170         * math/s_clogl.c (__clogl): Likewise.
38171         * math/s_csin.c (__csin): Likewise.
38172         * math/s_csinf.c (__csinf): Likewise.
38173         * math/s_csinh.c (__csinh): Likewise.
38174         * math/s_csinhf.c (__csinhf): Likewise.
38175         * math/s_csinhl.c (__csinhl): Likewise.
38176         * math/s_csinl.c (__csinl): Likewise.
38177         * math/s_csqrt.c (__csqrt): Likewise.
38178         * math/s_csqrtf.c (__csqrtf): Likewise.
38179         * math/s_csqrtl.c (__csqrtl): Likewise.
38180         * math/s_ctan.c (__ctan): Likewise.
38181         * math/s_ctanf.c (__ctanf): Likewise.
38182         * math/s_ctanh.c (__ctanh): Likewise.
38183         * math/s_ctanhf.c (__ctanhf): Likewise.
38184         * math/s_ctanhl.c (__ctanhl): Likewise.
38185         * math/s_ctanl.c (__ctanl): Likewise.
38186         * math/w_pow.c: Likewise.
38187         * math/w_powf.c: Likewise.
38188         * math/w_powl.c: Likewise.
38189         * math/w_scalb.c (sysv_scalb): Likewise.
38190         * math/w_scalbf.c (sysv_scalbf): Likewise.
38191         * math/w_scalbl.c (sysv_scalbl): Likewise.
38192         * misc/error.c (error_tail): Likewise.
38193         * misc/pselect.c (__pselect): Likewise.
38194         * nis/nis_callback.c (__nis_create_callback): Likewise.
38195         * nis/nis_call.c (__nisfind_server): Likewise.
38196         * nis/nis_creategroup.c (nis_creategroup): Likewise.
38197         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
38198         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
38199         * nis/nis_getservlist.c (nis_getservlist): Likewise.
38200         * nis/nis_lookup.c (nis_lookup): Likewise.
38201         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
38202         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
38203         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
38204         * nis/nis_xdr.c (xdr_endpoint): Likewise.
38205         * nis/nss_compat/compat-grp.c (getgrent_next_file)
38206         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
38207         * nis/nss_compat/compat-initgroups.c (add_group)
38208         (internal_getgrent_r): Likewise.
38209         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
38210         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
38211         * nis/nss_compat/compat-spwd.c (getspent_next_file)
38212         (internal_getspnam_r): Likewise.
38213         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
38214         (_nss_nis_getaliasbyname_r): Likewise.
38215         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
38216         (_nss_nis_getntohost_r): Likewise.
38217         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
38218         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
38219         (_nss_nis_getgrgid_r): Likewise.
38220         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
38221         (internal_nis_gethostent_r, internal_gethostbyname2_r)
38222         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
38223         (_nss_nis_gethostbyname4_r): Likewise.
38224         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
38225         (initgroups_netid): Likewise.
38226         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
38227         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
38228         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
38229         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
38230         (_nss_nis_getprotobynumber_r): Likewise.
38231         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
38232         (_nss_nis_getsecretkey): Likewise.
38233         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
38234         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
38235         (_nss_nis_getpwuid_r): Likewise.
38236         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
38237         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
38238         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
38239         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
38240         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
38241         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
38242         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
38243         Likewise.
38244         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
38245         (_nss_nisplus_getntohost_r): Likewise.
38246         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
38247         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
38248         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
38249         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
38250         Likewise.
38251         * nis/nss_nisplus/nisplus-initgroups.c
38252         (_nss_nisplus_initgroups_dyn): Likewise.
38253         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
38254         (_nss_nisplus_getnetbyaddr_r): Likewise.
38255         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
38256         (_nss_nisplus_getprotobynumber_r): Likewise.
38257         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
38258         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
38259         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
38260         Likewise.
38261         * nis/nss_nisplus/nisplus-service.c
38262         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
38263         (_nss_nisplus_getservbyport_r): Likewise.
38264         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
38265         (_nss_nisplus_getspnam_r): Likewise.
38266         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
38267         Likewise.
38268         * nscd/aicache.c (addhstaiX): Likewise.
38269         * nscd/cache.c (cache_search, prune_cache): Likewise.
38270         * nscd/connections.c (register_traced_file, send_ro_fd)
38271         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
38272         (main_loop_epoll): Likewise.
38273         * nscd/grpcache.c (addgrbyX): Likewise.
38274         * nscd/hstcache.c (addhstbyX): Likewise.
38275         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38276         * nscd/mem.c (gc, mempool_alloc): Likewise.
38277         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
38278         (addinnetgrX): Likewise.
38279         * nscd/nscd-client.h (__nscd_acquire_maplock)
38280         (__nscd_drop_map_ref): Likewise.
38281         * nscd/nscd_getai.c (__nscd_getai): Likewise.
38282         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38283         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
38284         Likewise.
38285         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
38286         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
38287         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
38288         (__nscd_get_map_ref): Likewise.
38289         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
38290         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
38291         Likewise.
38292         * nscd/pwdcache.c (addpwbyX): Likewise.
38293         * nscd/selinux.c (preserve_capabilities): Likewise.
38294         * nscd/servicescache.c (addservbyX): Likewise.
38295         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
38296         * posix/fnmatch.c (fnmatch): Likewise.
38297         * posix/getopt.c (_getopt_internal_r): Likewise.
38298         * posix/glob.c (glob, glob_in_dir): Likewise.
38299         * posix/wordexp.c (exec_comm_child): Likewise.
38300         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
38301         (getanswer_r, gaih_getanswer_slice): Likewise.
38302         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
38303         * resolv/res_init.c: Likewise.
38304         * resolv/res_mkquery.c (res_nmkquery): Likewise.
38305         * resolv/res_query.c (__libc_res_nquery): Likewise.
38306         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
38307         Likewise.
38308         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
38309         * stdio-common/perror.c (perror): Likewise.
38310         * stdio-common/printf_fp.c (___printf_fp): Likewise.
38311         * stdio-common/tmpnam.c (tmpnam): Likewise.
38312         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
38313         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
38314         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
38315         Likewise.
38316         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
38317         * stdlib/putenv.c (putenv): Likewise.
38318         * stdlib/setenv.c (__add_to_environ): Likewise.
38319         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
38320         * stdlib/strtol_l.c (INTERNAL): Likewise.
38321         * string/memmem.c (memmem): Likewise.
38322         * string/strerror.c (strerror): Likewise.
38323         * string/strnlen.c (__strnlen): Likewise.
38324         * string/test-memmem.c (simple_memmem): Likewise.
38325         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
38326         * sunrpc/pm_getport.c (__get_socket): Likewise.
38327         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
38328         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
38329         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
38330         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
38331         Likewise.
38332         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
38333         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
38334         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38335         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
38336         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38337         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
38338         Likewise.
38339         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
38340         Likewise.
38341         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38342         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38343         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38344         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38345         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
38346         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
38347         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
38348         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
38349         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38350         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
38351         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38352         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
38353         Likewise.
38354         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
38355         Likewise.
38356         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
38357         Likewise.
38358         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
38359         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38360         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
38361         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
38362         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
38363         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
38364         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38365         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
38366         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
38367         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
38368         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
38369         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38370         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
38371         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
38372         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38373         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38374         Likewise.
38375         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
38376         Likewise.
38377         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
38378         Likewise.
38379         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
38380         Likewise.
38381         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38382         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38383         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
38384         Likewise.
38385         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
38386         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
38387         * sysdeps/posix/opendir.c (__opendirat): Likewise.
38388         * sysdeps/posix/sleep.c: Likewise.
38389         * sysdeps/posix/tempname.c: Likewise.
38390         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
38391         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38392         Likewise.
38393         * sysdeps/powerpc/powerpc32/dl-machine.h
38394         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
38395         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
38396         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38397         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
38398         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
38399         Likewise.
38400         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
38401         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
38402         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38403         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
38404         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38405         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
38406         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
38407         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
38408         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38409         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
38410         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
38411         (elf_machine_lazy_rel): Likewise.
38412         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
38413         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
38414         (elf_machine_lazy_rel): Likewise.
38415         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
38416         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
38417         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
38418         * sysdeps/unix/grantpt.c (grantpt): Likewise.
38419         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
38420         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
38421         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
38422         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38423         Likewise.
38424         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
38425         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
38426         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
38427         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
38428         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38429         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38430         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
38431         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
38432         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
38433         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38434         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38435         Likewise.
38436         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
38437         (__posix_fallocate64_l64): Likewise.
38438         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
38439         (posix_fallocate): Likewise.
38440         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
38441         Likewise.
38442         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38443         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
38444         (getifaddrs_internal): Likewise.
38445         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
38446         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
38447         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
38448         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
38449         * sysdeps/unix/sysv/linux/posix_fallocate64.c
38450         (__posix_fallocate64_l64): Likewise.
38451         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
38452         Likewise.
38453         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
38454         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
38455         (__get_clockfreq): Likewise.
38456         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
38457         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
38458         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
38459         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38460         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38461         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
38462         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
38463         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
38464         Likewise.
38465         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
38466         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
38467         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
38468         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
38469         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38470         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
38471         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
38472         Likewise.
38473         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38474         (posix_fallocate): Likewise.
38475         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38476         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
38477         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
38478         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
38479         (elf_machine_rela, elf_machine_rela_relative)
38480         (elf_machine_lazy_rel): Likewise.
38481         * time/asctime.c (asctime_internal): Likewise.
38482         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
38483         * time/tzset.c (__tzset_parse_tz): Likewise.
38484         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38485         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
38486         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
38487         * wcsmbs/wcsmbsload.h: Likewise.
38489         [BZ #15894]
38490         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
38492         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
38493         (arena_get2): Remove THREAD_STATS conditionals.
38494         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
38495         (__malloc_stats, int): Likewise.
38497 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
38499         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
38500         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
38502         * manual/setjmp.texi: Fix typos/grammar errors.
38504         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
38505         Only return early when n is <= 0.  Delete unused return statement.
38507         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
38508         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
38509         * debug/tst-longjmp_chk3.c: New file.
38511         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
38512         (test_main): Replace code with set_fortify_handler call.
38513         * debug/test-strcpy_chk.c: Likewise.
38514         * debug/tst-chk1.c: Likewise.
38515         * debug/tst-longjmp_chk.c: Likewise.
38516         * test-skeleton.c: Include fcntl.h & paths.h
38517         (set_fortify_handler): Define.
38519         * debug/tst-longjmp_chk.c: Add header comment and include
38520         ../test-skeleton.c.
38521         (do_test): Mark static.
38522         (TEST_FUNCTION): Define.
38524         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
38525         (IP_PMTUDISC_INTERFACE): Likewise.
38526         (IP_MULTICAST_IF): Likewise.
38527         (IP_MULTICAST_TTL): Likewise.
38528         (IP_MULTICAST_LOOP): Likewise.
38529         (IP_ADD_MEMBERSHIP): Likewise.
38530         (IP_DROP_MEMBERSHIP): Likewise.
38531         (IP_UNBLOCK_SOURCE): Likewise.
38532         (IP_BLOCK_SOURCE): Likewise.
38533         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
38534         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
38535         (IP_MSFILTER): Likewise.
38536         (MCAST_JOIN_GROUP): Likewise.
38537         (MCAST_BLOCK_SOURCE): Likewise.
38538         (MCAST_UNBLOCK_SOURCE): Likewise.
38539         (MCAST_LEAVE_GROUP): Likewise.
38540         (MCAST_JOIN_SOURCE_GROUP): Likewise.
38541         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
38542         (MCAST_MSFILTER): Likewise.
38543         (IP_MULTICAST_ALL): Likewise.
38544         (IP_UNICAST_IF): Likewise.
38546         * timezone/Makefile: Delete $(have-ksh) check.
38547         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
38548         * timezone/tzselect.ksh: Add +x mode bits.
38550         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
38551         (ANON_INODE_FS_MAGIC): Likewise.
38552         (BDEVFS_MAGIC): Likewise.
38553         (BINFMTFS_MAGIC): Likewise.
38554         (BTRFS_TEST_MAGIC): Likewise.
38555         (CRAMFS_MAGIC_WEND): Likewise.
38556         (DEBUGFS_MAGIC): Likewise.
38557         (ECRYPTFS_SUPER_MAGIC): Likewise.
38558         (EXT3_SUPER_MAGIC): Likewise.
38559         (EXT4_SUPER_MAGIC): Likewise.
38560         (FUTEXFS_SUPER_MAGIC): Likewise.
38561         (HOSTFS_SUPER_MAGIC): Likewise.
38562         (HUGETLBFS_MAGIC): Likewise.
38563         (MINIX3_SUPER_MAGIC): Likewise.
38564         (MTD_INODE_FS_MAGIC): Likewise.
38565         (NILFS_SUPER_MAGIC): Likewise.
38566         (OPENPROM_SUPER_MAGIC): Likewise.
38567         (PIPEFS_MAGIC): Likewise.
38568         (PSTOREFS_MAGIC): Likewise.
38569         (QNX6_SUPER_MAGIC): Likewise.
38570         (RAMFS_MAGIC): Likewise.
38571         (REISERFS_SUPER_MAGIC_STRING): Likewise.
38572         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
38573         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
38574         (SECURITYFS_MAGIC): Likewise.
38575         (SELINUX_MAGIC): Likewise.
38576         (SMACK_MAGIC): Likewise.
38577         (SOCKFS_MAGIC): Likewise.
38578         (SQUASHFS_MAGIC): Likewise.
38579         (STACK_END_MAGIC): Likewise.
38580         (TMPFS_MAGIC): Likewise.
38581         (USBDEVICE_SUPER_MAGIC): Likewise.
38582         (V9FS_MAGIC): Likewise.
38583         (XENFS_SUPER_MAGIC): Likewise.
38584         (CRAMFS_MAGIC): Fix typo in comment.
38585         (EXT2_SUPER_MAGIC): Update comment.
38586         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
38588 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
38590         * sysdeps/arm: Move directory from ports/sysdeps/arm.
38591         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
38592         * sysdeps/unix/sysv/linux/arm: Move directory from
38593         ports/sysdeps/unix/sysv/linux/arm.
38594         * README: Update listing for arm-*-linux-gnueabi.
38596         * README: Remove mention of am33.
38598 2014-02-07  Roland McGrath  <roland@hack.frob.com>
38600         * bits/sigset.h (__sigemptyset): Use a statement expression rather
38601         than the comma operator, to avoid "rhs of comma has no effect"
38602         compiler warnings.
38603         (__sigfillset, __sigandset, __sigorset): Likewise.
38604         * include/signal.h (__sigemptyset): Likewise.
38605         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
38607 2014-02-07  Allan McRae  <allan@archlinux.org>
38609         * version.h (RELEASE): Set to "development".
38610         (VERSION): Set to "2.19.90"
38611         * NEWS: Add 2.20 section.
38613 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
38615         [BZ #16529]
38616         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
38618 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38620         * manual/contrib.texi: Update entry for Carlos O'Donell,
38621         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
38623 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
38625         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
38627         * sysdeps/unix/sysv/linux/kernel-features.h
38628         [__LINUX_KERNEL_VERSION >= 0x020621]
38629         (__ASSUME_PROC_PID_TASK_COMM): Define.
38631 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38633         [BZ #16398]
38634         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
38635         conversion when destination buffer does not have enough space.
38636         * libio/tst-ftell-partial-wide.c: New test case.
38637         * libio/Makefile (tests): Add tst-ftell-partial-wide.
38639         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
38640         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
38641         Leonard and Allan McRae.
38643 2014-02-04  David S. Miller  <davem@davemloft.net>
38645         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
38646         32-bit.
38648 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38651         New file
38652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38653         New file
38654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38655         New file.
38656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38657         New file.
38658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38659         New file.
38660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38661         New file.
38662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38663         New file.
38664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38665         New file.
38666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38667         New file.
38668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
38669         New file.
38670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38671         New file.
38672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38673         New file.
38674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
38675         New file.
38677 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38679         * nptl/shlib-versions: Change powerpc*le start to 2.17.
38680         * shlib-versions: Likewise.
38682 2014-02-04  Roland McGrath  <roland@hack.frob.com>
38683             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38685         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
38686         (abilist-pattern): New variable, set to %-le.abilist.
38688         * Makerules (abilist-pattern): New variable.
38689         (vpath): Use $(abilist-pattern) in place of %.abilist.
38690         (check-abi-% pattern rule): Likewise.
38691         (check-abi, update-abi): Likewise.
38693 2014-02-04  Eric Wong  <normalperson@yhbt.net>
38695         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38697 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
38699         * manual/startup.texi: Add next, previous, and top entries for
38700         the `Program Arguments' and `Environment Variables' nodes.
38702 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
38704         * manual/macros.texi: Add comments before MTASC-safety macros.
38706         * manual/users.texi: Document MTASC-safety properties.
38708         * manual/threads.texi (pthread_key_create, pthread_key_delete)
38709         (pthread_getspecific, pthread_setspecific): Format with
38710         @deftypefun, and add @safety note.
38711         * manual/signal.texi: Move comments that analyze the above
38712         functions to their home place.
38714 2014-02-03  Allan McRae  <allan@archlinux.org>
38716         * po/sl.po: Update Slovenian translation from translation project.
38718 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
38720         * manual/time.texi (timegm): Add missing blank after @c.
38721         Reported by Joseph Myers <joseph@codesourcery.com>.
38723 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
38725         * manual/check-safety.sh: New.
38726         * manual/Makefile ($(objpfx)stamp-summary): Run it.
38728         * manual/terminal.texi: Document MTASC-safety properties.
38730         * manual/filesys.texi: Document MTASC-safety properties.
38732         * manual/errno.texi: Document MTASC-safety properties.
38734         * manual/intro.texi: Document safety identifiers and
38735         conditionals.
38737         * manual/string.texi (wcstok): Fix prototype.
38738         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
38740         * manual/time.texi: Document MTASC-safety properties.
38742         * manual/string.texi: Document MTASC-safety properties.
38744         * manual/threads.texi: Document MTASC-safety properties.
38746         * manual/stdio.texi: Document MTASC-safety properties.
38748         * manual/syslog.texi: Document MTASC-safety properties.
38750         * manual/sysinfo.texi: Document MTASC-safety properties.
38752         * manual/startup.texi: Document MTASC-safety properties.
38754         * manual/socket.texi: Document MTASC-safety properties.
38756         * manual/signal.texi: Document MTASC-safety properties.
38758 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
38760         * manual/setjmp.texi: Document MTASC-safety properties.
38762         * manual/search.texi: Document MTASC-safety properties.
38764         * manual/resource.texi: Document MTASC-safety properties.
38766         * manual/process.texi: Document MTASC-safety properties.
38768         * manual/platform.texi: Document MTASC-safety properties.
38770         * manual/pipe.texi: Document MTASC-safety properties.
38772         * manual/pattern.texi: Document MTASC-safety properties.
38774         * manual/message.texi: Document MTASC-safety properties.
38776         [BZ #12751]
38777         * manual/memory.texi: Document MTASC-safety properties.
38779         * manual/math.texi: Document MTASC-safety properties.
38781         * manual/locale.texi: Document MTASC-safety properties.
38783         * manual/llio.texi: Document MTASC-safety properties.
38785         * manual/libdl.texi: New.
38787         * manual/lang.texi: Document MTASC-safety properties.
38789         * manual/job.texi: Document MTASC-safety properties.
38791         * manual/getopt.texi: Document MTASC-safety properties.
38793         * manual/ctype.texi: Document MTASC-safety properties.
38795 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
38797         [BZ #16046]
38798         * csu/libc-tls.c (static_map): Remove variable.
38799         (__libc_setup_tls): Use main executable's link map for TLS data.
38800         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
38801         casing for LM_ID_BASE and GL(dl_nns).
38802         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
38803         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
38804         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
38805         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
38806         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
38807         member.
38808         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
38809         l_phnum members.
38811 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
38813         * manual/debug.texi: Document MTASC-safety properties.
38815 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
38817         [BZ #16510]
38818         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
38819         of __x86_64__ when disabling x87 inline functions.
38821 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
38823         * manual/charset.texi: Document MTASC-safety properties.
38825         * manual/crypt.texi: Document MTASC-safety properties.
38827         * manual/conf.texi: Document MTASC-safety properties.
38829         * manual/arith.texi: Document MTASC-safety properties.
38831         * manual/argp.texi: Document MTASC-safety properties.
38833         * manual/macros.texi: Introduce macros to document multi
38834         thread, asynchronous signal and asynchronous cancellation
38835         safety properties.
38836         * manual/intro.texi: Introduce the properties themselves.
38838 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38840         * sysdeps/sh/sh4/Makefile: New file.
38842 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
38844         * math/gen-libm-test.pl ($srcdir): New variable.
38845         ($auto_input): Use it.
38847 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38849         [BZ #16506]
38850         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
38851         access beyond array bounds when parsing netgroups file.
38853         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
38854         the old buffer before realloc.
38856 2014-01-27  Allan McRae  <allan@archlinux.org>
38858         * po/fr.po: Update French translation from translation project.
38860 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38862         * sysdeps/sh/libm-test-ulps: Regenerate.
38864 2014-01-24  David S. Miller  <davem@davemloft.net>
38866         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
38868 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38870         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
38871         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
38873 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38875         [BZ #16474]
38876         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
38877         string pointers after reallocation.
38879 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38881         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
38882         __SH4A__ instead of __SH_FPU_ANY__.
38884 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38886         * sysdeps/sh/fpu_control.h: New file.
38887         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
38888         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
38889         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
38890         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
38891         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
38892         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
38893         * sysdeps/sh/sys/ucontext.h: Remove.
38894         * sysdeps/sh/sys: Remove directory.
38896 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38898         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
38899         s390/sys/ucontext.h.
38900         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
38901         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
38903 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
38905         [BZ #15605]
38906         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
38908 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38910         [BZ#16431]
38911         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38912         Adjust the vDSO correctly for internal calls.
38913         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
38915 2014-01-20  Allan McRae  <allan@archlinux.org>
38917         * po/ca.po: Update Catalan translation from translation project.
38919 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
38921         * sysdeps/s390/sotruss-lib.c: New file.
38923 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38925         [BZ#16430]
38926         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
38927         (__GI___gettimeofday): Alias for a different internal symbol to avoid
38928         local calls issues by not having a PLT stub required for IFUNC calls.
38929         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
38931 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
38933         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
38934         * math/test-fpucw-static.c: Likewise.
38936 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38938         [BZ #16453]
38939         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
38941 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38943         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
38944         implementation for powerpc.
38946 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
38948         [BZ #14782]
38949         * sysdeps/posix/system.c (__libc_system): Do not enable
38950         asynchronous cancellation.
38952 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38954         [BZ #16427]
38955         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
38956         handling only for numbers special also in the IEEE case.
38958 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38960         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38962 2014-01-11  Allan McRae  <allan@archlinux.org>
38964         * po/bg.po: Update Bulgarian translation from translation project.
38966         * po/de.po: Update German translation from translation project.
38968 2014-01-10  Roland McGrath  <roland@hack.frob.com>
38970         * sysdeps/generic/gcc-compat.h: New file.
38972 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38974         * benchtests/asin-inputs: Correct slow inputs.
38975         * benchtests/acos-inputs: Likewise.
38977 2014-01-10  Allan McRae  <allan@archlinux.org>
38979         * po:sv.po: Update Swedish translation from translation project.
38981         * po/vi.po: Update Vietnamese translation from translation project.
38983         * po/eo.po: Update Esperanto translation from translation project.
38985         * po/cs.po: Update Czech translation from translation project.
38987         * po/nl.po: Update Dutch translation from translation project.
38989         * po/pl.po: Update Polish translation from translation project.
38991         * po/ru.po: Update Russian translation from translation project.
38993         * po/uk.po: Update Ukrainian translation from translation project.
38995 2014-01-08  Brooks Moses  <bmoses@google.com>
38997         * elf/dl-load.c: Fix comment typo.
38999 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
39001         * po/header.pot: Rename to...
39002         * po/pot.header: ... this.
39003         * po/Makefile: Use pot.header.
39005 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
39006             Maxim Kuvyrkov  <maxim@kugelworks.com>
39008         [BZ #16394]
39009         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
39010         SRC and DEST against LEN.
39012 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39014         [BZ #16414]
39015         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
39016         implementation.
39017         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
39019 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39021         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39023 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
39025         [BZ #16408]
39026         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
39027         for large positive arguments.
39029 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
39031         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39033         * math/auto-libm-test-in: Mark various tests with
39034         xfail-rounding:ldbl-128ibm.
39035         * math/auto-libm-test-out: Regenerated.
39037         [BZ #16407]
39038         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
39039         Increase overflow threshold.
39041 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
39043         [BZ #14286]
39044         * stdio-common/vfprintf.c: Check for integer overflow.
39046 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39048         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
39049         the first argument and return value of __tls_get_addr_internal.
39051 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39053         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
39054         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
39056 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39058         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
39059         * sysdeps/s390/rtld-global-offsets.sym: New file.
39060         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
39061         GLIBC_2.19 symbol.
39062         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
39063         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
39064         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39065         ... this.
39066         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
39067         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39068         ... this.
39069         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39070         Regenerate.
39071         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39072         Regenerate.
39073         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
39074         halfs of GPRs for high_gprs contexts.
39075         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
39076         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
39077         field.
39078         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
39079         uc_flags field.
39080         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
39081         64 bit versions:
39082         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
39083         for high GPRs (uc_high_gprs) and for future extensions
39084         (__reserved).
39085         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
39086         for future extensions (__reserved).
39087         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
39088         64 bit versions:
39089         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
39090         SC_HIGHGPRS offset definition.
39091         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
39092         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
39094         * Versions.def: Add GLIBC_2.19 for libpthread.
39095         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
39096         siglongjmp for libpthread with GLIBC_2.19 symver.
39097         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
39098         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
39099         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
39100         * sysdeps/s390/__longjmp.c: New file.
39101         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
39102         * sysdeps/s390/longjmp.c: New file.
39103         * sysdeps/s390/setjmp.S: New file.
39104         * sysdeps/s390/sigjmp.S: New file.
39105         * sysdeps/s390/v1-longjmp.c: New file.
39106         * sysdeps/s390/v1-setjmp.h: New file.
39107         * sysdeps/s390/v1-sigjmp.c: New file.
39108         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
39109         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
39110         GLIBC_2.19 version.
39111         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
39112         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
39113         versioned symbols for ____longjmp_chk.
39114         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
39115         Likewise.
39116         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39117         Regenerate.
39118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39119         Regenerate.
39120         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39121         Regenerate.
39122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39123         Regenerate.
39124         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
39125         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
39126         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
39127         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
39128         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
39129         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
39130         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
39131         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
39132         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
39133         * sysdeps/s390/rtld-__longjmp.c: New file.
39134         * sysdeps/s390/rtld-setjmp.S: New file.
39136 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
39138         [BZ #16400]
39139         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39140         Return -__logl (x) for small positive arguments without evaluating
39141         a polynomial.
39143 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
39145         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
39146         Rename to ...
39147         (__ptrace_peeksiginfo_args): ... this.
39148         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39149         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39150         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39152 2014-01-06  Allan McRae  <allan@archlinux.org>
39154         * inet/netinet/in.h: Fix typo in comment.
39156 2014-01-05  Andreas Jaeger  <aj@suse.de>
39158         * sysdeps/i386/fpu/libm-test-ulps: Update.
39160 2014-01-05  Allan McRae  <allan@archlinux.org>
39162         * po/libc.pot: Regenerated.
39164         * malloc/memusagestat.c: Fix gettext call formatting.
39166 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
39168         * nscd/nscd.c: Improve usage() output.
39170 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
39172         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
39173         * sysdeps/unix/sysv/linux/configure: Regenerated.
39174         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
39175         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
39177 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39179         [BZ #16390]
39180         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39181         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
39183 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39185         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
39186         extra tokens at end of #undef directive.
39187         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
39188         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
39189         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
39191 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39193         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39195         * math/auto-libm-test-in: Mark various tests with
39196         xfail-rounding:ldbl-128ibm.
39197         * math/auto-libm-test-out: Regenerated.
39199 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
39201         [BZ #16386]
39202         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
39203         numbers with subnormal high part when calculating exponent.
39205         [BZ #16385]
39206         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
39207         fabs.
39209         [BZ #16384]
39210         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
39211         M_LN2l.
39212         (__ieee754_acoshl): Use __log1pl not __log1p.
39214 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
39216         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
39217         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
39218         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
39219         (grow_heap, heap_trim, _int_new_arena, get_free_list)
39220         (reused_arena, arena_get2): Convert to GNU style.
39221         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
39222         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
39223         (memalign_check, __malloc_set_state): Likewise.
39224         * malloc/mallocbug.c (main): Likewise.
39225         * malloc/malloc.c (__malloc_assert, malloc_init_state)
39226         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
39227         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
39228         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
39229         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
39230         (__posix_memalign, malloc_info): Likewise.
39231         * malloc/malloc.h: Likewise.
39232         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
39233         (mallochook, memalignhook, reallochook, mabort): Likewise.
39234         * malloc/mcheck.h: Likewise.
39235         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
39236         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
39237         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
39238         * malloc/morecore.c (__default_morecore): Likewise.
39239         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
39240         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
39241         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
39242         (print_and_abort): Likewise.
39243         * malloc/obstack.h: Likewise.
39244         * malloc/set-freeres.c (__libc_freeres): Likewise.
39245         * malloc/tst-mallocstate.c (main): Likewise.
39246         * malloc/tst-mtrace.c (main): Likewise.
39247         * malloc/tst-realloc.c (do_test): Likewise.
39249 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39251         [BZ #16366]
39252         * nscd/netgroupcache.c (do_notfound): New function.
39253         (addgetnetgrentX): Use it.
39255         [BZ # 16365]
39256         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
39257         NSS_STATUS_NOTFOUND.
39259 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
39261         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
39262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39264 2014-01-01  Allan McRae  <allan@archlinux.org>
39266         * scripts/update-copyrights: Update configure input file suffix.
39268         * NEWS: Update copyright year.
39269         * catgets/gencat.c: Likewise.
39270         * csu/version.c: Likewise.
39271         * debug/catchsegv.sh: Likewise.
39272         * debug/pcprofiledump.c: Likewise.
39273         * debug/xtrace.sh: Likewise.
39274         * elf/ldconfig.c: Likewise.
39275         * elf/ldd.bash.in: Likewise.
39276         * elf/pldd.c: Likewise.
39277         * elf/sotruss.ksh: Likewise.
39278         * elf/sprof.c: Likewise.
39279         * iconv/iconv_prog.c: Likewise.
39280         * iconv/iconvconfig.c: Likewise.
39281         * locale/programs/locale.c: Likewise.
39282         * locale/programs/localedef.c: Likewise.
39283         * login/programs/pt_chown.c: Likewise.
39284         * malloc/memusage.sh: Likewise.
39285         * malloc/memusagestat.c: Likewise.
39286         * malloc/mtrace.pl: Likewise.
39287         * manual/libc.texinfo: Likewise.
39288         * nscd/nscd.c: Likewise.
39289         * nss/getent.c: Likewise.
39290         * nss/makedb.c: Likewise.
39291         * posix/getconf.c: Likewise.
39292         * scripts/test-installation.pl: Likewise.
39294         * All files with FSF copyright notices: Update copyright dates
39295         using scripts/update-copyrights.
39296         * intl/plural.c: Regenerated.
39297         * locale/programs/charmap-kw.h: Likewise.
39298         * locale/programs/locfile-kw.h: Likewise.
39300 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
39302         * sysdeps/unix/sysv/linux/configure: Regenerated.
39303         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
39304         the linux/fanotify.h header.
39305         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
39306         HAVE_LINUX_FANOTIFY_H is defined.
39308 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39310         * benchtests/cos-inputs: New inputs.
39311         * benchtests/sin-inputs: Likewise.
39313         * benchtests/atan-inputs: New inputs. Fix name of multiple
39314         precision fallback inputs.
39316         * benchtests/atanh-inputs: New inputs.
39317         * benchtests/tanh-inputs: Likewise.
39319         * benchtests/acosh-inputs: New inputs.
39320         * benchtests/asinh-inputs: Likewise.
39322         * benchtests/cosh-inputs: New inputs.
39323         * benchtests/sinh-inputs: Likewise.
39325         * benchtests/acos-inputs: Add more inputs.
39326         * benchtests/asin-inputs: Likewise.
39328 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
39330         [BZ #16375]
39331         * manual/arith.texi: Fix spelling.
39332         * manual/charset.texi: Likewise.
39333         * manual/errno.texi: Likewise.
39334         * manual/filesys.texi: Likewise.
39335         * manual/lang.texi: Likewise.
39336         * manual/llio.texi: Likewise.
39337         * manual/locale.texi: Likewise.
39338         * manual/message.texi: Likewise.
39339         * manual/resource.texi: Likewise.
39340         * manual/search.texi: Likewise.
39341         * manual/setjmp.texi: Likewise.
39342         * manual/stdio.texi: Likewise.
39343         * manual/string.texi: Likewise.
39344         * manual/sysinfo.texi: Likewise.
39345         * manual/time.texi: Likewise.
39347 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
39349         * po/sl.po: New file.
39351 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
39353         * .gitignore: Add core/.gdbinit/.gdb_history.
39355 2013-12-27  Allan McRae  <allan@archlinux.org>
39357         [BZ #16369]
39358         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
39359         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
39361 2013-12-24  Brooks Moses  <bmoses@google.com>
39363         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
39364         all compilers that claim C++98 compliance, not just GCC.
39365         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39366         Likewise.
39368 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
39370         * NEWS: Restore accidentally deleted bug-fix entries.
39372 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
39373             Ondřej Bílka  <neleai@seznam.cz>
39375         [BZ #15073]
39376         * malloc/malloc.c (_int_free): Perform sanity check only if we
39377         have_lock.
39379 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
39381         [BZ #12986]
39382         * manual/stdio.texi (String Input Conversions): Clarify that character
39383         classes are not supported.
39385 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39389 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
39391         [BZ #16337]
39392         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39393         Calculate results for small negative arguments directly rather
39394         than using reflection formula with special underflow handling.
39396         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
39397         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
39398         sysdeps/unix/bsd/bsd4.4/syscalls.list.
39399         (fchflags): Likewise.
39400         (revoke): Likewise.
39401         (setlogin): Likewise.
39402         (sigaltstack): Likewise.
39403         (wait4): Likewise.
39404         (sigblock): Remove.
39405         (sigsetmask): Likewise.
39406         (wait3): Likewise.
39407         (waitpid): Likewise.
39408         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
39409         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
39410         file.
39411         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
39412         * sysdeps/unix/bsd/Makefile: ... here.
39413         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
39414         * sysdeps/unix/bsd/Versions: ... here.
39415         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
39416         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
39417         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
39418         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
39419         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
39420         * sysdeps/unix/bsd/sigblock.c: ... here.
39421         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
39422         * sysdeps/unix/bsd/sigsetmask.c: ... here.
39423         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
39424         * sysdeps/unix/bsd/sigvec.c: ... here.
39425         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
39426         * sysdeps/unix/bsd/tcdrain.c: ... here.
39427         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
39428         * sysdeps/unix/bsd/tcgetattr.c: ... here.
39429         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
39430         * sysdeps/unix/bsd/tcsetattr.c: ... here.
39431         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
39432         * sysdeps/unix/bsd/wait.c: ... here.
39433         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
39434         * sysdeps/unix/bsd/wait3.c: ... here.
39435         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
39436         * sysdeps/unix/bsd/waitpid.c: ... here.
39438 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
39440         [BZ #16356]
39441         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
39442         round-to-nearest for [!USE_AS_EXPM1L].
39443         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
39444         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
39445         more tests of exp and exp10.  Expect some exp10 tests to miss
39446         exceptions or fail in directed rounding modes.
39447         * math/auto-libm-test-out: Regenerated.
39448         * math/libm-test.inc (exp10_tonearest_test_data): New array.
39449         (exp10_test_tonearest): New function.
39450         (exp10_towardzero_test_data): New array.
39451         (exp10_test_towardzero): New function.
39452         (exp10_downward_test_data): New array.
39453         (exp10_test_downward): New function.
39454         (exp10_upward_test_data): New array.
39455         (exp10_test_upward): New function.
39456         (main): Call the new functions.
39457         * sysdeps/i386/fpu/libm-test-ulps: Update.
39458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39460 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
39462         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
39463         asinh, atan, atan2, atanh, cbrt, cos and cosh.
39464         * math/auto-libm-test-out: Regenerated.
39465         * math/libm-test.inc (acosh_test_data): Add more tests.
39466         (atanh_test_data): Likewise.
39467         (ceil_test_data): Likewise.
39468         (copysign_test_data): Likewise.
39469         * sysdeps/i386/fpu/libm-test-ulps: Update.
39470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39472         * timezone/checktab.awk: Update from tzcode 2013i.
39473         * timezone/private.h: Likewise.
39474         * timezone/scheck.c: Likewise.
39475         * timezone/tzfile.h: Likewise.
39476         * timezone/tzselect.ksh: Likewise.
39477         * timezone/zdump.c: Likewise.
39478         * timezone/zic.c: Likewise.
39480         * math/auto-libm-test-in: Add tests of cpow.
39481         * math/auto-libm-test-out: Regenerated.
39482         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
39483         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39484         mpc_cc_c.
39485         (func_calc_desc): Add mpc_cc_c union field.
39486         (test_functions): Add cpow.
39487         (special_fill_2pi): New function.
39488         (special_real_inputs): Add 2pi.
39489         (calc_generic_results): Handle mpc_cc_c.
39490         * sysdeps/i386/fpu/libm-test-ulps: Update.
39491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39493         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
39494         csqrt, ctan and ctanh.
39495         * math/auto-libm-test-out: Regenerated.
39496         * math/libm-test.inc (TEST_COND_x86_64): New macro.
39497         (TEST_COND_x86): Likewise.
39498         (ccos_test_data): Use AUTO_TESTS_c_c.
39499         (ccosh_test_data): Likewise.
39500         (cexp_test_data): Likewise.
39501         (clog_test_data): Likewise.
39502         (csqrt_test_data): Likewise.
39503         (ctan_test_data): Likewise.
39504         (ctan_tonearest_test_data): Likewise.
39505         (ctan_towardzero_test_data): Likewise.
39506         (ctan_downward_test_data): Likewise.
39507         (ctan_upward_test_data): Likewise.
39508         (ctanh_test_data): Likewise.
39509         (ctanh_tonearest_test_data): Likewise.
39510         (ctanh_towardzero_test_data): Likewise.
39511         (ctanh_downward_test_data): Likewise.
39512         (ctanh_upward_test_data): Likewise.
39513         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39514         mpc_c_c.
39515         (func_calc_desc): Add mpc_c_c union field.
39516         (FUNC_mpc_c_c): New macro.
39517         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
39518         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
39519         ctanh.
39520         (special_fill_min_subnorm_p120): New function.
39521         (special_real_inputs): Add min_subnorm_p120.
39522         (calc_generic_results): Handle mpc_c_c.
39523         * sysdeps/i386/fpu/libm-test-ulps: Update.
39524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39526 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39528         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
39529         (do_sin_slow): New functions.
39530         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
39531         (cslow2, csloww1, csloww2): Use the new functions.
39533         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
39534         Use M to change sign of result instead of X.  Assume X is
39535         positive.
39536         (csloww1): Likewise.
39537         (__sin): Adjust.
39538         (__cos): Adjust.
39540         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
39541         arguments A and DA.
39542         (__sin): Adjust.
39543         (__cos): Likewise.
39545         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
39546         (__cos): Likewise.
39547         (sloww1): Don't adjust sign of DX.
39548         (csloww1): Likewise.
39549         (sloww2): Use X directly and don't adjust sign of DX.
39550         (csloww2): Likewise.
39552 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39554         * math/auto-libm-test-in: Add tests of cabs and carg.
39555         * math/auto-libm-test-out: Regenerated.
39556         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
39557         (carg_test_data): Likewise.
39558         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39559         mpc_c_f.
39560         (func_calc_desc): Add mpc_c_f union field.
39561         (test_functions): Add cabs and carg.
39562         (calc_generic_results): Handle mpc_c_f.
39564         * sysdeps/powerpc/powerpc32/libgcc-compat.S
39565         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
39566         as a macro and a compat symbol.
39567         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
39568         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
39569         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
39570         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
39571         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
39572         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
39573         not use .hidden.
39574         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
39575         Likewise.
39576         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
39577         Likewise.
39578         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
39579         Likewise.
39580         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
39581         Likewise.
39582         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
39583         Likewise.
39584         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
39585         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
39586         from GLIBC_2.3.2.
39588 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39592 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39594         * manual/texinfo.tex: Update to version 2013-11-26.10 with
39595         trailing whitespace removed.
39596         * scripts/config.guess: Update to version 2013-11-29.
39597         * scripts/config.sub: Update to version 2013-10-01.
39599         * math/auto-libm-test-in: Add tests of sincos.
39600         * math/auto-libm-test-out: Regenerated.
39601         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
39602         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39603         mpfr_f_11.
39604         (func_calc_desc): Add mpfr_f_11 union field.
39605         (test_functions): Add sincos.
39606         (calc_generic_results): Handle mpfr_f_11.
39607         * sysdeps/i386/fpu/libm-test-ulps: Update.
39608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39610 2013-12-19  Andreas Schwab  <schwab@suse.de>
39612         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
39613         CALL_MCOUNT.
39614         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39615         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
39616         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
39618 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39620         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
39621         * sysdeps/i386/fpu/libm-test-ulps: Update.
39622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39624         [BZ #16293]
39625         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
39626         round-to-nearest mode when using frndint.
39627         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
39628         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39629         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
39630         Likewise.
39631         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
39632         sinh test to fail.
39633         * math/auto-libm-test-out: Regenerated.
39634         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
39635         (TEST_COND_x86): Likewise.
39636         (expm1_tonearest_test_data): New array.
39637         (expm1_test_tonearest): New function.
39638         (expm1_towardzero_test_data): New array.
39639         (expm1_test_towardzero): New function.
39640         (expm1_downward_test_data): New array.
39641         (expm1_test_downward): New function.
39642         (expm1_upward_test_data): New array.
39643         (expm1_test_upward): New function.
39644         (main): Run the new test functions.
39645         * sysdeps/i386/fpu/libm-test-ulps: Update.
39646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39648         * include/features.h: Update comment documenting feature test
39649         macros.  Mention _DEFAULT_SOURCE in comment.
39650         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
39651         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
39652         _BSD_SOURCE and _SVID_SOURCE.
39653         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
39654         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
39655         !_SVID_SOURCE]: Likewise.
39656         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39657         (__USE_POSIX_IMPLICITLY): Define.
39658         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39659         (_POSIX_SOURCE): Undefine and redefine.
39660         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39661         (_POSIX_C_SOURCE): Likewise.
39662         * manual/creature.texi (_DEFAULT_SOURCE): Document.
39663         (Feature Test Macros): Update documentation of default features.
39665 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39667         * benchtests/Makefile: Add bench-strtok.
39668         * benchtests/bench-strtok.c: New file: strtok benchtest.
39670 2013-12-19  Allan McRae  <allan@archlinux.org>
39672         * manual/install.texi: Suppress menu for plain text output.
39673         * INSTALL: Regenerated.
39675 2013-12-18  Brooks Moses  <bmoses@google.com>
39677         [BZ #15846]
39678         * misc/getauxval.c: Include errno.h.
39679         (__getauxval): Set errno to ENOENT if the requested type is not
39680         found.
39681         * misc/sys/auxv.h (getauxval): Document that it may set errno;
39682         don't declare with __attribute_const__.
39683         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
39684         * manual/startup.texi: Document that getauxval sets errno.
39686 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
39688         * math/auto-libm-test-in: Add tests of jn and yn.
39689         * math/auto-libm-test-out: Regenerated.
39690         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
39691         (yn_test_data): Likewise.
39692         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39693         mpfr_if_f.
39694         (func_calc_desc): Add mpfr_if_f union field.
39695         (FUNC_mpfr_if_f): New macro.
39696         (test_functions): Add jn and yn.
39697         (calc_generic_results): Assert type of second input for
39698         mpfr_ff_f.  Handle mpfr_if_f.
39699         (output_for_one_input_case): Disable all checking for arguments
39700         fitting floating-point types in case of an integer argument.
39701         * sysdeps/i386/fpu/libm-test-ulps: Update.
39702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
39705         Don't expect fegetround reference in libm.so.
39707 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39709         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
39710         $(config-cflags-nofma).
39712 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
39714         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
39715         * math/auto-libm-test-out: Regenerated.
39717         [BZ #16338]
39718         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
39719         to determine exponent and adjust argument to have exponent of -1.
39720         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
39721         log2.
39722         * math/auto-libm-test-out: Regenerated.
39723         * sysdeps/i386/fpu/libm-test-ulps: Update.
39724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39726 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
39728         * manual/probes.texi: Remove cases when per-thread arenas are
39729         disabled.
39731 2013-12-18  Andreas Schwab  <schwab@suse.de>
39733         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
39734         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
39735         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
39736         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
39737         * sysdeps/i386/i686/multiarch/Makefile: Update.
39738         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
39740 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39742         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
39743         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
39745 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
39747         [BZ #15968]
39748         Support TZ transition times < 00:00:00.
39749         This is needed for version-3 tz-format files; it supports time
39750         stamps past 2037 for America/Godthab (the only entry in the tz
39751         database for which this change is relevant).
39752         * manual/time.texi (TZ Variable): Document transition times
39753         from -167:59:59 through -00:00:01.
39754         * time/tzset.c (tz_rule): Time of day is now signed.
39755         (__tzset_parse_tz): Parse negative time of day.
39757         Document TZ transition times >= 25:00:00.
39758         * manual/time.texi (TZ Variable): Document transition times from
39759         25:00:00 through 167:59:59.  These are already supported, and this
39760         support will help with version-3 tz-format files.
39762         * manual/time.texi (TZ Variable): Modernize North America example
39763         to reflect current (i.e., 2007-and-later) daylight saving rules.
39765         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
39767 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39769         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
39770         * sysdeps/unix/bsd/bits/stat.h: Likewise.
39771         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
39772         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39773         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
39774         * sysdeps/unix/bsd/bsdstat.h: Likewise.
39775         * sysdeps/unix/bsd/clock.c: Likewise.
39776         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
39777         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
39778         * sysdeps/unix/bsd/init-posix.c: Likewise.
39779         * sysdeps/unix/bsd/poll.c: Likewise.
39780         * sysdeps/unix/bsd/ptsname.c: Likewise.
39781         * sysdeps/unix/bsd/seekdir.c: Likewise.
39782         * sysdeps/unix/bsd/setegid.c: Likewise.
39783         * sysdeps/unix/bsd/seteuid.c: Likewise.
39784         * sysdeps/unix/bsd/setgid.c: Likewise.
39785         * sysdeps/unix/bsd/setrgid.c: Likewise.
39786         * sysdeps/unix/bsd/setruid.c: Likewise.
39787         * sysdeps/unix/bsd/setsid.c: Likewise.
39788         * sysdeps/unix/bsd/setuid.c: Likewise.
39789         * sysdeps/unix/bsd/sigaction.c: Likewise.
39790         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
39791         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
39792         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
39793         * sysdeps/unix/bsd/telldir.c: Likewise.
39794         * sysdeps/unix/bsd/times.c: Likewise.
39795         * sysdeps/unix/bsd/usleep.c: Likewise.
39797         * misc/Makefile (install-lib): Remove libbsd-compat.a.
39798         ($(objpfx)libbsd-compat.a): Remove rule.
39800         * include/features.h (__FAVOR_BSD): Do not define.
39801         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
39802         features conflicting with POSIX.
39803         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
39804         (_BSD_SOURCE): Remove description of not being a subset of other
39805         feature test macros.
39806         * manual/job.texi (getpgrp): Do not document BSD version.
39807         (getpgid): Do not document by reference to BSD getpgrp.
39808         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
39809         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
39810         * signal/signal.h [__FAVOR_BSD]: Likewise.
39811         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
39812         instead of making contents conditional on [__FAVOR_BSD].
39813         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
39815 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39817         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39819 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39821         [BZ #16314]
39822         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
39823         values below 2**-450, not 2**-500.
39824         * math/auto-libm-test-in: Don't allow spurious underflow from
39825         hypot.
39826         * math/auto-libm-test-out: Regenerated.
39828         [BZ #16316]
39829         [BZ #16330]
39830         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
39831         values of ha and hb and sort them after adjusting subnormal
39832         arguments.
39833         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
39834         Likewise.
39835         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
39836         values of ea and eb and sort them after adjusting subnormal
39837         arguments.
39838         * math/auto-libm-test-in: Do not expect some hypot tests of
39839         subnormals to fail.  Add more hypot tests.
39840         * math/auto-libm-test-out: Regenerated.
39842 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39844         [BZ #13304]
39845         * sysdeps/sh/s_fma.c: New file.
39846         * sysdeps/sh/s_fmaf.c: New file.
39847         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
39848         version.
39849         * sysdeps/sh/Implies: Add sh/soft-fp.
39851 2013-12-16  Roland McGrath  <roland@hack.frob.com>
39853         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
39854         level of indirection to members `objname', `errstring', `malloced'.
39855         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
39856         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
39857         it as the __longjmp argument (just pass 1 instead).
39858         (_dl_catch_error): Initialize C with argument pointers and address of
39859         volatile local ERRCODE rather than copying values out of C at return.
39861 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
39863         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
39864         * math/auto-libm-test-out: Regenerated.
39865         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
39866         (hypot_test_data): Likewise.
39867         (pow_test_data): Likewise.
39868         (pow_tonearest_test_data): Likewise.
39869         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39870         mpfr_ff_f.
39871         (func_calc_desc): Add mpfr_ff_f union field.
39872         (FUNC_mpfr_ff_f): New macro.
39873         (test_functions): Add atan2, hypot and pow.
39874         (special_fill_min): New function.
39875         (special_fill_minus_min): Likewise.
39876         (special_fill_min_subnorm): Likewise.
39877         (special_fill_minus_min_subnorm): Likewise.
39878         (special_real_inputs): Add min, -min, min_subnorm and
39879         -min_subnorm.
39880         (calc_generic_results): Handle mpfr_ff_f.
39881         * sysdeps/i386/fpu/libm-test-ulps: Update.
39882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39884 2013-12-16  Will Newton  <will.newton@linaro.org>
39886         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
39887         (Aligned Memory Blocks): Add documentation for aligned_alloc
39888         and suggest it as an alternative to posix_memalign.
39889         (Hooks for Malloc): Document __memalign_hook is also called
39890         for aligned_alloc.  (Summary of Malloc): Add summary for
39891         aligned alloc.  Document __memalign_hook is also called
39892         for aligned_alloc.
39894 2013-12-16  Will Newton  <will.newton@linaro.org>
39896         * manual/memory.texi (Malloc Examples): Clarify default
39897         alignment documentation.  Suggest posix_memalign rather
39898         than memalign or valloc.
39899         (Aligned Memory Blocks): Remove suggestion to use memalign
39900         or valloc.  Remove obsolete comment about BSD.
39901         Document memalign errno values and mark the function obsolete.
39902         Document posix_memalign returned error codes.  Mark valloc
39903         as obsolete.  (Hooks for Malloc): __memalign_hook is also
39904         called for posix_memalign and valloc.
39905         (Summary of Malloc): Add posix_memalign to function summary.
39906         __memalign_hook is also called for posix_memalign and valloc.
39908 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39910         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
39911         TAYLOR_SIN.
39912         (__sin): Adjust.
39913         (__cos): Likewise.
39914         (sloww): Use mynumber union.  Expand ternary operator into
39915         if-else statements.
39916         (cslow): use mynumber union.
39918 2013-12-16  Allan McRae  <allan@archlinux.org>
39920         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
39921         * configure: Regenerated.
39923         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
39925         [BZ #14120]
39926         * configure.ac: Added --enable-maintainer-mode. Check for
39927         autoconf when enabled.
39928         * configure: Regenerated.
39930         * nscd/nscd.service: New file.
39931         * nscd/nscd.tmpfiles: New file.
39933 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
39935         [BZ #12100]
39936         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
39937         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
39938         * sysdeps/x86_64/multiarch/strstr.c: ... here.
39939         (strstr): Add __strstr_sse2_unaligned ifunc.
39940         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
39941         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
39942         (strcasestr): Remove __strcasestr_sse42 ifunc.
39943         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
39944         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
39945         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
39947 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39949         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
39950         * sysdeps/sh/bits/fenv.h: ... here.
39951         * sysdeps/sh/sh4/fpu/bits: Remove directory.
39953 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39955         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
39957         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
39958         hypotf multiarch implementations.
39959         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
39960         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
39961         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
39962         multiarch hypot for PPC64.
39963         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
39964         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
39965         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
39966         multiarch hypotf for PPC64.
39968         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
39969         modff multiarch implementations.
39970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
39971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
39972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
39973         multiarch modf for PPC64.
39974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
39975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
39976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
39977         multiarch modff for PPC64.
39979         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
39980         and logl multiarch implementations.
39981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
39982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
39983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
39984         multiarch logb for PPC64.
39985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
39986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
39987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
39988         multiarch logb for PPC64.
39989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
39990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
39991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
39992         multiarch logb for PPC64.
39994         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
39995         isinff multiarch implementation.
39996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
39997         file.
39998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
39999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
40000         multiarch isinf for PPC64.
40001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
40002         file.
40003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
40004         multiarch isinff for PPC64.
40006         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
40007         finitef multiarch implementation.
40008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
40009         file.
40010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
40011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
40012         multiarch finite for PPC64.
40013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
40014         file.
40015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
40016         multiarch finitef for PPC64.
40018         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
40019         lrint multiarch implementation.
40020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
40021         file.
40022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
40023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
40024         multiarch llrint for PPC64.
40025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
40026         multiarch lrint for PPC64.
40028         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
40029         copysignf multiarch implementation.
40030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
40031         file.
40032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
40033         file.
40034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
40035         multiarch copysign for PPC64.
40036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
40037         multiarch copysignf for PPC64.
40039         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
40040         multiarch implementation.
40041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
40042         file.
40043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
40044         file.
40045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
40046         file.
40047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
40048         file.
40049         multiarch llround for PPC64.
40050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
40051         multiarch trunc for PPC64.
40052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
40053         multiarch truncf for PPC64.
40055         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
40056         multiarch implementation.
40057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
40058         file.
40059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
40060         file.
40061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
40062         file.
40063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
40064         file.
40065         multiarch llround for PPC64.
40066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
40067         multiarch round for PPC64.
40068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
40069         multiarch roundf for PPC64.
40071         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
40072         multiarch implementation.
40073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
40074         file.
40075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
40076         file.
40077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
40078         file.
40079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
40080         file.
40081         multiarch llround for PPC64.
40082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
40083         multiarch floor for PPC64.
40084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
40085         multiarch floorf for PPC64.
40087         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
40088         multiarch implementation.
40089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
40090         file.
40091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
40092         file.
40093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
40094         file.
40095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
40096         file.
40097         multiarch llround for PPC64.
40098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
40099         multiarch ceil for PPC64.
40100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
40101         multiarch ceilf for PPC64.
40103         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40104         multiarch implementation.
40105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
40106         file.
40107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
40108         file.
40109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
40110         file.
40111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
40112         multiarch llround for PPC64.
40113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
40114         multiarch lround for PPC64.
40116         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40117         multiarch implementation.
40118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
40119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
40120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
40121         file.
40122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
40123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
40124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
40125         multiarch isnan for PPC64.
40126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
40127         multiarch isnanf for PPC64.
40129         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
40130         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
40131         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
40132         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
40133         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
40134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
40136         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
40137         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40138         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40139         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40141         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
40142         multiarch implementations.
40143         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40144         (__libc_ifunc_impl_list): Likewise.
40145         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
40146         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
40147         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
40148         multiarch stpcpy for PPC64.
40150         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
40151         multiarch implementations.
40152         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40153         (__libc_ifunc_impl_list): Likewise.
40154         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
40155         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
40156         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
40157         multiarch strcpy for PPC64.
40159         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
40160         redefine function name.
40161         (_wordcopy_fwd_dest_aligned): Likewise.
40162         (_wordcopy_bwd_aligned): Likewise.
40163         (_wordcopy_bwd_dest_aligned): Likewise.
40164         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
40165         multiarch implementations.
40166         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40167         (__libc_ifunc_impl_list): Likewise.
40168         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
40169         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
40170         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
40171         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
40172         multiarch wcscpy for PPC64.
40174         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
40175         multiarch implementations.
40176         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40177         (__libc_ifunc_impl_list): Likewise.
40178         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
40179         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
40180         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
40181         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
40182         multiarch wcscpy for PPC64.
40184         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
40185         multiarch implementations.
40186         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40187         (__libc_ifunc_impl_list): Likewise.
40188         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
40189         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
40190         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
40191         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
40192         multiarch wcsrchr for PPC64.
40194         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
40195         multiarch implementations.
40196         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40197         (__libc_ifunc_impl_list): Likewise.
40198         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
40199         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
40200         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
40201         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
40202         multiarch wcschr for PPC64.
40204         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
40205         multiarch implementations.
40206         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40207         (__libc_ifunc_impl_list): Likewise.
40208         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
40209         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
40210         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
40211         multiarch strchrnul for PPC64.
40213         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
40214         implementations.
40215         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40216         (__libc_ifunc_impl_list): Likewise.
40217         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
40218         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
40219         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
40220         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
40221         strchr for PPC64.
40223         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
40224         implementations.
40225         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40226         (__libc_ifunc_impl_list): Likewise.
40227         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
40228         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
40229         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
40230         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
40231         strncmp for PPC64.
40233         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
40234         multiarch implementations.
40235         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40236         (__libc_ifunc_impl_list): Likewise.
40237         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
40238         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
40239         strncasecmp for PPC64.
40240         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
40241         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
40242         multiarch strncasecmp_l for PPC64.
40244         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
40245         multiarch implementations.
40246         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40247         (__libc_ifunc_impl_list): Likewise.
40248         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
40249         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
40250         multiarch strcasecmp for PPC64.
40251         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
40252         file.
40253         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
40254         multiarch strcasecmp_l for PPC64.
40256         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
40257         implementations.
40258         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40259         (__libc_ifunc_impl_list): Likewise.
40260         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
40261         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
40262         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
40263         strnlen for PPC64.
40265         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
40266         implementations.
40267         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40268         (__libc_ifunc_impl_list): Likewise.
40269         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
40270         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
40271         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
40272         strlen for PPC64.
40274         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
40275         implementations.
40276         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40277         (__libc_ifunc_impl_list): Likewise.
40278         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
40279         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
40280         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
40281         rawmemrchr for PPC64.
40283         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
40284         implementation.
40285         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40286         (__libc_ifunc_impl_list): Likewise.
40287         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
40288         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
40289         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
40290         memrchr for PPC64.
40292         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
40293         implementation.
40294         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40295         (__libc_ifunc_impl_list): Likewise.
40296         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
40297         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
40298         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
40299         memchr for PPC64.
40301         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
40302         implementation.
40303         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40304         (__libc_ifunc_impl_list): Likewise.
40305         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
40306         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
40307         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
40308         mempcpy for PPC64.
40310         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
40311         avoid cretion of __bzero symbol.
40312         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
40313         Likewise.
40314         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
40315         Likewise.
40316         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
40317         Likewise.
40318         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
40319         multiarch implementations.
40320         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40321         (__libc_ifunc_impl_list): Likewise.
40322         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
40323         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
40324         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
40325         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
40326         bzero for PPC32.
40327         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
40328         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
40329         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
40330         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
40331         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
40332         memset for PPC64.
40333         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
40335         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
40336         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
40337         implementations.
40338         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40339         (__libc_ifunc_impl_list): Likewise.
40340         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
40341         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
40342         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
40343         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
40344         memcmp for PPC64.
40346         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
40347         multiarch for POWER/PPC64.
40348         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
40349         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
40350         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
40351         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
40352         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
40353         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
40354         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
40355         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
40356         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
40357         memcpy for PPC64.
40359         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
40360         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
40361         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
40362         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
40363         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
40364         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
40365         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
40366         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
40367         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
40368         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
40369         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
40370         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
40371         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
40372         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
40373         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
40374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
40375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
40376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
40377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
40378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
40379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
40380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
40382 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40384         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
40386 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40388         * benchtests/Makefile (bench): Add exp2 and log2.
40389         (LDLIBS-bench-exp2): Add -lm.
40390         (LDLIBS-bench-log2): Likewise.
40391         * benchtests/exp2-inputs: New inputs file.
40392         * benchtests/log2-inputs: New inputs file.
40393         * benchtests/log-inputs: Add new inputs.
40394         * benchtests/tan-inputs: Likewise.
40396 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40398         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
40399         definition...
40400         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
40401         (csloww2): ... from here.
40403         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
40404         instead of structures.
40405         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
40406         (POLYNOMIAL): Likewise.
40407         (TAYLOR_SLOW): Likewise.
40408         (__sin): Likewise.
40409         (__cos): Likewise.
40410         (slow1): Likewise.
40411         (slow2): Likewise.
40412         (sloww): Likewise.
40413         (sloww1); Likewise.
40414         (sloww2): Likewise.
40415         (bsloww1): Likewise.
40416         (bsloww2): Likewise.
40417         (cslow2): Likewise.
40418         (csloww): Likewise.
40419         (csloww1): Likewise.
40420         (csloww2): Likewise.
40422 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
40424         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
40425         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
40426         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
40427         * malloc/hooks.c (realloc_check): Likewise.
40429         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
40430         * malloc/arena.c: Remove PER_THREAD conditional.
40431         [!PER_THREAD]: Remove code.
40432         (ptmalloc_unlock_all2): Likewise.
40433         (ptmalloc_init): Likewise.
40434         (_int_new_arena): Likewise.
40435         (arena_get2): Likewise.
40436         * malloc/hooks.c (__malloc_get_state): Likewise.
40437         (__malloc_set_state): Likewise.
40438         * malloc/malloc.c: Likewise.
40439         (struct malloc_state): Likewise.
40440         (struct malloc_par): Likewise.
40441         (__libc_realloc): Likewise.
40442         (__libc_mallopt): Likewise.
40444 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40446         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
40448 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
40450         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
40451         macro to a function.  Check for zero perturb_byte.
40452         (_int_malloc, _int_free): Remove zero perturb_byte checks.
40454         * malloc/malloc.c: (force_reg): Remove.
40455         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
40456         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
40457         force_reg by atomic_forced_read.
40458         * malloc/arena.c (ptmalloc_init): Likewise.
40459         * malloc/hooks.c (top_check): Likewise.
40461 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40465 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
40467         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40469 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
40471         * math/auto-libm-test-in: Add tests of lgamma.
40472         * math/auto-libm-test-out: Regenerated.
40473         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
40474         (M_LOG_2_SQRT_PIl): Likewise.
40475         (lgamma_test_data): Use AUTO_TESTS_f_f1.
40476         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40477         mpfr_f_f1.
40478         (func_calc_desc): Add mpfr_f_f1 union field.
40479         (ARGS1): New macro.
40480         (ARGS2): Likewise.
40481         (ARGS3): Likewise.
40482         (ARGS4): Likewise.
40483         (RET1): Likewise.
40484         (RET2): Likewise.
40485         (CALC): Likewise.
40486         (FUNC): Likewise.
40487         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
40488         (test_functions): Add lgamma.
40489         (calc_generic_results): Handle mpfr_f_f1.
40490         * sysdeps/i386/fpu/libm-test-ulps: Update.
40491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40493 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40495         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
40496         __mpn_add_n for PowerPC64/POWER7.
40497         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
40498         __mpn_sub_n for PowerPC64/POWER7.
40500         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
40501         __mpn_addmul_1 for PowerPC64.
40502         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
40503         __mpn_submul_1 for PowerPC64.
40504         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
40505         for PowerPC64.
40506         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
40507         for PowerPC64.
40509 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
40511         [BZ #15089]
40512         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
40514 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40516         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
40518         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
40519         add multiarch folders.
40520         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
40521         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
40522         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
40523         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
40524         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
40525         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
40526         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
40527         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
40528         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
40529         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
40530         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
40531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
40532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
40533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
40534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
40535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
40536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
40538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40539         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
40540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
40541         New file.
40542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
40543         New file.
40544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
40545         multiarch __ieee754_hypot for PowerPC32.
40546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
40547         New file.
40548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
40549         New file.
40550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
40551         multiarch __ieee754_hypotf for PowerPC32.
40553         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
40554         long_double_symbol only if __logbl is defined.
40555         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
40556         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
40557         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
40558         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
40559         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
40560         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
40561         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
40562         path for implementation.
40563         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
40564         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
40565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
40566         logb, and logbl multiarch implementations for PowerPC32.
40567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
40568         file.
40569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
40570         file.
40571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
40572         multiarch logb for PowerPC32.
40573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
40574         file.
40575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
40576         file.
40577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
40578         multiarch logbf for PowerPC32.
40579         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
40580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
40581         file.
40582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
40583         multiarch logbl implementation for PowerPC32.
40585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
40586         and modff multiarch implementations.
40587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
40588         New file.
40589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
40590         New file.
40591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
40592         multiarch modf for PowerPC32.
40593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
40594         New file.
40595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
40596         New file.
40597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
40598         multiarch modff for PowerPC32.
40600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
40601         and lrintf multiarch implementations.
40602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
40603         New file.
40604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
40605         New file.
40606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
40607         multiarch lrint for PowerPC32.
40608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
40609         file: multiarch lrintf for PowerPC32.
40611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
40612         and lroundf multiarch implementations.
40613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
40614         New file.
40615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
40616         New file.
40617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
40618         New file.
40619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
40620         multiarch lround for PowerPC32.
40621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
40622         file: multiarch lroundf for PowerPC32.
40624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40625         copysign and copysignf multiarch implementations.
40626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
40627         New file.
40628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
40629         New file.
40630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
40631         file: multiarch copysign for PowerPC32.
40632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
40633         file: multiarch copysignf for PowerPC32.
40635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
40636         and truncf multiarch implementations.
40637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
40638         New file.
40639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
40640         file.
40641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
40642         multiarch trunc for PowerPC32.
40643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
40644         New file.
40645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
40646         New file.
40647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
40648         multiarch truncf for PowerPC32.
40650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
40651         and roundf multiarch implementations.
40652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
40653         New file.
40654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
40655         file.
40656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
40657         multiarch round for PowerPC32.
40658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
40659         New file.
40660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
40661         New file.
40662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
40663         multiarch roundf for PowerPC32.
40665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
40666         and floorf multiarch implementations.
40667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
40668         New file.
40669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
40670         file.
40671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
40672         multiarch floor for PowerPC32.
40673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
40674         New file.
40675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
40676         New file.
40677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
40678         multiarch floorf for PowerPC32.
40680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
40681         and ceilf multiarch implementations.
40682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
40683         New file.
40684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
40685         file.
40686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
40687         multiarch ceil for PowerPC32.
40688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
40689         New file.
40690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
40691         file.
40692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
40693         multiarch ceilf for PowerPC32.
40695         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
40696         is defined.
40697         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
40698         FINITEF is defined.
40699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
40700         and finitef multiarch implementations.
40701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
40702         New file.
40703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
40704         file.
40705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
40706         multiarch finite for PowerPC32.
40707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
40708         New file.
40709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
40710         file: multiarch finitef for PowerPC32.
40712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
40713         and isinff multiarch implementations.
40714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
40715         file.
40716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
40717         file.
40718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
40719         multiarch isinf for PowerPC32.
40720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
40721         New file.
40722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
40723         multiarch isinff for PowerPC32.
40725         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
40726         alias when __isnan is defined.
40727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
40728         and isnanf multiarch implementations.
40729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
40730         file.
40731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
40732         file.
40733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
40734         file.
40735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
40736         file.
40737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
40738         multiarch isnan for PowerPC32.
40739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
40740         New file.
40741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
40742         New file.
40743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
40744         multiarch isnanf for PowerPC32.
40746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
40747         and sqrtf multiarch implementations.
40748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
40749         file.
40750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
40751         file.
40752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
40753         multiarch sqrt for PowerPC32.
40754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
40755         file.
40756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
40757         file.
40758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
40759         multiarch sqrtf for PowerPC32.
40761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
40762         and llroundf multiarch implementations.
40763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
40764         New file.
40765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
40766         New file.
40767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
40768         New file.
40769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
40770         file: multiarch llround for PowerPC32.
40771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
40772         file: multiarch llroundf for PowerPC32.
40774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
40775         multiarch PowerPC32 fpu implementations.
40776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
40777         New file.
40778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
40779         New file.
40780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
40781         multiarch llrint for PowerPC32.
40782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
40783         New file.
40784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
40785         New file.
40786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
40787         file.
40789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
40791         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
40792         file.
40793         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
40794         file.
40795         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
40796         file.
40797         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
40798         multiarch wordcopy for PPC32.
40799         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40800         wordcopy objects.
40801         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40802         (__libc_ifunc_impl_list): Likewise.
40803         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
40804         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
40805         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
40806         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
40807         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
40808         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
40810         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
40811         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
40812         file.
40813         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
40814         file.
40815         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
40816         file.
40817         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
40818         multiarch wcscpy for PPC32.
40819         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40820         multiarch objects.
40821         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40822         (__libc_ifunc_impl_list): Likewise.
40823         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40824         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40825         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
40826         sysdeps/powerpc/power6/wcscpy.c.
40828         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
40829         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
40830         file.
40831         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
40832         file.
40833         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
40834         file.
40835         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
40836         multiarch wcsrchr for PPC32.
40837         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
40838         multiarch objects.
40839         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40840         (__libc_ifunc_impl_list): Likewise.
40841         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40842         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40843         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
40844         sysdeps/powerpc/power6/wcsrchr.c.
40846         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
40847         file.
40848         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
40849         file.
40850         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
40851         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
40852         multiarch wcschr for PPc32.
40853         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
40854         multiarch objects.
40855         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40856         (__libc_ifunc_impl_list): Likewise.
40857         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
40858         * sysdeps/powerpc/power6/wcschr.c: ... to here.
40859         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
40860         sysdeps/powerpc/power6/wcschr.c.
40862         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
40863         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
40864         file.
40865         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
40866         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
40867         file: multiarch strchr for PPC32.
40868         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
40869         multiarch objects.
40870         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40871         (__libc_ifunc_impl_list): Likewise.
40873         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
40874         name.
40875         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
40876         file.
40877         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
40878         file.
40879         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
40880         multiarch strchrnul for PPC32.
40881         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
40882         multiarch objects.
40883         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40884         (__libc_ifunc_impl_list): Likewise.
40886         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
40887         file.
40888         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
40889         multiarch strncasecmp for PPC32.
40890         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
40891         file.
40892         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
40893         multiarch strncasecmp_l for PPC32.
40894         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
40895         strncasecmp multiarch objects.
40896         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40897         (__libc_ifunc_impl_list): Likewise.
40899         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
40900         file.
40901         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
40902         multiarch strncasecmp for PPC32.
40903         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
40904         New file.
40905         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
40906         multiarch strcasecmp_l for PPC32.
40907         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
40908         multiarch objects.
40909         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40910         (__libc_ifunc_impl_list): Likewise.
40912         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
40913         file.
40914         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
40915         file.
40916         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
40917         multiarch strncmp for PPC32.
40918         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
40919         multiarch objects.
40920         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40921         (__libc_ifunc_impl_list): Likewise.
40923         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
40924         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
40925         file.
40926         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
40927         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
40928         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
40929         multiarch objects.
40930         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40931         (__libc_ifunc_impl_list): Likewise.
40933         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
40934         file.
40935         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
40936         file.
40937         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
40938         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
40939         multiarch objects.
40940         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40941         (__libc_ifunc_impl_list): Likewise.
40943         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
40944         file.
40945         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
40946         file.
40947         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
40948         multiarch rawmemchr for PPC32.
40949         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
40950         multiarch objects.
40951         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40952         (__libc_ifunc_impl_list): Likewise.
40954         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
40955         file.
40956         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
40957         file.
40958         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
40959         file: memrchr multiarch for PPC32.
40960         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
40961         multiarch objects.
40962         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40963         (__libc_ifunc_impl_list): Likewise.
40965         * string/memchr.c (__memchr): Using macro to redefine symbol name.
40966         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
40967         file.
40968         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
40969         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
40970         multiarch memchr for PPC32.
40971         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
40972         multiarch objects.
40973         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40974         (__libc_ifunc_impl_list): Likewise.
40976         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
40977         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
40978         file.
40979         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
40980         file.
40981         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
40982         file: multiarch mempcpy for PPC32.
40983         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
40984         multiarch objects.
40985         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40986         (__libc_ifunc_impl_list): Likewise.
40988         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
40989         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
40990         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
40991         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
40992         multiarch bzero for PPC32.
40993         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
40994         file.
40995         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
40996         file.
40997         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
40998         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
40999         file: multiarch memset for PPC32.
41000         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
41001         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
41002         memset multiarch objects.
41003         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41004         (__libc_ifunc_impl_list): Likewise.
41006         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
41007         file.
41008         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
41009         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
41010         memcmp for PPC32.
41011         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
41012         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
41013         multiarch objects.
41014         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41015         (__libc_ifunc_impl_list): Likewise.
41017         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
41018         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
41019         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
41020         file.
41021         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
41022         file.
41023         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
41024         file.
41025         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
41026         multiarch memcpy for PPC32.
41027         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
41028         multiarch objects.
41029         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41030         (__libc_ifunc_impl_list): Likewise.
41032         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
41033         support multiarch for POWER/PPC32.
41034         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
41035         Likewise.
41036         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
41037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
41038         Implies file to make multiarch folder appers before the fpu and
41039         default folder for power4 configuration.
41041 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41043         * scripts/bench.pl: Append volatile keyword to type.
41045 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41047         * sysdeps/sh/sotruss-lib.c: New file.
41048         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
41050 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41052         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41054 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
41056         [BZ #6810]
41057         * math/w_tgamma.c: Include <errno.h>.
41058         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
41059         * math/w_tgammaf.c: Include <errno.h>.
41060         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
41061         * math/w_tgammal.c: Include <errno.h>.
41062         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
41063         * math/auto-libm-test-in: Do not allow missing errno on tgamma
41064         underflow.  Add more tgamma tests.
41065         * math/auto-libm-test-out: Regenerated.
41066         * sysdeps/i386/fpu/libm-test-ulps: Update.
41067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41069         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
41070         sin, sinh, tan, tanh, tgamma, y0 and y1.
41071         * math/auto-libm-test-out: Regenerated.
41072         * math/libm-test.inc (TEST_COND_x86_64): New macro.
41073         (TEST_COND_x86): Likewise.
41074         (M_E2l): Remove macro.
41075         (M_E3l): Likewise.
41076         (M_2_SQRT_PIl): Likewise.
41077         (M_SQRT_PIl): Likewise.
41078         (M_1_DIV_El): Likewise.
41079         (log_test_data): Use AUTO_TESTS_f_f.
41080         (log10_test_data): Likewise.
41081         (log1p_test_data): Likewise.
41082         (log2_test_data): Likewise.
41083         (sin_test_data): Likewise.
41084         (sin_tonearest_test_data): Likewise.
41085         (sin_towardzero_test_data): Likewise.
41086         (sin_downward_test_data): Likewise.
41087         (sin_upward_test_data): Likewise.
41088         (sinh_test_data): Likewise.
41089         (sinh_tonearest_test_data): Likewise.
41090         (sinh_towardzero_test_data): Likewise.
41091         (sinh_downward_test_data): Likewise.
41092         (sinh_upward_test_data): Likewise.
41093         (tan_test_data): Likewise.
41094         (tan_tonearest_test_data): Likewise.
41095         (tan_towardzero_test_data): Likewise.
41096         (tan_downward_test_data): Likewise.
41097         (tan_upward_test_data): Likewise.
41098         (tanh_test_data): Likewise.
41099         (tgamma_test_data): Likewise.
41100         (y0_test_data): Likewise.
41101         (y1_test_data): Likewise.
41102         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
41103         (special_real_inputs): Add pi/4.
41104         * sysdeps/i386/fpu/libm-test-ulps: Update.
41105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41107 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41109         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
41110         "longjmp_target" static probes.
41111         (__longjmp): Rename to __longjmp_symbol.
41112         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41113         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
41114         on which longjmp to generate.
41115         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41116         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
41117         probe.
41118         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41119         (__sigjmp_save): Rename to __sigjmp_save_symbol.
41120         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41121         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
41122         and __sigjmp_save_symbol based on which sigsetjmp to generated.
41123         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
41125         __longjmp_symbol based on which __longjmp to generate.
41126         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
41127         probe.
41128         (setjmp): Rename to setjmp_symbol.
41129         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41130         (_setjmp): Rename to _setjmp_symbol.
41131         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41132         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
41133         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
41134         which setjmp to generate.
41135         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
41136         "longjmp_target" static probes.
41138 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41140         * benchtests/README: Add note about output arguments.
41141         * benchtests/bench-sincos.c: Remove file.
41142         * benchtests/sincos-inputs: New file.
41143         * scripts/bench.pl: Identify output arguments and define
41144         static variables for them.
41146         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
41148         [BZ #15941]
41149         * Makefile (INSTALL): Add install-plain.texi as the primary
41150         dependency.
41151         * manual/install-plain.texi: New file.
41152         * manual/install.texi: Include node directive only for
41153         non-plaintext output.
41155 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
41157         * stdlib/longlong.h: Update from GCC.
41159         [BZ #6807]
41160         [BZ #15901]
41161         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
41162         * math/w_j0f.c (y0f): Likewise.
41163         * math/w_j0l.c (__y0l): Likewise.
41164         * math/w_j1.c (y1): Likewise.
41165         * math/w_j1f.c (y1f): Likewise.
41166         * math/w_j1l.c (__y1l): Likewise.
41167         * math/w_jn.c (yn): Likewise.
41168         * math/w_jnf.c (ynf): Likewise.
41169         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
41170         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
41171         value for Bessel function domain errors outside _SVID_ mode.
41172         Adjust sign of return value for yn (negative integer, 0).
41173         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
41174         by zero in return for negative x and set sign appropriately for
41175         negative n.
41176         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
41177         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41178         * math/libm-test.inc (y0_test_data): Add more tests and adjust
41179         expectations in error cases.
41180         (y1_test_data): Likewise.
41181         (yn_test_data): Likewise.
41182         * sysdeps/i386/fpu/libm-test-ulps: Update.
41183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41185 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41187         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
41188         "64" to "64-v1".  Add "64-v2".
41189         (abi-64-options): Rename to ...
41190         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
41191         (abi-64-condition): Rename to ...
41192         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
41193         (abi-64-ld-soname): Rename to ...
41194         (abi-64-v1-ld-soname): ... this.
41195         (abi-64-v2-options): Define.
41196         (abi-64-v2-condition): Likewise.
41197         (abi-64-v2-ld-soname): Likewise.
41198         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
41199         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
41200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
41201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
41202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
41204 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41205             Alan Modra  <amodra@gmail.com>
41207         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
41208         New versions for use with the ELFv2 ABI.
41209         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
41210         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
41211         declaration.
41212         (struct La_ppc64v2_retval): Likewise.
41213         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
41214         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
41215         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
41216         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
41217         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
41218         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41219         Do not save or restore CR.
41220         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
41221         (_dl_profile_resolve): Do no save or restore CR.  Support extended
41222         return values for ELFv2 ABI.  Fix location of FPR return registers.
41223         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
41224         updated values for _CALL_ELF == 2.
41225         (La_regs, La_retval, int_retval): Likewise.
41227 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41229         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
41230         (FRAME_MIN_SIZE_PARM): Likewise.
41231         (FRAME_BACKCHAIN): Likewise.
41232         (FRAME_CR_SAVE): Likewise.
41233         (FRAME_LR_SAVE): Likewise.
41234         (FRAME_TOC_SAVE): Likewise.
41235         (FRAME_PARM_SAVE): Likewise.
41236         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
41237         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
41238         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41239         (call_mcount_parm_offset): New macro.
41240         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
41241         (PROF): Use symbolic stack frame offsets.
41242         (TAIL_CALL_SYSCALL_ERROR): Likewise.
41243         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
41244         Redefine in terms of FRAME_MIN_SIZE.
41245         (_dl_runtime_resolve): Use symbolic stack frame offsets.
41246         (_dl_profile_resolve): Likewise.  Update comment.
41247         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
41248         symbols stack frame offsets.
41249         (__sigsetjmp): Likewise.
41250         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
41251         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
41252         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
41253         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
41255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
41256         (FRAME_BACKCHAIN): Remove.
41257         (FRAME_CR_SAVE): Likewise.
41258         (FRAME_LR_SAVE): Likewise.
41259         (FRAME_COMPILER_DW): Likewise.
41260         (FRAME_LINKER_DW): Likewise.
41261         (FRAME_TOC_SAVE): Likewise.
41262         (FRAME_PARM_SAVE): Likewise.
41263         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
41264         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
41265         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
41267         (CHECK_SP): Use symbolic stack frame offsets.
41268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
41269         zone" instead of caller's parameter save area for temp storage.
41270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41271         Likewise.  Also, use symbolic stack frame offsets.
41272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
41273         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
41274         our own stack frame instead of the caller's.
41275         (__socket): Use symbolic stack frame offsets.
41277 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41278             Alan Modra  <amodra@gmail.com>
41280         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
41281         Define.
41282         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
41283         (PPC64_LOCAL_ENTRY_OFFSET): Define.
41284         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
41285         New function.
41286         (elf_machine_fixup_plt): Call it.
41287         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
41288         reloc arguments.
41289         (elf_machine_rela): Update call to elf_machine_plt_conflict.
41290         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41291         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
41292         r2 before calling target.
41294 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41295             Alan Modra  <amodra@gmail.com>
41297         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
41298         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
41299         versions of macros to support ELFv2 ABI.
41300         (LOCALENTRY): New macro.
41301         (ENTRY, EALIGN): Use it.
41302         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
41303         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
41304         fall through into ENTRY entry point.
41305         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
41306         Only define if _CALL_ELF != 2.
41308         (elf_machine_matches_host): Verify ABI version matches.
41309         (RTLD_START): Use LOCALENTRY.
41310         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
41311         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
41312         (PLT_ENTRY_WORDS): New macro.
41313         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
41314         (elf_machine_runtime_setup): Support ELFv2 ABI.
41315         (elf_machine_fixup_plt): Likewise.
41316         (elf_machine_plt_conflict): Likewise.
41317         (resolve_ifunc): Likewise.
41318         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41319         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
41320         Likewise.
41321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
41322         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
41323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41324         (makecontext): Support ELFv2 ABI.
41325         * elf/elf.h (EF_PPC64_ABI): Define.
41327 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41329         * sysdeps/powerpc/powerpc64/sysdep.h
41330         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
41331         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
41332         (ENTRY) [ASSEMBLER]: ... but instead here ...
41333         (EALIGN) [ASSEMBLER]: ... and here.
41334         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
41335         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
41336         (ENTRY_2) [!ASSEMBLER]: Use it.
41337         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
41338         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
41339         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41340         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
41341         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
41342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
41343         Use PPC64_LOAD_FUNCPTR.
41345         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
41347 2013-12-04  Alan Modra  <amodra@gmail.com>
41349         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
41350         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
41351         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
41352         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
41354         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
41355         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
41356         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
41357         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
41358         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
41359         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
41361 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41364         (__makecontext): Fix incorrect CFI when backtracing out of
41365         context created via makecontext.
41366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
41367         (__setcontext): Fix incorrect CFI during switch to new context.
41368         (__novec_setcontext): Likewise.
41370 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
41372         [BZ #4772]
41373         * time/strptime_l.c (__strptime_internal): Allow modifiers
41374         in strptime.
41375         * time/tst-strptime.c (day_tests): Add testcase.
41377 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41379         * scripts/bench.pl: Skip over blank lines.
41381 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
41383         [BZ #926]
41384         * manual/time.texi (Calendar Time): Clarify what timezone functions
41385         use.
41387 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41391 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
41393         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
41394         implementation.
41395         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
41396         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
41397         * debug/memset_chk.c (__memset_chk): Likewise.
41398         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
41399         * debug/strncpy_chk.c: Likewise.
41401 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
41403         [BZ #15268]
41404         [BZ #15425]
41405         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
41406         (__ieee754_exp): For possibly underflowing results, check size of
41407         result and force underflow exception if required.
41408         * math/auto-libm-test-in: Add more tests of exp.
41409         * math/auto-libm-test-out: Regenerated.
41410         * sysdeps/i386/fpu/libm-test-ulps: Update.
41411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41413         [BZ #16283]
41414         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
41415         * math/w_exp2f.c (__exp2f): Likewise.
41416         * math/w_exp2l.c (__exp2l): Likewise.
41417         * math/auto-libm-test-in: Do not allow missing errno on exp2
41418         underflow.
41419         * math/auto-libm-test-out: Regenerated.
41421 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
41423         [BZ #16274]
41424         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
41425         handle filename validation.
41426         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
41427         (do_open): Delete.
41429 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
41431         [BZ #6786]
41432         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
41433         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
41434         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
41435         <float.h>.
41436         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
41437         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
41438         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41439         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
41440         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41441         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
41442         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41443         * math/auto-libm-test-in: Don't allow missing errno from erfc.
41444         Add more erfc tests.
41445         * math/auto-libm-test-out: Regenerated.
41446         * sysdeps/i386/fpu/libm-test-ulps: Update.
41447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41449         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
41450         exp2, expm1, j0 and j1.
41451         * math/auto-libm-test-out: Regenerated.
41452         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
41453         (erfc_test_data): Likewise.
41454         (exp_test_data): Likewise.
41455         (exp_tonearest_test_data): Likewise.
41456         (exp_towardzero_test_data): Likewise.
41457         (exp_downward_test_data): Likewise.
41458         (exp_upward_test_data): Likewise.
41459         (exp10_test_data): Likewise.
41460         (exp2_test_data): Likewise.
41461         (expm1_test_data): Likewise.
41462         (j0_test_data): Likewise.
41463         (j1_test_data): Likewise.
41464         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
41465         (input_flag_type): Add flag_xfail_rounding.
41466         (input_flags): Add xfail-rounding.
41467         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
41468         (output_for_one_input_case): Handle flag_xfail_rounding.
41469         * sysdeps/i386/fpu/libm-test-ulps: Update.
41470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41472 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
41474         [BZ #16289]
41475         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
41476         division by 0.
41478 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41480         [BZ #16195]
41481         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
41482         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
41483         (STAP_PROBE0): New macro.
41484         (STAP_PROBE1): Likewise.
41485         (STAP_PROBE2): Likewise.
41486         (STAP_PROBE3): Likewise.
41487         (STAP_PROBE4): Likewise.
41489 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
41491         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
41493 2013-12-02  Steve Ellcey  <sellcey@mips.com>
41495         * benchtests/Makefile (bench): Add sqrt.
41496         (LDLIBS-bench-sqrt): New.
41497         * benchtests/sqrt-input: New.
41499 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
41501         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
41502         (GAIH_EAI): Likewise.
41503         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
41504         (gaih_inet): Likewise.
41505         (getaddrinfo): Don't use GAIH_EAI.
41507         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
41508         (struct gaih): Remove definition.
41510 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41512         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
41513         Use HERRNOP directly.
41515 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41517         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41519 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
41521         * math/gen-auto-libm-tests.c (test_functions): Add more
41522         single-argument functions.
41523         (special_fill_pi_2): New function.
41524         (special_fill_minus_pi_2): Likewise.
41525         (special_fill_pi_6): Likewise.
41526         (special_fill_minus_pi_6): Likewise.
41527         (special_fill_pi_3): Likewise.
41528         (special_fill_2pi_3): Likewise.
41529         (special_fill_e): Likewise.
41530         (special_fill_1_e): Likewise.
41531         (special_fill_e_minus_1): Likewise.
41532         (special_real_inputs): Add more special inputs.
41533         (output_for_one_input_case): Do not require ERANGE on underflow to
41534         zero if round-to-nearest result does not underflow to zero, unless
41535         exact results required.
41536         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
41537         atan, atanh, cbrt, cos and cosh.
41538         * math/auto-libm-test-out: Regenerated.
41539         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
41540         (acos_tonearest_test_data): Likewise.
41541         (acos_towardzero_test_data): Likewise.
41542         (acos_downward_test_data): Likewise.
41543         (acos_upward_test_data): Likewise.
41544         (acosh_test_data): Likewise.
41545         (asin_test_data): Likewise.
41546         (asin_tonearest_test_data): Likewise.
41547         (asin_towardzero_test_data): Likewise.
41548         (asin_upward_test_data): Likewise.
41549         (asinh_test_data): Likewise.
41550         (atan_test_data): Likewise.
41551         (atanh_test_data): Likewise.
41552         (cbrt_test_data): Likewise.
41553         (cos_test_data): Likewise.
41554         (cos_tonearest_test_data): Likewise.
41555         (cos_towardzero_test_data): Likewise.
41556         (cos_downward_test_data): Likewise.
41557         (cos_upward_test_data): Likewise.
41558         (cosh_test_data): Likewise.
41559         (cosh_tonearest_test_data): Likewise.
41560         (cosh_towardzero_test_data): Likewise.
41561         (cosh_downward_test_data): Likewise.
41562         (cosh_upward_test_data): Likewise.
41563         * sysdeps/i386/fpu/libm-test-ulps: Update.
41564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41566 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
41568         [BZ #6787]
41569         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
41570         * math/w_exp10f.c (__exp10f): Likewise.
41571         * math/w_exp10l.c (__exp10l): Likewise.
41572         * math/libm-test.inc (exp10_test_data): Add more tests and expect
41573         errno settings in existing tests.
41575         [BZ #14032]
41576         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
41577         precision control set to double precision.
41578         * sysdeps/i386/fpu/w_sqrt.c: New file.
41579         * math/auto-libm-test-in: Add more tests.
41580         * math/auto-libm-test-out: Update.
41582         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
41583         (sqrt_test_tonearest): New function.
41584         (sqrt_towardzero_test_data): New variable.
41585         (sqrt_test_towardzero): New function.
41586         (sqrt_downward_test_data): New variable.
41587         (sqrt_test_downward): New function.
41588         (sqrt_upward_test_data): New variable.
41589         (sqrt_test_upward): New function.
41590         (main): Call the new functions.
41592         * math/gen-auto-libm-tests.c: New file.
41593         * math/auto-libm-test-in: Likewise.
41594         * math/auto-libm-test-out: New generated file.
41595         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
41596         variables.
41597         (%beautify): Add generated representations of zero.
41598         (top level): Set $auto_input and call parse_auto_input.
41599         (beautify): Remove trailing "f" from hex float constants.
41600         (parse_args): Handle XFAIL_TEST.
41601         (convert_condition): New function.
41602         (or_value): Likewise.
41603         (or_cond_value): Likewise.
41604         (generate_testfile): Handle AUTO_TESTS_* lines.
41605         (parse_auto_input): New function.
41606         * math/libm-test.inc (XFAIL_TEST): New macro.
41607         (ERRNO_UNCHANGED): Update value.
41608         (ERRNO_EDOM): Likewise.
41609         (ERRNO_ERANGE): Likewise.
41610         (IGNORE_RESULT): Likewise.
41611         (TEST_COND_flt_32): New macro.
41612         (TEST_COND_dbl_64): Likewise.
41613         (TEST_COND_ldbl_96_intel): Likewise.
41614         (TEST_COND_ldbl_96_m68k): Likewise.
41615         (TEST_COND_ldbl_128): Likewise.
41616         (TEST_COND_ldbl_128ibm): Likewise.
41617         (TEST_COND_long32): Likewise.
41618         (TEST_COND_long64): Likewise.
41619         (TEST_COND_before_rounding): Likewise.
41620         (TEST_COND_after_rounding): Likewise.
41621         (enable_test): Handle XFAIL_TEST flag.
41622         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
41623         with finite results.
41624         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
41625         auto-libm-test-out.
41627 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41628             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41630         [BZ #16214]
41631         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
41632         __tls_get_addr_internal instead of __tls_get_offset in order to
41633         avoid GOT pointer dependency.  Make rtld export
41634         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
41635         __tls_get_addr since we are a __tls_get_offset platform.
41636         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
41637         GOT pointer being set up before.
41638         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
41640 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
41642         * manual/math.texi (Errors in Math Functions): Document accuracy
41643         goals.
41645         [BZ #15004]
41646         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
41647         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
41648         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41649         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41650         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41651         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41652         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41653         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41654         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41655         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41656         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41657         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41658         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41659         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41660         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41661         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41663         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
41664         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
41665         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
41666         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
41667         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
41668         Likewise.
41669         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
41670         Likewise.
41671         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
41672         Likewise.
41673         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
41674         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
41675         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
41676         atomic-feupdateenv and flt-rounds.
41677         * sysdeps/powerpc/nofpu/Versions (libc): Add
41678         __atomic_feholdexcept, __atomic_feclearexcept,
41679         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
41680         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
41681         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
41682         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
41683         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
41684         here.
41685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
41686         Update.
41688         * manual/arith.texi (FP Exceptions): Document that exceptions may
41689         not be raised when matherr is used.
41690         (Math Error Reporting): Document overflow in directed rounding
41691         modes.  Document that errno may not be set when finite values are
41692         returned on overflow.  Document intent to set errno on underflow
41693         only for underflow to zero.
41695         [BZ #16271]
41696         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
41697         round-to-nearest then adjust result for other rounding modes.
41698         * include/fenv.h (fegetround): Use libm_hidden_proto.
41699         * math/fegetround.c (fegetround): Use libm_hidden_def.
41700         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41701         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41702         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
41703         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41704         Likewise.
41705         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
41706         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41707         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41708         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
41710 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41712         [BZ #16077]
41713         * nss/Versions (libnss_files): Add
41714         _nss_files_gethostbyname3_r.
41715         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
41716         New function.
41717         (HOST_DB_LOOKUP): Remove macro.
41718         (_nss_files_gethostbyname_r): Implement function without the
41719         HOST_DB_LOOKUP macro.
41720         (_nss_files_gethostbyname2_r): Likewise.
41722 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
41724         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
41726 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
41728         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
41729         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
41730         warning.
41732 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41734         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
41735         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
41736         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
41737         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41738         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
41739         __fe_nomask_env_priv and attribute_hidden.
41740         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
41741         (libc_feupdateenv_test_ppc): Likewise.
41742         (libc_feresetround_ppc): Likewise.
41743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41744         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
41745         compat_symbol macro.
41746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41747         (__fe_nomask_env): Likewise.
41748         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
41750 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41752         * string/Makefile: Remove ifunc tests.
41753         * string/test-string.h: Define TEST_IFUNC.
41754         * string/test-bcopy-ifunc.c: Remove.
41755         * string/test-bzero-ifunc.c: Likewise.
41756         * string/test-memccpy-ifunc.c: Likewise.
41757         * string/test-memchr-ifunc.c: Likewise.
41758         * string/test-memcmp-ifunc.c: Likewise.
41759         * string/test-memcpy-ifunc.c: Likewise.
41760         * string/test-memmem-ifunc.c: Likewise.
41761         * string/test-memmove-ifunc.c: Likewise.
41762         * string/test-mempcpy-ifunc.c: Likewise.
41763         * string/test-memrchr-ifunc.c: Likewise.
41764         * string/test-memset-ifunc.c: Likewise.
41765         * string/test-rawmemchr-ifunc.c: Likewise.
41766         * string/test-stpcpy-ifunc.c: Likewise.
41767         * string/test-stpncpy-ifunc.c: Likewise.
41768         * string/test-strcasecmp-ifunc.c: Likewise.
41769         * string/test-strcasestr-ifunc.c: Likewise.
41770         * string/test-strcat-ifunc.c: Likewise.
41771         * string/test-strchr-ifunc.c: Likewise.
41772         * string/test-strchrnul-ifunc.c: Likewise.
41773         * string/test-strcmp-ifunc.c: Likewise.
41774         * string/test-strcpy-ifunc.c: Likewise.
41775         * string/test-strcspn-ifunc.c: Likewise.
41776         * string/test-strlen-ifunc.c: Likewise.
41777         * string/test-strncasecmp-ifunc.c: Likewise.
41778         * string/test-strncat-ifunc.c: Likewise.
41779         * string/test-strncmp-ifunc.c: Likewise.
41780         * string/test-strncpy-ifunc.c: Likewise.
41781         * string/test-strnlen-ifunc.c: Likewise.
41782         * string/test-strpbrk-ifunc.c: Likewise.
41783         * string/test-strrchr-ifunc.c: Likewise.
41784         * string/test-strspn-ifunc.c: Likewise.
41785         * string/test-strstr-ifunc.c: Likewise.
41787 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41789         * benchtests/Makefile: Remove ifunc tests.
41790         * benchtests/bench-string.h: Define TEST_IFUNC.
41791         * benchtests/bench-bcopy-ifunc.c: Remove.
41792         * benchtests/bench-bzero-ifunc.c: Likewise.
41793         * benchtests/bench-memccpy-ifunc.c: Likewise.
41794         * benchtests/bench-memchr-ifunc.c: Likewise.
41795         * benchtests/bench-memcmp-ifunc.c: Likewise.
41796         * benchtests/bench-memcpy-ifunc.c: Likewise.
41797         * benchtests/bench-memmem-ifunc.c: Likewise.
41798         * benchtests/bench-memmove-ifunc.c: Likewise.
41799         * benchtests/bench-mempcpy-ifunc.c: Likewise.
41800         * benchtests/bench-memrchr-ifunc.c: Likewise.
41801         * benchtests/bench-memset-ifunc.c: Likewise.
41802         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
41803         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
41804         * benchtests/bench-stpcpy-ifunc.c: Likewise.
41805         * benchtests/bench-stpncpy-ifunc.c: Likewise.
41806         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
41807         * benchtests/bench-strcasestr-ifunc.c: Likewise.
41808         * benchtests/bench-strcat-ifunc.c: Likewise.
41809         * benchtests/bench-strchr-ifunc.c: Likewise.
41810         * benchtests/bench-strchrnul-ifunc.c: Likewise.
41811         * benchtests/bench-strcmp-ifunc.c: Likewise.
41812         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
41813         * benchtests/bench-strcpy-ifunc.c: Likewise.
41814         * benchtests/bench-strcspn-ifunc.c: Likewise.
41815         * benchtests/bench-strlen-ifunc.c: Likewise.
41816         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
41817         * benchtests/bench-strncat-ifunc.c: Likewise.
41818         * benchtests/bench-strncmp-ifunc.c: Likewise.
41819         * benchtests/bench-strncpy-ifunc.c: Likewise.
41820         * benchtests/bench-strnlen-ifunc.c: Likewise.
41821         * benchtests/bench-strpbrk-ifunc.c: Likewise.
41822         * benchtests/bench-strrchr-ifunc.c: Likewise.
41823         * benchtests/bench-strsep-ifunc.c: Likewise.
41824         * benchtests/bench-strspn-ifunc.c: Likewise.
41825         * benchtests/bench-strstr-ifunc.c: Likewise.
41827 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41829         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
41831 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41833         * resolv/netdb.h: Use __glibc_reserved instead __unused.
41834         * rt/aio.h: Likewise.
41835         * sysdeps/gnu/bits/utmp.h: Likewise.
41836         * sysdeps/gnu/bits/utmpx.h: Likewise.
41837         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41838         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
41839         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
41840         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
41841         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
41842         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
41843         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
41844         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
41845         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
41846         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
41847         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
41848         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
41849         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
41850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
41851         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
41852         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
41853         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
41854         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
41855         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
41856         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
41857         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
41858         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
41859         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
41860         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41861         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
41862         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41863         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
41864         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
41865         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
41866         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
41867         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
41868         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
41869         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
41870         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
41871         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
41872         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
41873         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
41874         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
41875         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
41876         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
41877         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
41878         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
41880 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
41882         [BZ #16245]
41883         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
41884         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
41886 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
41888         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
41889         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41890         Likewise.
41892 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41894         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
41895         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
41896         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
41897         (__fesetround): Remove define.
41898         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
41899         rounding and exceptions handling.
41900         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
41901         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
41902         (__fe_nomask_env): Likewise.
41903         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
41904         __fegetround instead of fegetround.
41905         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41906         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
41908 2013-11-21  Roland McGrath  <roland@hack.frob.com>
41910         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
41911         it's there.
41913         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
41915 2013-11-21  Meador Inge  <meadori@codesourcery.com>
41917         [BZ #11157]
41918         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
41919         (encrypt_r): Likewise.
41920         * malloc/obstack.h (obstack_free): Likewise.
41921         * posix/unistd.h (encrypt): Likewise.
41923 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
41925         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
41926         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
41927         DL_CALL_DT_FINI() that call the functions directly.
41928         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
41929         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
41930         * elf/dl-fini.c: Likewise.
41932 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
41934         * malloc/hooks.c (memalign_check): Add alignment rounding.
41935         * malloc/malloc.c (_mid_memalign): New function.
41936         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
41937         Implement by calling _mid_memalign.
41938         * manual/probes.texi (Memory Allocation Probes): Remove
41939         memory_valloc_retry and memory_pvalloc_retry.
41941 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41943         * locale/programs/locarchive.c (open_archive): Add const
41944         qualifier to ARCHIVEFNAME and copy default fname to
41945         DEFAULT_FNAME.
41947         [BZ #15601]
41948         * libio/tst-widetext.input: Rename Oriya to Odia.
41949         * locale/iso-639.def: Likewise.
41951         * manual/probes.texi (Mathematical Function Probes): Add
41952         documentation for sin, cos, asin and acos probes.
41953         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
41954         (__sin32): Add slowasin probe.
41955         (__cos32): Add slowacos probe.
41956         (__mpsin): Add slowsin probe.
41957         (__mpcos): Add slowcos probe.
41959 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
41961         [BZ #15483]
41962         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
41963         thread-local __sim_exceptions_thread and global
41964         __sim_exceptions_global.
41965         (__sim_disabled_exceptions): Change to thread-local
41966         __sim_disabled_exceptions_thread and global
41967         __sim_disabled_exceptions_global.
41968         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
41969         and global __sim_round_mode_global.
41970         (__simulate_exceptions): Use thread-local floating-point state and
41971         set global state from it as needed.
41972         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
41973         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
41974         __sim_round_mode_thread.
41975         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
41976         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
41977         and global __sim_exceptions_global.
41978         (__sim_disabled_exceptions): Change to thread-local
41979         __sim_disabled_exceptions_thread and global
41980         __sim_disabled_exceptions_global.
41981         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
41982         and global __sim_round_mode_global.
41983         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
41984         (SIM_SET_GLOBAL): Likewise.
41985         * sysdeps/powerpc/soft-fp/sfp-machine.h
41986         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
41987         __sim_round_mode_thread.
41988         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
41989         __sim_disabled_exceptions_thread.
41990         (__sim_exceptions): Change to __sim_exceptions_thread.
41991         (__sim_disabled_exceptions): Change to
41992         __sim_disabled_exceptions_thread.
41993         (__sim_round_mode): Change to __sim_round_mode_thread.
41994         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
41995         thread-local floating-point state and set global state from it as
41996         needed.
41997         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
41998         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
41999         (__sim_disabled_exceptions): Remove extern declaration.
42000         (feenableexcept): Use thread-local floating-point state and set
42001         global state from it as needed.
42002         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
42003         extern declaration.
42004         (__sim_disabled_exceptions): Likewise.
42005         (__sim_round_mode): Likewise.
42006         (__fegetenv): Use thread-local floating-point state.
42007         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
42008         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42009         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
42010         floating-point state and set global state from it as needed.
42011         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
42012         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
42013         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
42014         Likewise.
42015         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
42016         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
42017         Likewise.
42018         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
42019         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
42020         Use __sim_round_mode_thread.
42021         * math/test-fenv-tls.c: New file.
42022         * math/Makefile (tests): Add test-fenv-tls.
42023         ($(objpfx)test-fenv-tls): Depend on
42024         $(common-objpfx)nptl/libpthread.so.
42026 2013-11-19  Andreas Schwab  <schwab@suse.de>
42028         * locale/programs/locale.c (show_info): Decode wordarray elements.
42029         * locale/categories.def (LC_MONETARY): Add element for
42030         _NL_MONETARY_CRNCYSTR.
42031         * locale/C-monetary.c (conversion_rate): New variable.
42032         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
42033         element.
42035 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
42037         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
42038         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
42040 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
42042         * elf/Makefile (tst-auxv): New test.
42043         * elf/tst-auxv.c: New
42044         * elf/rtld.c (dl_main): Adjust AT_EXECFN
42046 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
42048         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
42049         (hidden_proto): Caller changed.
42050         (hidden_tls_proto): New macro.
42051         (libc_hidden_tls_proto): Likewise.
42052         (rtld_hidden_tls_proto): Likewise.
42053         (libm_hidden_tls_proto): Likewise.
42054         (libresolv_hidden_tls_proto): Likewise.
42055         (librt_hidden_tls_proto): Likewise.
42056         (libdl_hidden_tls_proto): Likewise.
42057         (libnss_files_hidden_tls_proto): Likewise.
42058         (libnsl_hidden_tls_proto): Likewise.
42059         (libnss_nisplus_hidden_tls_proto): Likewise.
42060         (libutil_hidden_tls_proto): Likewise.
42062 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
42064         [BZ #10253]
42065         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
42066         (decompose_rpath): Defer expansion to fillin_rpath.
42067         (_dl_init_paths): Pass linkmap to fillin_rpath.
42069 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42071         * benchtests/Makefile: Add strsep.
42072         * benchtests/bench-strsep.c: New file: strsep benchtest.
42073         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
42075 2013-11-18  Andreas Schwab  <schwab@suse.de>
42077         * locale/programs/locale.c (show_info) [case byte]: Check for
42078         '\377' instead of '\177'.
42079         * locale/C-monetary.c (not_available): Always use "\377".
42080         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
42081         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
42082         detect unavailable sign_posn locale elements.
42083         * locale/localeconv.c (__localeconv): For grouping and
42084         mon_grouping handle "\177" and "\377" like no grouping.
42085         (INT_ELEM): New macro.  Use it to set all numeric members.
42086         * locale/programs/ld-monetary.c (monetary_read)
42087         <tok_mon_grouping>: Normalize single -1 to the empty string.
42088         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
42089         Likewise.
42091 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
42093         [BZ #16055]
42094         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
42095         when we match (nil).
42096         * stdio-common/tst-sscanf.c (struct test): Add testcase.
42098 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
42100         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
42101         (NO_TEST_INLINE): Update value.
42102         (ERRNO_UNCHANGED): Likewise.
42103         (ERRNO_EDOM): Likewise.
42104         (ERRNO_ERANGE): Likewise.
42105         (IGNORE_RESULT): Likewise.
42106         (check_float_internal): Check signs of NaN results if
42107         TEST_NAN_SIGN used.
42108         (check_complex): Pass TEST_NAN_SIGN flag through to second
42109         check_float_internal call.
42110         (copysign_test_data): Add tests with quiet NaNs as second
42111         argument.  Use TEST_NAN_SIGN.
42112         (fabs_test_data): Add test of negative quiet NaN argument.  Use
42113         TEST_NAN_SIGN.
42114         (signbit_test_data): Add tests of quiet NaN argument.
42115         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
42117         * math/gen-libm-test.pl (show_exceptions): Take extra argument
42118         $ignore_result.
42119         (parse_args): Handle function results specified as IGNORE.
42120         * math/libm-test.inc (IGNORE_RESULT): New macro.
42121         (check_float_internal): Do not check numerical result if flag
42122         IGNORE_RESULT set.
42123         (check_complex): Pass through IGNORE_RESULT to second
42124         check_float_internal call.
42125         (check_int): Do not check numerical result if flag IGNORE_RESULT
42126         set.
42127         (check_long): Likewise.
42128         (check_bool): Likewise.
42129         (check_longlong): Likewise.
42130         (lrint_test_data): Add tests of infinite and NaN arguments.
42131         (lrint_tonearest_test_data): Likewise.
42132         (lrint_towardzero_test_data): Likewise.
42133         (lrint_downward_test_data): Likewise.
42134         (lrint_upward_test_data): Likewise.
42135         (llrint_test_data): Likewise.
42136         (llrint_tonearest_test_data): Likewise.
42137         (llrint_towardzero_test_data): Likewise.
42138         (llrint_downward_test_data): Likewise.
42139         (llrint_upward_test_data): Likewise.
42140         (lround_test_data): Likewise.
42141         (llround_test_data): Likewise.
42143         * math/libm-test.inc (NO_TEST_INLINE): New macro.
42144         (ERRNO_UNCHANGED): Update value.
42145         (ERRNO_EDOM): Likewise.
42146         (ERRNO_ERANGE): Likewise.
42147         (NO_TEST_INLINE_FLOAT): New macro.
42148         (NO_TEST_INLINE_DOUBLE): Likewise.
42149         (enable_test): New function.
42150         (RUN_TEST_f_f): Check enable_test before running test.
42151         (RUN_TEST_2_f): Likewise.
42152         (RUN_TEST_fff_f): Likewise.
42153         (RUN_TEST_c_f): Likewise.
42154         (RUN_TEST_f_f1): Likewise.
42155         (RUN_TEST_fF_f1): Likewise.
42156         (RUN_TEST_fI_f1): Likewise.
42157         (RUN_TEST_ffI_f1): Likewise.
42158         (RUN_TEST_c_c): Likewise.
42159         (RUN_TEST_cc_c): Likewise.
42160         (RUN_TEST_f_i): Likewise.
42161         (RUN_TEST_f_i_tg): Likewise.
42162         (RUN_TEST_ff_i_tg): Likewise.
42163         (RUN_TEST_f_b): Likewise.
42164         (RUN_TEST_f_b_tg): Likewise.
42165         (RUN_TEST_f_l): Likewise.
42166         (RUN_TEST_f_L): Likewise.
42167         (RUN_TEST_fFF_11): Likewise.
42168         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
42169         conditionals.
42170         (cosh_test_data): Likewise.
42171         (exp_test_data): Likewise.
42172         (expm1_test_data): Likewise.
42173         (hypot_test_data): Likewise.
42174         (pow_test_data): Likewise.
42175         (sinh_test_data): Likewise.
42176         (tanh_test_data): Likewise.
42177         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
42178         flags argument.
42180         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
42181         tests with quiet NaN input and output.
42182         (acosh_test_data): Likewise.
42183         (asin_test_data): Likewise.
42184         (asinh_test_data): Likewise.
42185         (atan_test_data): Likewise.
42186         (atanh_test_data): Likewise.
42187         (atan2_test_data): Likewise.
42188         (cbrt_test_data): Likewise.
42189         (cos_test_data): Likewise.
42190         (cosh_test_data): Likewise.
42191         (erf_test_data): Likewise.
42192         (erfc_test_data): Likewise.
42193         (exp_test_data): Likewise.
42194         (exp10_test_data): Likewise.
42195         (exp2_test_data): Likewise.
42196         (expm1_test_data): Likewise.
42197         (hypot_test_data): Likewise.
42198         (j0_test_data): Likewise.
42199         (j1_test_data): Likewise.
42200         (jn_test_data): Likewise.
42201         (lgamma_test_data): Likewise.
42202         (log_test_data): Likewise.
42203         (log10_test_data): Likewise.
42204         (log1p_test_data): Likewise.
42205         (log2_test_data): Likewise.
42206         (pow_test_data): Likewise.
42207         (scalb_test_data): Likewise.
42208         (sin_test_data): Likewise.
42209         (sincos_test_data): Likewise.
42210         (sinh_test_data): Likewise.
42211         (tan_test_data): Likewise.
42212         (tanh_test_data): Likewise.
42213         (tgamma_test_data): Likewise.
42214         (y0_test_data): Likewise.
42215         (y1_test_data): Likewise.
42216         (yn_test_data): Likewise.
42218         [BZ #16167]
42219         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
42220         argument being NaN and avoid computations with second argument in
42221         that case.
42222         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42223         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
42224         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42226 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
42228         * locale/iso-639.def: Add Chitwani Tharu (the).
42230 2013-11-14  Andreas Schwab  <schwab@suse.de>
42232         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
42233         word instead of empty string.
42235 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42238         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
42239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42240         (__fe_nomask_env): Likewise.
42242 2013-11-13  Steve Ellcey  <sellcey@mips.com>
42244         * benchtests/bench-timing.h: Include time.h.
42246 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
42248         [BZ #15997]
42249         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
42250         to 3.4.0 for x32.
42251         * sysdeps/unix/sysv/linux/configure: Regenerated.
42253 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
42255         [BZ #16151]
42256         * stdlib/strtod_l.c (round_and_return): Do not consider
42257         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
42258         exponent one less than half the least subnormal exponent.
42259         * stdlib/test-strtod-round-data: Add more tests.
42260         * stdlib/tst-strtod-round.c (tests): Regenerated.
42262 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42264         [BZ #14143]
42265         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
42266         (__fe_mask_env): Likewise.
42267         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
42268         libm_hidden_proto and add function prototype.
42269         (__fe_mask_env): Add function prototype.
42270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42271         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
42272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42273         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
42274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42275         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
42277 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42279         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
42280         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
42282 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42284         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
42285         of htab_find_slot().
42287 2013-11-11  David S. Miller  <davem@davemloft.net>
42289         [BZ #16150]
42290         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
42291         symbol in the non-vis3 case in static builds.
42292         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
42293         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
42294         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
42295         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
42297 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
42299         [BZ #387]
42300         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
42301         it is empty.
42303 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42305         * benchtests/Makefile: Add bench-strtod.
42306         * benchtests/bench-strtod.c: New file: strtod benchtest
42308 2013-11-11  Andreas Schwab  <schwab@suse.de>
42310         [BZ #16153]
42311         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
42312         terminating NUL in key length.
42314 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42316         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42317         Add artificial ODP entry for vDSO symbol for PPC64.
42318         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
42319         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
42321 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
42323         [BZ #15374]
42324         * nss/getent.c (services_keys): Recognize services starting with digit.
42326 2013-11-06  David S. Miller  <davem@davemloft.net>
42328         [BZ #15985]
42329         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
42330         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
42332 2013-11-06  Will Newton  <will.newton@linaro.org>
42334         * manual/memory.texi (Malloc Examples): Remove register
42335         keyword from examples.
42337 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
42339         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
42341 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
42343         [BZ #6981]
42344         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
42345         depending on [__GCC_IEC_559 > 0].
42346         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
42347         depending on [__GCC_IEC_559_COMPLEX > 0].
42349 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
42351         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
42352         to iso-639.def.
42354 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
42356         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
42358 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
42360         [BZ #16112]
42361         * malloc/malloc (malloc_info): Do not handle first bin as
42362         special case.
42364 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
42366         * locale/iso-639.def: Add Central Nahuatl (nhn).
42368 2013-11-01  Bruno Haible  <bruno@clisp.org>
42370         [BZ #7003]
42371         * manual/math.texi (BSD Random): Specify range upper bound as
42372         in POSIX.
42374 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
42376         * locale/iso-639.def: Add Meadow Mari (mhr).
42378 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
42380         [BZ #14752], [BZ #15763]
42381         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
42382         Validate name.
42383         * rt/tst_shm.c: Add test for escaping directory.
42385 2013-10-31  Andreas Schwab  <schwab@suse.de>
42387         [BZ #15917]
42388         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
42389         followed by 'x' as part of digit sequence.
42390         * stdio-common/tst-sscanf.c (double_tests2): New tests.
42392 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
42394         [BZ #16037]
42395         * configure.ac: allow GNU Make 4.0 and greater.
42396         * configure: Regenerated.
42398 2013-10-30  Will Newton  <will.newton@linaro.org>
42400         [BZ #16038]
42401         * malloc/hooks.c (memalign_check): Limit alignment to the
42402         maximum representable power of two.
42403         * malloc/malloc.c (__libc_memalign): Likewise.
42404         * malloc/tst-memalign.c (do_test): Add test for very
42405         large alignment values.
42406         * malloc/tst-posix_memalign.c (do_test): Likewise.
42408 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
42410         [BZ #11087]
42411         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
42412         (munmap_chunk): Likewise.
42413         (mremap_chunk): Likewise.
42415 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
42417         [BZ #15799]
42418         * stdlib/div.c (div): Remove obsolete code.
42419         * stdlib/ldiv.c (ldiv): Likewise.
42420         * stdlib/lldiv.c (lldiv): Likewise.
42422 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42424         [BZ #16071]
42425         * nss/nss_files/files-XXX.c (get_contents_ret): New
42426         enumerator.
42427         (get_contents): New function.
42428         (internal_getent): Use it.  Expand size of LINEBUFLEN.
42430 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
42432         * configure.in: Moved to ...
42433         * configure.ac: ... here. Change reference to configure.in
42434         to configure.ac.
42435         * sysdeps/arm/preconfigure.ac: ... here.
42436         configure.in to configure.ac.
42437         * sysdeps/gnu/configure.in: Moved to ...
42438         * sysdeps/gnu/configure.ac: ... here.
42439         * sysdeps/i386/configure.in: Moved to ...
42440         * sysdeps/i386/configure.ac: ... here.
42441         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
42442         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
42443         * sysdeps/mach/configure.in: Moved to ...
42444         * sysdeps/mach/configure.ac: ... here.
42445         * sysdeps/mach/hurd/configure.in: Moved to ...
42446         * sysdeps/mach/hurd/configure.ac: ... here.
42447         * sysdeps/powerpc/configure.in: Moved to ...
42448         * sysdeps/powerpc/configure.ac: ... here.
42449         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
42450         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
42451         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
42452         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
42453         * sysdeps/s390/s390-32/configure.in: Moved to ...
42454         * sysdeps/s390/s390-32/configure.ac: ... here.
42455         * sysdeps/s390/s390-64/configure.in: Moved to ...
42456         * sysdeps/s390/s390-64/configure.ac: ... here.
42457         * sysdeps/sh/configure.in: Moved to ...
42458         * sysdeps/sh/configure.ac: ... here.
42459         * sysdeps/sparc/configure.in: Moved to ...
42460         * sysdeps/sparc/configure.ac: ... here.
42461         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
42462         * sysdeps/unix/sysv/linux/configure.ac: ... here.
42463         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
42464         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
42465         * sysdeps/x86_64/configure.in: Moved to ...
42466         * sysdeps/x86_64/configure.ac: ... here.
42467         * sysdeps/x86_64/preconfigure.in: Moved to ...
42468         * sysdeps/x86_64/preconfigure.ac: ... here.
42469         * aclocal.m4: Change reference to configure.in to configure.ac.
42470         * config.h.in: Likewise.
42471         * manual/install.texi: Likewise.
42472         * manual/maint.texi: Likewise.
42473         * Makefile: Likewise.
42474         * malloc/Makefile: Likewise.
42475         * nscd/Makefile: Likewise.
42476         * Makeconfig: Change reference to configure.in and
42477         preconfigure.in to configure.ac and preconfigure.ac
42478         respectively.
42479         * INSTALL: Regenerated.
42480         * configure: Likewise.
42481         * sysdeps/gnu/configure: Likewise.
42482         * sysdeps/i386/configure: Likewise.
42483         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
42484         * sysdeps/mach/configure: Likewise.
42485         * sysdeps/mach/hurd/configure: Likewise.
42486         * sysdeps/powerpc/configure: Likewise.
42487         * sysdeps/powerpc/powerpc32/configure: Likewise.
42488         * sysdeps/powerpc/powerpc64/configure: Likewise.
42489         * sysdeps/s390/s390-32/configure: Likewise.
42490         * sysdeps/s390/s390-64/configure: Likewise.
42491         * sysdeps/sh/configure: Likewise.
42492         * sysdeps/sparc/configure: Likewise.
42493         * sysdeps/unix/sysv/linux/configure: Likewise.
42494         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
42495         * sysdeps/x86_64/configure: Likewise.
42496         * sysdeps/x86_64/preconfigure: Likewise.
42498 2013-10-29  Andreas Schwab  <schwab@suse.de>
42500         * stdio-common/Makefile (tst-swscanf-ENV): Define.
42502 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42504         * benchtests/pow-inputs: Add new inputs.
42506         * benchtests/exp-inputs: Add new inputs.
42508         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
42509         conditional check for return value.
42510         (__cos32): Likewise.
42512 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42514         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
42515         to provide a boost for large inputs with word alignment.
42516         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
42517         implementation based on optimized PPC64 strcpy.
42518         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
42519         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
42520         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
42521         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
42523 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42525         [BZ #2801]
42526         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
42528 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42530         [BZ #14876]
42531         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
42532         * time/tst-strptime.c (day_tests): Add testcase.
42534 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42536         [BZ #14029]
42537         * manual/pattern.texi: Acknowledge that fnmatch can fail.
42539 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
42541         [BZ #16074]
42542         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
42543         MAP_FAILED on error.
42545 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42547         [BZ #16072]
42548         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
42549         heap for large requests.
42551 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
42553         [BZ #9954]
42554         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
42555         result if the result has no associated interface.
42556         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
42557         interface for all 127.X.Y.Z addresses.
42559 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
42561         * locale/iso-639.def: Add Ligurian (lij)
42563 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
42565         [BZ #15825]
42566         * sunrpc/rpc_main.c: Document rpcgen -5.
42568 2013-10-19  Michael Stahl  <mstahl@redhat.com>
42570         * elf/rtld.c (do_preload): Print the reason why preloading failed.
42572 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
42574         [BZ #10278]
42575         * posix/glob.c: Match only directories when trailing slash is present.
42576         * posix/tst-gnuglob.c (my_opendir): Do not open files.
42577         (main): Add testcase.
42579 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
42581         [BZ #15670]
42582         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
42584 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
42586         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
42587         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
42588         AUTH_DES and cindex for FIPS 140-2.
42589         (DES Encryption): Add cindex FIPS 46-3.
42591         * locale/locarchive.h (struct locarhandle): Add fname.
42592         * locale/programs/localedef.c (main): Pass ARGV[remaining]
42593         if an optional argument was specified to --list-archive,
42594         otherwise NULL.
42595         * locale/programs/locarchive.c (show_archive_content): Take new
42596         argument fname and pass it via ah.fname to open_archive.
42597         * locale/programs/localedef.h: Update decl.
42598         (open_archive): If AH->fname is non-null, open that file
42599         rather than the default file name, and don't ignore ENOENT.
42600         (create_archive): Set AH.fname to NULL.
42601         (delete_locales_from_archive): Likewise.
42602         (add_locales_to_archive): Likewise.
42603         * locale/programs/locfile.c (write_all_categories): Likewise.
42605 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
42606             Aldy Hernandez  <aldyh@redhat.com>
42608         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
42609         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
42610         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
42611         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
42612         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
42613         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
42614         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
42615         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
42616         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
42617         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
42618         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
42619         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
42620         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
42621         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
42622         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
42623         Likewise.
42624         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
42625         Likewise.
42626         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
42627         Likewise.
42628         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
42629         Likewise.
42630         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
42631         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
42632         Likewise.
42633         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
42634         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
42635         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
42636         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
42637         Likewise.
42638         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
42639         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
42640         * sysdeps/powerpc/preconfigure: Likewise.
42641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
42642         Likewise.
42643         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
42644         Replace contents of file by #include of <fenv_libc.h>.
42645         * sysdeps/powerpc/soft-fp/sfp-machine.h
42646         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
42647         and <sys/prctl.h>.
42648         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
42649         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
42650         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
42651         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
42652         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
42653         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
42654         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
42655         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
42656         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
42657         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
42658         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
42659         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
42660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42661         Allow copysignl PLT reference to be missing.
42663 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
42664             Joseph Myers  <joseph@codesourcery.com
42666         [BZ #15948]
42667         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
42668         single character.
42669         (add_to_tablewc): Assert sequence of wide characters is nonempty.
42671 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42673         * elf/tst-tls-dlinfo.c: Don't include tls.h.
42674         * elf/tst-tls1.c: Likewise.
42675         * elf/tst-tls10.h: Likewise.
42676         * elf/tst-tls14.c: Likewise.
42677         * elf/tst-tls2.c: Likewise.
42678         * elf/tst-tls3.c: Likewise.
42679         * elf/tst-tls4.c: Likewise.
42680         * elf/tst-tls5.c: Likewise.
42681         * elf/tst-tls6.c: Likewise.
42682         * elf/tst-tls7.c: Likewise.
42683         * elf/tst-tls8.c: Likewise.
42684         * elf/tst-tls9.c: Likewise.
42685         * elf/tst-tlsmod1.c: Likewise.
42686         * elf/tst-tlsmod13.c: Likewise.
42687         * elf/tst-tlsmod13a.c: Likewise.
42688         * elf/tst-tlsmod14a.c: Likewise.
42689         * elf/tst-tlsmod16a.c: Likewise.
42690         * elf/tst-tlsmod16b.c: Likewise.
42691         * elf/tst-tlsmod2.c: Likewise.
42692         * elf/tst-tlsmod3.c: Likewise.
42693         * elf/tst-tlsmod4.c: Likewise.
42694         * elf/tst-tlsmod5.c: Likewise.
42695         * elf/tst-tlsmod6.c: Likewise.
42697 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
42699         [BZ #12486]
42700         * malloc/malloc.c: remove checks for statistics.
42702 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
42704         [BZ #15277]
42705         * inet/inet_net.c (inet_network): Detect additional invalid strings.
42706         * inet/tst-network.c: Add testcase.
42708 2013-10-17  Andreas Schwab  <schwab@suse.de>
42710         [BZ #15218]
42711         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
42712         to determine canonical name.
42714 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
42716         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
42717         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
42718         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42719         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42720         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42721         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42722         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42723         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42724         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42725         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42726         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42727         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42728         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42729         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42730         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42731         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42732         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42733         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42734         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42735         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42736         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42737         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42738         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42739         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
42740         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
42741         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42742         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42743         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
42744         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42745         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
42746         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42747         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42748         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42749         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42750         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42751         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42752         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42753         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42754         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42755         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42756         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42757         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42758         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42759         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42760         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42761         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42762         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42763         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42764         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42765         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42766         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42767         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42768         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42769         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42770         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42771         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42772         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42773         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42775 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
42777         [BZ #16041]
42778         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
42779         make result into a quiet NaN.
42781 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
42783         * soft-fp/adddf3.c: Fix horizontal whitespace.
42784         * soft-fp/addsf3.c: Likewise.
42785         * soft-fp/addtf3.c: Likewise.
42786         * soft-fp/divdf3.c: Likewise.
42787         * soft-fp/divsf3.c: Likewise.
42788         * soft-fp/divtf3.c: Likewise.
42789         * soft-fp/double.h: Likewise.
42790         * soft-fp/eqdf2.c: Likewise.
42791         * soft-fp/eqsf2.c: Likewise.
42792         * soft-fp/eqtf2.c: Likewise.
42793         * soft-fp/extenddftf2.c: Likewise.
42794         * soft-fp/extended.h: Likewise.
42795         * soft-fp/extendsfdf2.c: Likewise.
42796         * soft-fp/extendsftf2.c: Likewise.
42797         * soft-fp/extendxftf2.c: Likewise.
42798         * soft-fp/fixdfdi.c: Likewise.
42799         * soft-fp/fixdfsi.c: Likewise.
42800         * soft-fp/fixdfti.c: Likewise.
42801         * soft-fp/fixsfdi.c: Likewise.
42802         * soft-fp/fixsfsi.c: Likewise.
42803         * soft-fp/fixsfti.c: Likewise.
42804         * soft-fp/fixtfdi.c: Likewise.
42805         * soft-fp/fixtfsi.c: Likewise.
42806         * soft-fp/fixtfti.c: Likewise.
42807         * soft-fp/fixunsdfdi.c: Likewise.
42808         * soft-fp/fixunsdfsi.c: Likewise.
42809         * soft-fp/fixunsdfti.c: Likewise.
42810         * soft-fp/fixunssfdi.c: Likewise.
42811         * soft-fp/fixunssfsi.c: Likewise.
42812         * soft-fp/fixunssfti.c: Likewise.
42813         * soft-fp/fixunstfdi.c: Likewise.
42814         * soft-fp/fixunstfsi.c: Likewise.
42815         * soft-fp/fixunstfti.c: Likewise.
42816         * soft-fp/floatdidf.c: Likewise.
42817         * soft-fp/floatdisf.c: Likewise.
42818         * soft-fp/floatditf.c: Likewise.
42819         * soft-fp/floatsidf.c: Likewise.
42820         * soft-fp/floatsisf.c: Likewise.
42821         * soft-fp/floatsitf.c: Likewise.
42822         * soft-fp/floattidf.c: Likewise.
42823         * soft-fp/floattisf.c: Likewise.
42824         * soft-fp/floattitf.c: Likewise.
42825         * soft-fp/floatundidf.c: Likewise.
42826         * soft-fp/floatundisf.c: Likewise.
42827         * soft-fp/floatunditf.c: Likewise.
42828         * soft-fp/floatunsidf.c: Likewise.
42829         * soft-fp/floatunsisf.c: Likewise.
42830         * soft-fp/floatunsitf.c: Likewise.
42831         * soft-fp/floatuntidf.c: Likewise.
42832         * soft-fp/floatuntisf.c: Likewise.
42833         * soft-fp/floatuntitf.c: Likewise.
42834         * soft-fp/fmadf4.c: Likewise.
42835         * soft-fp/fmasf4.c: Likewise.
42836         * soft-fp/fmatf4.c: Likewise.
42837         * soft-fp/gedf2.c: Likewise.
42838         * soft-fp/gesf2.c: Likewise.
42839         * soft-fp/getf2.c: Likewise.
42840         * soft-fp/ledf2.c: Likewise.
42841         * soft-fp/lesf2.c: Likewise.
42842         * soft-fp/letf2.c: Likewise.
42843         * soft-fp/muldf3.c: Likewise.
42844         * soft-fp/mulsf3.c: Likewise.
42845         * soft-fp/multf3.c: Likewise.
42846         * soft-fp/negdf2.c: Likewise.
42847         * soft-fp/negsf2.c: Likewise.
42848         * soft-fp/negtf2.c: Likewise.
42849         * soft-fp/op-1.h: Likewise.
42850         * soft-fp/op-2.h: Likewise.
42851         * soft-fp/op-4.h: Likewise.
42852         * soft-fp/op-8.h: Likewise.
42853         * soft-fp/op-common.h: Likewise.
42854         * soft-fp/quad.h: Likewise.
42855         * soft-fp/single.h: Likewise.
42856         * soft-fp/soft-fp.h: Likewise.
42857         * soft-fp/sqrtdf2.c: Likewise.
42858         * soft-fp/sqrtsf2.c: Likewise.
42859         * soft-fp/sqrttf2.c: Likewise.
42860         * soft-fp/subdf3.c: Likewise.
42861         * soft-fp/subsf3.c: Likewise.
42862         * soft-fp/subtf3.c: Likewise.
42863         * soft-fp/truncdfsf2.c: Likewise.
42864         * soft-fp/trunctfdf2.c: Likewise.
42865         * soft-fp/trunctfsf2.c: Likewise.
42866         * soft-fp/trunctfxf2.c: Likewise.
42867         * soft-fp/unorddf2.c: Likewise.
42868         * soft-fp/unordsf2.c: Likewise.
42869         * soft-fp/unordtf2.c: Likewise.
42871 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
42873         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
42874         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
42876 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
42878         * elf/dl-libc.c: Clear initfini list after freeing.
42880 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
42882         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
42883         * soft-fp/addsf3.c: Likewise.
42884         * soft-fp/addtf3.c: Likewise.
42885         * soft-fp/divdf3.c: Likewise.
42886         * soft-fp/divsf3.c: Likewise.
42887         * soft-fp/divtf3.c: Likewise.
42888         * soft-fp/double.h: Likewise.
42889         * soft-fp/eqdf2.c: Likewise.
42890         * soft-fp/eqsf2.c: Likewise.
42891         * soft-fp/eqtf2.c: Likewise.
42892         * soft-fp/extenddftf2.c: Likewise.
42893         * soft-fp/extended.h: Likewise.
42894         * soft-fp/extendsfdf2.c: Likewise.
42895         * soft-fp/extendsftf2.c: Likewise.
42896         * soft-fp/extendxftf2.c: Likewise.
42897         * soft-fp/fixdfdi.c: Likewise.
42898         * soft-fp/fixdfsi.c: Likewise.
42899         * soft-fp/fixdfti.c: Likewise.
42900         * soft-fp/fixsfdi.c: Likewise.
42901         * soft-fp/fixsfsi.c: Likewise.
42902         * soft-fp/fixsfti.c: Likewise.
42903         * soft-fp/fixtfdi.c: Likewise.
42904         * soft-fp/fixtfsi.c: Likewise.
42905         * soft-fp/fixtfti.c: Likewise.
42906         * soft-fp/fixunsdfdi.c: Likewise.
42907         * soft-fp/fixunsdfsi.c: Likewise.
42908         * soft-fp/fixunsdfti.c: Likewise.
42909         * soft-fp/fixunssfdi.c: Likewise.
42910         * soft-fp/fixunssfsi.c: Likewise.
42911         * soft-fp/fixunssfti.c: Likewise.
42912         * soft-fp/fixunstfdi.c: Likewise.
42913         * soft-fp/fixunstfsi.c: Likewise.
42914         * soft-fp/fixunstfti.c: Likewise.
42915         * soft-fp/floatdidf.c: Likewise.
42916         * soft-fp/floatdisf.c: Likewise.
42917         * soft-fp/floatditf.c: Likewise.
42918         * soft-fp/floatsidf.c: Likewise.
42919         * soft-fp/floatsisf.c: Likewise.
42920         * soft-fp/floatsitf.c: Likewise.
42921         * soft-fp/floattidf.c: Likewise.
42922         * soft-fp/floattisf.c: Likewise.
42923         * soft-fp/floattitf.c: Likewise.
42924         * soft-fp/floatundidf.c: Likewise.
42925         * soft-fp/floatundisf.c: Likewise.
42926         * soft-fp/floatunsidf.c: Likewise.
42927         * soft-fp/floatunsisf.c: Likewise.
42928         * soft-fp/floatuntidf.c: Likewise.
42929         * soft-fp/floatuntisf.c: Likewise.
42930         * soft-fp/floatuntitf.c: Likewise.
42931         * soft-fp/fmadf4.c: Likewise.
42932         * soft-fp/fmasf4.c: Likewise.
42933         * soft-fp/fmatf4.c: Likewise.
42934         * soft-fp/gedf2.c: Likewise.
42935         * soft-fp/gesf2.c: Likewise.
42936         * soft-fp/getf2.c: Likewise.
42937         * soft-fp/ledf2.c: Likewise.
42938         * soft-fp/lesf2.c: Likewise.
42939         * soft-fp/letf2.c: Likewise.
42940         * soft-fp/muldf3.c: Likewise.
42941         * soft-fp/mulsf3.c: Likewise.
42942         * soft-fp/multf3.c: Likewise.
42943         * soft-fp/negdf2.c: Likewise.
42944         * soft-fp/negsf2.c: Likewise.
42945         * soft-fp/negtf2.c: Likewise.
42946         * soft-fp/op-1.h: Likewise.
42947         * soft-fp/op-2.h: Likewise.
42948         * soft-fp/op-4.h: Likewise.
42949         * soft-fp/op-8.h: Likewise.
42950         * soft-fp/op-common.h: Likewise.
42951         * soft-fp/quad.h: Likewise.
42952         * soft-fp/single.h: Likewise.
42953         * soft-fp/soft-fp.h: Likewise.
42954         * soft-fp/sqrtdf2.c: Likewise.
42955         * soft-fp/sqrtsf2.c: Likewise.
42956         * soft-fp/sqrttf2.c: Likewise.
42957         * soft-fp/subdf3.c: Likewise.
42958         * soft-fp/subsf3.c: Likewise.
42959         * soft-fp/subtf3.c: Likewise.
42960         * soft-fp/truncdfsf2.c: Likewise.
42961         * soft-fp/trunctfdf2.c: Likewise.
42962         * soft-fp/trunctfsf2.c: Likewise.
42963         * soft-fp/trunctfxf2.c: Likewise.
42964         * soft-fp/unorddf2.c: Likewise.
42965         * soft-fp/unordsf2.c: Likewise.
42966         * soft-fp/unordtf2.c: Likewise.
42968 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
42970         [BZ #15672]
42971         * misc/error.c (error_tail): Fix possible buffer overflow.
42973 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
42975         [BZ #13028]
42976         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
42977         address.
42979 2013-10-14  P. J. McDermott  <pj@pehjota.net>
42981         [BZ #832]
42982         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
42983         testing pipefail option.
42985 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
42987         * soft-fp/double.h: Indent preprocessor directives inside #if.
42988         * soft-fp/extended.h: Likewise.
42989         * soft-fp/op-2.h: Likewise.
42990         * soft-fp/op-4.h: Likewise.
42991         * soft-fp/op-common.h: Likewise.
42992         * soft-fp/quad.h: Likewise.
42993         * soft-fp/single.h: Likewise.
42994         * soft-fp/soft-fp.h: Likewise.
42996 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
42998         * iconv/iconv_prog.c: Fix typos.
42999         * stdio-common/psiginfo-data.h: Likewise.
43001 2013-10-12   Reuben Thomas <rrt@sc3d.org>
43003         [BZ #15764]
43004         * locale/setlocale.c: Fix typo.
43006 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
43008         [BZ #16036]
43009         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
43010         signaling NaN arguments.
43011         * soft-fp/unordsf2.c (__unordsf2): Likewise.
43012         * soft-fp/unordtf2.c (__unordtf2): Likewise.
43014         [BZ #14910]
43015         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
43016         unordered operands.
43017         * soft-fp/gesf2.c (__gesf2): Likewise.
43018         * soft-fp/getf2.c (__getf2): Likewise.
43019         * soft-fp/ledf2.c (__ledf2): Likewise.
43020         * soft-fp/lesf2.c (__lesf2): Likewise.
43021         * soft-fp/letf2.c (__letf2): Likewise.
43023         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
43024         * soft-fp/eqsf2.c (__eqsf2): Likewise.
43025         * soft-fp/eqtf2.c (__eqtf2): Likewise.
43026         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
43027         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
43028         * soft-fp/fixdfti.c (__fixdfti): Likewise.
43029         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
43030         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
43031         * soft-fp/fixsfti.c (__fixsfti): Likewise.
43032         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
43033         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
43034         * soft-fp/fixtfti.c (__fixtfti): Likewise.
43035         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
43036         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
43037         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
43038         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
43039         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
43040         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
43041         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
43042         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
43043         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
43044         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
43045         * soft-fp/floatdisf.c (__floatdisf): Likewise.
43046         * soft-fp/floatsisf.c (__floatsisf): Likewise.
43047         * soft-fp/floattidf.c (__floattidf): Likewise.
43048         * soft-fp/floattisf.c (__floattisf): Likewise.
43049         * soft-fp/floattitf.c (__floattitf): Likewise.
43050         * soft-fp/floatundidf.c (__floatundidf): Likewise.
43051         * soft-fp/floatundisf.c (__floatundisf): Likewise.
43052         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
43053         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
43054         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
43055         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
43056         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
43057         * soft-fp/gesf2.c (__gesf2): Likewise.
43058         * soft-fp/getf2.c (__getf2): Likewise.
43059         * soft-fp/ledf2.c (__ledf2): Likewise.
43060         * soft-fp/lesf2.c (__lesf2): Likewise.
43061         * soft-fp/letf2.c (__letf2): Likewise.
43063         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
43064         Undefine and redefine.
43065         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
43066         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
43067         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
43068         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
43069         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43070         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
43071         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43072         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
43073         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43074         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
43075         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43076         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
43077         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43078         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
43079         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43081         [BZ #16032]
43082         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
43083         without decrementing exponent if mantissa >= that for the
43084         denominator, not >.
43085         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
43086         denominator, not >.  Decrement exponent in < case instead of
43087         incrementing in >= case.
43088         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
43089         without decrementing exponent if mantissa >= that for the
43090         denominator, not >.
43092         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
43093         computing saturated result for unsigned overflow.
43095 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43096             Jeff Law  <law@redhat.com>
43098         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
43099         (atan2Mp): Add systemtap probe marker.
43100         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
43101         (__ieee754_log): Add systemtap probe marker.
43102         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
43103         (atanMp): Add systemtap probe marker.
43104         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
43105         (tanMp): Add systemtap probe marker.
43106         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
43107         (__slowexp): Add systemtap probe marker.
43108         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
43109         (__slowpow): Add systemtap probe marker.
43110         * manual/probes.texi: Document probes.
43112 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
43114         [BZ #15362]
43115         * libio/fileops.c (_IO_new_file_write): Return count of bytes
43116         written.
43117         (_IO_new_file_xsputn): Don't return EOF if nothing has been
43118         written.
43119         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
43120         written to buffer but not flushed.
43121         * libio/iofwrite_u.c:  Likewise.
43122         * libio/iopadn.c:  Return bytes returned even if EOF was
43123         encountered.
43124         * libio/iowpadn.c:  Likewise.
43125         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
43126         if _IO_padn does not write the whole buffer.
43127         [!COMPILE_WPRINTF] (PAD): Likewise.
43129 2013-10-10  David S. Miller  <davem@davemloft.net>
43131         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
43132         directory block.
43134 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43136         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
43137         instead of FSF address.
43138         * soft-fp/fixdfti.c: Likewise.
43139         * soft-fp/fixsfti.c: Likewise.
43140         * soft-fp/fixtfti.c: Likewise.
43141         * soft-fp/fixunsdfti.c: Likewise.
43142         * soft-fp/fixunssfti.c: Likewise.
43143         * soft-fp/fixunstfti.c: Likewise.
43144         * soft-fp/floattidf.c: Likewise.
43145         * soft-fp/floattisf.c: Likewise.
43146         * soft-fp/floattitf.c: Likewise.
43147         * soft-fp/floatuntidf.c: Likewise.
43148         * soft-fp/floatuntisf.c: Likewise.
43149         * soft-fp/floatuntitf.c: Likewise.
43150         * soft-fp/trunctfxf2.c: Likewise.
43152         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
43153         * soft-fp/fixdfti.c: Likewise.
43154         * soft-fp/fixsfti.c: Likewise.
43155         * soft-fp/fixtfti.c: Likewise.
43156         * soft-fp/fixunsdfti.c: Likewise.
43157         * soft-fp/fixunssfti.c: Likewise.
43158         * soft-fp/fixunstfti.c: Likewise.
43159         * soft-fp/floattidf.c: Likewise.
43160         * soft-fp/floattisf.c: Likewise.
43161         * soft-fp/floattitf.c: Likewise.
43162         * soft-fp/floatuntidf.c: Likewise.
43163         * soft-fp/floatuntisf.c: Likewise.
43164         * soft-fp/floatuntitf.c: Likewise.
43165         * soft-fp/trunctfxf2.c: Likewise.
43167 2013-10-10  David S. Miller  <davem@davemloft.net>
43169         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43171 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
43173         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43174         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
43175         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
43176         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
43177         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
43178         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
43179         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
43181         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
43182         for NaNs before doing comparisons on argument.
43183         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
43184         Likewise.
43186 2013-10-10  Will Newton  <will.newton@linaro.org>
43188         * malloc/hooks.c (memalign_check): Ensure the value of bytes
43189         passed to _int_memalign does not overflow.
43191 2013-10-10  Torvald Riegel  <triegel@redhat.com>
43193         * scripts/bench.pl: Add include-sources directive.
43194         * benchtests/README: Update documentation.
43196 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43198         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
43199         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
43200         instead of FP_INIT_ROUNDMODE.
43201         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
43202         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
43204         [BZ #16034]
43205         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
43206         copy class of input value.
43207         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
43208         not handle exceptions.
43209         * soft-fp/negsf2.c (__negsf2): Likewise.
43210         * soft-fp/negtf2.c (__negtf2): Likewise.
43211         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
43213 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
43215         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
43216         semicolon.  From Linux kernel.
43218 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
43220         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
43222 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
43224         [BZ #156]
43225         * manual/socket.texi: Added statement about buffer
43226         for gethostbyname2_r.
43228 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
43230         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
43231         Use .p2align directive instead, throughout.
43232         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43233         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43234         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
43235         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43236         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43237         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
43238         * sysdeps/x86_64/strchr.S: Likewise.
43239         * sysdeps/x86_64/strrchr.S: Likewise.
43241 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43243         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
43245         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
43247         * sysdeps/generic/math_private.h (__mpsin1): Remove
43248         declaration.
43249         (__mpcos1): Likewise.
43250         (__mpsin): New argument __range_reduce.
43251         (__mpcos): Likewise.
43252         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43253         (slow): Use __mpsin and __mpcos.
43254         (slow1): Likewise.
43255         (slow2): Likewise.
43256         (sloww): Likewise.
43257         (sloww1): Likewise.
43258         (sloww2): Likewise.
43259         (bsloww): Likewise.
43260         (bsloww1): Likewise.
43261         (bsloww2): Likewise.
43262         (cslow2): Likewise.
43263         (csloww): Likewise.
43264         (csloww1): Likewise.
43265         (csloww2): Likewise.
43266         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
43267         range_reduce.  Merge in __mpsin1.
43268         (__mpcos): Likewise.
43269         (__mpsin1): Remove.
43270         (__mpcos1): Likewise.
43272 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
43274         * locale/loadlocale.c (_nl_intern_locale_data): Use
43275         LOCFILE_ALIGNED_P.
43276         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
43277         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
43278         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
43279         obstack data is appropriately aligned.
43280         (obstack_int32_grow_fast): Likewise.
43281         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
43282         * locale/programs/locfile.c (add_locale_uint32): Likewise.
43283         (add_locale_uint32_array): Likewise.
43285 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43287         * benchtests/Makefile: Remove ARGLIST and RET variables.
43288         ($(objpfx)bench-%.c): Pass only function name to the script.
43289         * benchtests/README: Update documentation.
43290         * benchtests/acos-inputs: Add new directives.
43291         * benchtests/acosh-inputs: Likewise.
43292         * benchtests/asin-inputs: Likewise.
43293         * benchtests/asinh-inputs: Likewise.
43294         * benchtests/atan-inputs: Likewise.
43295         * benchtests/atanh-inputs: Likewise.
43296         * benchtests/cos-inputs: Likewise.
43297         * benchtests/cosh-inputs: Likewise.
43298         * benchtests/exp-inputs: Likewise.
43299         * benchtests/log-inputs: Likewise.
43300         * benchtests/pow-inputs: Likewise.
43301         * benchtests/rint-inputs: Likewise.
43302         * benchtests/sin-inputs: Likewise.
43303         * benchtests/sinh-inputs: Likewise.
43304         * benchtests/tan-inputs: Likewise.
43305         * benchtests/tanh-inputs: Likewise.
43306         * scripts/bench.pl: Add support for new directives.
43308 2013-10-07  Alan Modra  <amodra@gmail.com>
43310         * README: Fix careless merge.
43312 2013-10-05  Alan Modra  <amodra@gmail.com>
43314         * NEWS: Mention powerpc64le support and bugs fixed.
43315         * README: Both big-endian and little-endian powerpc64 supported.
43317 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43319         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
43320         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
43321         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
43322         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
43324 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
43326         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
43327         match prototype.
43329 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
43331         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
43332         Move -mhard-float appending from
43333         ports/sysdeps/powerpc/powerpc32/Makefile.
43334         [$(with-fp) = yes] (ASFLAGS): Likewise.
43335         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
43336         * sysdeps/powerpc/nofpu: Move directory from
43337         ports/sysdeps/powerpc/nofpu.
43338         * sysdeps/powerpc/soft-fp: Move directory from
43339         ports/sysdeps/powerpc/soft-fp.
43340         * sysdeps/powerpc/powerpc32/405: Move directory from
43341         ports/sysdeps/powerpc/powerpc32/405.
43342         * sysdeps/powerpc/powerpc32/440: Move directory from
43343         ports/sysdeps/powerpc/powerpc32/440.
43344         * sysdeps/powerpc/powerpc32/464: Move directory from
43345         ports/sysdeps/powerpc/powerpc32/464.
43346         * sysdeps/powerpc/powerpc32/476: Move directory from
43347         ports/sysdeps/powerpc/powerpc32/476.
43348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
43349         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
43350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
43351         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
43352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
43353         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
43354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
43355         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
43356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
43357         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
43358         * README: Update for powerpc-*-linux-gnu software floating point
43359         support in libc.
43361         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
43362         case to powerpc/powerpc32*.
43363         * sysdeps/unix/sysv/linux/configure: Regenerated.
43365         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
43366         (_FPU_MASK_OM): Define as 0x04.
43367         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
43368         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
43369         0x00c10080.
43370         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
43371         0x0000003c.
43372         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
43374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
43375         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43376         getcontext_e500.
43377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
43378         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43379         setcontext_e500.
43380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
43381         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
43382         and setcontext_e500.
43384 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
43386         * locale/iso-3166.def: Update iso-1366.def and related occurrences
43388 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43390         * manual/threads.texi (Default Thread Attributes): Fix typo.
43392 2013-10-04  Will Newton  <will.newton@linaro.org>
43394         * malloc/Makefile: Add tst-memalign.
43395         * malloc/tst-memalign.c: New file.
43397         * malloc/tst-posix_memalign.c: Add comments.
43398         (do_test): Add comments and call free on all potentially
43399         allocated pointers. Add space after cast.
43401         * malloc/tst-pvalloc.c: Add comments.
43402         (do_test): Add comments and call free on all potentially
43403         allocated pointers. Remove duplicate check for NULL pointer.
43404         Add space after cast.
43406         * malloc/tst-valloc.c: Add comments.
43407         (do_test): Add comments and call free on all potentially
43408         allocated pointers. Remove duplicate check for NULL pointer.
43409         Add space after cast.
43411 2013-10-04  Alan Modra  <amodra@gmail.com>
43413         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43414         Use stdint types in rather than __attribute__((mode())).
43415         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43417 2013-10-04  Alan Modra  <amodra@gmail.com>
43419         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43420         Correct handling of unaligned relocs for little-endian.
43421         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43423 2013-10-04  Alan Modra  <amodra@gmail.com>
43425         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
43426         * configure: Regenerate.
43427         * nptl/shlib-versions: Powerpc*le starts at 2.18.
43428         * shlib-versions: Likewise.
43430 2013-10-04  Alan Modra  <amodra@gmail.com>
43432         * string/tester.c (test_memrchr): Increment reported test cycle.
43434 2013-10-04  Alan Modra  <amodra@gmail.com>
43436         * string/test-memcpy.c (do_one_test): When reporting errors, print
43437         string address and don't overrun end of string.
43439 2013-10-04  Alan Modra  <amodra@gmail.com>
43441         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
43442         insrdi.  Make better use of reg selection to speed exit slightly.
43443         Schedule entry path a little better.  Remove useless "are we done"
43444         checks on entry to main loop.  Handle wrapping around zero address.
43445         Correct main loop count.  Handle single left-over word from main
43446         loop inline rather than by using loop_small.  Remove extra word
43447         case in loop_small caused by wrong loop count.  Add little-endian
43448         support.
43449         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
43450         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
43451         cache hint.
43452         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
43453         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
43454         support.  Avoid rlwimi.
43455         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
43457 2013-10-04  Alan Modra  <amodra@gmail.com>
43459         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
43460         insrdi.  Formatting.
43461         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
43462         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43463         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
43464         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
43465         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43466         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
43468 2013-10-04  Alan Modra  <amodra@gmail.com>
43470         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
43471         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43472         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
43473         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
43474         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
43475         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
43476         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43477         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43478         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
43479         use of regs.  Use power7 mtocrf.  Tidy function tails.
43481 2013-10-04  Alan Modra  <amodra@gmail.com>
43483         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
43484         Formatting.  Consistently use rXXX register defines or rN defines.
43485         Use early exit labels that avoid restoring unused non-volatile regs.
43486         Make cr field use more consistent with rWORDn compares.  Rename
43487         regs used as shift registers for unaligned loop, using rN defines
43488         for short lifetime/multiple use regs.
43489         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
43490         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
43491         addi 1,1,64 to pop stack frame.  Simplify return value code.
43492         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43494 2013-10-04  Alan Modra  <amodra@gmail.com>
43496         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
43497         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
43498         rather than rlwimi.
43499         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
43500         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
43501         little-endian support.  Correct typos.
43502         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
43503         rather than rlwimi.
43504         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
43505         in loop and entry code to keep "and." results.
43506         (strchr): Add little-endian support.  Comment.  Move cntlzd
43507         earlier in tail.
43508         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
43510 2013-10-04  Alan Modra  <amodra@gmail.com>
43512         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
43513         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
43514         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
43515         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
43517 2013-10-04  Alan Modra  <amodra@gmail.com>
43519         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
43520         (rTMP): Define as r11.
43521         (strcmp): Add little-endian support.  Optimise tail.
43522         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
43523         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
43524         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
43525         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43526         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
43527         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43528         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43530 2013-10-04  Alan Modra  <amodra@gmail.com>
43532         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
43533         little-endian support.  Remove unnecessary "are we done" tests.
43534         Handle "s" wrapping around zero and extremely large "size".
43535         Correct main loop count.  Handle single left-over word from main
43536         loop inline rather than by using small_loop.  Correct comments.
43537         Delete "zero" tail, use "end_max" instead.
43538         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
43540 2013-10-04  Alan Modra  <amodra@gmail.com>
43542         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
43543         support.  Don't branch over align.
43544         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
43545         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
43546         support.  Rearrange tmp reg use to suit.  Comment.
43547         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
43549 2013-10-04  Alan Modra  <amodra@gmail.com>
43551         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
43553 2013-10-04  Alan Modra  <amodra@gmail.com>
43555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
43556         conditional form of branch and link when obtaining pc.
43557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
43559 2013-10-04  Alan Modra  <amodra@gmail.com>
43561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
43562         HIWORD/LOWORD.
43563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
43564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
43566 2013-10-04  Alan Modra  <amodra@gmail.com>
43568         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
43569         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
43570         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43571         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
43572         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43573         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43574         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
43575         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43576         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43577         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
43579 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43580             Alistair Popple <alistair@ozlabs.au.ibm.com>
43581             Alan Modra <amodra@gmail.com>
43583         [BZ #15723]
43584         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
43585         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
43586         _dl_hwcap access for little-endian.
43587         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
43588         destroy vmx regs when saving unaligned.
43589         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
43590         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
43591         destroy vmx regs when saving unaligned.
43593 2013-10-04  Alan Modra  <amodra@gmail.com>
43595         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
43596         Don't use a union to pack hi/low value.
43598 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43600         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
43601         for little-endian.
43602         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
43603         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
43604         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
43605         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
43606         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
43608 2013-10-04  Alan Modra  <amodra@gmail.com>
43610         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
43611         constants to usual value for .cst8 section, and remove redundant
43612         high address load.
43613         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
43614         constant for 0x1p52.  Load little-endian words of double from
43615         correct stack offsets.
43617 2013-10-04  Alan Modra  <amodra@gmail.com>
43619         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
43620         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
43621         words of double from correct stack offsets.
43622         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43623         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
43624         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
43625         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
43626         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
43627         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
43628         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
43629         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43630         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43631         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
43632         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
43633         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
43634         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43635         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43636         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43637         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
43638         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43640 2013-10-04  Alan Modra  <amodra@gmail.com>
43642         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
43643         64-bit int/double union.
43644         (_FPU_SETCW): Likewise.
43645         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
43646         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
43648 2013-10-04  Alan Modra  <amodra@gmail.com>
43650         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
43651         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
43653 2013-10-04  Alan Modra  <amodra@gmail.com>
43655         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
43656         use vector int constants.
43657         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
43659 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43661         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
43662         array with long long.
43663         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
43664         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
43665         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
43666         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
43667         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
43668         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
43669         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
43670         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
43671         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
43672         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
43673         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
43674         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
43675         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
43677 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43679         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
43680         (__signbit): Likewise.  Correct for little-endian.
43681         (__signbitl): Call __signbit.
43682         (lrint): Correct for little-endian.
43683         (lrintf): Call lrint.
43685 2013-10-04  Alan Modra  <amodra@gmail.com>
43687         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
43688         union 32-bit int array member with 64-bit int array.
43689         (t515, tm256): Double rather than long double.
43690         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
43692 2013-10-04  Alan Modra  <amodra@gmail.com>
43694         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
43695         Delete.
43696         (IEEE854_LONG_DOUBLE_BIAS): Delete.
43697         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
43698         version of math_ldbl.h.
43700 2013-10-04  Alan Modra  <amodra@gmail.com>
43702         [BZ #15734], [BZ #15735]
43703         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
43704         all uses of ieee875 long double macros and unions.  Simplify test
43705         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
43706         ldbl_extract_mantissa value for ix,iy exponents.  Properly
43707         normalize after ldbl_extract_mantissa, and don't add hidden bit
43708         already handled.  Don't treat low word of ieee854 mantissa like
43709         low word of IBM long double and mask off bit when testing for
43710         zero.
43711         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
43712         all uses of ieee875 long double macros and unions.  Simplify tests
43713         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
43714         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
43715         two1022, instead use their values.  Recognise that tests for large
43716         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
43717         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
43718         Rewrite all uses of ieee875 long double macros and unions.  Simplify
43719         test for 0.0L and nan.  Correct negation.
43720         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
43721         ieee875 long double macros and unions.  Correct output for large
43722         magnitude x.  Correct absolute value calculation.
43723         (__erfcl): Likewise.
43724         * math/libm-test.inc: Add tests for errors discovered in IBM long
43725         double versions of fmodl, remainderl, erfl and erfcl.
43727 2013-10-04  Alan Modra  <amodra@gmail.com>
43729         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
43730         all uses of ieee854 long double macros and unions.  Simplify tests
43731         for long doubles that are fully specified by the high double.
43732         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
43733         Likewise.
43734         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
43735         Remove dead code too.
43736         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
43737         (__ieee754_ynl): Likewise.
43738         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
43739         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
43740         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
43741         Remove dead code too.
43742         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
43743         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
43744         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
43745         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
43746         Simplify.
43747         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
43748         Simplify.
43749         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
43750         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
43751         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
43752         Comment on variable precision.
43753         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
43754         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43755         Likewise.
43756         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
43757         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43758         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43759         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
43760         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
43762 2013-10-04  Alan Modra  <amodra@gmail.com>
43764         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
43765         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
43766         all uses of ieee854 long double macros and unions.
43767         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
43768         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43769         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
43770         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
43771         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
43772         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43773         Likewise.
43774         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
43775         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43776         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
43777         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43778         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
43779         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
43780         Simplify sign and nan test too.
43781         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
43782         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
43783         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
43784         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
43785         Likewise.
43786         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43787         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
43788         Likewise.
43789         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43790         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
43791         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
43792         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
43793         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
43794         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
43796 2013-10-04  Alan Modra  <amodra@gmail.com>
43798         * stdio-common/printf_size.c (__printf_size): Don't use
43799         union ieee854_long_double in fpnum union.
43800         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
43801         signbit macro to retrieve sign from long double.
43802         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
43803         retrieve sign from long double.
43804         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
43805         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
43806         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
43807         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43808         * math/test-misc.c (main): Don't use union ieee854_long_double.
43810 2013-10-04  Alan Modra  <amodra@gmail.com>
43812         [BZ #15680]
43813         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
43814         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
43815         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
43816         calculation.  Remove unnecessary test for denormal exponent.
43817         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
43818         Correct handling of denormals.  Avoid undefined shift behaviour.
43819         Correct normalisation of low mantissa when low double is denormal.
43820         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
43821         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
43822         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
43823         Correct normalisation of low mantissa.  Test for overflow of high
43824         mantissa and normalise.
43825         (ldbl_nearbyint): Use more readable constant for two52.
43826         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
43827         (__mpn_construct_long_double): Fix test for overflow of high
43828         mantissa and correct normalisation.  Avoid undefined shift.
43830 2013-10-04  Alan Modra  <amodra@gmail.com>
43832         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
43833         (union ibm_extended_long_double): Define as an array of ieee754_double.
43834         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
43835         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
43836         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
43837         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43838         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43839         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
43840         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43841         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
43842         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43843         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
43844         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43846 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
43848         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
43849         page size instead of calling getpagesize.
43851         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
43852         (LOCFILE_ALIGN_MASK): Likewise.
43853         (LOCFILE_ALIGN_UP): Likewise.
43854         (LOCFILE_ALIGNED_P): Likewise.
43855         * locale/programs/ld-collate.c (collate_output): Use the new
43856         macros instead of __alignof__ (int32_t).
43857         * locale/weight.h (findidx): Likewise.
43859 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
43861         [BZ #431]
43862         * manual/string.texi: Fix strncat and wcsncat.
43864 2013-10-03  Brooks Moses  <bmoses@google.com>
43866         [BZ #15915]
43867         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
43868         * Makerules: ...here, and adjust associated comments.
43870 2013-10-02  Will Newton  <will.newton@linaro.org>
43872         * malloc/Makefile: Add tst-pvalloc.
43873         * malloc/tst-pvalloc.c: New file.
43875 2013-10-02  Will Newton  <will.newton@linaro.org>
43877         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
43878         improve test coverage.
43880 2013-10-02  Will Newton  <will.newton@linaro.org>
43882         * malloc/Makefile: Add tst-posix_memalign.
43883         * malloc/tst-posix_memalign.c: New file.
43885 2013-10-01  Eric Blake  <eblake@redhat.com>
43887         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
43888         Use __THROWNL rather than __THROW on static functions.
43890 2013-09-30  Petr Machata  <pmachata@redhat.com>
43892         * elf/elf.h (R_AARCH64_ABS16): New macro.
43893         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
43894         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
43895         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
43896         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
43897         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
43898         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
43899         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
43900         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
43901         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
43902         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
43903         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
43904         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
43905         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
43906         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
43907         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
43908         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
43909         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
43910         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
43911         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
43912         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
43913         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
43914         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
43915         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
43916         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
43917         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
43918         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
43919         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
43920         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
43921         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
43922         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
43923         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
43924         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
43925         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
43926         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
43927         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
43928         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
43929         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
43930         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
43931         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
43932         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
43933         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
43934         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
43935         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
43936         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
43937         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
43938         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
43939         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
43940         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
43941         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
43942         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
43943         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
43944         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
43945         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
43946         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
43947         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
43948         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
43949         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
43950         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
43951         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
43952         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
43953         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
43954         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
43955         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
43956         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
43957         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
43958         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
43959         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
43960         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
43961         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
43962         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
43963         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
43964         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
43965         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
43966         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
43967         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
43968         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
43969         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
43970         (R_AARCH64_TLSDESC_LDR): Likewise.
43971         (R_AARCH64_TLSDESC_ADD): Likewise.
43972         (R_AARCH64_TLSDESC_CALL): Likewise.
43974 2013-09-30  Andreas Schwab  <schwab@suse.de>
43976         [BZ #15048]
43977         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
43978         the nss database lookup.
43979         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43980         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43982 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
43984         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
43986 2013-09-28  P. J. McDermott  <pj@pehjota.net>
43988         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
43989         ${Bash-specific parameter/pattern/string} parameter expansion.
43990         * sysdeps/unix/make-syscalls.sh: Likewise.
43992 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43994         * sysdeps/sh/stackguard-macros.h: New file.
43996 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
43998         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
43999         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
44000         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
44001         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
44002         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44003         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
44005 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44007         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
44008         Fix thread ID register.
44010 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
44012         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
44013         [POSIX || UNIX98]: Require rather than permitting all symbols from
44014         <time.h>.
44015         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
44016         element of struct sched_param.
44017         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
44018         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
44019         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
44020         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
44021         constant.
44023 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
44025         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
44026         argument calculation.
44028 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44030         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
44031         Expect macro.
44032         [POSIX] (pthread_attr_t): Do not require type.
44033         [POSIX] (pthread_cond_t): Likewise.
44034         [POSIX] (pthread_condattr_t): Likewise.
44035         [POSIX] (pthread_key_t): Likewise.
44036         [POSIX] (pthread_mutex_t): Likewise.
44037         [POSIX] (pthread_mutexattr_t): Likewise.
44038         [POSIX] (pthread_once_t): Likewise.
44039         [POSIX] (pthread_t): Likewise.
44040         [POSIX-based standards] (pthread_atfork): Expect function.
44042 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44043             Richard Sandiford  <richard@codesourcery.com>
44045         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
44046         (swap_endianness_p): New extern variable.
44047         (set_big_endian): New inline function.
44048         (maybe_swap_uint32): Likewise.
44049         (maybe_swap_uint32_array): Likewise.
44050         (maybe_swap_uint32_obstack): Likewise.
44051         * locale/programs/locfile.c: Include <stdbool.h>.
44052         (swap_endianness_p): New variable.
44053         (add_locale_uint32): Call maybe_swap_uint32.
44054         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
44055         (write_locale_data): Call maybe_swap_uint32_array.
44056         * locale/programs/ld-collate.c (obstack_int32_grow): Call
44057         maybe_swap_uint32.
44058         (obstack_int32_grow_fast): Likewise.
44059         (output_weightwc): Call maybe_swap_uint32_obstack.
44060         (collate_output): Likewise.
44061         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
44062         (OPT_LITTLE_ENDIAN): Likewise.
44063         (options): Add --little-endian and --big-endian options.
44064         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
44065         * locale/programs/locarchive.c: Include "locfile.h".
44066         (GET): New macro.
44067         (SET): Likewise.
44068         (INC): Likewise.
44069         (create_archive): Use the new macros to access fields of
44070         structures directly mapped from or written to locale archives.
44071         (oldlocrecentcmp): Likewise.
44072         (enlarge_archive): Likewise.
44073         (insert_name): Likewise.
44074         (add_alias): Likewise.
44075         (add_locale): Likewise.
44076         (delete_locales_from_archive): Likewise.
44077         (show_archive_content): Likewise.
44078         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
44079         locale data.
44081 2013-09-24  Roland McGrath  <roland@hack.frob.com>
44083         * manual/freemanuals.texi: Updated from (newly) canonical copy at
44084         http://www.gnu.org/doc/freemanuals.texi.
44085         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
44087 2013-09-24  Will Newton  <will.newton@linaro.org>
44089         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
44090         macro.
44092 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
44094         * locale/hashval.h (compute_hashval): Interpret bytes of key as
44095         unsigned char.
44097 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
44099         * manual/threads.texi (POSIX Threads): Fix a typo.
44101 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44103         [BZ #14547]
44104         * string/tst-strcoll-overflow.c: New test case.
44105         * string/Makefile (xtests): Add tst-strcoll-overflow.
44106         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
44107         cache if string sizes may cause integer overflow.
44109         [BZ #14547]
44110         * string/strcoll_l.c (coll_seq): New members rule, idx,
44111         save_idx and back_us.
44112         (get_next_seq_nocache): New function.
44113         (do_compare_nocache): New function.
44114         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
44115         when malloc fails.
44117 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
44119         [BZ #15754]
44120         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
44121         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
44122         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
44124         [BZ #15754]
44125         * elf/Makefile (tests): Add tst-ptrguard1.
44126         (tests-static): Add tst-ptrguard1-static.
44127         (tst-ptrguard1-ARGS): Define.
44128         (tst-ptrguard1-static-ARGS): Define.
44129         * elf/tst-ptrguard1.c: New file.
44130         * elf/tst-ptrguard1-static.c: New file.
44131         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
44132         * sysdeps/i386/stackguard-macros.h: Likewise.
44133         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44134         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44135         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44136         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44137         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44138         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44140 2013-09-23  Hector Marco  <hecmargi@upv.es>
44141             Ismael Ripoll  <iripoll@disca.upv.es>
44142             Carlos O'Donell  <carlos@redhat.com>
44144         [BZ #15754]
44145         * sysdeps/generic/stackguard-macros.h: Define
44146         __pointer_chk_guard_local and POINTER_CHK_GUARD.
44147         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
44148         Define __pointer_chk_guard_local.
44149         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
44150         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
44152 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
44154         [BZ #15859]
44155         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
44157 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
44159         * include/string.h (__ffs): Declare as hidden.
44160         * string/ffs.c (__ffs): Define as hidden.
44161         * sysdeps/i386/ffs.c (__ffs): Likewise.
44162         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
44163         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
44164         * sysdeps/s390/ffs.c (__ffs): Likewise.
44165         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
44167 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
44169         * NEWS: Mention malloc probes.
44171         * malloc/arena.c (new_heap): New memory_heap_new probe.
44172         (grow_heap): New memory_heap_more probe.
44173         (shrink_heap): New memory_heap_less probe.
44174         (heap_trim): New memory_heap_free probe.
44175         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
44176         (systrim): New memory_sbrk_less probe.
44177         * manual/probes.texi: Document them.
44179         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
44180         * manual/probes.texi: Document it.
44182         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
44183         (__libc_realloc): Add memory_realloc_retry probe.
44184         (__libc_memalign): Add memory_memalign_retry probe.
44185         (__libc_valloc): Add memory_valloc_retry probe.
44186         (__libc_pvalloc): Add memory_pvalloc_retry probe.
44187         (__libc_calloc): Add memory_calloc_retry probe.
44188         * manual/probes.texi: Document them.
44190         * malloc/arena.c (get_free_list): Add probe
44191         memory_arena_reuse_free_list.
44192         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
44193         and memory_arena_reuse.
44194         (arena_get2) [!PER_THREAD]: Likewise.
44195         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
44196         memory_arena_reuse_realloc.
44197         * manual/probes.texi: Document them.
44199         * malloc/malloc.c (__libc_free): Add
44200         memory_mallopt_free_dyn_thresholds probe.
44201         (__libc_mallopt): Add multiple memory_mallopt probes.
44202         * manual/probes.texi: Document them.
44204         * malloc/malloc.c: Include stap-probe.h.
44205         (__libc_mallopt): Add memory_mallopt probe.
44206         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
44207         * manual/probes.texi: New.
44208         * manual/Makefile (chapters): Add probes.
44209         * manual/threads.texi: Set next node.
44211 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
44213         [BZ #15963, #13985]
44214         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
44215         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
44216         Add `Chinese' to `nan' entry name.
44218 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44220         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
44221         (POLYNOMIAL): Likewise.
44222         (TAYLOR_SINCOS): Likewise.
44223         (TAYLOR_SLOW): Likewise.
44224         (__sin): Use TAYLOR_SINCOS.
44225         (__cos): Likewise.
44226         (slow): Use TAYLOR_SLOW.
44227         (sloww): Likewise.
44228         (bsloww): Likewise.
44229         (csloww): Likewise.
44231 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44233         * stdlib/strtod_l.c: Fix buffer overrun.
44235 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44237         * benchtests/Makefile (bench): Add sincos.
44238         * benchtests/bench-sincos.c: New file.
44240         * math/libm-test.inc (cos_test_data): New test inputs.
44241         (sin_test_data): Likewise.
44243         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
44244         macro.
44245         (__sin): Use it.
44246         (__cos): Likewise.
44247         (slow1): Likewise.
44248         (slow2): Likewise.
44249         (sloww1): Likewise.
44250         (sloww2): Likewise.
44251         (bsloww1): Likewise.
44252         (bsloww2): Likewise.
44253         (cslow2): Likewise.
44254         (csloww1): Likewise.
44255         (csloww2): Likewise.
44257         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
44258         function.
44259         (__sin): Use it.
44260         (__cos): Likewise.
44262         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
44263         gotos.
44264         (__cos): Likewise.
44266 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
44268         * config.h.in (HAVE_MIPS_NAN2008): New macro.
44269         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
44270         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
44271         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
44272         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
44273         * elf/cache.c (print_entry): Handle the new cache flags.
44275 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
44276             Aldy Hernandez  <aldyh@redhat.com>
44278         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
44279         Change condition to [_SOFT_FLOAT].
44280         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
44281         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
44282         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
44283         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
44284         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
44285         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
44286         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
44287         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
44288         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
44289         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
44290         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
44291         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
44292         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
44293         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
44294         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
44295         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
44296         declaration.
44298 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
44300         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
44301         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44302         (__longjmp): Use LOAD_GP to load saved GPRs.
44303         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
44304         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44305         (__sigsetjmp): Use SAVE_GP to save GPRs.
44307         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
44308         Do not append -msoft-float.
44309         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
44311 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44313         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
44315 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
44317         [BZ #15966]
44318         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
44319         (_FPU_GETCW): Use initial "__" on variable and field names but not
44320         on macro parameter name.
44321         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
44322         parentheses around reference to macro parameter.
44324 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
44326         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
44327         prototype.
44328         (ctype_startup): Use uint32_t in cast and sizeof for
44329         ctype->charnames.
44331 2013-09-11  Jia Liu  <proljc@gmail.com>
44333         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
44334         __daddr_t_defined.
44335         [__FreeBSD__]: Likewise.
44337 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
44339         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
44340         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
44341         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
44342         (strchr): Remove __strchr_sse42 ifunc selection.
44343         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
44344         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
44346 2013-09-11  Will Newton  <will.newton@linaro.org>
44348         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
44349         parameter to RES. Remove hardcoded 1000 value.
44350         * benchtests/bench-skeleton.c (main): Pass RES parameter
44351         to TIMING_INIT and multiply result by 1000.
44353 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44355         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44357 2013-09-11  Andreas Schwab  <schwab@suse.de>
44359         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
44360         if not defined.
44361         (O_TMPFILE) [__USE_GNU]: Define.
44362         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
44363         Define.
44365 2013-09-11  Will Newton  <will.newton@linaro.org>
44367         [BZ #15857]
44368         * malloc/malloc.c (__libc_memalign): Check the value of bytes
44369         does not overflow.
44371 2013-09-11  Will Newton  <will.newton@linaro.org>
44373         [BZ #15856]
44374         * malloc/malloc.c (__libc_valloc): Check the value of bytes
44375         does not overflow.
44377 2013-09-11  Will Newton  <will.newton@linaro.org>
44379         [BZ #15855]
44380         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
44381         does not overflow.
44383 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
44385         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
44386         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44387         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44388         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44389         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44391 2013-09-10  Allan McRae  <allan@archlinux.org>
44393         [BZ #15748]
44394         * manual/arith.texi (Parsing of Floats): Clarify
44395         cross-reference.
44397         [BZ #15849]
44398         * manual/install.texi (Running make install): Mention
44399         --enable-pt-chown.
44400         * INSTALL: Regenerated.
44402 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
44404         * csu/init-first.c (_init): Remove the !SHARED condition around
44405         FPU control word initialization.
44406         * elf/dl-support.c (_dl_fpu_control): New variable.
44407         (_dl_aux_init) <AT_FPUCW>: Initialize it.
44408         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
44409         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
44410         * math/test-fpucw-static.c: New file.
44411         * math/test-fpucw-ieee.c: New file.
44412         * math/test-fpucw-ieee-static.c: New file.
44413         * math/Makefile (tests): Add `test-fpucw-ieee' and
44414         `$(tests-static)'.
44415         (tests-static): New variable.
44416         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
44417         dependency to...
44418         [($(build-shared),yes)]
44419         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
44420         ... this.
44421         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
44422         New dependency.
44424 2013-09-09  Allan McRae  <allan@archlinux.org>
44426         [BZ #15939]
44427         * manual/string.texi (Collation Functions): Fix typo in
44428         strcoll example.
44429         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
44431         [BZ #15893]
44432         * stdlib/isomac.c (get_null_defines): Fix memory leak.
44434         [BZ #15892]
44435         * libio/memstream.c (open_memstream): Fix memory leak.
44436         * libio/wmemstream.c (open_wmemstream): Likewise.
44438         [BZ #15895]
44439         * nscd/netgroupcache.c: Fix nesting of ifdefs.
44441 2013-09-09  Will Newton  <will.newton@linaro.org>
44443         * malloc/Makefile: Add tst-realloc to tests.
44444         * malloc/tst-realloc.c: New file.
44446 2013-09-09  Allan McRae  <allan@archlinux.org>
44448         [BZ #15844]
44449         * COPYING: Update from GNU website to fix FSF address.
44450         * COPYING.LIB: Likewise.
44452 2013-09-06  David S. Miller  <davem@davemloft.net>
44454         * po/zh_TW.po: Update Chinese (traditional) translation from
44455         translation project.
44457 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
44458             Joseph Myers  <joseph@codesourcery.com>
44460         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
44461         "localeinfo.h".
44462         (obstack_chunk_alloc): New macro.
44463         (obstack_chunk_free): Likewise.
44464         (record_offset): New function.
44465         (init_locale_data): Likewise.
44466         (align_locale_data): Likewise.
44467         (add_locale_empty): Likewise.
44468         (add_locale_raw_data): Likewise.
44469         (add_locale_raw_obstack): Likewise.
44470         (add_locale_string): Likewise.
44471         (add_locale_wstring): Likewise.
44472         (add_locale_uint32): Likewise.
44473         (add_locale_uint32_array): Likewise.
44474         (add_locale_char): Likewise.
44475         (start_locale_structure): Likewise.
44476         (end_locale_structure): Likewise.
44477         (start_locale_prelude): Likewise.
44478         (end_locale_prelude): Likewise.
44479         (write_locale_data): Take locale_file structure rather than an
44480         iovec.
44481         * locale/programs/locfile.h: Include "obstack.h".
44482         (struct locale_file): Change to store locale file contents instead
44483         of header.
44484         (init_locale_data): New prototype.
44485         (align_locale_data): Likewise.
44486         (add_locale_empty): Likewise.
44487         (add_locale_raw_data): Likewise.
44488         (add_locale_raw_obstack): Likewise.
44489         (add_locale_string): Likewise.
44490         (add_locale_wstring): Likewise.
44491         (add_locale_uint32): Likewise.
44492         (add_locale_uint32_array): Likewise.
44493         (add_locale_char): Likewise.
44494         (start_locale_structure): Likewise.
44495         (end_locale_structure): Likewise.
44496         (start_locale_prelude): Likewise.
44497         (end_locale_prelude): Likewise.
44498         (write_locale_data): Update prototype.
44499         * locale/programs/3level.h (struct TABLE): Remove result field.
44500         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
44501         Use new locale_file interface.
44502         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
44503         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
44504         * locale/programs/ld-address.c (address_output): Use new
44505         locale_file interface.
44506         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
44507         NO_ADD_LOCALE.
44508         (collate_finish): Don't call collseq_table_finalize.
44509         (collate_output): Use new locale_file interface.
44510         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
44511         in file.
44512         (NO_FINALIZE): Change to NO_ADD_LOCALE.
44513         (TABLE): Move defines earlier in file.
44514         (ELEMENT): Likewise.
44515         (DEFAULT): Likewise.
44516         (wctrans_table_add): Move macro and inline function earlier in
44517         file.
44518         (struct wctype_table): Move type earlier in file.
44519         (add_locale_wctype_table): New static prototype.
44520         (struct locale_ctype_t): Use logical types instead of struct iovec
44521         pointers for members.
44522         (ctype_output): Use new locale_file interface.
44523         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
44524         new locale_file interface.
44525         (allocate_arrays): Update for use of new locale_file interface.
44526         * locale/programs/ld-identification.c (identification_output): Use
44527         new locale_file interface.
44528         * locale/programs/ld-measurement.c (measurement_output): Likewise.
44529         * locale/programs/ld-messages.c (messages_output): Likewise.
44530         * locale/programs/ld-monetary.c (monetary_output): Likewise.
44531         * locale/programs/ld-name.c (name_output): Likewise.
44532         * locale/programs/ld-numeric.c (numeric_output): Likewise.
44533         * locale/programs/ld-paper.c (paper_output): Likewise.
44534         * locale/programs/ld-telephone.c (telephone_output): Likewise.
44535         * locale/programs/ld-time.c (time_output): Likewise.
44537 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44539         * benchtests/Makefile: Add memrchr benchmark.
44540         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
44541         benchmark as memrchr.
44542         * benchtests/bench-memrchr-ifunc.c: New file.
44543         * benchtests/bench-memrchr.c: New file.
44545 2013-09-06   Will Newton  <will.newton@linaro.org>
44547         * benchtests/Makefile (string-bench): Add memcpy.
44549 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
44550             Cong Wang  <amwang@redhat.com>
44552         [BZ #15850]
44553         * sysdeps/unix/sysv/linux/bits/in.h
44554         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
44555         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
44556         before __USE_KERNEL_IPV6_DEFS uses.
44557         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
44558         IPPROTO_BEETPH.
44559         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
44560         sockaddr_in6, or ipv6_mreq.
44562 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44564         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
44565         memory access for final bytes in some large inputs.
44566         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
44568 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44570         * string/test-memrchr.c: New file.
44571         * string/test-memrchr-ifunc.c: New file.
44572         * string/Makefile: Add new memrchr testcase.
44574 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
44576         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
44577         fanotify_init returns EPERM.
44579 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
44581         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
44582         errors.
44583         (top level): Treat second token from macro or constant entries for
44584         allowed headers as allowed.
44585         * include/complex.h: Condition internal declarations on
44586         [!_ISOMAC].
44587         * include/fenv.h: Condition include of <stdbool.h> and internal
44588         declarations on [!_ISOMAC].
44590 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
44592         [BZ #15923]
44593         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
44595 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
44597         * configure.in (--enable-versioning): Remove configure option.
44598         (libc_cv_asm_symver_directive): Remove configure test.
44599         (libc_cv_ld_version_script_option): Likewise.
44600         (VERSIONING): Remove variable and AC_SUBST.
44601         (DO_VERSIONING): Remove AC_DEFINE.
44602         * configure: Regenerated.
44603         * config.h.in (DO_VERSIONING): Remove macro.
44604         * Makerules [$(versioning) = yes]: Change conditionals to
44605         [$(build-shared) = yes].
44606         * config.make.in (versioning): Remove variable.
44607         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
44608         [$(build-shared) = yes].
44609         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
44610         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
44611         * elf/Makefile [$(versioning) = yes]: Change conditionals to
44612         [$(build-shared) = yes].
44613         * extra-lib.mk [$(versioning) = yes]: Likewise.
44614         * hurd/Makefile [$(versioning) = yes]: Likewise.
44615         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
44616         [SHARED].
44617         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
44618         [SHARED].
44619         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
44620         [SHARED && !NO_HIDDEN].
44621         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
44622         [SHARED].
44623         [SHARED && DO_VERSIONING]: Likewise..
44624         * libio/Makefile [$(versioning) = yes]: Change conditionals to
44625         [$(build-shared) = yes].
44626         * manual/install.texi (--disable-versioning): Remove
44627         documentation.
44628         * INSTALL: Regenerated.
44629         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
44630         to [SHARED].
44631         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
44632         [$(build-shared) = yes].
44633         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
44634         * sysdeps/i386/i686/multiarch/strstr-c.c
44635         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
44636         [SHARED && !NO_HIDDEN].
44637         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
44638         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
44639         * sysdeps/powerpc/powerpc32/dl-machine.c
44640         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
44641         * sysdeps/powerpc/powerpc32/sysdep.h
44642         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
44643         to [SHARED && PIC && !NO_HIDDEN].
44644         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
44645         conditional to [SHARED].
44647 2013-09-04   Will Newton  <will.newton@linaro.org>
44649         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
44650         * benchtests/bench-string.h: Include bench-timing.h instead
44651         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
44652         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
44653         call to HP_TIMING_DIFF_INIT.
44654         * benchtests/bench-memccpy.c: Use bench-timing.h macros
44655         instead of hp-timing.h macros.
44656         * benchtests/bench-memchr.c: Likewise.
44657         * benchtests/bench-memcmp.c: Likewise.
44658         * benchtests/bench-memcpy.c: Likewise.
44659         * benchtests/bench-memmem.c: Likewise.
44660         * benchtests/bench-memmove.c: Likewise.
44661         * benchtests/bench-memset.c: Likewise.
44662         * benchtests/bench-rawmemchr.c: Likewise.
44663         * benchtests/bench-strcasecmp.c: Likewise.
44664         * benchtests/bench-strcasestr.c: Likewise.
44665         * benchtests/bench-strcat.c: Likewise.
44666         * benchtests/bench-strchr.c: Likewise.
44667         * benchtests/bench-strcmp.c: Likewise.
44668         * benchtests/bench-strcpy.c: Likewise.
44669         * benchtests/bench-strcpy_chk.c: Likewise.
44670         * benchtests/bench-strlen.c: Likewise.
44671         * benchtests/bench-strncasecmp.c: Likewise.
44672         * benchtests/bench-strncat.c: Likewise.
44673         * benchtests/bench-strncmp.c: Likewise.
44674         * benchtests/bench-strncpy.c: Likewise.
44675         * benchtests/bench-strnlen.c: Likewise.
44676         * benchtests/bench-strpbrk.c: Likewise.
44677         * benchtests/bench-strrchr.c: Likewise.
44678         * benchtests/bench-strspn.c: Likewise.
44679         * benchtests/bench-strstr.c: Likewise.
44681 2013-09-04  Will Newton  <will.newton@linaro.org>
44683         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
44685 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
44687         [BZ #15427]
44688         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
44689         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
44690         * math/libm-test.inc (lgamma_test_data): Add more tests.
44691         * sysdeps/i386/fpu/libm-test-ulps: Update.
44692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44694 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
44696         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
44697         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44698         Add ifunc.
44699         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44700         Add strcmp-sse2-unaligned
44701         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
44703 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
44705         * Versions.def (libc): Add GLIBC_2.19.
44707 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
44709         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
44710         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
44712 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
44714         [BZ #14155]
44715         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
44716         intermediate calculations in recurrence.
44717         (__ieee754_ynf): Likewise.
44718         * math/libm-test.inc (jn_test_data): Do not allow spurious
44719         underflow exception.  Add more tests.
44720         (yn_test_data): Add more tests.
44721         * sysdeps/i386/fpu/libm-test-ulps: Update.
44722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44724 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
44726         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
44728 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
44730         * csu/init-first.c: Fix then/than typos.
44731         * locale/programs/ld-collate.c: Likewise.
44732         * locale/programs/linereader.h: Likewise.
44733         * manual/charset.texi: Likewise.
44734         * manual/filesys.texi: Likewise.
44735         * manual/stdio.texi: Likewise.
44736         * manual/string.texi: Likewise.
44737         * stdlib/fmtmsg.c: Likewise.
44738         * sysdeps/i386/stpncpy.S: Likewise.
44739         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44740         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44741         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44742         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44744 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
44746         * elf/dl-open.c: Fix typos.
44747         * iconvdata/gbbig5.c: Likewise.
44748         * iconvdata/iso-2022-jp.c: Likewise.
44749         * iconv/gconv_int.h: Likewise.
44750         * iconv/loop.c: Likewise.
44751         * nis/rpcsvc/nis.h: Likewise.
44752         * resolv/ns_name.c: Likewise.
44753         * stdio-common/vfscanf.c: Likewise.
44754         * streams/stropts.h: Likewise.
44755         * sunrpc/rpc_thread.c: Likewise.
44756         * sysdeps/i386/strpbrk.S: Likewise.
44757         * sysdeps/ieee754/k_standard.c: Likewise.
44758         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44759         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44760         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
44761         * sysdeps/mach/hurd/profil.c: Likewise.
44762         * sysdeps/s390/dl-procinfo.h: Likewise.
44763         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
44764         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
44765         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
44766         * sysdeps/x86_64/dl-trampoline.S: Likewise.
44767         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44769 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
44771         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
44772         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
44774 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
44776         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
44777         aix specific files.
44778         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
44779         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
44780         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
44781         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
44782         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
44783         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
44784         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
44785         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
44787 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
44788             Roland McGrath  <roland@hack.frob.com>
44790         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
44791         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
44793 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44795         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
44796         __executable_start symbol instead of _start.
44798 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
44800         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
44801         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
44802         Move macros to...
44803         * sysdeps/gnu/ldsodefs.h: ... this new file.
44805         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
44806         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
44807         instead of ELFOSABI_LINUX.
44809         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
44810         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
44811         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
44812         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
44813         Likewise.
44814         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
44815         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
44816         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
44817         Likewise.
44818         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44819         (ibm_extended_long_double): Add ieee_nan member.
44820         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
44821         (do_test): New function.
44823         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
44824         TEST_TRUNC.
44825         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
44826         functions, renamed from truncdfsf_test, trunctfsf_test,
44827         trunctfdf_test.
44828         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
44829         functions.
44830         (do_test): Run all these.
44832 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
44834         * argp/argp-help.c: Fix typos.
44835         * argp/argp-parse.c: Likewise.
44836         * debug/backtracesyms.c: Likewise.
44837         * elf/elf.h: Likewise.
44838         * malloc/malloc.c: Likewise.
44839         * nis/nis_print.c: Likewise.
44840         * resolv/res_comp.c: Likewise.
44841         * stdlib/stdlib.h: Likewise.
44842         * sunrpc/clnt_tcp.c: Likewise.
44843         * sunrpc/clnt_udp.c: Likewise.
44844         * sunrpc/clnt_unix.c: Likewise.
44845         * sysdeps/unix/bsd/ptsname.c: Likewise.
44846         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
44847         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
44848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
44849         Likewise.
44850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
44851         Likewise.
44852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
44853         Likewise.
44854         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44856 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44858         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
44859         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44861 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
44863         [BZ #15897]
44864         * dlfcn/Makefile (tests): Add bug-dl-leaf.
44865         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
44866         ($(objpfx)bug-dl-leaf): New rule.
44867         ($(objpfx)bug-dl-leaf.so): Likewise.
44868         ($(objpfx)bug-dl-leaf.out): Likewise.
44869         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
44870         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
44871         * dlfcn/bug-dl-leaf.c: New test.
44872         * dlfcn/bug-dl-leaf-lib.c: Likewise.
44873         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
44874         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
44875         (dlclose): Likewise.
44876         (dlmopen): Likewise.
44878 2013-08-27  Roland McGrath  <roland@hack.frob.com>
44880         * include/netdb.h [!_ISOMAC]:
44881         Don't include <tls.h>.
44882         (h_errno, __libc_h_errno): Move declaration and macros out of
44883         [_LIBC_REENTRANT].
44885         * include/resolv.h [_RESOLV_H_]:
44886         Don't include <tls.h>.
44887         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
44888         * resolv/res_libc.c: Don't include <tls.h>.
44889         (_res): Use __attribute__ ((nocommon)) in place of
44890         __attribute__ ((section (".bss"))).
44892         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
44893         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
44895         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
44897         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
44898         only under [SIOCGIFCONF && SIOCGIFNETMASK].
44900         * resolv/res_mkquery.c: Include <sys/time.h>.
44902         * inet/ifreq.c: Moved to ...
44903         * sysdeps/unix/ifreq.c: ... here.
44904         * inet/ifreq.c: New file, true stub version.
44906         * socket/sa_len.c: New file.
44907         * socket/Makefile (aux): Add it.
44908         * sysdeps/unix/sysv/linux/Makefile
44909         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
44910         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
44911         and #include <socket/sa_len.c>.
44912         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
44913         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
44915         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
44916         * bits/socket.h: ... here.
44918         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
44919         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
44920         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
44922 2013-08-27  Andreas Schwab  <schwab@suse.de>
44924         [BZ #15736]
44925         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
44926         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
44927         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
44928         * string/test-strcasecmp.c (test_main): Run tests in several
44929         locales.
44930         * string/test-strncasecmp.c (test_main): Likewise.
44932         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
44933         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
44934         to __strcasecmp_nonascii and __strncasecmp_nonascii.
44935         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
44936         (__strncasecmp_ssse3) [PIC]: Likewise.
44938 2013-08-26  Roland McGrath  <roland@hack.frob.com>
44940         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
44942         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
44943         instead of explicitly declaring xdecrypt.
44944         * nis/nss_nis/nis-publickey.c: Likewise.
44946 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44948         [BZ #15890]
44949         * nscd/aicache.c: Include res_hconf.h.
44950         (addhstaiX): Initialize res_hconf.
44952 2013-08-26  Andreas Schwab  <schwab@suse.de>
44954         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
44955         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
44957 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44959         * nscd/aicache.c (addhstaiX): Fix indentation.
44961 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
44963         * configure.ac: Quote $build_pt_chown test.
44964         * configure: Regenerated.
44966 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
44968         [BZ #15532]
44969         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
44970         * math/s_cexpf.c (__cexpf): Likewise.
44971         * math/s_cexpl.c (__cexpl): Likewise.
44972         * math/libm-test.inc (cexp_test_data): Correct expected return
44973         value for NaN + i0.  Add another test.
44975 2013-08-22  David S. Miller  <davem@davemloft.net>
44977         * po/ca.po: Update Catalan translation from translation project.
44978         * po/uk.po: Add Ukrainian translations from translation project.
44980 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
44982         [BZ #15797]
44983         * math/s_fdim.c (__fdim): Check for infinite arguments if result
44984         is infinite, not alongside NaN test.
44985         * math/s_fdimf.c (__fdimf): Likewise.
44986         * math/s_fdiml.c (__fdiml): Likewise.
44987         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
44988         errno is unchanged.
44990 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
44992         * argp/argp-help.c: Fix typos.
44993         * crypt/speeds.c: Likewise.
44994         * csu/check_fds.c: Likewise.
44995         * elf/dl-load.c: Likewise.
44996         * elf/dl-open.c: Likewise.
44997         * elf/reldep3.c: Likewise.
44998         * elf/reldep.c: Likewise.
44999         * elf/sprof.c: Likewise.
45000         * iconv/iconv_charmap.c: Likewise.
45001         * iconv/skeleton.c: Likewise.
45002         * iconv/strtab.c: Likewise.
45003         * io/lockf64.c: Likewise.
45004         * libio/libioP.h: Likewise.
45005         * resolv/gai_notify.c: Likewise.
45006         * resolv/ns_name.c: Likewise.
45007         * resolv/ns_samedomain.c: Likewise.
45008         * resolv/res_send.c: Likewise.
45009         * stdlib/random.c: Likewise.
45010         * sunrpc/rpc/xdr.h: Likewise.
45011         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
45012         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45013         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45014         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45015         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45016         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45017         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45018         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45019         * sysdeps/mach/hurd/check_fds.c: Likewise.
45020         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
45021         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45022         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45023         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
45024         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45025         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
45026         * sysdeps/pthread/aio_notify.c: Likewise.
45027         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
45028         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
45029         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
45030         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45031         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45033 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45035         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
45036         version if bit_Slow_SSE4_2 is set.
45037         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45038         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45040 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45042         [BZ #15867]
45043         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
45044         trampoline stack frame information.
45045         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
45046         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
45047         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
45048         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
45049         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
45050         * sysdeps/unix/sysv/linux/powerpc/init-first.c
45051         (_libc_vdso_platform_setup): Initialize the signal trampolines.
45052         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
45053         sa_flags value.
45054         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
45055         interrupting a syscall and set with option SA_SIGINFO.
45057 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45059         [BZ #15531]
45060         * math/s_cproj.c (__cproj): Only return an infinity if one part of
45061         argument is infinite.
45062         * math/s_cprojf.c (__cprojf): Likewise.
45063         * math/s_cprojl.c (__cprojl): Likewise.
45064         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
45065         * math/libm-test.inc (cproj_test_data): Add more tests.
45067         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
45069         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
45070         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
45071         size.  Use __ffs to determine corresponding shift.
45073 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45074             Roland McGrath  <roland@hack.frob.com>
45076         * Makefile (INSTALL): Remove trailing blank lines from output of
45077         makeinfo.
45079 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45081         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
45082         Align 32 bit compat elf_greg to 8 bytes.
45084 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
45086         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
45088 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45090         * string/strcoll_l.c (coll_seq): New structure.
45091         (get_next_seq_cached): New function.
45092         (get_next_seq): New function.
45093         (do_compare): New function.
45094         (STRCOLL): Use GNU style definition.  Simplify implementation
45095         by using get_next_seq, get_next_seq_cached and do_compare.
45097 2013-08-16  Florian Weimer  <fweimer@redhat.com>
45099         [BZ #14699]
45100         CVE-2013-4237
45101         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
45102         member.
45103         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
45104         member.
45105         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
45106         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
45107         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
45108         conditional.
45109         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
45110         GETDENTS_64BIT_ALIGNED.
45111         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45112         * manual/filesys.texi (Reading/Closing Directory): Document
45113         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
45114         strongly.
45115         * manual/conf.texi (Limits for Files): Add portability note to
45116         NAME_MAX, PATH_MAX.
45117         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
45119 2013-08-13  Andreas Schwab  <schwab@suse.de>
45121         [BZ #15749]
45122         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
45123         of fabs.
45124         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
45125         LDBL_MAX_EXP >= 16384]: Add tests for it.
45127 2013-08-12  David S. Miller  <davem@davemloft.net>
45129         * version.h (RELEASE): Set to "development".
45130         (VERSION): Set to "2.18.90".
45131         * NEWS: Add 2.19 section.
45133 2013-08-03  David S. Miller  <davem@davemloft.net>
45135         * po/ko.po: Update Korean translation from translation project.
45137 2013-08-01  David S. Miller  <davem@davemloft.net>
45139         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
45140         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
45141         Bilka.
45143 2013-07-30  David S. Miller  <davem@davemloft.net>
45145         * po/fr.po: Update French translation from translation project.
45147 2013-07-28  David S. Miller  <davem@davemloft.net>
45149         * po/cs.po: Update Czech translation from translation project.
45151         * po/sv.po: Update Swedish translation from translation project.
45153 2013-07-27  David S. Miller  <davem@davemloft.net>
45155         * po/eo.po: Update Esperanto translation from translation project.
45157         * po/vi.po: Update Vietnamese translation from translation project.
45159         * po/de.po: Update German translation from translation project.
45161 2013-07-26  David S. Miller  <davem@davemloft.net>
45163         * po/bg.po: Update Bulgarian translation from translation project.
45165         * po/nl.po: Update Dutch translation from translation project.
45166         * po/pl.po: Update Polish translation from translation project.
45167         * po/ru.po: Update Russian translation from translation project.
45169 2013-07-24  David S. Miller  <davem@davemloft.net>
45171         * po/libc.pot: Update.
45173 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45175         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
45176         variable page size.
45177         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
45178         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
45179         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
45181 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45183         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
45185 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45186             Andreas Schwab  <schwab@suse.de>
45187             Roland McGrath  <roland@hack.frob.com>
45188             Joseph Myers  <joseph@codesourcery.com>
45189             Carlos O'Donell  <carlos@redhat.com>
45191         [BZ #15755]
45192         * config.h.in: Define HAVE_PT_CHOWN.
45193         * config.make.in (build-pt-chown): New variable.
45194         * configure.in (--enable-pt_chown): New configure option.
45195         * configure: Regenerate.
45196         * login/Makefile: Include Makeconfig.  Build pt_chown only if
45197         build-pt-chown is enabled.
45198         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
45199         pt_chown to fix pty ownership.
45200         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
45201         CLOSE_ALL_FDS.
45202         * manual/install.texi (Configuring and compiling): Mention
45203         --enable-pt_chown. Add @findex for grantpt.
45204         * INSTALL: Regenerate.
45206 2013-07-20  David S. Miller  <davem@davemloft.net>
45208         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
45209         difference between 32-bit and 64-bit.
45211 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
45213         [BZ #15711]
45214         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
45215         Avoid system header dependency with -ffreestanding.
45216         ($(objpfx)bits/syscall%d): Likewise.
45218 2013-07-13  David S. Miller  <davem@davemloft.net>
45220         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
45221         underflows from atanl/atan2l due to bug 15319.
45222         (casinh_test_data): Likewise.
45224 2013-07-07  David S. Miller  <davem@davemloft.net>
45226         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
45228 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
45230         * sysdeps/i386/fpu/libm-test-ulps: Update.
45231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45233 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45235         * configure.in (--enable-lock-elision): Fix message text.
45236         * INSTALL: Regenerate.
45237         * configure: Regenerate.
45239 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45241         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45243 2013-07-03  Andreas Jaeger  <aj@suse.de>
45245         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
45246         define.
45247         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
45248         (ptrace_peeksiginfo_args): Add.
45249         (__ptrace_peeksiginfo_flags): Add.
45250         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45251         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45252         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45254 2013-07-03  Allan McRae  <allan@archlinux.org>
45256         * sysdeps/i386/fpu/libm-test-ulps: Update.
45258 2013-07-02  David S. Miller  <davem@davemloft.net>
45260         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45262 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
45264         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45266 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45268         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45271 2013-07-02  Andi Kleen <ak@linux.intel.com>
45273         * config.h.in (ENABLE_LOCK_ELISION): Add.
45274         * configure.in (--enable-lock-elision): Add option.
45275         * manual/install.texi: Document --enable lock elision.
45276         * configure: Regenerate
45277         * INSTALL: Regenerate.
45279 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
45281         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
45282         SSE4.2 strcasecmp for libc.a.
45283         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45285 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45287         [BZ #13304]
45288         * soft-fp/op-common.h (_FP_FMA): New macro.
45289         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
45290         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
45291         (_FP_MUL_MEAT_1_imm): ... here.
45292         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
45293         (_FP_MUL_MEAT_1_wide): ... here.
45294         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
45295         (_FP_MUL_MEAT_1_hard): ... here.
45296         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
45297         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
45298         (_FP_MUL_MEAT_2_wide): ... here.
45299         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
45300         (_FP_MUL_MEAT_2_wide_3mul): ... here.
45301         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
45302         (_FP_MUL_MEAT_2_gmp): ... here.
45303         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
45304         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
45305         (_FP_MUL_MEAT_4_wide): ... here.
45306         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
45307         (_FP_MUL_MEAT_4_gmp): ... here.
45308         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
45309         (_FP_WFRACBITS_DW_S): Likewise.
45310         (_FP_WFRACXBITS_DW_S): Likewise.
45311         (_FP_HIGHBIT_DW_S): Likewise.
45312         (FP_FMA_S): Likewise.
45313         (_FP_FRAC_HIGH_DW_S): Likewise.
45314         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
45315         (_FP_WFRACBITS_DW_D): Likewise.
45316         (_FP_WFRACXBITS_DW_D): Likewise.
45317         (_FP_HIGHBIT_DW_D): Likewise.
45318         (FP_FMA_D): Likewise.
45319         (_FP_FRAC_HIGH_DW_D): Likewise.
45320         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
45321         (_FP_WFRACBITS_DW_E): Likewise.
45322         (_FP_WFRACXBITS_DW_E): Likewise.
45323         (_FP_HIGHBIT_DW_E): Likewise.
45324         (FP_FMA_E): Likewise.
45325         (_FP_FRAC_HIGH_DW_E): Likewise.
45326         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
45327         (_FP_WFRACBITS_DW_Q): Likewise.
45328         (_FP_WFRACXBITS_DW_Q): Likewise.
45329         (_FP_HIGHBIT_DW_Q): Likewise.
45330         (FP_FMA_Q): Likewise.
45331         (_FP_FRAC_HIGH_DW_Q): Likewise.
45332         * soft-fp/fmasf4.c: New file.
45333         * soft-fp/fmadf4.c: Likewise.
45334         * soft-fp/fmatf4.c: Likewise.
45336 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45338         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45339         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
45340         Silvermont.
45341         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
45342         macro.
45343         (index_Slow_SSE4_2): Likewise.
45344         (index_Prefer_PMINUB_for_stringop): Likewise.
45345         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
45346         bit_Slow_SSE4_2 is set.
45347         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45348         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45350 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45352         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
45353         rtld_global._dl_hwcap2.
45354         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
45355         POWER8.
45356         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
45357         POWER8 feature descriptions defined in _dl_hwcap2.
45358         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
45359         string handling for POWER8 feature bits.
45360         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
45361         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
45362         _dl_powerpc_cap_flags.
45363         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
45364         * sysdeps/powerpc/rtld-global-offsets.sym
45365         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
45366         _dl_hwcap2 in the rtld_global_ro structure.
45368 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45370         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
45371         hardware capabilities in support of AT_HWCAP2.
45372         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
45373         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
45374         GLRO(dl_hwcap2).
45375         (_dl_show_auxv): Add support for calling _dl_procinfo to display
45376         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
45377         explicitly the unknown a_type display mechanism is used.
45378         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
45379         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
45380         struct member.
45381         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
45382         to macro prototype for AT_HWCAP2 support.
45383         * sysdeps/i386/dl-procinfo.h: Likewise.
45384         * sysdeps/s390/dl-procinfo.h: Likewise.
45385         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
45386         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
45387         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
45388         return -1 for unknown a_type display fallback.
45389         * sysdeps/sparc/dl-procinfo.h: Likewise.
45390         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
45391         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
45393 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
45395         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
45396         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
45398 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
45400         [BZ #12492]
45401         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
45402         mprotect making __stack_prot writable.
45404 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
45405             Joseph Myers  <joseph@codesourcery.com>
45407         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
45408         as being properly aligned.
45410 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
45412         * dlfcn/modstatic5.c: New file.
45413         * dlfcn/tststatic5.c: New file.
45414         * dlfcn/Makefile (tests): Add tststatic5.
45415         (tests-static): Likewise.
45416         (modules-names): Add modstatic5.
45417         (tststatic5-ENV): New variable.
45418         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
45420         [BZ #15022]
45421         * elf/dl-support.c (_dl_main_map): New variable.
45422         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
45423         (_dl_nns, _dl_load_adds): Set to 1.
45424         (_dl_initial_searchlist): Refer to _dl_main_map.
45425         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
45426         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
45427         call to _dl_get_origin.
45428         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
45429         around call_map.
45430         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
45431         * dlfcn/modstatic3.c: New file.
45432         * dlfcn/tststatic3.c: New file.
45433         * dlfcn/tststatic4.c: New file.
45434         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
45435         (tests-static): Likewise.
45436         (modules-names): Add modstatic3.
45437         (tststatic3-ENV, tststatic4-ENV): New variables.
45438         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
45439         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
45441 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
45443         * configure.in (CC): Require GCC version 4.4 or later.
45444         * configure: Regenerated.
45445         * manual/install.texi (Tools for Compilation): Update GCC version
45446         requirement.
45447         * INSTALL: Regenerated.
45449 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45451         [BZ #15674]
45452         * string/test-memcmp.c (check2): New.
45453         (main): Call check2.
45455         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
45457 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
45459         [BZ #15022]
45460         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
45461         over to...
45462         (dl_open_worker) [!SHARED]: ... here.
45464 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45466         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
45468 2013-06-25  Richard Henderson  <rth@redhat.com>
45470         * locale/programs/locarchive.c: Include <libc-internal.h>
45472 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
45474         * manual/texinfo.tex: Update to version 2013-06-21.17, with
45475         trailing whitespace removed.
45477 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
45479         [BZ #10283]
45480         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
45481         * locale/programs/locarchive.c: Include libc-mmap.h.
45482         (prepare_address_space): Take two new outputs (the mmap base and len).
45483         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
45484         values.
45485         (create_archive): Declare new mmap base and len values for
45486         prepare_address_space, and store the result in ah.
45487         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
45488         (enlarge_archive): If ah->mmap_base is not NULL, use that and
45489         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45490         Declare new mmap base and len values for
45491         prepare_address_space, and store the result in new_ah.
45492         (open_archive): Declare new mmap base and len values for
45493         prepare_address_space, and store the result in ah.
45494         (close_archive): If ah->mmap_base is not NULL, use that and
45495         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45496         * sysdeps/generic/libc-mmap.h: New file.
45498 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
45500         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
45501         (ALIGN_UP): Likewise.
45502         (PTR_ALIGN_DOWN): Likewise.
45503         (PTR_ALIGN_UP): Likewise.
45505 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45507         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
45508         entry mapped to PPC_PLATFORM_POWER8.
45509         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
45510         POWER8.
45511         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
45512         (_dl_string_platform): Add case for exporting platform position for
45513         POWER8.
45514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
45515         search path to sysdeps/powerpc/powerpc32/power8 directory.
45516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
45517         search path to sysdeps/powerpc/powerpc64/power8 directory.
45518         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
45519         power7 directories.
45520         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
45521         power7 directories.
45523 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45525         * INSTALL: Regenerate.
45527         * nscd/connections.c (nscd_init): Fix comment.
45529 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
45531         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
45533         [BZ #15667]
45534         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
45535         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
45537 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
45539         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
45540         DL_DST_REQ_STATIC.
45541         (DL_DST_REQ_STATIC): Remove macro.
45543 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
45545         [BZ #7006]
45546         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
45547         with a shift of 0 bits.
45549 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
45551         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
45552         $(tststatic-ENV).
45554 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45556         [BZ #15655]
45557         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
45559 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45561         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
45562         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
45563         accepts -fno-tree-loop-distribute-patterns.
45564         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
45565         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
45566         recursive call.
45567         * string/memset.c (memset): Likewise.
45568         * string/test-memmove.c (simple_memmove): Disable loop transformation
45569         to library calls.
45570         * string/test-memset.c (simple_memset): Likewise.
45571         * benchtests/bench-memmove.c (simple_memmove): Likewise.
45572         * benchtests/bench-memset.c (simple_memset): Likewise.
45573         * configure: Regenerated.
45575 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
45577         * math/test-misc.c (main): Ignore fesetround failure when failures
45578         of subsequent rounding tests would be ignored.
45580         [BZ #15654]
45581         * math/fedisblxcpt.c (fedisableexcept): Return 0.
45582         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
45583         * math/fegetenv.c (__fegetenv): Return 0.
45584         * math/fegetexcept.c (fegetexcept): Return 0.
45585         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
45586         FE_TONEAREST.
45587         * math/feholdexcpt.c (feholdexcept): Return 0.
45588         * math/fesetenv.c (__fesetenv): Return 0.
45589         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
45590         argument FE_TONEAREST.
45591         * math/feupdateenv.c (__feupdateenv): Return 0.
45592         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
45594 2013-06-18  Roland McGrath  <roland@hack.frob.com>
45596         * elf/rtld-Rules (rtld-compile-command.S): New variable.
45597         (rtld-compile-command.s, rtld-compile-command.c): New variables.
45598         ($(objpfx)rtld-%.os rules): Use them.
45600 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45602         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
45603         fields.
45605 2013-06-17  Roland McGrath  <roland@hack.frob.com>
45607         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
45608         length of target pattern, then descending length of dependency pattern.
45609         * configure.in (AWK): Require gawk 3.1.2 or newer.
45610         * manual/install.texi (Tools for Compilation): Say that we do.
45611         * configure: Regenerated.
45613         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
45614         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
45615         * scripts/sysd-rules.awk: ... this new script.
45616         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
45617         than a glob-style pattern.
45619 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
45621         * math/test-misc.c (main): Do not treat incorrectly rounded
45622         conversions as failure unless ROUNDING_TESTS passes.
45624 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
45626         [BZ #15631]
45627         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
45628         restore exception state around main square root computation, then
45629         check for inexactness explicitly.
45631         * math/libm-test.inc (fma_test_data): Add another test.
45633 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45635         * manual/threads.texi (Non-POSIX Extensions): New document
45636         node.  Document pthread_getattr_default_np and
45637         pthread_setattr_default_np.
45639         * Versions.def (libpthread): Add GLIBC_2.18.
45640         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
45641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45642         Likewise.
45643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45644         Likewise.
45645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45646         Likewise.
45647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45648         Likewise.
45649         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
45650         Likewise.
45651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45652         Likewise.
45653         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45654         Likewise.
45655         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45656         Likewise.
45657         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45658         Likewise.
45660 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45662         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45663         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
45665 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45666             H.J. Lu  <hjl.tools@gmail.com>
45668         [BZ #15627]
45669         * sysdeps/x86_64/rtld-memset.c: Remove file.
45670         * sysdeps/x86_64/rtld-memset.S: New file.
45672 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
45674         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
45675         (test_in_one_mode): Take arguments for whether the rounding mode
45676         is supported for each floating-point type.
45677         (do_test): Pass new arguments to test_in_one_mode using
45678         ROUNDING_TESTS.
45680 2013-06-13  Roland McGrath  <roland@hack.frob.com>
45682         * posix/tst-waitid.c (do_test): Distinguish different instances of
45683         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
45684         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
45685         before entering the kernel for waitpid.
45687 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45689         * NEWS: Fix note on clock function precision.  Text by Roland
45690         McGrath.
45692 2013-06-13  Roland McGrath  <roland@hack.frob.com>
45694         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
45695         it into place only when and if the sanity check passes.
45697 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
45699         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
45700         output for whether conversion result is exact.  Take argument
45701         indicating whether type is IBM long double.
45702         (round_for_all): Change need_exact field to ibm_ld.
45703         * stdlib/tst-strtod-round.c (struct exactness): New type.
45704         (struct test): Change bool ld_ok field to struct exactness exact.
45705         (TEST): Update all definitions for change to field.
45706         (tests): Regenerate array contents.
45707         (test_in_one_mode): Take pointer to new field instead of old ld_ok
45708         field value.  Check for IBM long double here.
45709         (do_test): Update calls to test_in_one_mode.
45711 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45713         [BZ #12515]
45714         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
45715         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
45717 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45719         [BZ #15605]
45720         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
45721         generated by the compiler on loop optimizations.
45722         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
45723         general definitions.
45725 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
45727         * math/bug-nextafter.c: Include <math-tests.h>.
45728         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45729         the relevant type.
45730         * math/bug-nexttoward.c: Include <math-tests.h>.
45731         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45732         the relevant type.
45733         * math/test-misc.c: Include <math-tests.h>.
45734         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45735         the relevant type.
45737 2013-06-12  Andreas Jaeger  <aj@suse.de>
45739         * po/ia.po: Update Interlingua translation from translation
45740         project.
45742 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45744         * include/fenv.h: Include stdbool.h.
45745         (struct rm_ctx): New structure.
45746         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
45747         Define macro.
45748         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
45749         (SET_RESTORE_ROUNDF): Likewise.
45750         (SET_RESTORE_ROUNDL): Likewise.
45751         (SET_RESTORE_ROUND_NOEX): Likewise.
45752         (SET_RESTORE_ROUND_NOEXF): Likewise.
45753         (SET_RESTORE_ROUND_NOEXL): Likewise.
45754         (SET_RESTORE_ROUND_53BIT): Likewise.
45755         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
45756         (libc_feresetround_noexf_ctx): Likewise.
45757         (libc_feresetround_noexl_ctx): Likewise.
45758         (libc_feholdsetround_53bit_ctx): Likewise.
45759         (libc_feresetround_53bit_ctx): Likewise.
45760         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
45761         (libc_feholdexcept_setround_sse_ctx): New function.
45762         (libc_fesetenv_sse_ctx): Likewise.
45763         (libc_feupdateenv_sse_ctx): Likewise.
45764         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
45765         (libc_feholdexcept_setround_387_ctx): Likewise.
45766         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
45767         (libc_feholdsetround_387_prec_ctx): Likewise.
45768         (libc_feholdsetround_387_ctx): Likewise.
45769         (libc_feholdsetround_387_53bit_ctx): Likewise.
45770         (libc_feholdsetround_sse_ctx): Likewise.
45771         (libc_feresetround_sse_ctx): Likewise.
45772         (libc_feresetround_387_ctx): Likewise.
45773         (libc_feupdateenv_387_ctx): Likewise.
45774         (libc_feholdexcept_setroundf_ctx): Define macro.
45775         (libc_fesetenvf_ctx): Likewise.
45776         (libc_feupdateenvf_ctx): Likewise.
45777         (libc_feholdsetroundf_ctx): Likewise.
45778         (libc_feresetroundf_ctx): Likewise.
45779         (libc_feholdexcept_setround_ctx): Likewise.
45780         (libc_fesetenv_ctx): Likewise.
45781         (libc_feupdateenv_ctx): Likewise.
45782         (libc_feholdsetround_ctx): Likewise.
45783         (libc_feresetround_ctx): Likewise.
45784         (libc_feholdexcept_setroundl_ctx): Likewise.
45785         (libc_feupdateenvl_ctx): Likewise.
45786         (libc_feholdsetroundl_ctx): Likewise.
45787         (libc_feresetroundl_ctx): Likewise.
45788         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
45789         (libc_feresetround_53bit_ctx): Likewise.
45791 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45793         * locale/iso-639.def: Convert to UTF-8.
45795 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
45797         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
45798         (EXCEPTION_TESTS_double): Likewise.
45799         (EXCEPTION_TESTS_long_double): Likewise.
45800         (EXCEPTION_TESTS): Likewise.
45801         * math/libm-test.inc (test_exceptions): Only test exceptions if
45802         EXCEPTION_TESTS (FLOAT).
45804 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45806         * benchtests/Makefile (string-bench): Add strcpy_chk and
45807         stpcpy_chk.
45808         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
45809         * benchtests/bench-stpcpy_chk.c: New file.
45810         * benchtests/bench-strcpy_chk-ifunc.c: New file.
45811         * benchtests/bench-strcpy_chk.c: New file.
45812         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
45813         code.
45814         (do_test): Likewise.
45816 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45818         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
45819         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
45820         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
45821         with tabs where appropriate.
45822         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
45823         dl-procinfo.h.
45824         [PPC_PLATFORM_PPC440]: Likewise.
45825         [PPC_PLATFORM_PPC464]: Likewise.
45826         [PPC_PLATFORM_PPC476]: Likewise.
45827         (_dl_string_platform): Add support for detecting ppc405, ppc440,
45828         ppc464, and ppc476 platform strings merging from ports/
45829         dl-procinfo.h.
45831 2013-06-11  Andreas Schwab  <schwab@suse.de>
45833         [BZ #14991]
45834         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
45835         (from_ucs4_idx): Regenerate.
45836         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
45837         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
45838         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
45839         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
45840         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
45841         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
45842         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
45843         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
45844         from FROM_LOOP and TO_LOOP specific macros.
45845         (BODY): Handle combining characters.
45846         * iconvdata/BIG5HKSCS.irreversible: Update.
45847         * iconvdata/BIG5HKSCS.precomposed: New file.
45848         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
45849         characters.
45850         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
45852 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45854         * include/sys/time.h: Fix indentation and add copyright header.
45856         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
45857         (do_test): Likewise.
45858         * string/test-memchr.c (do_one_test): Likewise.
45859         (do_test): Likewise.
45860         * string/test-memcmp.c (do_one_test): Likewise.
45861         (do_test): Likewise.
45862         * string/test-memcpy.c (do_one_test): Likewise.
45863         (do_test): Likewise.
45864         * string/test-memmem.c (do_one_test): Likewise.
45865         (do_test): Likewise.
45866         (do_random_tests): Likewise.
45867         * string/test-memmove.c (do_one_test): Likewise.
45868         (do_test): Likewise.
45869         * string/test-memset.c (do_one_test): Likewise.
45870         (do_test): Likewise.
45871         * string/test-rawmemchr.c (do_one_test): Likewise.
45872         (do_test): Likewise.
45873         * string/test-strcasecmp.c (do_one_test): Likewise.
45874         (do_test): Likewise.
45875         * string/test-strcasestr.c (do_one_test): Likewise.
45876         (do_test): Likewise.
45877         * string/test-strcat.c (do_one_test): Likewise.
45878         (do_test): Likewise.
45879         * string/test-strchr.c (do_one_test): Likewise.
45880         (do_test): Likewise.
45881         * string/test-strcmp.c (do_one_test): Likewise.
45882         (do_test): Likewise.
45883         * string/test-strcpy.c (do_one_test): Likewise.
45884         (do_test): Likewise.
45885         * string/test-string.h: Likewise.
45886         (test_init): Likewise.
45887         * string/test-strlen.c (do_one_test): Likewise.
45888         (do_test): Likewise.
45889         * string/test-strncasecmp.c (do_one_test): Likewise.
45890         (do_test): Likewise.
45891         * string/test-strncat.c (do_one_test): Likewise.
45892         (do_test): Likewise.
45893         * string/test-strncmp.c (do_one_test): Likewise.
45894         (do_test_limit): Likewise.
45895         (do_test): Likewise.
45896         * string/test-strncpy.c (do_one_test): Likewise.
45897         (do_test): Likewise.
45898         * string/test-strnlen.c (do_one_test): Likewise.
45899         (do_test): Likewise.
45900         * string/test-strpbrk.c (do_one_test): Likewise.
45901         (do_test): Likewise.
45902         * string/test-strrchr.c (do_one_test): Likewise.
45903         (do_test): Likewise.
45904         * string/test-strspn.c (do_one_test): Likewise.
45905         (do_test): Likewise.
45906         * string/test-strstr.c (do_one_test): Likewise.
45907         (do_test): Likewise.
45909         * benchtests/Makefile (string-bench): Add string benchmarks.
45910         * benchtests/bench-bcopy-ifunc.c: New file.
45911         * benchtests/bench-bcopy.c: New file.
45912         * benchtests/bench-bzero-ifunc.c: New file.
45913         * benchtests/bench-bzero.c: New file.
45914         * benchtests/bench-memccpy-ifunc.c: New file.
45915         * benchtests/bench-memccpy.c: New file.
45916         * benchtests/bench-memchr-ifunc.c: New file.
45917         * benchtests/bench-memchr.c: New file.
45918         * benchtests/bench-memcmp-ifunc.c: New file.
45919         * benchtests/bench-memcmp.c: New file.
45920         * benchtests/bench-memmem-ifunc.c: New file.
45921         * benchtests/bench-memmem.c: New file.
45922         * benchtests/bench-memmove-ifunc.c: New file.
45923         * benchtests/bench-memmove.c: New file.
45924         * benchtests/bench-mempcpy-ifunc.c: New file.
45925         * benchtests/bench-mempcpy.c: New file.
45926         * benchtests/bench-memset-ifunc.c: New file.
45927         * benchtests/bench-memset.c: New file.
45928         * benchtests/bench-rawmemchr-ifunc.c: New file.
45929         * benchtests/bench-rawmemchr.c: New file.
45930         * benchtests/bench-stpcpy-ifunc.c: New file.
45931         * benchtests/bench-stpcpy.c: New file.
45932         * benchtests/bench-stpncpy-ifunc.c: New file.
45933         * benchtests/bench-stpncpy.c: New file.
45934         * benchtests/bench-strcasecmp-ifunc.c: New file.
45935         * benchtests/bench-strcasecmp.c: New file.
45936         * benchtests/bench-strcasestr-ifunc.c: New file.
45937         * benchtests/bench-strcasestr.c: New file.
45938         * benchtests/bench-strcat-ifunc.c: New file.
45939         * benchtests/bench-strcat.c: New file.
45940         * benchtests/bench-strchr-ifunc.c: New file.
45941         * benchtests/bench-strchr.c: New file.
45942         * benchtests/bench-strchrnul-ifunc.c: New file.
45943         * benchtests/bench-strchrnul.c: New file.
45944         * benchtests/bench-strcmp-ifunc.c: New file.
45945         * benchtests/bench-strcmp.c: New file.
45946         * benchtests/bench-strcpy-ifunc.c: New file.
45947         * benchtests/bench-strcpy.c: New file.
45948         * benchtests/bench-strcspn-ifunc.c: New file.
45949         * benchtests/bench-strcspn.c: New file.
45950         * benchtests/bench-strlen-ifunc.c: New file.
45951         * benchtests/bench-strlen.c: New file.
45952         * benchtests/bench-strncasecmp-ifunc.c: New file.
45953         * benchtests/bench-strncasecmp.c: New file.
45954         * benchtests/bench-strncat-ifunc.c: New file.
45955         * benchtests/bench-strncat.c: New file.
45956         * benchtests/bench-strncmp-ifunc.c: New file.
45957         * benchtests/bench-strncmp.c: New file.
45958         * benchtests/bench-strncpy-ifunc.c: New file.
45959         * benchtests/bench-strncpy.c: New file.
45960         * benchtests/bench-strnlen-ifunc.c: New file.
45961         * benchtests/bench-strnlen.c: New file.
45962         * benchtests/bench-strpbrk-ifunc.c: New file.
45963         * benchtests/bench-strpbrk.c: New file.
45964         * benchtests/bench-strrchr-ifunc.c: New file.
45965         * benchtests/bench-strrchr.c: New file.
45966         * benchtests/bench-strspn-ifunc.c: New file.
45967         * benchtests/bench-strspn.c: New file.
45968         * benchtests/bench-strstr-ifunc.c: New file.
45969         * benchtests/bench-strstr.c: New file.
45971         * benchtests/Makefile: Disable parallel execution of targets.
45972         (string-bench): Add memcpy.
45973         (benchset): New variable to store a list of benchmark sets.
45974         (bench-func): Renamed from bench.
45975         (bench-set): New target.
45976         (bench): Depend on bench-func and bench-set.
45977         * benchtests/README: Add section on benchmark sets.
45978         * benchtests/bench-memcpy-ifunc.c: New file.
45979         * benchtests/bench-memcpy.c: New file.
45980         * benchtests/bench-string.h: New file.
45982 2013-06-11  Andreas Schwab  <schwab@suse.de>
45984         [BZ #15577]
45985         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
45986         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
45987         values in the triple.
45988         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
45989         terminator in the group key.
45991 2013-06-11  Andreas Jaeger  <aj@suse.de>
45993         * po/zh_TW.po: Update Chinese (traditional) translation from
45994         translation project.
45996 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45998         * include/time.h (__clock_gettime): Add libc_hidden_proto.
45999         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
46000         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
46001         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46002         (clock_getcpuclockid): Likewise.
46003         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
46004         Add weak_alias and libc_hidden_def.
46005         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
46006         * rt/clock_gettime.c (clock_gettime): Rename to
46007         __clock_gettime.  Add weak_alias and libc_hidden_def.
46008         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
46009         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
46010         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
46011         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
46012         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
46013         Likewise.
46014         * rt/clock_settime.c (clock_settime): Rename to
46015         __clock_settime.  Add weak_alias and libc_hidden_def.
46016         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
46018 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
46020         * mach/err_boot.sub: Remove trailing whitespace.
46021         * mach/err_ipc.sub: Likewise.
46022         * mach/err_mach.sub: Likewise.
46024         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
46025         (ROUNDING_TESTS_double): Likewise.
46026         (ROUNDING_TESTS_long_double): Likewise.
46027         (ROUNDING_TESTS): Likewise.
46028         * math/libm-test.inc: Include <math-tests.h>.
46029         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
46030         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46031         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46032         (IF_ROUND_INIT_FE_UPWARD): Likewise.
46034 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46036         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
46037         of assigning.
46039 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
46041         * sysdeps/gnu/errlist.awk: Do not generate space at end of
46042         otherwise empty TRANS lines.
46043         * sysdeps/gnu/errlist.c: Regenerated.
46045         * catgets/gencat.c (error_print): Use (void) in function
46046         definition.
46047         * crypt/crypt_util.c (__init_des): Likewise.
46048         * crypt/speeds.c (Stop): Likewise.
46049         (main): Likewise.
46050         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
46051         * inet/ruserpass.c (token): Likewise.
46052         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
46053         * intl/localealias.c (extend_alias_table): Likewise.
46054         * intl/plural-exp.c (init_germanic_plural): Likewise.
46055         * libio/fcloseall.c (__fcloseall): Likewise.
46056         * libio/genops.c (_IO_flush_all): Likewise.
46057         (_IO_flush_all_linebuffered): Likewise.
46058         (_IO_cleanup): Likewise.
46059         (_IO_iter_begin): Likewise.
46060         (_IO_iter_end): Likewise.
46061         (_IO_list_lock): Likewise.
46062         (_IO_list_unlock): Likewise.
46063         (_IO_list_resetlock): Likewise.
46064         * libio/getchar.c (getchar): Likewise.
46065         * libio/getchar_u.c (getchar_unlocked): Likewise.
46066         * libio/getwchar.c (getwchar): Likewise.
46067         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
46068         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
46069         * login/getpt.c (__getpt): Likewise.
46070         * login/tst-utmp.c (main): Likewise.
46071         * malloc/hooks.c (__malloc_check_init): Likewise.
46072         * malloc/malloc.c (__malloc_stats): Likewise.
46073         * malloc/mtrace.c (tr_break): Likewise.
46074         (mtrace): Likewise.
46075         (muntrace): Likewise.
46076         * misc/fstab.c (endfsent): Likewise.
46077         * misc/getclktck.c (__getclktck): Likewise.
46078         * misc/getdtsz.c (__getdtablesize): Likewise.
46079         * misc/gethostid.c (gethostid): Likewise.
46080         * misc/getpagesize.c (__getpagesize): Likewise.
46081         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
46082         (__get_nprocs): Likewise.
46083         (__get_phys_pages): Likewise.
46084         (__get_avphys_pages): Likewise.
46085         * misc/getttyent.c (getttyent): Likewise.
46086         (setttyent): Likewise.
46087         (endttyent): Likewise.
46088         * misc/getusershell.c (getusershell): Likewise.
46089         (endusershell): Likewise.
46090         (setusershell): Likewise.
46091         (initshells): Likewise.
46092         * misc/hsearch.c (__hdestroy): Likewise.
46093         * misc/sync.c (sync): Likewise.
46094         * misc/syslog.c (closelog_internal): Likewise.
46095         (closelog): Likewise.
46096         * misc/ttyslot.c (ttyslot): Likewise.
46097         * misc/vhangup.c (vhangup): Likewise.
46098         * posix/fork.c (__fork): Likewise.
46099         * posix/getegid.c (__getegid): Likewise.
46100         * posix/geteuid.c (__geteuid): Likewise.
46101         * posix/getgid.c (__getgid): Likewise.
46102         * posix/getpid.c (__getpid): Likewise.
46103         * posix/getppid.c (__getppid): Likewise.
46104         * posix/getuid.c (__getuid): Likewise.
46105         * posix/pause.c (pause): Likewise.
46106         * posix/setpgrp.c (setpgrp): Likewise.
46107         * posix/setsid.c (__setsid): Likewise.
46108         * posix/test-vfork.c (noop): Likewise.
46109         * resolv/gethnamaddr.c (_endhtent): Likewise.
46110         (_gethtent): Likewise.
46111         (ht_endhostent): Likewise.
46112         (gethostent): Likewise.
46113         (dns_service): Likewise.
46114         * stdlib/drand48.c (drand48): Likewise.
46115         * stdlib/lrand48.c (lrand48): Likewise.
46116         * stdlib/mrand48.c (mrand48): Likewise.
46117         * stdlib/rand.c (rand): Likewise.
46118         * stdlib/random.c (__random): Likewise.
46119         * stdlib/setenv.c (clearenv): Likewise.
46120         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
46121         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
46122         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
46123         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
46124         (__get_nprocs): Likewise.
46125         (__get_phys_pages): Likewise.
46126         (__get_avphys_pages): Likewise.
46127         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
46128         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
46129         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
46130         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
46131         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
46132         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
46133         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
46134         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
46135         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
46136         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
46137         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
46138         * sysdeps/mach/hurd/sync.c (sync): Likewise.
46139         * sysdeps/posix/clock.c (clock): Likewise.
46140         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
46141         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
46142         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
46143         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
46144         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
46145         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
46146         (__get_nprocs_conf): Likewise.
46147         (__get_phys_pages): Likewise.
46148         (__get_avphys_pages): Likewise.
46149         * time/clock.c (clock): Likewise.
46150         * time/tzset.c (__tzname_max): Likewise.
46152 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
46154         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
46155         (__bswap_32): Do not use "register".
46156         * crypt/crypt.c (_ufc_doit_r): Likewise.
46157         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46158         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46159         * gmon/gmon.c (__monstartup): Likewise.
46160         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
46161         * hurd/hurdmalloc.c (more_memory): Likewise.
46162         (malloc): Likewise.
46163         (free): Likewise.
46164         (realloc): Likewise.
46165         (malloc_fork_prepare): Likewise.
46166         (malloc_fork_parent): Likewise.
46167         (malloc_fork_child): Likewise.
46168         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
46169         (_svcauth_des): Likewise.
46170         * inet/inet_lnaof.c (inet_lnaof): Likewise.
46171         * inet/inet_net.c (inet_network): Likewise.
46172         * inet/inet_netof.c (inet_netof): Likewise.
46173         * inet/rcmd.c (__validuser2_sa): Likewise.
46174         * io/fts.c (fts_open): Likewise.
46175         (fts_load): Likewise.
46176         (fts_close): Likewise.
46177         (fts_read): Likewise.
46178         (fts_children): Likewise.
46179         (fts_build): Likewise.
46180         (fts_stat): Likewise.
46181         (fts_sort): Likewise.
46182         (fts_alloc): Likewise.
46183         (fts_lfree): Likewise.
46184         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
46185         (_IO_file_xsgetn): Likewise.
46186         (_IO_file_xsgetn_mmap): Likewise.
46187         * libio/iofopncook.c (_IO_cookie_read): Likewise.
46188         (_IO_cookie_write): Likewise.
46189         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
46190         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
46191         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
46192         * malloc/obstack.c (_obstack_begin): Likewise.
46193         (_obstack_begin_1): Likewise.
46194         (_obstack_newchunk): Likewise.
46195         (_obstack_allocated_p): Likewise.
46196         (obstack_free): Likewise.
46197         (_obstack_memory_used): Likewise.
46198         * misc/getttyent.c (getttynam): Likewise.
46199         (getttyent): Likewise.
46200         (skip): Likewise.
46201         (value): Likewise.
46202         * misc/getusershell.c (initshells): Likewise.
46203         * misc/syslog.c (__vsyslog_chk): Likewise.
46204         * misc/ttyslot.c (ttyslot): Likewise.
46205         * nis/nis_hash.c (__nis_hash): Likewise.
46206         * posix/fnmatch_loop.c (FCT): Likewise.
46207         * posix/getconf.c (print_all): Likewise.
46208         (main): Likewise.
46209         * posix/getopt.c (exchange): Likewise.
46210         * posix/glob.c (globfree): Likewise.
46211         (prefix_array): Likewise.
46212         (__glob_pattern_type): Likewise.
46213         * resolv/arpa/nameser.h (NS_GET16): Likewise.
46214         (NS_GET32): Likewise.
46215         (NS_PUT16): Likewise.
46216         (NS_PUT32): Likewise.
46217         * resolv/gethnamaddr.c (getanswer): Likewise.
46218         (gethostbyname2): Likewise.
46219         (gethostbyaddr): Likewise.
46220         (_gethtent): Likewise.
46221         (_gethtbyname2): Likewise.
46222         (_gethtbyaddr): Likewise.
46223         * resolv/ns_print.c (dst_s_get_int16): Likewise.
46224         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
46225         * resolv/res_init.c (__res_vinit): Likewise.
46226         (net_mask): Likewise.
46227         * resolv/res_mkquery.c (outchar): Likewise.
46228         (PRINT): Likewise.
46229         * stdio-common/printf_fp.c (outchar): Likewise.
46230         (PRINT): Likewise.
46231         * stdio-common/printf_fphex.c (outchar): Likewise.
46232         (PRINT): Likewise.
46233         * stdio-common/printf_size.c (outchar): Likewise.
46234         (PRINT): Likewise.
46235         * stdio-common/test_rdwr.c (main): Likewise.
46236         * stdio-common/tfformat.c (matches): Likewise.
46237         * stdio-common/vfprintf.c (outchar): Likewise.
46238         (printf_unknown): Likewise.
46239         (buffered_vfprintf): Likewise.
46240         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46241         * stdio-common/xbug.c (AppendToBuffer): Likewise.
46242         (ReadFile): Likewise.
46243         * stdlib/qsort.c (SWAP): Likewise.
46244         (_quicksort): Likewise.
46245         * stdlib/setenv.c (__add_to_environ): Likewise.
46246         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46247         * stdlib/strtol_l.c (__strtol_l): Likewise.
46248         * stdlib/tst-strtod.c (main): Likewise.
46249         * stdlib/tst-strtol.c (main): Likewise.
46250         * stdlib/tst-strtoll.c (main): Likewise.
46251         * string/bits/string2.h (__strcmp_cc): Likewise.
46252         (__strcmp_cg): Likewise.
46253         (__strcspn_c1): Likewise.
46254         (__strcspn_c2): Likewise.
46255         (__strcspn_c3): Likewise.
46256         (__strspn_c1): Likewise.
46257         (__strspn_c2): Likewise.
46258         (__strspn_c3): Likewise.
46259         (__strsep_1c): Likewise.
46260         (__strsep_2c): Likewise.
46261         (__strsep_3c): Likewise.
46262         * string/memccpy.c (__memccpy): Likewise.
46263         * string/stpcpy.c (__stpcpy): Likewise.
46264         * string/strcmp.c (strcmp): Likewise.
46265         * string/strrchr.c (strrchr): Likewise.
46266         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
46267         Likewise.
46268         * sysdeps/mach/hurd/getcwd.c
46269         (_hurd_canonicalize_directory_name_internal): Likewise.
46270         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
46271         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
46272         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
46273         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
46274         Likewise, in both definitions.
46275         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
46276         definitions.
46277         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
46278         64] (__bswap_64): Likewise.
46279         * time/test_time.c (main): Likewise.
46280         * time/tzfile.c (__tzfile_read): Likewise.
46281         (__tzfile_compute): Likewise.
46282         * time/tzset.c (__tzset_parse_tz): Likewise.
46283         (tzset_internal): Likewise.
46284         (compute_change): Likewise.
46285         * wcsmbs/wcscat.c (__wcscat): Likewise.
46286         * wcsmbs/wcschr.c (wcschr): Likewise.
46287         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
46288         * wcsmbs/wcscspn.c (wcscspn): Likewise.
46289         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
46290         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
46291         * wcsmbs/wcsspn.c (wcsspn): Likewise.
46292         * wcsmbs/wcsstr.c (wcsstr): Likewise.
46293         * wcsmbs/wmemchr.c (wmemchr): Likewise.
46294         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46295         * wcsmbs/wmemset.c (wmemset): Likewise.
46297 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
46299         * scripts/config.guess: Update to version 2013-05-16.
46300         * scripts/config.sub: Update to version 2013-04-24.
46301         * scripts/install-sh: Update to version 2011-11-20.07.
46302         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
46303         * scripts/move-if-change: Update to version 2012-01-06 07:23.
46305 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
46307         * debug/fgetws_u_chk.c: Fix leading whitespaces.
46308         * elf/sln.c: Likewise.
46309         * hurd/hurd/ioctl.h: Likewise.
46310         * hurd/hurdmalloc.c: Likewise.
46311         * hurd/xattr.c: Likewise.
46312         * include/shlib-compat.h: Likewise.
46313         * inet/ruserpass.c: Likewise.
46314         * libio/iofgets_u.c: Likewise.
46315         * libio/iofgetws_u.c: Likewise.
46316         * locale/programs/ld-identification.c: Likewise.
46317         * locale/programs/ld-time.c: Likewise.
46318         * mach/msg-destroy.c: Likewise.
46319         * nss/nss_files/files-netgrp.c: Likewise.
46320         * resolv/res_data.c: Likewise.
46321         * soft-fp/op-1.h: Likewise.
46322         * soft-fp/op-2.h: Likewise.
46323         * soft-fp/op-4.h: Likewise.
46324         * soft-fp/op-common.h: Likewise.
46325         * stdio-common/printf_fphex.c: Likewise.
46326         * stdlib/strtod_l.c: Likewise.
46327         * sunrpc/rpc/clnt.h: Likewise.
46328         * sysdeps/generic/framestate.c: Likewise.
46329         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46330         * sysdeps/i386/bsd-setjmp.S: Likewise.
46331         * sysdeps/i386/__longjmp.S: Likewise.
46332         * sysdeps/i386/setjmp.S: Likewise.
46333         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46334         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46335         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46336         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46337         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46338         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46339         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46340         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46341         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46342         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
46343         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46344         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46345         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46346         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46347         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46348         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46349         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46350         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
46351         * sysdeps/ieee754/support.c: Likewise.
46352         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46353         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
46354         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
46355         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
46356         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
46357         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
46358         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
46359         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
46360         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
46361         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
46362         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
46363         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
46364         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
46365         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
46366         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
46367         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
46368         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
46369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
46371 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
46373         * posix/transbug.c: Remove executable mode.
46375 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
46377         * crypt/speeds.c: Remove trailing whitespace.
46378         * dlfcn/default.c: Likewise.
46379         * elf/ifuncdep2.c: Likewise.
46380         * elf/ifuncmain1.c: Likewise.
46381         * elf/ifuncmain1vis.c: Likewise.
46382         * elf/testobj.h: Likewise.
46383         * elf/tst-stackguard1.c: Likewise.
46384         * gmon/sys/gmon.h: Likewise.
46385         * hurd/hurdmsg.c: Likewise.
46386         * hurd/new-fd.c: Likewise.
46387         * hurd/ports-get.c: Likewise.
46388         * iconvdata/ibm1008_420.c: Likewise.
46389         * inet/tst-getni1.c: Likewise.
46390         * inet/tst-getni2.c: Likewise.
46391         * libio/ioungetc.c: Likewise.
46392         * libio/wfiledoalloc.c: Likewise.
46393         * manual/libm-err-tab.pl: Likewise.
46394         * math/w_dremf.c: Likewise.
46395         * misc/ftruncate.c: Likewise.
46396         * posix/bug-glob2.c: Likewise.
46397         * posix/tst-pcre.c: Likewise.
46398         * posix/wait4.c: Likewise.
46399         * resolv/README: Likewise.
46400         * resolv/res_debug.h: Likewise.
46401         * resolv/tst-inet_ntop.c: Likewise.
46402         * setjmp/bug269-setjmp.c: Likewise.
46403         * soft-fp/extended.h: Likewise.
46404         * soft-fp/op-1.h: Likewise.
46405         * soft-fp/op-2.h: Likewise.
46406         * soft-fp/op-4.h: Likewise.
46407         * soft-fp/op-8.h: Likewise.
46408         * soft-fp/testit.c: Likewise.
46409         * stdio-common/bug16.c: Likewise.
46410         * stdlib/random.c: Likewise.
46411         * sunrpc/rpcsvc/rquota.x: Likewise.
46412         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
46413         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46414         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46415         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46416         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46417         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46418         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46419         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46420         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46421         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46422         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46423         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46424         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46425         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46426         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46427         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46428         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46429         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46430         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46431         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46432         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46433         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46434         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
46435         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46436         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46437         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46438         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46439         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46440         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46441         * sysdeps/ieee754/s_lib_version.c: Likewise.
46442         * sysdeps/mach/hurd/check_fds.c: Likewise.
46443         * sysdeps/mach/hurd/getsockname.c: Likewise.
46444         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
46445         * sysdeps/mach/hurd/recvfrom.c: Likewise.
46446         * sysdeps/powerpc/bits/link.h: Likewise.
46447         * sysdeps/powerpc/dl-procinfo.c: Likewise.
46448         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
46449         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
46450         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
46451         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
46452         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46453         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
46454         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
46455         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
46456         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46457         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
46458         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46459         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
46460         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46461         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46462         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46463         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46464         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46465         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46466         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46467         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46468         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
46469         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46470         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46471         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
46472         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46473         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46474         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46475         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46476         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46477         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46478         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46479         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46480         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46481         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
46482         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
46483         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
46484         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46485         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
46486         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
46487         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
46488         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
46489         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
46490         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
46491         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46492         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
46493         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
46494         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46495         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
46496         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
46497         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46498         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46499         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46500         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46501         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
46502         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
46503         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
46504         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46505         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
46506         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
46507         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
46508         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
46509         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
46510         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46511         * sysdeps/powerpc/sysdep.h: Likewise.
46512         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46513         * sysdeps/s390/s390-64/sub_n.S: Likewise.
46514         * sysdeps/sh/dl-trampoline.S: Likewise.
46515         * sysdeps/sh/memset.S: Likewise.
46516         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
46517         * sysdeps/sh/strlen.S: Likewise.
46518         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
46519         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
46520         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
46521         * sysdeps/sparc/sparc32/rem.S: Likewise.
46522         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
46523         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
46524         * sysdeps/sparc/sparc32/strchr.S: Likewise.
46525         * sysdeps/sparc/sparc32/udiv.S: Likewise.
46526         * sysdeps/sparc/sparc32/urem.S: Likewise.
46527         * sysdeps/sparc/sparc64/add_n.S: Likewise.
46528         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46529         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
46530         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
46531         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
46532         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
46533         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
46534         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
46535         * sysdeps/unix/bsd/times.c: Likewise.
46536         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
46537         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
46538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
46539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
46540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
46541         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
46542         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
46543         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
46544         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
46545         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
46546         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
46547         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46548         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
46549         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46550         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46551         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
46552         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46553         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
46554         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
46555         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
46556         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
46557         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
46558         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46559         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
46560         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
46561         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
46562         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
46563         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46564         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
46565         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
46566         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
46567         * sysdeps/x86_64/strcspn.S: Likewise.
46569 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46571         * locale/C-translit.h: Revert #include <stdint.h> because this is a
46572         generated file.  Regenerate properly from gen-translit.pl.
46573         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
46574         locale/C-translit.h.
46576 2013-06-05  Andreas Schwab  <schwab@suse.de>
46578         [BZ #15100]
46579         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
46580         week as 6 instead of -1.
46581         * time/tst-strptime.c (day_tests): Add test case.
46583 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46585         * sysdeps/generic/math_private.h
46586         (libc_feholdexcept_setround_53bit): Replace with
46587         libc_feholdsetround_53bit.
46588         (libc_feupdateenv_53bit): Replace with
46589         libc_feresetround_53bit.
46590         (SET_RESTORE_ROUND_53BIT): Adjust.
46592 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46594         * string/test-strchrnul.c: Add copyright header.
46596         * posix/tst-getaddrinfo4.c: Increase test timeout.
46598 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
46600         [BZ #15536]
46601         * math/libm-test.inc (MAX_EXP): Remove
46602         (MIN_EXP): Define.
46603         (ulp): Use MIN_EXP - MANT_DIG.
46604         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
46606 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
46608         * po/be.po: Revert last change.
46609         * po/zh_CN.po: Likewise.
46610         * po/header.pot: Likewise.
46612 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
46614         * Makefile ($(common-objpfx)linkobj/libc.so): Define
46615         link-libc-deps to empty as target-specific variable.
46616         * Makerules (link-libc-args): New variable.
46617         (libc-for-link): Likewise.
46618         (link-libc-deps): Likewise.
46619         (lib%.so): Depend on $(link-libc-deps).  Link with
46620         $(link-libc-args).
46621         (build-module): Link with $(link-libc-args).
46622         (build-module-asneeded): Likewise.
46623         (build-module-helper-objlist): Filter out $(link-libc-deps) from
46624         list of objects.
46625         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
46626         target-specific variable.
46627         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
46628         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
46629         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
46630         libc.
46631         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
46632         libc and ld.so.
46633         ($(objpfx)libpcprofile.so): Likewise.
46634         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
46635         libc_nonshared.a.
46636         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
46637         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
46638         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
46639         $(link-libc-deps).
46640         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
46641         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
46642         * login/Makefile ($(objpfx)libutil.so): Likewise.
46643         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
46644         * math/Makefile ($(objpfx)libm.so): Likewise.
46645         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
46646         $(objpfx)libnsl.so): Define libc-for-link as target-specific
46647         variable instead of depending directly on libc.
46648         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
46649         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
46650         $(link-libc-deps).
46651         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
46652         libc.
46653         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
46654         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
46655         ($(objpfx)libanl.so): Likewise.
46656         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
46657         ld.so.
46658         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
46659         $(link-libc-deps).
46660         * sysdeps/i386/fpu/Makefile: Remove file.
46661         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
46662         ($(objpfx)libm.so): Remove dependency on ld.so.
46664 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
46666         [BZ # 15553]
46667         * nis/yp_xdr.c (XDRMAXNAME): Define.
46668         (XDRMAXRECORD): Define.
46669         (xdr_domainname): Use XDRMAXNAME.
46670         (xdr_mapname): Likewise.
46671         (xdr_peername): Likewise.
46672         (xdr_keydat): Use XDRMAXRECORD.
46673         (xdr_valdat): Likewise.
46675 2013-05-30  Jeff Law  <law@redhat.com>
46677         [BZ #14256]
46678         * manual/errno.texi (ESTALE): Update to account for more than
46679         just NFS file systems.
46680         * sysdeps/gnu/errlist.c: Regenerated.
46682 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46684         [BZ #15465]
46685         * elf/Makefile (tests): Add tst-null-argv.
46686         (modules-names):  Add tst-null-argv-lib.
46687         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
46688         (tst-null-argv-ENV): Set environment for tst-null-argv.
46689         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
46690         (RTLD_PROGNAME): New macro.
46691         * elf/tst-null-argv.c: New test case.
46692         * elf/tst-null-argv-lib.c: Library for test case.
46693         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
46694         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
46695         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
46696         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
46697         * elf/dl-init.c (call_init): Likewise.
46698         (_dl_init): Likewise.
46699         * elf/dl-load.c (print_search_path): Likewise.
46700         (_dl_map_object): Likewise.
46701         * elf/dl-lookup.c (do_lookup_x): Likewise.
46702         (add_dependency): Likewise.
46703         (_dl_lookup_symbol_x): Likewise.
46704         (_dl_debug_bindings): Likewise.
46705         * elf/dl-open.c (_dl_show_scope): Likewise.
46706         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46707         * elf/dl-version.c (match_symbol): Likewise.
46708         (_dl_check_map_versions): Likewise.
46709         * elf/rtld.c (dl_main): Likewise.
46710         (print_unresolved): Use RTLD_PROGNAME.
46711         (print_missing_version): Likewise.
46712         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
46713         (elf_machine_rela): Likewise.
46714         * sysdeps/powerpc/powerpc32/dl-machine.c
46715         (__process_machine_rela): Likewise.
46716         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46717         Likewise.
46718         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46719         Likewise.
46720         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
46721         Likewise.
46722         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46723         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
46724         Likewise.
46725         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
46726         Likewise.
46727         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46729 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
46731         * po/be.po: Add descriptive title.
46732         * po/zh_CN.po: Likewise.
46733         * po/header.pot: Likewise.
46735 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
46737         * locale/programs/locarchive.c (create_archive): Inlucde fname in
46738         error message.
46739         (enlarge_archive): Likewise.
46741 2013-05-28  Ben North  <ben@redfrontdoor.org>
46743         * manual/arith.texi (frexp): It is the magnitude of the return
46744         value which lies in [0.5, 1), not the return value itself.
46746 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46748         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46750 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
46752         * stdio-common/bug26.c (main): Correct fscanf template.
46754         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
46755         declare _dl_skip_args.
46757         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
46758         Don't declare.
46760         * manual/platform.texi: Add missing @end deftypefun.
46762 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
46764         [BZ #15529]
46765         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
46766         bit of mantissa of 2^16382.
46767         * math/libm-test.inc (hypot_test_data): Add more tests.
46769         * math/libm-test.inc: Add drem and pow10 to list of tested
46770         functions.
46771         (pow10_test): New function.
46772         (drem_test): Likewise.
46773         (drem_test_tonearest): Likewise.
46774         (drem_test_towardzero): Likewise.
46775         (drem_test_downward): Likewise.
46776         (drem_test_upward): Likewise.
46777         (main): Call the new functions.
46779         * math/libm-test.inc (finite_test_data): Remove.
46780         (finite_test): Run tests from isfinite_test_data.
46781         (gamma_test_data): Remove.
46782         (gamma_test): Run tests from lgamma_test_data.
46783         * sysdeps/i386/fpu/libm-test-ulps: Update.
46784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46786 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46788         * manual/platform.texi: Add PowerPC PPR function set documentation.
46789         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
46790         implementation.
46792 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
46794         * math/libm-test.inc (MAX_EXP): Define.
46795         (ULPDIFF): Define.
46796         (ulp): New function.
46797         (check_float_internal): Use ULPDIFF.
46798         (cpow_test): Disable failing test.
46799         (check_ulp): Test ulp() implemetnation.
46800         (main): Call check_ulp before starting tests.
46802 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
46804         * math/gen-libm-test.pl (generate_testfile): Do not handle
46805         START_DATA and END_DATA.
46806         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
46807         END_DATA.
46808         (acos_tonearest_test_data): Likewise.
46809         (acos_towardzero_test_data): Likewise.
46810         (acos_downward_test_data): Likewise.
46811         (acos_upward_test_data): Likewise.
46812         (acosh_test_data): Likewise.
46813         (asin_test_data): Likewise.
46814         (asin_tonearest_test_data): Likewise.
46815         (asin_towardzero_test_data): Likewise.
46816         (asin_downward_test_data): Likewise.
46817         (asin_upward_test_data): Likewise.
46818         (asinh_test_data): Likewise.
46819         (atan_test_data): Likewise.
46820         (atanh_test_data): Likewise.
46821         (atan2_test_data): Likewise.
46822         (cabs_test_data): Likewise.
46823         (cacos_test_data): Likewise.
46824         (cacosh_test_data): Likewise.
46825         (carg_test_data): Likewise.
46826         (casin_test_data): Likewise.
46827         (casinh_test_data): Likewise.
46828         (catan_test_data): Likewise.
46829         (catanh_test_data): Likewise.
46830         (cbrt_test_data): Likewise.
46831         (ccos_test_data): Likewise.
46832         (ccosh_test_data): Likewise.
46833         (ceil_test_data): Likewise.
46834         (cexp_test_data): Likewise.
46835         (cimag_test_data): Likewise.
46836         (clog_test_data): Likewise.
46837         (clog10_test_data): Likewise.
46838         (conj_test_data): Likewise.
46839         (copysign_test_data): Likewise.
46840         (cos_test_data): Likewise.
46841         (cos_tonearest_test_data): Likewise.
46842         (cos_towardzero_test_data): Likewise.
46843         (cos_downward_test_data): Likewise.
46844         (cos_upward_test_data): Likewise.
46845         (cosh_test_data): Likewise.
46846         (cosh_tonearest_test_data): Likewise.
46847         (cosh_towardzero_test_data): Likewise.
46848         (cosh_downward_test_data): Likewise.
46849         (cosh_upward_test_data): Likewise.
46850         (cpow_test_data): Likewise.
46851         (cproj_test_data): Likewise.
46852         (creal_test_data): Likewise.
46853         (csin_test_data): Likewise.
46854         (csinh_test_data): Likewise.
46855         (csqrt_test_data): Likewise.
46856         (ctan_test_data): Likewise.
46857         (ctan_tonearest_test_data): Likewise.
46858         (ctan_towardzero_test_data): Likewise.
46859         (ctan_downward_test_data): Likewise.
46860         (ctan_upward_test_data): Likewise.
46861         (ctanh_test_data): Likewise.
46862         (ctanh_tonearest_test_data): Likewise.
46863         (ctanh_towardzero_test_data): Likewise.
46864         (ctanh_downward_test_data): Likewise.
46865         (ctanh_upward_test_data): Likewise.
46866         (erf_test_data): Likewise.
46867         (erfc_test_data): Likewise.
46868         (exp_test_data): Likewise.
46869         (exp_tonearest_test_data): Likewise.
46870         (exp_towardzero_test_data): Likewise.
46871         (exp_downward_test_data): Likewise.
46872         (exp_upward_test_data): Likewise.
46873         (exp10_test_data): Likewise.
46874         (exp2_test_data): Likewise.
46875         (expm1_test_data): Likewise.
46876         (fabs_test_data): Likewise.
46877         (fdim_test_data): Likewise.
46878         (finite_test_data): Likewise.
46879         (floor_test_data): Likewise.
46880         (fma_test_data): Likewise.
46881         (fma_towardzero_test_data): Likewise.
46882         (fma_downward_test_data): Likewise.
46883         (fma_upward_test_data): Likewise.
46884         (fmax_test_data): Likewise.
46885         (fmin_test_data): Likewise.
46886         (fmod_test_data): Likewise.
46887         (fpclassify_test_data): Likewise.
46888         (frexp_test_data): Likewise.
46889         (gamma_test_data): Likewise.
46890         (hypot_test_data): Likewise.
46891         (ilogb_test_data): Likewise.
46892         (isfinite_test_data): Likewise.
46893         (isgreater_test_data): Likewise.
46894         (isgreaterequal_test_data): Likewise.
46895         (isinf_test_data): Likewise.
46896         (isless_test_data): Likewise.
46897         (islessequal_test_data): Likewise.
46898         (islessgreater_test_data): Likewise.
46899         (isnan_test_data): Likewise.
46900         (isnormal_test_data): Likewise.
46901         (issignaling_test_data): Likewise.
46902         (isunordered_test_data): Likewise.
46903         (j0_test_data): Likewise.
46904         (j1_test_data): Likewise.
46905         (jn_test_data): Likewise.
46906         (ldexp_test_data): Likewise.
46907         (lgamma_test_data): Likewise.
46908         (lrint_test_data): Likewise.
46909         (lrint_tonearest_test_data): Likewise.
46910         (lrint_towardzero_test_data): Likewise.
46911         (lrint_downward_test_data): Likewise.
46912         (lrint_upward_test_data): Likewise.
46913         (llrint_test_data): Likewise.
46914         (llrint_tonearest_test_data): Likewise.
46915         (llrint_towardzero_test_data): Likewise.
46916         (llrint_downward_test_data): Likewise.
46917         (llrint_upward_test_data): Likewise.
46918         (log_test_data): Likewise.
46919         (log10_test_data): Likewise.
46920         (log1p_test_data): Likewise.
46921         (log2_test_data): Likewise.
46922         (logb_test_data): Likewise.
46923         (logb_downward_test_data): Likewise.
46924         (lround_test_data): Likewise.
46925         (llround_test_data): Likewise.
46926         (modf_test_data): Likewise.
46927         (nearbyint_test_data): Likewise.
46928         (nextafter_test_data): Likewise.
46929         (nexttoward_test_data): Likewise.
46930         (pow_test_data): Likewise.
46931         (pow_tonearest_test_data): Likewise.
46932         (pow_towardzero_test_data): Likewise.
46933         (pow_downward_test_data): Likewise.
46934         (pow_upward_test_data): Likewise.
46935         (remainder_test_data): Likewise.
46936         (remainder_tonearest_test_data): Likewise.
46937         (remainder_towardzero_test_data): Likewise.
46938         (remainder_downward_test_data): Likewise.
46939         (remainder_upward_test_data): Likewise.
46940         (remquo_test_data): Likewise.
46941         (rint_test_data): Likewise.
46942         (rint_tonearest_test_data): Likewise.
46943         (rint_towardzero_test_data): Likewise.
46944         (rint_downward_test_data): Likewise.
46945         (rint_upward_test_data): Likewise.
46946         (round_test_data): Likewise.
46947         (scalb_test_data): Likewise.
46948         (scalbn_test_data): Likewise.
46949         (scalbln_test_data): Likewise.
46950         (signbit_test_data): Likewise.
46951         (sin_test_data): Likewise.
46952         (sin_tonearest_test_data): Likewise.
46953         (sin_towardzero_test_data): Likewise.
46954         (sin_downward_test_data): Likewise.
46955         (sin_upward_test_data): Likewise.
46956         (sincos_test_data): Likewise.
46957         (sinh_test_data): Likewise.
46958         (sinh_tonearest_test_data): Likewise.
46959         (sinh_towardzero_test_data): Likewise.
46960         (sinh_downward_test_data): Likewise.
46961         (sinh_upward_test_data): Likewise.
46962         (sqrt_test_data): Likewise.
46963         (tan_test_data): Likewise.
46964         (tan_tonearest_test_data): Likewise.
46965         (tan_towardzero_test_data): Likewise.
46966         (tan_downward_test_data): Likewise.
46967         (tan_upward_test_data): Likewise.
46968         (tanh_test_data): Likewise.
46969         (tgamma_test_data): Likewise.
46970         (trunc_test_data): Likewise.
46971         (y0_test_data): Likewise.
46972         (y1_test_data): Likewise.
46973         (yn_test_data): Likewise.
46974         (significand_test_data): Likewise.
46976         * math/gen-libm-test.pl (@functions): Remove variable.
46977         (generate_testfile): Don't handle START and END lines.
46978         * math/libm-test.inc (START): New macro.
46979         (END): Likewise.
46980         (END_COMPLEX): Likewise.
46981         (acos_test): Use END macro without arguments.
46982         (acos_test_tonearest): Likewise.
46983         (acos_test_towardzero): Likewise.
46984         (acos_test_downward): Likewise.
46985         (acos_test_upward): Likewise.
46986         (acosh_test): Likewise.
46987         (asin_test): Likewise.
46988         (asin_test_tonearest): Likewise.
46989         (asin_test_towardzero): Likewise.
46990         (asin_test_downward): Likewise.
46991         (asin_test_upward): Likewise.
46992         (asinh_test): Likewise.
46993         (atan_test): Likewise.
46994         (atanh_test): Likewise.
46995         (atan2_test): Likewise.
46996         (cabs_test): Likewise.
46997         (cacos_test): Use END_COMPLEX macro without arguments.
46998         (cacosh_test): Likewise.
46999         (carg_test): Use END macro without arguments.
47000         (casin_test): Use END_COMPLEX macro without arguments.
47001         (casinh_test): Likewise.
47002         (catan_test): Likewise.
47003         (catanh_test): Likewise.
47004         (cbrt_test): Use END macro without arguments.
47005         (ccos_test): Use END_COMPLEX macro without arguments.
47006         (ccosh_test): Likewise.
47007         (ceil_test): Use END macro without arguments.
47008         (cexp_test): Use END_COMPLEX macro without arguments.
47009         (cimag_test): Use END macro without arguments.
47010         (clog_test): Use END_COMPLEX macro without arguments.
47011         (clog10_test): Likewise.
47012         (conj_test): Likewise.
47013         (copysign_test): Use END macro without arguments.
47014         (cos_test): Likewise.
47015         (cos_test_tonearest): Likewise.
47016         (cos_test_towardzero): Likewise.
47017         (cos_test_downward): Likewise.
47018         (cos_test_upward): Likewise.
47019         (cosh_test): Likewise.
47020         (cosh_test_tonearest): Likewise.
47021         (cosh_test_towardzero): Likewise.
47022         (cosh_test_downward): Likewise.
47023         (cosh_test_upward): Likewise.
47024         (cpow_test): Use END_COMPLEX macro without arguments.
47025         (cproj_test): Likewise.
47026         (creal_test): Use END macro without arguments.
47027         (csin_test): Use END_COMPLEX macro without arguments.
47028         (csinh_test): Likewise.
47029         (csqrt_test): Likewise.
47030         (ctan_test): Likewise.
47031         (ctan_test_tonearest): Likewise.
47032         (ctan_test_towardzero): Likewise.
47033         (ctan_test_downward): Likewise.
47034         (ctan_test_upward): Likewise.
47035         (ctanh_test): Likewise.
47036         (ctanh_test_tonearest): Likewise.
47037         (ctanh_test_towardzero): Likewise.
47038         (ctanh_test_downward): Likewise.
47039         (ctanh_test_upward): Likewise.
47040         (erf_test): Use END macro without arguments.
47041         (erfc_test): Likewise.
47042         (exp_test): Likewise.
47043         (exp_test_tonearest): Likewise.
47044         (exp_test_towardzero): Likewise.
47045         (exp_test_downward): Likewise.
47046         (exp_test_upward): Likewise.
47047         (exp10_test): Likewise.
47048         (exp2_test): Likewise.
47049         (expm1_test): Likewise.
47050         (fabs_test): Likewise.
47051         (fdim_test): Likewise.
47052         (finite_test): Likewise.
47053         (floor_test): Likewise.
47054         (fma_test): Likewise.
47055         (fma_test_towardzero): Likewise.
47056         (fma_test_downward): Likewise.
47057         (fma_test_upward): Likewise.
47058         (fmax_test): Likewise.
47059         (fmin_test): Likewise.
47060         (fmod_test): Likewise.
47061         (fpclassify_test): Likewise.
47062         (frexp_test): Likewise.
47063         (gamma_test): Likewise.
47064         (hypot_test): Likewise.
47065         (ilogb_test): Likewise.
47066         (isfinite_test): Likewise.
47067         (isgreater_test): Likewise.
47068         (isgreaterequal_test): Likewise.
47069         (isinf_test): Likewise.
47070         (isless_test): Likewise.
47071         (islessequal_test): Likewise.
47072         (islessgreater_test): Likewise.
47073         (isnan_test): Likewise.
47074         (isnormal_test): Likewise.
47075         (issignaling_test): Likewise.
47076         (isunordered_test): Likewise.
47077         (j0_test): Likewise.
47078         (j1_test): Likewise.
47079         (jn_test): Likewise.
47080         (ldexp_test): Likewise.
47081         (lgamma_test): Likewise.
47082         (lrint_test): Likewise.
47083         (lrint_test_tonearest): Likewise.
47084         (lrint_test_towardzero): Likewise.
47085         (lrint_test_downward): Likewise.
47086         (lrint_test_upward): Likewise.
47087         (llrint_test): Likewise.
47088         (llrint_test_tonearest): Likewise.
47089         (llrint_test_towardzero): Likewise.
47090         (llrint_test_downward): Likewise.
47091         (llrint_test_upward): Likewise.
47092         (log_test): Likewise.
47093         (log10_test): Likewise.
47094         (log1p_test): Likewise.
47095         (log2_test): Likewise.
47096         (logb_test): Likewise.
47097         (logb_test_downward): Likewise.
47098         (lround_test): Likewise.
47099         (llround_test): Likewise.
47100         (modf_test): Likewise.
47101         (nearbyint_test): Likewise.
47102         (nextafter_test): Likewise.
47103         (nexttoward_test): Likewise.
47104         (pow_test): Likewise.
47105         (pow_test_tonearest): Likewise.
47106         (pow_test_towardzero): Likewise.
47107         (pow_test_downward): Likewise.
47108         (pow_test_upward): Likewise.
47109         (remainder_test): Likewise.
47110         (remainder_test_tonearest): Likewise.
47111         (remainder_test_towardzero): Likewise.
47112         (remainder_test_downward): Likewise.
47113         (remainder_test_upward): Likewise.
47114         (remquo_test): Likewise.
47115         (rint_test): Likewise.
47116         (rint_test_tonearest): Likewise.
47117         (rint_test_towardzero): Likewise.
47118         (rint_test_downward): Likewise.
47119         (rint_test_upward): Likewise.
47120         (round_test): Likewise.
47121         (scalb_test): Likewise.
47122         (scalbn_test): Likewise.
47123         (scalbln_test): Likewise.
47124         (signbit_test): Likewise.
47125         (sin_test): Likewise.
47126         (sin_test_tonearest): Likewise.
47127         (sin_test_towardzero): Likewise.
47128         (sin_test_downward): Likewise.
47129         (sin_test_upward): Likewise.
47130         (sincos_test): Likewise.
47131         (sinh_test): Likewise.
47132         (sinh_test_tonearest): Likewise.
47133         (sinh_test_towardzero): Likewise.
47134         (sinh_test_downward): Likewise.
47135         (sinh_test_upward): Likewise.
47136         (sqrt_test): Likewise.
47137         (tan_test): Likewise.
47138         (tan_test_tonearest): Likewise.
47139         (tan_test_towardzero): Likewise.
47140         (tan_test_downward): Likewise.
47141         (tan_test_upward): Likewise.
47142         (tanh_test): Likewise.
47143         (tgamma_test): Likewise.
47144         (trunc_test): Likewise.
47145         (y0_test): Likewise.
47146         (y1_test): Likewise.
47147         (yn_test): Likewise.
47148         (significand_test): Likewise.
47150 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
47152         [BZ #15381]
47153         * libio/genops.c (_IO_no_init): Initialize wide struct info.
47155 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
47157         [BZ #14894]
47158         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
47159         __ppc_mdoio and __ppc_mdoom.
47160         * manual/platform.texi: Document new functions __ppc_yield,
47161         __ppc_mdoio and __ppc_mdoom.
47163 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
47165         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
47166         (main): Mention "tls" pseudo-hwcap is legacy.
47167         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
47169 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47171         * math/gen-libm-test.pl (parse_args): Output only string of
47172         arguments as text for test name, not full call or descriptions of
47173         tests for extra outputs.
47174         (generate_testfile): Do not pass function name to parse_args.
47175         Generate this_func variable from START.
47176         * math/libm-test.inc (struct test_f_f_data): Rename test_name
47177         field to arg_str.
47178         (struct test_ff_f_data): Likewise.
47179         (test_ff_f_data_nexttoward): Likewise.
47180         (struct test_fi_f_data): Likewise.
47181         (struct test_fl_f_data): Likewise.
47182         (struct test_if_f_data): Likewise.
47183         (struct test_fff_f_data): Likewise.
47184         (struct test_c_f_data): Likewise.
47185         (struct test_f_f1_data): Likewise.  Remove field extra_name.
47186         (struct test_fF_f1_data): Likewise.
47187         (struct test_ffI_f1_data): Likewise.
47188         (struct test_c_c_data): Rename test_name field to arg_str.
47189         (struct test_cc_c_data): Likewise.
47190         (struct test_f_i_data): Likewise.
47191         (struct test_ff_i_data): Likewise.
47192         (struct test_f_l_data): Likewise.
47193         (struct test_f_L_data): Likewise.
47194         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
47195         and extra2_name.
47196         (COMMON_TEST_SETUP): New macro.
47197         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
47198         (COMMON_TEST_CLEANUP): Likewise.
47199         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
47200         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
47201         macros.
47202         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
47203         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
47204         macros.
47205         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
47206         (RUN_TEST_fff_f): Take argument string.  Call new setup and
47207         cleanup macros.
47208         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
47209         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
47210         macros.
47211         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
47212         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
47213         macros.
47214         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47215         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
47216         cleanup macros.
47217         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47218         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
47219         cleanup macros.
47220         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47221         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
47222         cleanup macros.
47223         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47224         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
47225         macros.
47226         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
47227         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
47228         macros.
47229         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
47230         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
47231         macros.
47232         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
47233         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
47234         cleanup macros.
47235         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
47236         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
47237         cleanup macros.
47238         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
47239         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
47240         macros.
47241         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
47242         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
47243         cleanup macros.
47244         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
47245         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
47246         macros.
47247         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
47248         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
47249         macros.
47250         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
47251         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
47252         cleanup macros.
47253         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
47255 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
47257         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
47258         to _sifields.sigfault.
47259         (si_addr_lsb): Define new macro.
47260         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47261         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47262         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
47264 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
47266         [BZ #15441]
47267         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
47268         returns -1.
47269         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
47270         null return -1.
47271         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
47272         loading the domain.
47274 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47276         * math/gen-libm-test.pl (parse_args): Do not include expected
47277         result in test name.
47278         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
47279         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47280         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47281         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47282         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47285 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47287         * benchtests/Makefile: Sort function entries.
47289         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
47290         tanh, asinh, acosh, atanh.
47291         * benchtests/acos-inputs: New file.
47292         * benchtests/acosh-inputs: New file.
47293         * benchtests/asin-inputs: New file.
47294         * benchtests/asinh-inputs: New file.
47295         * benchtests/atanh-inputs: New file.
47296         * benchtests/cosh-inputs: New file.
47297         * benchtests/log-inputs: New file.
47298         * benchtests/sinh-inputs: New file.
47299         * benchtests/tanh-inputs: New file.
47301 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
47303         [BZ #15339]
47304         * posix/tst-getaddrinfo4.c: New test.
47305         * posix/Makefile (tests): Add it.
47307 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47309         [BZ #15339]
47310         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
47311         when no services were used.
47312         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
47313         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
47315 2013-05-21  Andreas Schwab  <schwab@suse.de>
47317         [BZ #15014]
47318         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
47319         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
47320         successful.
47321         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
47322         redundant variable declarations and reallocation of buffer when
47323         parsing as IPv6 address.  Always set NSS status when called from
47324         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
47325         buffer too small.  Correct computation of needed size.
47326         * nss/Makefile (tests): Add test-digits-dots.
47327         * nss/test-digits-dots.c: New test.
47329 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47331         * benchtests/Makefile: Remove instructions for adding
47332         benchmark tests.
47333         * benchtests/README: New file to explain how to execute and
47334         enhance the benchmark tests.
47336 2013-05-21  Andreas Schwab  <schwab@suse.de>
47338         [BZ #15493]
47339         * setjmp/Makefile (tests): Add tst-sigsetjmp.
47340         * setjmp/tst-sigsetjmp.c: New test.
47342 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
47344         * sysdeps/x86_64/memset.S (memset): New implementation.
47345         (__bzero): Likewise.
47346         (__memset_tail): New function.
47348 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
47350         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
47351         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
47352         __memcpy_sse2_unaligned ifunc selection.
47353         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47354         Add memcpy-sse2-unaligned.S.
47355         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47356         Add: __memcpy_sse2_unaligned.
47358 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
47360         [BZ #15490]
47361         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47362         math_force_eval before restoring floating-point envrionment.
47363         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
47364         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
47365         Likewise.
47366         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
47367         <math_private.h>.
47368         (__nearbyintl): Use math_force_eval before restoring
47369         floating-point environment.
47370         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
47372         * math/gen-libm-test.pl (special_functions): Remove.
47373         (parse_args): Don't handle TEST_extra.  Handle functions with no
47374         return value.
47375         * math/libm-test.inc (struct test_sincos_data): Replace with
47376         struct test_fFF_11_data.
47377         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
47378         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
47379         (sincos_test_data): Change element type to struct
47380         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
47381         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
47382         RUN_TEST_LOOP_sincos.
47383         * math/README.libm-test: Don't mention special handling of
47384         individual functions.
47385         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
47386         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47387         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47388         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47389         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47392         * math/gen-libm-test.pl (get_variable): Remove function.
47393         (parse_args): Don't show pointer parameters to call in test
47394         names.  Use "extra output N" in test names for extra outputs
47395         rather than naming variables.
47397 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
47399         [BZ #15488]
47400         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
47401         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
47402         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
47403         double tests.
47404         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
47405         disable.
47406         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
47407         check_long_double.
47409         * math/gen-libm-test.pl (@tests): Remove variable.
47410         ($count): Likewise.
47411         (new_test): Remove function.
47412         (show_exceptions): New function.
47413         (special_functions): Use show_exceptions instead of new_test.
47414         (parse_args): Likewise.
47415         (generate_testfile): Pass only function name in generated call to
47416         print_max_error or print_complex_max_error.
47417         (get_ulps): Do not handle complex tests specially.
47418         (output_test): Rename to ...
47419         (get_all_ulps_for_test): ... this.  Return a string rather than
47420         printing to a file.  Require ulps to be present.
47421         (output_ulps): Generate arrays rather than #defines.
47422         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
47423         (struct ulp_data): New type.
47424         (BUILD_COMPLEX_ULP): Remove macro.
47425         (compare_ulp_data): New function.
47426         (find_ulps): Likewise.
47427         (find_test_ulps): Likewise.
47428         (find_function_ulps): Likewise.
47429         (find_complex_function_ulps): Likewise.
47430         (print_max_error): Determine allowed ulps using
47431         find_function_ulps.
47432         (print_complex_max_error): Determine allowed ulps using
47433         find_complex_function_ulps.
47434         (check_float_internal): Determine max ulps using find_test_ulps.
47435         (check_float): Do not take max_ulp parameter.  Update call to
47436         check_float_internal.
47437         (check_complex): Likewise.
47438         (check_int): Do not take max_ulp parameter.
47439         (check_long): Likewise.
47440         (check_bool): Likewise.
47441         (check_longlong): Likewise.
47442         (struct test_f_f_data): Remove max_ulp field.
47443         (struct test_ff_f_data): Likewise.
47444         (struct test_ff_f_data_nexttoward): Likewise.
47445         (struct test_fi_f_data): Likewise.
47446         (struct test_fl_f_data): Likewise.
47447         (struct test_if_f_data): Likewise.
47448         (struct test_fff_f_data): Likewise.
47449         (struct test_c_f_data): Likewise.
47450         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
47451         (struct test_fF_f1_data): Likewise.
47452         (struct test_ffI_f1_data): Likewise.
47453         (struct test_c_c_data): Remove max_ulp field.
47454         (struct test_cc_c_data): Likewise.
47455         (struct test_f_i_data): Likewise.
47456         (struct test_ff_i_data): Likewise.
47457         (struct test_f_l_data): Likewise.
47458         (struct test_f_L_data): Likewise.
47459         (struct test_sincos_data): Likewise.
47460         (RUN_TEST_f_f): Do not handle ulps.
47461         (RUN_TEST_LOOP_f_f): Likewise.
47462         (RUN_TEST_2_f): Likewise.
47463         (RUN_TEST_LOOP_2_f): Likewise.
47464         (RUN_TEST_fff_f): Likewise.
47465         (RUN_TEST_LOOP_fff_f): Likewise.
47466         (RUN_TEST_c_f): Likewise.
47467         (RUN_TEST_LOOP_c_f): Likewise.
47468         (RUN_TEST_f_f1): Likewise.
47469         (RUN_TEST_LOOP_f_f1): Likewise.
47470         (RUN_TEST_fF_f1): Likewise.
47471         (RUN_TEST_LOOP_fF_f1): Likewise.
47472         (RUN_TEST_fI_f1): Likewise.
47473         (RUN_TEST_LOOP_fI_f1): Likewise.
47474         (RUN_TEST_ffI_f1): Likewise.
47475         (RUN_TEST_LOOP_ffI_f1): Likewise.
47476         (RUN_TEST_c_c): Likewise.
47477         (RUN_TEST_LOOP_c_c): Likewise.
47478         (RUN_TEST_cc_c): Likewise.
47479         (RUN_TEST_LOOP_cc_c): Likewise.
47480         (RUN_TEST_f_i): Likewise.
47481         (RUN_TEST_LOOP_f_i): Likewise.
47482         (RUN_TEST_f_i_tg): Likewise.
47483         (RUN_TEST_LOOP_f_i_tg): Likewise.
47484         (RUN_TEST_ff_i_tg): Likewise.
47485         (RUN_TEST_LOOP_ff_i_tg): Likewise.
47486         (RUN_TEST_f_b): Likewise.
47487         (RUN_TEST_LOOP_f_b): Likewise.
47488         (RUN_TEST_f_b_tg): Likewise.
47489         (RUN_TEST_LOOP_f_b_tg): Likewise.
47490         (RUN_TEST_f_l): Likewise.
47491         (RUN_TEST_LOOP_f_l): Likewise.
47492         (RUN_TEST_f_L): Likewise.
47493         (RUN_TEST_LOOP_f_L): Likewise.
47494         (RUN_TEST_sincos): Likewise.
47495         (RUN_TEST_LOOP_sincos): Likewise.
47497 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
47499         [BZ #15480]
47500         [BZ #15485]
47501         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
47502         main case of finite arguments, set rounding mode to FE_TONEAREST
47503         and discard exceptions.
47504         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
47505         exceptions.
47506         (remainder_tonearest_test_data): New variable.
47507         (remainder_test_tonearest): New function.
47508         (remainder_towardzero_test_data): New variable.
47509         (remainder_test_towardzero): New function.
47510         (remainder_downward_test_data): New variable.
47511         (remainder_test_downward): New function.
47512         (remainder_upward_test_data): New variable.
47513         (remainder_test_upward): New function.
47514         (main): Call the new test functions.
47516         * math/libm-test.inc (struct test_f_f1_data): Remove field
47517         extra_init.
47518         (struct test_fF_f1_data): Likewise.
47519         (struct test_ffI_f1_data): Likewise.
47520         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
47521         based on value of EXTRA_EXPECTED.
47522         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47523         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
47524         EXTRA_VAR based on value of EXTRA_EXPECTED.
47525         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47526         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
47527         EXTRA_VAR based on value of EXTRA_EXPECTED.
47528         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47529         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
47530         EXTRA_VAR based on value of EXTRA_EXPECTED.
47531         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47532         * math/gen-libm-test.pl (parse_args): Don't output initializers
47533         for extra output values.
47535         * math/libm-test.inc (check_int): Expect result to be exactly
47536         equal to expected value and do not handle ulps.
47537         (check_long): Likewise.
47538         (check_longlong): Likewise.
47540         * math/libm-test.inc (ceil_test_data): Test for "inexact"
47541         exceptions.
47542         (cimag_test_data): Likewise.
47543         (conj_test_data): Likewise.
47544         (copysign_test_data): Likewise.
47545         (cproj_test_data): Likewise.
47546         (creal_test_data): Likewise.
47547         (fabs_test_data): Likewise.
47548         (fdim_test_data): Likewise.
47549         (finite_test_data): Likewise.
47550         (floor_test_data): Likewise.
47551         (fmax_test_data): Likewise.
47552         (fmin_test_data): Likewise.
47553         (fmod_test_data): Likewise.
47554         (fpclassify_test_data): Likewise.
47555         (frexp_test_data): Likewise.
47556         (ilogb_test_data): Likewise.
47557         (isfinite_test_data): Likewise.
47558         (isgreater_test_data): Likewise.
47559         (isgreaterequal_test_data): Likewise.
47560         (isinf_test_data): Likewise.
47561         (isless_test_data): Likewise.
47562         (islessequal_test_data): Likewise.
47563         (islessgreater_test_data): Likewise.
47564         (isnan_test_data): Likewise.
47565         (isnormal_test_data): Likewise.
47566         (issignaling_test_data): Likewise.
47567         (isunordered_test_data): Likewise.
47568         (ldexp_test_data): Likewise.
47569         (lrint_test_data): Likewise.
47570         (lrint_test_data) [TEST_FLOAT]: Disable one test.
47571         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
47572         (lrint_tonearest_test_data): Test for "inexact" exceptions.
47573         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47574         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
47575         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47576         test input.
47577         (lrint_towardzero_test_data): Test for "inexact" exceptions.
47578         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47579         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
47580         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
47581         that test input.
47582         (lrint_downward_test_data): Test for "inexact" exceptions.
47583         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47584         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
47585         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47586         test input.
47587         (lrint_upward_test_data): Test for "inexact" exceptions.
47588         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
47589         test input.
47590         (llrint_test_data): Test for "inexact" exceptions.
47591         (llrint_test_data) [TEST_FLOAT]: Disable one test.
47592         (llrint_tonearest_test_data): Test for "inexact" exceptions.
47593         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47594         (llrint_towardzero_test_data): Test for "inexact" exceptions.
47595         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47596         (llrint_downward_test_data): Test for "inexact" exceptions.
47597         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47598         (llrint_upward_test_data): Test for "inexact" exceptions.
47599         (logb_test_data): Likewise.
47600         (logb_downward_test_data): Likewise.
47601         (nextafter_test_data): Likewise.
47602         (nexttoward_test_data): Likewise.
47603         (remainder_test_data): Likewise.
47604         (remquo_test_data): Likewise.
47605         (scalbn_test_data): Likewise.
47606         (scalbln_test_data): Likewise.
47607         (signbit_test_data): Likewise.
47608         (sqrt_test_data): Likewise.
47609         (significand_test_data): Likewise.
47611 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47613         [BZ #15424]
47614         * benchtests/bench-modf.c (struct args): Mark arg0 as
47615         volatile.
47616         * scripts/bench.pl: Mark members of struct args as volatile.
47618 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47620         [BZ # 15497]
47621         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
47622         negative infinity on POWER6 or lower.
47623         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
47625 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
47627         [BZ #15442]
47628         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
47629         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
47630         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
47631         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
47632         (_FP_SETQNAN): New macro.
47633         (_FP_SETQNAN_SEMIRAW): Likewise.
47634         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
47635         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
47636         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
47637         (FP_EXTEND): Use _FP_FRAC_SNANP.
47638         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
47639         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
47640         into account.
47641         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
47642         New macro.
47643         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
47644         Likewise.
47646 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47648         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
47649         with DIVIDE_BY_ZERO_EXCEPTION.
47650         (gamma_test_data): Likewise.
47651         (lgamma_test_data): Likewise.
47652         (log_test_data): Likewise.
47653         (log10_test_data): Likewise.
47654         (log2_test_data): Likewise.
47655         (tgamma_test_data): Likewise.
47657         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
47658         (acos_test_tonearest): Likewise.
47659         (acos_test_towardzero): Likewise.
47660         (acos_test_downward): Likewise.
47661         (acos_test_upward): Likewise.
47662         (acosh_test): Likewise.
47663         (asin_test): Likewise.
47664         (asin_test_tonearest): Likewise.
47665         (asin_test_towardzero): Likewise.
47666         (asin_test_downward): Likewise.
47667         (asin_test_upward): Likewise.
47668         (asinh_test): Likewise.
47669         (atan_test): Likewise.
47670         (atanh_test): Likewise.
47671         (atan2_test): Likewise.
47672         (cabs_test): Likewise.
47673         (cacos_test): Likewise.
47674         (cacosh_test): Likewise.
47675         (casin_test): Likewise.
47676         (casinh_test): Likewise.
47677         (catan_test): Likewise.
47678         (catanh_test): Likewise.
47679         (cbrt_test): Likewise.
47680         (ccos_test): Likewise.
47681         (ccosh_test): Likewise.
47682         (cexp_test): Likewise.
47683         (clog_test): Likewise.
47684         (clog10_test): Likewise.
47685         (cos_test): Likewise.
47686         (cos_test_tonearest): Likewise.
47687         (cos_test_towardzero): Likewise.
47688         (cos_test_downward): Likewise.
47689         (cos_test_upward): Likewise.
47690         (cosh_test): Likewise.
47691         (cosh_test_tonearest): Likewise.
47692         (cosh_test_towardzero): Likewise.
47693         (cosh_test_downward): Likewise.
47694         (cosh_test_upward): Likewise.
47695         (cpow_test): Likewise.
47696         (csin_test): Likewise.
47697         (csinh_test): Likewise.
47698         (csqrt_test): Likewise.
47699         (ctan_test): Likewise.
47700         (ctan_test_tonearest): Likewise.
47701         (ctan_test_towardzero): Likewise.
47702         (ctan_test_downward): Likewise.
47703         (ctan_test_upward): Likewise.
47704         (ctanh_test): Likewise.
47705         (ctanh_test_tonearest): Likewise.
47706         (ctanh_test_towardzero): Likewise.
47707         (ctanh_test_downward): Likewise.
47708         (ctanh_test_upward): Likewise.
47709         (erf_test): Likewise.
47710         (erfc_test): Likewise.
47711         (exp_test): Likewise.
47712         (exp_test_tonearest): Likewise.
47713         (exp_test_towardzero): Likewise.
47714         (exp_test_downward): Likewise.
47715         (exp_test_upward): Likewise.
47716         (exp10_test): Likewise.
47717         (exp2_test): Likewise.
47718         (expm1_test): Likewise.
47719         (fmod_test): Likewise.
47720         (gamma_test): Likewise.
47721         (hypot_test): Likewise.
47722         (j0_test): Likewise.
47723         (j1_test): Likewise.
47724         (jn_test): Likewise.
47725         (lgamma_test): Likewise.
47726         (log_test): Likewise.
47727         (log10_test): Likewise.
47728         (log1p_test): Likewise.
47729         (log2_test): Likewise.
47730         (logb_test_downward): Likewise.
47731         (pow_test): Likewise.
47732         (pow_test_tonearest): Likewise.
47733         (pow_test_towardzero): Likewise.
47734         (pow_test_downward): Likewise.
47735         (pow_test_upward): Likewise.
47736         (remainder_test): Likewise.
47737         (remquo_test): Likewise.
47738         (sin_test): Likewise.
47739         (sin_test_tonearest): Likewise.
47740         (sin_test_towardzero): Likewise.
47741         (sin_test_downward): Likewise.
47742         (sin_test_upward): Likewise.
47743         (sincos_test): Likewise.
47744         (sinh_test): Likewise.
47745         (sinh_test_tonearest): Likewise.
47746         (sinh_test_towardzero): Likewise.
47747         (sinh_test_downward): Likewise.
47748         (sinh_test_upward): Likewise.
47749         (sqrt_test): Likewise.
47750         (tan_test): Likewise.
47751         (tan_test_tonearest): Likewise.
47752         (tan_test_towardzero): Likewise.
47753         (tan_test_downward): Likewise.
47754         (tan_test_upward): Likewise.
47755         (tanh_test): Likewise.
47756         (tgamma_test): Likewise.
47757         (y0_test): Likewise.
47758         (y1_test): Likewise.
47759         (yn_test): Likewise.
47761         * math/gen-libm-test.pl (adjust_arg): Remove function.
47762         (special_function): Remove argument $in_func.  Only handle
47763         generating output for tables of tests, not inside functions.
47764         (parse_args): Likewise.
47765         (generate_testfile): Remove variable $in_func.  Update call to
47766         parse_args.
47767         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
47768         (MINUS_ZERO_INIT): Rename macro to minus_zero.
47769         (PLUS_INFTY_INIT): Rename macro to plus_infty.
47770         (MINUS_INFTY_INIT): Rename macro to minus_infty.
47771         (QNAN_VALUE_INIT): Rename macro to qnan_value.
47772         (MAX_VALUE_INIT): Rename macro to max_value.
47773         (MIN_VALUE_INIT): Rename macro to min_value.
47774         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
47775         (plus_zero): Remove variable.
47776         (minus_zero): Likewise.
47777         (plus_infty): Likewise.
47778         (minus_infty): Likewise.
47779         (qnan_value): Likewise.
47780         (max_value): Likewise.
47781         (min_value): Likewise.
47782         (min_subnorm_value): Likewise.
47784 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47786         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
47787         uint64_t or uint32_t usage.
47788         * crypt/sha256-block.c: Likewise.
47789         * crypt/sha256-crypt.c: Likewise.
47790         * crypt/sha256.c: Likewise.
47791         * crypt/sha512-block.c: Likewise.
47792         * crypt/sha512-crypt.c: Likewise.
47793         * crypt/sha512.c: Likewise.
47794         * debug/backtrace-tst.c: Likewise.
47795         * debug/pcprofiledump.c: Likewise.
47796         * elf/cache.c: Likewise.
47797         * elf/dl-cache.c: Likewise.
47798         * elf/dl-misc.c: Likewise.
47799         * elf/dl-profile.c: Likewise.
47800         * elf/dl-support.c: Likewise.
47801         * elf/ldconfig.c: Likewise.
47802         * elf/sprof.c: Likewise.
47803         * iconv/dummy-repertoire.c: Likewise.
47804         * iconv/iconv_charmap.c: Likewise.
47805         * iconv/skeleton.c: Likewise.
47806         * iconvdata/8bit-generic.c: Likewise.
47807         * iconvdata/cp737.h: Likewise.
47808         * iconvdata/cp775.h: Likewise.
47809         * iconvdata/ibm1008.h: Likewise.
47810         * iconvdata/ibm1025.h: Likewise.
47811         * iconvdata/ibm1046.h: Likewise.
47812         * iconvdata/ibm1097.h: Likewise.
47813         * iconvdata/ibm1112.h: Likewise.
47814         * iconvdata/ibm1122.h: Likewise.
47815         * iconvdata/ibm1123.h: Likewise.
47816         * iconvdata/ibm1124.h: Likewise.
47817         * iconvdata/ibm1129.h: Likewise.
47818         * iconvdata/ibm1130.h: Likewise.
47819         * iconvdata/ibm1132.h: Likewise.
47820         * iconvdata/ibm1133.h: Likewise.
47821         * iconvdata/ibm1137.h: Likewise.
47822         * iconvdata/ibm1140.h: Likewise.
47823         * iconvdata/ibm1141.h: Likewise.
47824         * iconvdata/ibm1142.h: Likewise.
47825         * iconvdata/ibm1143.h: Likewise.
47826         * iconvdata/ibm1144.h: Likewise.
47827         * iconvdata/ibm1145.h: Likewise.
47828         * iconvdata/ibm1146.h: Likewise.
47829         * iconvdata/ibm1147.h: Likewise.
47830         * iconvdata/ibm1148.h: Likewise.
47831         * iconvdata/ibm1149.h: Likewise.
47832         * iconvdata/ibm1153.h: Likewise.
47833         * iconvdata/ibm1154.h: Likewise.
47834         * iconvdata/ibm1155.h: Likewise.
47835         * iconvdata/ibm1156.h: Likewise.
47836         * iconvdata/ibm1157.h: Likewise.
47837         * iconvdata/ibm1158.h: Likewise.
47838         * iconvdata/ibm1160.h: Likewise.
47839         * iconvdata/ibm1161.h: Likewise.
47840         * iconvdata/ibm1162.h: Likewise.
47841         * iconvdata/ibm1163.h: Likewise.
47842         * iconvdata/ibm1164.h: Likewise.
47843         * iconvdata/ibm1166.h: Likewise.
47844         * iconvdata/ibm1167.h: Likewise.
47845         * iconvdata/ibm12712.h: Likewise.
47846         * iconvdata/ibm1390.h: Likewise.
47847         * iconvdata/ibm1399.h: Likewise.
47848         * iconvdata/ibm16804.h: Likewise.
47849         * iconvdata/ibm4517.h: Likewise.
47850         * iconvdata/ibm4899.h: Likewise.
47851         * iconvdata/ibm4909.h: Likewise.
47852         * iconvdata/ibm4971.h: Likewise.
47853         * iconvdata/ibm5347.h: Likewise.
47854         * iconvdata/ibm803.h: Likewise.
47855         * iconvdata/ibm856.h: Likewise.
47856         * iconvdata/ibm901.h: Likewise.
47857         * iconvdata/ibm902.h: Likewise.
47858         * iconvdata/ibm9030.h: Likewise.
47859         * iconvdata/ibm9066.h: Likewise.
47860         * iconvdata/ibm921.h: Likewise.
47861         * iconvdata/ibm922.h: Likewise.
47862         * iconvdata/ibm9448.h: Likewise.
47863         * iconvdata/isiri-3342.h: Likewise.
47864         * iconvdata/jis0201.h: Likewise.
47865         * include/link.h: Likewise.
47866         * include/netdb.h: Likewise.
47867         * inet/check_native.c: Likewise.
47868         * inet/check_pf.c: Likewise.
47869         * inet/getipv4sourcefilter.c: Likewise.
47870         * inet/getnameinfo.c: Likewise.
47871         * inet/getsourcefilter.c: Likewise.
47872         * inet/htonl.c: Likewise.
47873         * inet/setipv4sourcefilter.c: Likewise.
47874         * inet/setsourcefilter.c: Likewise.
47875         * inet/test-inet6_opt.c: Likewise.
47876         * inet/tst-network.c: Likewise.
47877         * locale/C-collate.c: Likewise.
47878         * locale/C-ctype.c: Likewise.
47879         * locale/C-time.c: Likewise.
47880         * locale/C-translit.h: Likewise.
47881         * locale/loadarchive.c: Likewise.
47882         * locale/programs/3level.h: Likewise.
47883         * locale/programs/charmap.c: Likewise.
47884         * locale/programs/charmap.h: Likewise.
47885         * locale/programs/ld-address.c: Likewise.
47886         * locale/programs/ld-collate.c: Likewise.
47887         * locale/programs/ld-ctype.c: Likewise.
47888         * locale/programs/ld-identification.c: Likewise.
47889         * locale/programs/ld-measurement.c: Likewise.
47890         * locale/programs/ld-messages.c: Likewise.
47891         * locale/programs/ld-monetary.c: Likewise.
47892         * locale/programs/ld-name.c: Likewise.
47893         * locale/programs/ld-numeric.c: Likewise.
47894         * locale/programs/ld-paper.c: Likewise.
47895         * locale/programs/ld-telephone.c: Likewise.
47896         * locale/programs/ld-time.c: Likewise.
47897         * locale/programs/linereader.c: Likewise.
47898         * locale/programs/locale.c: Likewise.
47899         * locale/programs/locarchive.c: Likewise.
47900         * locale/programs/locfile.h: Likewise.
47901         * locale/programs/repertoire.c: Likewise.
47902         * locale/programs/simple-hash.c: Likewise.
47903         * locale/programs/simple-hash.h: Likewise.
47904         * malloc/memusage.c: Likewise.
47905         * malloc/memusagestat.c: Likewise.
47906         * nis/nis_defaults.c: Likewise.
47907         * nis/nis_hash.c: Likewise.
47908         * nis/nis_print.c: Likewise.
47909         * nis/nis_xdr.c: Likewise.
47910         * nscd/connections.c: Likewise.
47911         * nscd/hstcache.c: Likewise.
47912         * nscd/nscd_gethst_r.c: Likewise.
47913         * nscd/nscd_getserv_r.c: Likewise.
47914         * nscd/nscd_helper.c: Likewise.
47915         * nscd/servicescache.c: Likewise.
47916         * nss/makedb.c: Likewise.
47917         * nss/nss_db/db-XXX.c: Likewise.
47918         * nss/nss_db/db-initgroups.c: Likewise.
47919         * nss/nss_db/db-netgrp.c: Likewise.
47920         * nss/nss_files/files-network.c: Likewise.
47921         * nss/nss_files/files-parse.c: Likewise.
47922         * posix/bug-regex5.c: Likewise.
47923         * posix/fnmatch_loop.c: Likewise.
47924         * posix/regcomp.c: Likewise.
47925         * posix/regexec.c: Likewise.
47926         * posix/tst-rfc3484-2.c: Likewise.
47927         * posix/tst-rfc3484-3.c: Likewise.
47928         * posix/tst-rfc3484.c: Likewise.
47929         * resolv/nss_dns/dns-canon.c: Likewise.
47930         * resolv/nss_dns/dns-network.c: Likewise.
47931         * resolv/res_init.c: Likewise.
47932         * resolv/res_mkquery.c: Likewise.
47933         * resolv/tst-aton.c: Likewise.
47934         * stdlib/cxa_atexit.c: Likewise.
47935         * stdlib/cxa_finalize.c: Likewise.
47936         * stdlib/gen-fpioconst.c: Likewise.
47937         * stdlib/strtol_l.c: Likewise.
47938         * string/tst-endian.c: Likewise.
47939         * sunrpc/auth_des.c: Likewise.
47940         * sunrpc/clnt_udp.c: Likewise.
47941         * sunrpc/rtime.c: Likewise.
47942         * sunrpc/svcauth_des.c: Likewise.
47943         * sunrpc/xdr.c: Likewise.
47944         * sunrpc/xdr_intXX_t.c: Likewise.
47945         * sunrpc/xdr_rec.c: Likewise.
47946         * sysdeps/generic/ldconfig.h: Likewise.
47947         * sysdeps/generic/ldsodefs.h: Likewise.
47948         * sysdeps/generic/memusage.h: Likewise.
47949         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47950         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
47951         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
47952         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47953         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47954         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47955         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47956         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47957         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47958         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47959         * sysdeps/posix/getaddrinfo.c: Likewise.
47960         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47961         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47962         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47963         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47964         * sysdeps/powerpc/test-gettimebase.c: Likewise.
47965         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
47966         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
47967         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
47968         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
47969         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
47970         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47971         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47972         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
47973         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
47974         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
47975         * sysdeps/x86_64/dl-tls.h: Likewise.
47976         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
47977         * time/alt_digit.c: Likewise.
47978         * time/era.c: Likewise.
47979         * wcsmbs/tst-c16c32-1.c: Likewise.
47981 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47983         * math/libm-test.inc (struct test_sincos_data): New type.
47984         (RUN_TEST_LOOP_sincos): New macro.
47985         (sincos_test_data): New variable.
47986         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
47988 2013-05-16  Richard Henderson  <rth@redhat.com>
47990         * math/atest-exp2.c (LIMB64): New macro.
47991         (CONSTSZ): New macro.
47992         (mp_exp1, mp_exp_m1, mp_log2): New variables.
47993         (hexdig): Move ...
47994         (print_mpn_fp): ... to function scope.
47995         (read_mpn_hex): Remove.
47996         (get_log2): Remove.
47997         (exp2_mpn): Use mp_log2.
47998         (main): Use mp_exp1.
48000 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48002         * math/libm-test.inc: Remove comment about not testing "inexact"
48003         exceptions.
48004         (INEXACT_EXCEPTION): New macro.
48005         (NO_INEXACT_EXCEPTION): Likewise.
48006         (INVALID_EXCEPTION_OK): Update value.
48007         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48008         (OVERFLOW_EXCEPTION_OK): Likewise.
48009         (UNDERFLOW_EXCEPTION_OK): Likewise.
48010         (IGNORE_ZERO_INF_SIGN): Likewise.
48011         (ERRNO_UNCHANGED): Likewise.
48012         (ERRNO_EDOM): Likewise.
48013         (ERRNO_ERANGE): Likewise.
48014         (test_exceptions): Handle testing "inexact" exceptions.
48015         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
48016         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
48017         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
48018         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
48019         INEXACT_EXCEPTION.
48020         (rint_towardzero_test_data): Likewise.
48021         (rint_downward_test_data): Likewise.
48022         (rint_upward_test_data): Likewise.
48024         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
48025         with OVERFLOW_EXCEPTION.
48026         (exp10_test_data): Likewise.
48027         (exp2_test_data): Likewise.
48028         (expm1_test_data): Likewise.
48029         (lgamma_test_data): Likewise.
48030         (pow_test_data): Likewise.
48031         (tgamma_test_data): Likewise.
48032         (yn_test_data): Remove duplicate test of overflow.
48034         * math/libm-test.inc (struct test_cc_c_data): New type.
48035         (RUN_TEST_LOOP_cc_c): New macro.
48036         (cpow_test_data): New variable.
48037         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
48039         * math/libm-test.inc (struct test_f_L_data): New type.
48040         (RUN_TEST_LOOP_f_L): New macro.
48041         (llrint_test_data): New variable.
48042         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
48043         (llrint_tonearest_test_data): New variable.
48044         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
48045         (llrint_towardzero_test_data): New variable.
48046         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
48047         (llrint_downward_test_data): New variable.
48048         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
48049         (llrint_upward_test_data): New variable.
48050         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
48051         (llround_test_data): New variable.
48052         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
48054 2013-05-13  Peter Collingbourne  <pcc@google.com>
48056         * math/atest-exp2.c (get_log2): Remove const attribute.
48058 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
48060         * math/libm-test.inc (struct test_f_l_data): New type.
48061         (RUN_TEST_LOOP_f_l): New macro.
48062         (lrint_test_data): New variable.
48063         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
48064         (lrint_tonearest_test_data): New variable.
48065         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
48066         (lrint_towardzero_test_data): New variable.
48067         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
48068         (lrint_downward_test_data): New variable.
48069         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
48070         (lrint_upward_test_data): New variable.
48071         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
48072         (lround_test_data): New variable.
48073         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
48075 2013-05-15  Peter Collingbourne  <pcc@google.com>
48077         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
48078         (EXTRACT_WORDS64) Use where appropriate.
48079         (INSERT_WORDS64) Likewise.
48081         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
48082         constraints with x constraints.
48083         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
48085         * malloc/obstack.c (_obstack_compat): Add initializer.
48087 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
48089         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
48090         si_trapno and add si_addr_lsb to _sifields.sigfault.
48091         (si_trapno): Remove macro.
48092         (si_addr_lsb): Define new macro.
48093         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48095 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
48097         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
48098         instead of TEST_f_l.
48099         (llrint_test_tonearest): Likewise.
48100         (llrint_test_towardzero): Likewise.
48101         (llrint_test_downward): Likewise.
48102         (llrint_test_upward): Likewise.
48103         (llround_test): Likewise.
48105         * math/libm-test.inc (struct test_f_i_data): Add comment.
48106         (RUN_TEST_LOOP_f_b): New macro.
48107         (RUN_TEST_LOOP_f_b_tg): Likewise.
48108         (finite_test_data): New variable.
48109         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
48110         (isfinite_test_data): New variable.
48111         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48112         (isinf_test_data): New variable.
48113         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48114         (isnan_test_data): New variable.
48115         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48116         (isnormal_test_data): New variable.
48117         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48118         (issignaling_test_data): New variable.
48119         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48120         (signbit_test_data): New variable.
48121         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48123         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
48124         with INVALID_EXCEPTION.
48125         (acosh_test_data): Likewise.
48126         (asin_test_data): Likewise.
48127         (atanh_test_data): Likewise.
48128         (fmod_test_data): Likewise.
48129         (log_test_data): Likewise.
48130         (log10_test_data): Likewise.
48131         (log2_test_data): Likewise.
48132         (pow_test_data): Likewise.
48133         (sqrt_test_data): Likewise.
48134         (y0_test_data): Likewise.
48135         (y1_test_data): Likewise.
48136         (yn_test_data): Likewise.
48138         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
48139         function contents.
48141         * math/libm-test.inc (struct test_ff_i_data): New type.
48142         (RUN_TEST_LOOP_ff_i_tg): New macro.
48143         (isgreater_test_data): New variable.
48144         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48145         (isgreaterequal_test_data): New variable.
48146         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48147         (isless_test_data): New variable.
48148         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48149         (islessequal_test_data): New variable.
48150         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48151         (islessgreater_test_data): New variable.
48152         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48153         (isunordered_test_data): New variable.
48154         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48156 2013-05-14  David S. Miller  <davem@davemloft.net>
48158         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48160 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
48162         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
48164         * math/libm-test.inc (struct test_fF_f1_data): Change type of
48165         extra_test to int.
48166         (struct test_f_i_data): Change type of max_ulp to int.
48168         * math/libm-test.inc (test_ffI_f1_data): New type.
48169         (RUN_TEST_LOOP_ffI_f1): New macro.
48170         (remquo_test_data): New variable.
48171         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
48173         * setjmp/tst-setjmp-fp.c: New file.
48174         * setjmp/Makefile (tests): Add tst-setjmp-fp.
48175         (link-libm): New variable.
48176         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
48178         * math/libm-test.inc (struct test_f_i_data): New type.
48179         (RUN_TEST_LOOP_f_i): New macro.
48180         (RUN_TEST_LOOP_f_i_tg): Likewise.
48181         (fpclassify_test_data): New variable.
48182         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
48183         (ilogb_test_data): New variable.
48184         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
48186         * math/libm-test.inc (scalbln_test): Correct function name in END
48187         call.
48189         * math/libm-test.inc (struct test_f_f1_data): Add comment.
48190         (RUN_TEST_LOOP_fI_f1): New macro.
48191         (frexp_test_data): New variable.
48192         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
48194         * math/libm-test.inc (struct test_fF_f1_data): New type.
48195         (RUN_TEST_LOOP_fF_f1): New macro.
48196         (modf_test_data): New variable.
48197         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
48199         * math/libm-test.inc (struct test_f_f1_data): New type.
48200         (RUN_TEST_LOOP_f_f1): New macro.
48201         (gamma_test_data): New variable.
48202         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48203         (lgamma_test_data): New variable.
48204         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48206 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
48208         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
48209         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
48210         (main): Comment "tls" pseudo-hwcap.
48212 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
48214         * math/libm-test.inc (struct test_fl_f_data): New type.
48215         (RUN_TEST_LOOP_fl_f): New variable.
48216         (scalbln_test_data): New variable.
48217         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
48219         * math/libm-test.inc (struct test_fi_f_data): New type.
48220         (RUN_TEST_LOOP_fi_f): New macro.
48221         (ldexp_test_data): New variable.
48222         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
48223         (scalbn_test_data): New variable.
48224         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
48226         * math/libm-test.inc (struct test_c_f_data): New type.
48227         (RUN_TEST_LOOP_c_f): New macro.
48228         (cabs_test_data): New variable.
48229         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
48230         (carg_test_data): New variable.
48231         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
48232         (cimag_test_data): New variable.
48233         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
48234         (creal_test_data): New variable.
48235         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
48237         * math/libm-test.inc (struct test_if_f_data): New type.
48238         (RUN_TEST_LOOP_if_f): New macro.
48239         (jn_test_data): New variable.
48240         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
48241         (yn_test_data): New variable.
48242         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
48244         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
48246 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48248         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
48249         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
48251 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48253         * benchtests/Makefile (CPPFLAGS-nonlib): Add
48254         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
48255         (bench-deps): Add bench-timing.h.
48256         * benchtests-bench-skeleton.c: Include bench-timing.h.
48257         (main): Use TIMING_* macros instead of clock_gettime.
48258         * benchtests/bench-timing.h: New file.
48260         [BZ #14582]
48261         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
48262         Renamed from _LIB_VERSION.
48263         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
48265 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
48267         * math/libm-test.inc (struct test_fff_f_data): New type.
48268         (RUN_TEST_LOOP_fff_f): New macro.
48269         (fma_test_data): New variable.
48270         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
48271         (fma_towardzero_test_data): New variable.
48272         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
48273         (fma_downward_test_data): New variable.
48274         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
48275         (fma_upward_test_data): New variable.
48276         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
48278         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
48279         (struct test_c_c_data): New type.
48280         (RUN_TEST_LOOP_c_c): New macro.
48281         (cacos_test_data): New variable.
48282         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
48283         (cacosh_test_data): New variable.
48284         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
48285         (casin_test_data): New variable.
48286         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
48287         (casinh_test_data): New variable.
48288         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
48289         (catan_test_data): New variable.
48290         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
48291         (catanh_test_data): New variable.
48292         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
48293         (ccos_test_data): New variable.
48294         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
48295         (ccosh_test_data): New variable.
48296         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
48297         (cexp_test_data): New variable.
48298         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
48299         (clog_test_data): New variable.
48300         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
48301         (clog10_test_data): New variable.
48302         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
48303         (conj_test_data): New variable.
48304         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
48305         (cproj_test_data): New variable.
48306         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
48307         (csin_test_data): New variable.
48308         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
48309         (csinh_test_data): New variable.
48310         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
48311         (csqrt_test_data): New variable.
48312         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
48313         (ctan_test_data): New variable.
48314         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
48315         (ctan_tonearest_test_data): New variable.
48316         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48317         (ctan_towardzero_test_data): New variable.
48318         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48319         (ctan_downward_test_data): New variable.
48320         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48321         (ctan_upward_test_data): New variable.
48322         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48323         (ctanh_test_data): New variable.
48324         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
48325         (ctanh_tonearest_test_data): New variable.
48326         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48327         (ctanh_towardzero_test_data): New variable.
48328         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48329         (ctanh_downward_test_data): New variable.
48330         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48331         (ctanh_upward_test_data): New variable.
48332         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48333         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
48334         of BUILD_COMPLEX.
48336         * math/libm-test.inc (struct test_ff_f_data): New type.
48337         (struct test_ff_f_data_nexttoward): Likewise.
48338         (RUN_TEST_LOOP_2_f): New macro.
48339         (RUN_TEST_LOOP_ff_f): Likewise.
48340         (atan2_test_data): New variable.
48341         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
48342         (copysign_test_data): New variable.
48343         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
48344         (fdim_test_data): New variable.
48345         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
48346         (fmax_test_data): New variable.
48347         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
48348         (fmin_test_data): New variable.
48349         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
48350         (fmod_test_data): New variable.
48351         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
48352         (hypot_test_data): New variable.
48353         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
48354         (nextafter_test_data): New variable.
48355         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
48356         (nexttoward_test_data): New variable.
48357         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
48358         (pow_test_data): New variable.
48359         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
48360         (pow_tonearest_test_data): New variable.
48361         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
48362         (pow_towardzero_test_data): New variable.
48363         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
48364         (pow_downward_test_data): New variable.
48365         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
48366         (pow_upward_test_data): New variable.
48367         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
48368         (remainder_test_data): New variable.
48369         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
48370         (scalb_test_data): New variable.
48371         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
48372         * sysdeps/i386/fpu/libm-test-ulps: Update.
48374 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
48376         * math/libm-test.inc (fma_test): Use max_value instead of local
48377         variable fltmax.
48378         (nextafter_test): Likewise.
48380         * math/libm-test.inc (acos_towardzero_test_data): New variable.
48381         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48382         (acos_downward_test_data): New variable.
48383         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48384         (acos_upward_test_data): New variable.
48385         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48386         (acosh_test_data): New variable.
48387         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
48388         (asin_test_data): New variable.
48389         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
48390         (asin_tonearest_test_data): New variable.
48391         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48392         (asin_towardzero_test_data): New variable.
48393         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48394         (asin_downward_test_data): New variable.
48395         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48396         (asin_upward_test_data): New variable.
48397         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48398         (asinh_test_data): New variable.
48399         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
48400         (atan_test_data): New variable.
48401         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
48402         (atanh_test_data): New variable.
48403         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
48404         (cbrt_test_data): New variable.
48405         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
48406         (ceil_test_data): New variable.
48407         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
48408         (cos_test_data): New variable.
48409         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
48410         (cos_tonearest_test_data): New variable.
48411         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48412         (cos_towardzero_test_data): New variable.
48413         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48414         (cos_downward_test_data): New variable.
48415         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48416         (cos_upward_test_data): New variable.
48417         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48418         (cosh_test_data): New variable.
48419         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
48420         (cosh_tonearest_test_data): New variable.
48421         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48422         (cosh_towardzero_test_data): New variable.
48423         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48424         (cosh_downward_test_data): New variable.
48425         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48426         (cosh_upward_test_data): New variable.
48427         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48428         (erf_test_data): New variable.
48429         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
48430         (erfc_test_data): New variable.
48431         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
48432         (exp_test_data): New variable.
48433         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
48434         (exp_tonearest_test_data): New variable.
48435         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48436         (exp_towardzero_test_data): New variable.
48437         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48438         (exp_downward_test_data): New variable.
48439         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48440         (exp_upward_test_data): New variable.
48441         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48442         (exp10_test_data): New variable.
48443         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
48444         (exp2_test_data): New variable.
48445         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
48446         (expm1_test_data): New variable.
48447         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
48448         (fabs_test_data): New variable.
48449         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
48450         (floor_test_data): New variable.
48451         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
48452         (j0_test_data): New variable.
48453         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
48454         (j1_test_data): New variable.
48455         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
48456         (log_test_data): New variable.
48457         (log_test): Run tests with RUN_TEST_LOOP_f_f.
48458         (log10_test_data): New variable.
48459         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
48460         (log1p_test_data): New variable.
48461         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
48462         (log2_test_data): New variable.
48463         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
48464         (logb_test_data): New variable.
48465         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
48466         (logb_downward_test_data): New variable.
48467         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48468         (nearbyint_test_data): New variable.
48469         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
48470         (rint_test_data): New variable.
48471         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
48472         (rint_tonearest_test_data): New variable.
48473         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48474         (rint_towardzero_test_data): New variable.
48475         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48476         (rint_downward_test_data): New variable.
48477         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48478         (rint_upward_test_data): New variable.
48479         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48480         (round_test_data): New variable.
48481         (round_test): Run tests with RUN_TEST_LOOP_f_f.
48482         (sin_test_data): New variable.
48483         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
48484         (sin_tonearest_test_data): New variable.
48485         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48486         (sin_towardzero_test_data): New variable.
48487         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48488         (sin_downward_test_data): New variable.
48489         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48490         (sin_upward_test_data): New variable.
48491         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48492         (sinh_test_data): New variable.
48493         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
48494         (sinh_tonearest_test_data): New variable.
48495         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48496         (sinh_towardzero_test_data): New variable.
48497         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48498         (sinh_downward_test_data): New variable.
48499         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48500         (sinh_upward_test_data): New variable.
48501         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48502         (sqrt_test_data): New variable.
48503         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
48504         (tan_test_data): New variable.
48505         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
48506         (tan_tonearest_test_data): New variable.
48507         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48508         (tan_towardzero_test_data): New variable.
48509         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48510         (tan_downward_test_data): New variable.
48511         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48512         (tan_upward_test_data): New variable.
48513         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48514         (tanh_test_data): New variable.
48515         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
48516         (tgamma_test_data): New variable.
48517         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
48518         (trunc_test_data): New variable.
48519         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
48520         (y0_test_data): New variable.
48521         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
48522         (y1_test_data): New variable.
48523         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
48524         (significand_test_data): New variable.
48525         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
48527 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
48529         [BZ #12387]
48530         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
48532 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48534         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
48536 2013-05-10  Andreas Jaeger  <aj@suse.de>
48538         [BZ #15448]
48539         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
48540         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
48542 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
48544         * math/gen-libm-test.pl (adjust_arg): New function.
48545         (special_functions): Handle generating output in both functions
48546         and arrays.
48547         (parse_args): Likewise.
48548         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
48549         $in_func argument to parse_args.
48550         * math/libm-test.inc (struct test_f_f_data): New type.
48551         (IF_ROUND_INIT_): New macro.
48552         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
48553         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48554         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48555         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48556         (ROUND_RESTORE_): Likewise.
48557         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
48558         (ROUND_RESTORE_FE_TONEAREST): Likewise.
48559         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
48560         (ROUND_RESTORE_FE_UPWARD): Likewise.
48561         (RUN_TEST_LOOP_f_f): New macro.
48562         (acos_test_data): New variable.
48563         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
48564         (acos_tonearest_test_data): New variable.
48565         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48567 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48569         * benchtests/bench-skeleton.c (startup): Fix coding style.
48571 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
48573         [BZ #6809]
48574         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
48575         negative infinity argument.
48576         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
48577         negative infinity argument.
48578         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
48579         negative infinity argument.
48580         * math/libm-test.inc (tgamma_test): Expect errno to be set for
48581         domain errors.
48583 2013-05-10  Florian Weimer  <fweimer@redhat.com>
48585         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
48586         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
48587         * iconv/iconv_prog.c (main): Likewise.
48588         * locale/programs/charmap-dir.c (charmap_readdir)
48589         (fopen_uncompressed): Likewise.
48590         * locale/programs/locfile.c (siblings_uncached)
48591         (write_locale_data): Use lstat64 instead of lstat.
48592         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
48593         stat.
48595 2013-05-10  Andreas Jaeger  <aj@suse.de>
48597         [BZ #15395]
48598         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
48599         localization.
48600         Include <locale.h>.
48602 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
48604         * elf/dl-close.c (_dl_close_worker): Add comments.
48606 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
48608         [BZ #15359]
48609         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
48610         high part of pi/2.
48611         (__ieee754_rem_pio2l): Update comments.
48613         [BZ #15429]
48614         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
48615         high part of pi/2.
48616         (__ieee754_rem_pio2l): Update comments.
48618         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
48619         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
48621         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
48622         M_PI_4l.
48624         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
48625         (M_PI_34_LOG10El): Likewise.
48626         (M_PI2_LOG10El): Likewise.
48627         (M_PI4_LOG10El): Likewise.
48628         (M_PI_LOG10El): Likewise.
48630 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48632         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48634 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
48636         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
48637         (MINUS_ZERO_INIT): Likewise.
48638         (PLUS_INFTY_INIT): Likewise.
48639         (MINUS_INFTY_INIT): Likewise.
48640         (QNAN_VALUE_INIT): Likewise.
48641         (MAX_VALUE_INIT): Likewise.
48642         (MIN_VALUE_INIT): Likewise.
48643         (MIN_SUBNORM_VALUE_INIT): Likewise.
48644         (plus_zero): Initialize with PLUS_ZERO_INIT.
48645         (minus_zero): Initialize with MINUS_ZERO_INIT.
48646         (plus_infty): Initialize with PLUS_INFTY_INIT.
48647         (minus_infty): Initialize with MINUS_INFTY_INIT.
48648         (qnan_value): Initialize with QNAN_VALUE_INIT.
48649         (max_value): Initialize with MAX_VALUE_INIT.
48650         (min_value): Initialize with MIN_VALUE_INIT.
48651         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
48653         * math/libm-test.inc (RUN_TEST_if_f): New macro.
48654         (jn_test): Use TEST_if_f instead of TEST_ff_f.
48655         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
48656         (yn_test): Use TEST_if_f instead of TEST_ff_f.
48658         * math/libm-test.inc (RUN_TEST_f_f): New macro.
48659         (RUN_TEST_2_f): Likewise.
48660         (RUN_TEST_ff_f): Likewise.
48661         (RUN_TEST_fi_f): Likewise.
48662         (RUN_TEST_fl_f): Likewise.
48663         (RUN_TEST_fff_f): Likewise.
48664         (RUN_TEST_c_f): Likewise.
48665         (RUN_TEST_f_f1): Likewise.
48666         (RUN_TEST_fF_f1): Likewise.
48667         (RUN_TEST_fI_f1): Likewise.
48668         (RUN_TEST_ffI_f1): Likewise.
48669         (RUN_TEST_c_c): Likewise.
48670         (RUN_TEST_cc_c): Likewise.
48671         (RUN_TEST_f_i): Likewise.
48672         (RUN_TEST_f_i_tg): Likewise.
48673         (RUN_TEST_ff_i_tg): Likewise.
48674         (RUN_TEST_f_b): Likewise.
48675         (RUN_TEST_f_b_tg): Likewise.
48676         (RUN_TEST_f_l): Likewise.
48677         (RUN_TEST_f_L): Likewise.
48678         (RUN_TEST_sincos): Likewise.
48679         * math/gen-libm-test.pl (new_test): Take new argument to indicate
48680         whether to show exceptions.  Do not include ");\n" in return
48681         value.
48682         (special_functions): Output call to RUN_TEST_sincos instead of
48683         check_float calls.  Update calls to new_test.
48684         (parse_args): Output call to single RUN_TEST_* macro instead of
48685         check_* calls and other assignments.  Update calls to new_test.
48687         [BZ #2546]
48688         [BZ #2560]
48689         [BZ #5159]
48690         [BZ #15426]
48691         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
48692         input to result for tgamma overflow.
48693         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
48694         (gamma_coeff): New variable.
48695         (NCOEFF): New macro.
48696         (gamma_positive): New function.
48697         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
48698         underflow here.  Use gamma_positive instead of exp (lgamma) for
48699         other arguments.
48700         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
48701         (gamma_coeff): New variable.
48702         (NCOEFF): New macro.
48703         (gammaf_positive): New function.
48704         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
48705         underflow here.  Use gamma_positive instead of exp (lgamma) for
48706         other arguments.
48707         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
48708         (gamma_coeff): New variable.
48709         (NCOEFF): New macro.
48710         (gammal_positive): New function.
48711         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
48712         underflow here.  Use gamma_positive instead of exp (lgamma) for
48713         other arguments.
48714         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
48715         (gamma_coeff): New variable.
48716         (NCOEFF): New macro.
48717         (gammal_positive): New function.
48718         (__ieee754_gammal_r): Handle positive infinity, overflow and
48719         underflow here.  Handle NaN the same as positive infinity.  Remove
48720         check x < 0xffffffff for negative integers.  Use gamma_positive
48721         instead of exp (lgamma) for other arguments.
48722         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
48723         (gamma_coeff): New variable.
48724         (NCOEFF): New macro.
48725         (gammal_positive): New function.
48726         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
48727         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
48728         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
48729         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
48730         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
48731         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
48732         * sysdeps/generic/math_private.h (__gamma_productf): New
48733         prototype.
48734         (__gamma_product): Likewise.
48735         (__gamma_productl): Likewise.
48736         * math/Makefile (libm-calls): Add gamma_product.
48737         * math/libm-test.inc (tgamma_test): Add more tests.
48738         * sysdeps/i386/fpu/libm-test-ulps: Update.
48739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48741 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
48743         * benchtests/bench-skeleton.c (main): Preheat CPU.
48745 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
48747         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
48749 2013-05-07  Roland McGrath  <roland@hack.frob.com>
48751         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
48752         and _dl_skip_args_internal.
48754 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
48756         * manual/message.texi (Message Translation): Talk about users.
48757         Message to key mapping impacts design.
48759 2013-05-06  Roland McGrath  <roland@hack.frob.com>
48761         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
48763         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
48765         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
48766         * sysdeps/wordsize-64/glob64.c: ... here.
48768         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
48769         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
48770         New macros.
48772         * debug/getlogin_r_chk.c: Moved to ...
48773         * login/getlogin_r_chk.c: ... here.
48774         * debug/Makefile (routines): Move getlogin_r_chk to ...
48775         * login/Makefile (routines): ... here.
48776         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
48777         * login/Versions (libc: GLIBC_2.4): ... here.
48779         * io/poll.c (__poll): Renamed from poll.
48780         Add libc_hidden_def.
48781         (poll): Define as weak alias.
48783         * debug/ptsname_r_chk.c: Moved to ...
48784         * login/ptsname_r_chk.c: ... here.
48785         * debug/Makefile (routines): Move ptsname_r_chk to ...
48786         * login/Makefile (routines): ... here.
48787         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
48788         * login/Versions (libc: GLIBC_2.4): ... here.
48790         * posix/getlogin.c: Moved to ...
48791         * login/getlogin.c: ... here.
48792         * posix/getlogin_r.c: Moved to ...
48793         * login/getlogin_r.c: ... here.
48794         * posix/getlogin_r.c: Moved to ...
48795         * login/getlogin_r.c: ... here.
48796         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
48797         * login/Makefile (routines): ... here.
48798         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
48799         * login/Versions (libc: GLIBC_2.0): ... here.
48801         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
48802         (setrlimit): Define as weak alias.
48804         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
48805         Call __ names for open, ftruncate, and close.
48806         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
48807         (truncate): Define as weak alias.
48809 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
48811         * math/gen-libm-test.pl (parse_args): Initialize x before each
48812         test of frexp, modf and remquo.
48814         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
48815         test signgam value.
48817 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48819         [BZ #15418]
48820         [BZ #15419]
48821         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
48822         internal tests.
48823         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48825 2013-05-06  Roland McGrath  <roland@hack.frob.com>
48827         * elf/dl-writev.h: New file.
48828         * elf/dl-misc.c: Include it.
48829         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
48830         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
48832 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
48834         * math/libm-test.inc (noXFails): Remove variable.
48835         (noXPasses): Likewise.
48836         (BUILD_COMPLEX_INT): Remove macro.
48837         (print_screen): Remove xfail argument.
48838         (print_screen_max_error): Likewise.
48839         (update_stats): Likewise.
48840         (print_max_error): Likewise.  Update calls to other affected
48841         functions.
48842         (print_complex_max_error): Likewise.
48843         (test_single_exception): Update calls to print_screen.
48844         (test_single_errno): Likewise.
48845         (check_float_internal): Remove xfail argument.  Update calls to
48846         other affected functions.
48847         (check_float): Likewise.
48848         (check_complex): Likewise.
48849         (check_int): Likewise.
48850         (check_long): Likewise.
48851         (check_bool): Likewise.
48852         (check_longlong): Likewise.
48853         (main): Don't print noXFails and noXPasses.
48854         * math/gen-libm-test.pl (top level): Don't mention expected
48855         failure handling in comment.
48856         (new_test): Don't handle expected failures.
48857         (parse_args): Don't mention expected failure handling in comment.
48858         (generate_testfile): Don't handle expected failures.
48859         (parse_ulps): Likewise.
48860         (print_ulps_file): Likewise.
48861         (get_failure): Remove function.
48862         (output_test): Don't handle expected failures.
48863         * make/README.libm-test: Don't mention expected failure handling.
48865         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
48866         (minus_zero): Likewise.
48867         (plus_infty): Likewise.
48868         (minus_infty): Likewise.
48869         (qnan_value): Likewise.
48870         (max_value): Likewise.
48871         (min_value): Likewise.
48872         (min_subnorm_value): Likewise.
48873         (initialize): Do not initialize those variables dynamically.
48875 2013-05-03  Roland McGrath  <roland@hack.frob.com>
48877         * io/open.c (__open_2): Moved to ...
48878         * io/open_2.c: ... this new file.
48879         * io/open64.c (__open64_2): Moved to ...
48880         * io/open64_2.c: ... this new file.
48881         * io/openat.c (__openat_2): Moved to ...
48882         * io/openat_2.c: ... this new file.
48883         * io/openat64.c (__openat64_2): Moved to ...
48884         * io/openat64_2.c: ... this new file.
48885         * io/Makefile (routines): Add them.
48886         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
48887         * sysdeps/unix/sysv/linux/open_2.c: File removed.
48888         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
48889         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
48890         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
48891         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
48892         (__openat64): Add hidden_ver.
48893         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
48894         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
48896         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
48897         Separately conditionalize setting of GLRO(dl_sysinfo) so
48898         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
48899         as well, but the actual setting is only under [NEED_DL_SYSINFO].
48901 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48903         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
48904         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
48905         definition.
48906         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
48907         * sysdeps/unix/sysv/linux/powerpc/init-first.c
48908         (_libc_vdso_platform_setup): Add __vdso_time initialization.
48909         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
48910         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
48912 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
48914         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
48915         test signgam value.
48917         * math/libm-test.inc (hypot_test): Do not use
48918         IGNORE_ZERO_INF_SIGN.
48920 2013-05-03  Andreas Jaeger  <aj@suse.de>
48922         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
48923         Linux 3.9.
48924         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
48925         (PF_MAX): Adjust for VSOCK change.
48927 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48929         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48931 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
48933         [BZ #15264]
48934         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
48935         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
48936         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
48938 2013-05-02  David S. Miller  <davem@davemloft.net>
48940         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48942 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
48944         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
48946 2013-05-01  Roland McGrath  <roland@hack.frob.com>
48948         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
48950 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
48952         [BZ #14952]
48953         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
48954         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
48955         Use __attribute__ ((__gnu_inline__)).
48956         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
48957         Don't use __attribute__ ((__gnu_inline__)).
48959 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
48961         [BZ #15423]
48962         * math/s_catan.c (__catan): Handle small real or imaginary part of
48963         input specially to avoid spurious underflow.
48964         * math/s_catanf.c (__catanf): Likewise.
48965         * math/s_catanh.c (__catanh): Likewise.
48966         * math/s_catanhf.c (__catanhf): Likewise.
48967         * math/s_catanhl.c (__catanhl): Likewise.
48968         * math/s_catanl.c (__catanl): Likewise.
48969         * math/libm-test.inc (catan_test): Add more tests.
48970         (catanh_test): Likewise.
48971         * sysdeps/i386/fpu/libm-test-ulps: Update.
48972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48974 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48976         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48978 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
48980         [BZ #15416]
48981         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
48982         accurately for denominator in atan2.
48983         * math/s_catanf.c (__catanf): Likewise.
48984         * math/s_catanh.c (__catanh): Likewise.
48985         * math/s_catanhf.c (__catanhf): Likewise.
48986         * math/s_catanhl.c (__catanhl): Likewise.
48987         * math/s_catanl.c (__catanl): Likewise.
48988         * math/libm-test.inc (catan_test): Add more tests.
48989         (catanh_test): Likewise.
48990         * sysdeps/i386/fpu/libm-test-ulps: Update.
48991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48993 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48995         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
48997         * benchtests/Makefile (bench): Remove slow benchmarks.
48998         * benchtests/atan-inputs: Add slow benchmark inputs.
48999         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
49000         (BENCH_FUNC): Accept variant offset.
49001         (VARIANT): Define.
49002         * benchtests/bench-skeleton.c (main): Run benchmark for each
49003         variant.
49004         * benchtests/cos-inputs: Add slow benchmark inputs.
49005         * benchtests/exp-inputs: Likewise.
49006         * benchtests/pow-inputs: Likewise.
49007         * benchtests/sin-inputs: Likewise.
49008         * benchtests/slowatan-inputs: Remove.
49009         * benchtests/slowatan.c: Remove.
49010         * benchtests/slowcos-inputs: Remove.
49011         * benchtests/slowcos.c: Remove.
49012         * benchtests/slowexp-inputs: Remove.
49013         * benchtests/slowexp.c: Remove.
49014         * benchtests/slowpow-inputs: Remove.
49015         * benchtests/slowpow.c: Remove.
49016         * benchtests/slowsin-inputs: Remove.
49017         * benchtests/slowsin.c: Remove.
49018         * benchtests/slowtan-inputs: Remove.
49019         * benchtests/slowtan.c: Remove.
49020         * benchtests/tan-inputs: Add slow benchmark inputs.
49021         * scripts/bench.pl: Parse comments and directives.
49023         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
49024         in CPPFLAGS.
49025         ($(objpfx)bench-%.c): Remove *-ITER.
49026         * benchtests/bench-modf.c: Remove definition of ITER.
49027         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
49028         (main): Loop for DURATION seconds instead of fixed number of
49029         iterations.
49030         * scripts/bench.pl: Don't expect iterations in parameters.
49032 2013-04-29  Roland McGrath  <roland@hack.frob.com>
49034         * io/fchdir.c (__fchdir): Renamed from fchdir.
49035         (fchdir): Define as weak alias.
49037 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
49039         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
49040         (ERRNO_EDOM): Likewise.
49041         (ERRNO_ERANGE): Likewise.
49042         (noErrnoTests): New variable.
49043         (init_max_error): Set errno to 0.
49044         (test_single_errno): New function.
49045         (test_errno): Likewise.
49046         (check_float_internal): Call test_errno.  Set errno to 0.
49047         (check_complex): Refer to errno tests in comment.
49048         (check_int): Call test_errno.  Set errno to 0.
49049         (check_long): Likewise.
49050         (check_bool): Likewise.
49051         (check_longlong): Likewise.
49052         (cos_test): Use ERRNO_* flags for errno tests instead of
49053         check_int.
49054         (expm1_test): Likewise.
49055         (fmod_test): Likewise.
49056         (ilogb_test): Likewise.
49057         (lgamma_test): Likewise.
49058         (pow_test): Likewise.
49059         (remainder_test): Likewise.
49060         (sin_test): Likewise.
49061         (tan_test): Likewise.
49062         (yn_test): Likewise.
49063         (initialize): Set errno to 0.
49064         (main): Print number of errno tests.
49065         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
49067 2013-04-29  Andreas Jaeger  <aj@suse.de>
49069         [BZ #15084]
49070         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
49071         and RES_USEVC.
49073         [BZ #15085]
49074         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
49075         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
49076         unimplemented.
49078         [BZ #15380]
49079         * stdlib/random.c (__initstate): Return NULL if
49080         __initstate fails.
49082         [BZ #15086]
49083         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
49084         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
49085         RES_SNGLKUPREOP.
49087 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49089         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49091 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
49093         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
49094         of individual tests.
49095         (casin_test): Likewise.
49096         (casinh_test): Likewise.
49098 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
49100         [BZ #15409]
49101         * math/s_catan.c (__catan): Handle arguments with large real or
49102         imaginary part separately without squaring.
49103         * math/s_catanf.c (__catanf): Likewise.
49104         * math/s_catanh.c (__catanh): Likewise.
49105         * math/s_catanhf.c (__catanhf): Likewise.
49106         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49107         and redefine.
49108         (__catanhl): Handle arguments with large real or imaginary part
49109         separately without squaring.
49110         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49111         and redefine.
49112         (__catanl): Handle arguments with large real or imaginary part
49113         separately without squaring.
49114         * math/libm-test.inc (catan_test): Add more tests.
49115         (catanh_test): Likewise.
49116         * sysdeps/i386/fpu/libm-test-ulps: Update.
49117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49119 2013-04-27  Andreas Jaeger  <aj@suse.de>
49121         [BZ #15007]
49122         * stdlib/stdlib.h: Update guards for qecvt.
49123         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
49124         <stdlib.h>.
49126 2013-04-27  Allan McRae  <allan@archlinux.org>
49128         * sysdeps/i386/fpu/libm-test-ulps: Update.
49130 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
49132         [BZ #15406]
49133         * math/s_catan.c: Include <float.h>.
49134         (__catan): Ensure underflow exception occurs for underflowed
49135         result.
49136         * math/s_catanf.c: Include <float.h>.
49137         (__catanf): Ensure underflow exception occurs for underflowed
49138         result.
49139         * math/s_catanh.c: Include <float.h>.
49140         (__catanh): Ensure underflow exception occurs for underflowed
49141         result.
49142         * math/s_catanhf.c: Include <float.h>.
49143         (__catanhf): Ensure underflow exception occurs for underflowed
49144         result.
49145         * math/s_catanhl.c: Include <float.h>.
49146         (__catanhl): Ensure underflow exception occurs for underflowed
49147         result.
49148         * math/s_catanl.c: Include <float.h>.
49149         (__catanl): Ensure underflow exception occurs for underflowed
49150         result.
49151         * math/libm-test.inc (catan_test): Add more tests.
49152         (catanh_test): Likewise.
49154         [BZ #15405]
49155         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
49156         underflowed result.
49157         * math/s_ccoshf.c (__ccoshf): Likewise.
49158         * math/s_ccoshl.c (__ccoshl): Likewise.
49159         * math/s_csin.c (__csin): Likewise.
49160         * math/s_csinf.c (__csinf): Likewise.
49161         * math/s_csinh.c (__csinh): Likewise.
49162         * math/s_csinhf.c (__csinhf): Likewise.
49163         * math/s_csinhl.c (__csinhl): Likewise.
49164         * math/s_csinl.c (__csinl): Likewise.
49165         * math/libm-test.inc (ccos_test): Add more tests.
49166         (ccosh_test): Likewise.
49167         (csin_test): Likewise.
49168         (csinh_test): Likewise.
49170 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49172         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
49173         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
49174         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
49175         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
49176         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
49177         powerpc/power5+/fpu folders.
49178         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
49181 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
49183         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49185 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
49187         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
49188         additions to variable.
49189         [$(config-machine) = x86_64] (modules-names): Likewise.
49190         ($(objpfx)tst-audit3): Remove dependency.
49191         ($(objpfx)tst-audit3.out): Likewise.
49192         ($(objpfx)tst-audit4): Likewise.
49193         ($(objpfx)tst-audit4.out): Likewise.
49194         ($(objpfx)tst-audit5): Likewise.
49195         ($(objpfx)tst-audit5.out): Likewise.
49196         ($(objpfx)tst-audit6): Likewise.
49197         ($(objpfx)tst-audit6.out): Likewise.
49198         ($(objpfx)tst-audit7): Likewise.
49199         ($(objpfx)tst-audit7.out): Likewise.
49200         (tst-audit3-ENV): Remove variable.
49201         (tst-audit4-ENV): Likewise.
49202         (tst-audit5-ENV): Likewise.
49203         (tst-audit6-ENV): Likewise.
49204         (tst-audit7-ENV): Likewise.
49205         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
49206         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
49207         addition to variable.
49208         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
49209         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
49210         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
49211         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
49212         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
49213         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
49214         tst-audit3, tst-audit4 and tst-audit5.
49215         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
49216         tst-audit6 and tst-audit7.
49217         [$(subdir) = elf] (modules-names): Add audit modules for those
49218         tests.
49219         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
49220         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
49221         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
49222         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
49223         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
49224         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
49225         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
49226         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
49227         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
49228         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
49229         [$(subdir) = elf] (tst-audit3-ENV): New variable.
49230         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
49231         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
49232         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
49233         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
49234         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
49235         Likewise.
49236         [$(subdir) = elf && $(config-cflags-avx) = yes]
49237         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
49238         [$(subdir) = elf && $(config-cflags-avx) = yes]
49239         (CFLAGS-tst-auditmod4a.c): Likewise.
49240         [$(subdir) = elf && $(config-cflags-avx) = yes]
49241         (CFLAGS-tst-auditmod4b.c): Likewise.
49242         [$(subdir) = elf && $(config-cflags-avx) = yes]
49243         (CFLAGS-tst-auditmod6b.c): Likewise.
49244         [$(subdir) = elf && $(config-cflags-avx) = yes]
49245         (CFLAGS-tst-auditmod6c.c): Likewise.
49246         [$(subdir) = elf && $(config-cflags-avx) = yes]
49247         (CFLAGS-tst-auditmod7b.c): Likewise.
49248         * elf/tst-audit3.c: Move to ...
49249         * sysdeps/x86_64/tst-audit3.c: ... here.
49250         * elf/tst-audit4.c: Move to ...
49251         * sysdeps/x86_64/tst-audit4.c: ... here.
49252         * elf/tst-audit5.c: Move to ...
49253         * sysdeps/x86_64/tst-audit5.c: ... here.
49254         * elf/tst-audit6.c: Move to ...
49255         * sysdeps/x86_64/tst-audit6.c: ... here.
49256         * elf/tst-audit7.c: Move to ...
49257         * sysdeps/x86_64/tst-audit7.c: ... here.
49258         * elf/tst-auditmod3a.c: Move to ...
49259         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
49260         * elf/tst-auditmod3b.c: Move to ...
49261         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
49262         * elf/tst-auditmod4a.c: Move to ...
49263         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
49264         * elf/tst-auditmod4b.c: Move to ...
49265         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
49266         * elf/tst-auditmod5a.c: Move to ...
49267         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
49268         * elf/tst-auditmod5b.c: Move to ...
49269         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
49270         * elf/tst-auditmod6a.c: Move to ...
49271         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
49272         * elf/tst-auditmod6b.c: Move to ...
49273         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
49274         * elf/tst-auditmod6c.c: Move to ...
49275         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
49276         * elf/tst-auditmod7a.c: Move to ...
49277         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
49278         * elf/tst-auditmod7b.c: Move to ...
49279         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
49281 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
49283         [BZ #15366]
49284         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
49285         define unconditionally.
49286         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
49287         define unconditionally.
49288         (INT8_C, INT16_C, etc.): Likewise.
49290 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
49292         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
49293         __ehdr_start with hidden visibility.
49295         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
49297 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
49299         * math/libm-test.inc (cos_test): Use accurate hex constants.
49300         (sincost_test): Likewise.
49302 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
49304         * math/libm-test.inc (catan_test): Add more tests.
49305         (catanh_test): Likewise.
49307         * math/s_catanf.c (__catanf): Use suffixed floating-point
49308         constants.
49309         * math/s_catanhf.c (__catanhf): Likewise.
49310         * math/s_catanhl.c (__catanhl): Likewise.
49311         * math/s_catanl.c (__catanl): Likewise.
49313         [BZ #15394]
49314         * math/s_catan.c (__catan): Calculate imaginary part of result
49315         with log1p not log unless computing log of number close to 0.
49316         * math/s_catanf.c (__catanf): Likewise.
49317         * math/s_catanl.c (__catanl): Likewise.
49318         * math/s_catanh.c (__catanh): Calculate real part of result with
49319         log1p not log unless computing log of number close to 0.
49320         * math/s_catanhf.c (__catanhf): Likewise.
49321         * math/s_catanhl.c (__catanhl): Likewise.
49322         * math/libm-test.inc (catan_test): Add more tests.
49323         (catanh_test): Likewise.
49324         * sysdeps/i386/fpu/libm-test-ulps: Update.
49325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49327 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49329         * benchtests/Makefile: Mention files in which fast and slow
49330         paths of math functions are implemented.
49332 2013-04-23  Roland McGrath  <roland@hack.frob.com>
49334         * sysdeps/posix/timespec_get.c: New file.
49336 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49338         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
49339         POWER.
49340         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
49341         for POWER.
49342         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
49343         powerpc/power5/fpu folders.
49344         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
49345         * benchtests/Makefile: Add modf testcase.
49346         * benchtests/bench-modf.c: New file: Benchmark test for mo
49348 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49350         [BZ #14888]
49351         * time/Makefile (tests): Add tst-strptime-whitespace.
49352         * time/strptime_l.c (get_number): Use ISSPACE.
49353         (__strptime_internal): Likewise.
49354         * time/tst-strptime-whitespace.c: New test case.
49356 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
49358         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
49359         member.
49360         (_nss_files_init): Set it here.
49362 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
49364         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
49365         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
49366         unsigned.
49368 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
49370         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
49372 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49374         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
49375         size just once.
49377 2013-04-21  David S. Miller  <davem@davemloft.net>
49379         * po/ru.po: Update Russion translation from translation project.
49381 2013-04-17  Adam Conrad  <adconrad@0c3.net>
49383         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
49384         and setfsgid.
49386 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
49388         * configure.in: Remove i386 configure warning. Remove i386 case.
49389         * configure: Regenerate.
49390         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
49391         Add example to error message.
49392         * sysdeps/i386/configure: Regenerate.
49394 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49396         * benchtests/Makefile (bench): Add cos, tan, slowcos and
49397         slowtan.
49398         * benchtests/cos-inputs: New file.
49399         * benchtests/slowcos-inputs: New file.
49400         * benchtests/slowcos.c: New file.
49401         * benchtests/slowtan-inputs: New file.
49402         * benchtests/slowtan.c: New file.
49403         * benchtests/tan-inputs: New file.
49405 2013-04-16  Roland McGrath  <roland@hack.frob.com>
49407         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
49408         considered kosher.
49410 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49412         * benchtests/Makefile: Include cppflags-iterator.mk to add
49413         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
49415         * Makefile.in (bench-clean): New target.
49416         * benchtests/Makefile (bench-clean): Likewise.
49418 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
49420         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
49422 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
49424         * stdio-common/tstdiomisc.c: Fix coding-style violation.
49426 2013-04-15  Andreas Schwab  <schwab@suse.de>
49428         * nscd/grpcache.c (cache_addgr): Properly check for short write.
49429         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49430         * nscd/pwdcache.c (cache_addpw): Likewise.
49431         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
49432         more than recsize.
49434 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49436         * benchtests/Makefile (bench): Write all output to
49437         bench-out.tmp together.
49439 2013-04-15  Andreas Schwab  <schwab@suse.de>
49441         * nscd/nscd.c (main): Don't fork again after closing files.
49443 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49445         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
49447         * benchtests/Rules (bench-deps): Collect dependencies into a
49448         single variable.  Add Makefile to dependencies.
49449         ($(objpfx)bench-%.c): Depend on bench-deps.
49451 2013-04-12  Roland McGrath  <roland@hack.frob.com>
49452             Xavier Roche  <roche+kml2@exalead.com>
49454         [BZ #15361]
49455         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
49456         just that it's a file descriptor.
49457         * manual/llio.texi (Synchronizing AIO Operations): Update description
49458         for EBADF error from aio_fsync.
49460 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49462         * Rules (bench): Move target definition...
49463         * benchtests/Makefile: ... here.
49465 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
49467         * math/libm-test.inc (cos_test): Fix PI/2 test.
49468         (sincos_test): Likewise.
49469         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
49470         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
49472 2013-04-11  Andreas Schwab  <schwab@suse.de>
49474         [BZ #13988]
49475         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
49476         accept exponent character only when digits were seen.
49477         * stdio-common/Makefile (tests): Add bug26.
49478         * stdio-common/bug26.c: New file.
49480         [BZ #14293]
49481         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
49482         non-freeable.
49484 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49486         * Makeconfig (rtld-prefix): Define built linker prefix.
49487         * Rules (run-bench): Use it.
49488         * math/Makefile (run-regen-ulps): Likewise.
49490         * Rules (bench): Remove eval.
49492 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49493             Roland McGrath  <roland@hack.frob.com>
49494             Ondrej Bilka  <neleai@seznam.cz>
49496         [BZ #15346]
49497         * time/getdate.c: Include ctype.h and alloca.h.
49498         (__getdate_r): Trim leading and trailing spaces of input.
49499         * time/tst-getdate.c (tests): Add tests with leading and
49500         trailing spaces.
49502 2013-04-08  Roland McGrath  <roland@hack.frob.com>
49504         [BZ #14280]
49505         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
49506         when computing value.
49508 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49510         * math/README.libm-test (How can I generate "libm-test-ulps"?):
49511         Use testrun.sh to run libm tests.
49513         [BZ #15309]
49514         * elf/dl-open.c (dl_open_worker): memset all of seen array.
49516 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
49518         [BZ #15264]
49519         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
49521 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49523         * Makefile.in (regen-ulps): New target.
49524         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
49525         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
49526         [ifneq (no,$(PERL)] (regen-ulps): New target.
49527         [ifeq (no,$(PERL)] (regen-ulps): New target.
49528         * math/libm-test.inc (ulps_file_name): Define.
49529         (output_dir): New variable.
49530         (options): Add "output-dir" option.
49531         (parse_opt): Handle 'o' case.
49532         (main): If output_dir is non-NULL use it as a prefix
49533         otherwise use "".
49534         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
49536 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49538         [BZ #10060, #10062]
49539         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
49540         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
49541         fail configure if __sync_val_compare_and_swap is not inlined.
49542         * sysdeps/i386/configure: Regenerate.
49543         * configure.in: Build for i686 when configured for i386.
49544         * configure: Regenerate.
49545         * README: Remove i386 reference.
49547 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49549         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
49550         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49552 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
49554         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
49555         (lmsnanval): New variables.
49556         (F): Add conversion tests.
49557         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
49558         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
49560         * stdio-common/tstdiomisc.c (F): Properly collect individual
49561         tests' results.
49563         [BZ #14686, #15336]
49564         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
49565         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
49566         Instead, use input NaN values or generate a qNaN by arithmetic
49567         operation.  Also fix bugs to comply with the standard.
49568         * math/libm-test.inc (remainder_test): Add more tests.
49570         [BZ #15335, #15342]
49571         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
49572         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
49573         input NaN values or generate a qNaN by arithmetic operation.
49575         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
49576         unreachable code.
49578         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
49579         definitions.
49581 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
49583         [BZ #14478]
49584         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
49585         underflowed result.
49586         * math/s_cexpf.c (__cexpf): Likewise.
49587         * math/s_cexpl.c (__cexpl): Likewise.
49588         * math/libm-test.inc (cexp_test): Add more tests.
49590 2013-04-03  Andreas Schwab  <schwab@suse.de>
49592         [BZ #15330]
49593         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
49594         order arrays from heap if bigger than alloca cutoff.
49596 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
49598         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
49599         (SNAN_TESTS_double): Refer to GCC PR56831.
49600         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
49601         GCC PR56828.
49603 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49605         * Rules (bench): Move bench.out after the run is complete.
49607         * Rules (bench): Echo currently running benchmark.
49609         * benchtests/Makefile (bench): Add atan and slowatan.
49610         * benchtests/atan-inputs: New file.
49611         * benchtests/slowatan-inputs: New file.
49612         * benchtests/slowatan.c: New file.
49614         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
49615         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
49616         its value.
49618         [BZ #15305]
49619         * sysdeps/unix/sysv/linux/kernel-features.h
49620         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
49621         __ASSUME_XFS_RESTRICTED_CHOWN.
49622         * sysdeps/unix/sysv/linux/pathconf.c
49623         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
49624         Save and restore errno.
49626 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
49628         [BZ #15327]
49629         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
49630         arguments using __kernel_casinh.
49631         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
49632         arguments using __kernel_casinhf.
49633         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
49634         arguments using __kernel_casinhl.
49635         * math/libm-test.inc (cacosh_test): Add more tests.
49636         * sysdeps/i386/fpu/libm-test-ulps: Update.
49637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49639 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49641         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
49642         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
49644         * bench/Makefile (bench): Add sin and slowsin.
49645         * benchtests/sin-inputs: New file.
49646         * benchtests/slowsin-inputs: New file.
49647         * benchtests/slowsin.c: New file.
49649         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
49650         (bench): Add slowexp and slowpow.
49651         (exp-ITER): Increase iterations.
49652         (pow-ITER): Likewise.
49653         * benchtests/exp-inputs: Change input.
49654         * benchtests/pow-inputs: Likewise.
49655         * benchtests/slowexp-inputs: New file.
49656         * benchtests/slowexp.c: New file.
49657         * benchtests/slowpow-inputs: New file.
49658         * benchtests/slowpow.c: New file.
49660 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49662         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
49663         instructions.
49664         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49665         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
49666         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
49667         * benchtests/Makefile: Add rint benchtest.
49668         * benchtests/rint-inputs: Input for rint benchtest.
49670 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
49672         * Versions.def (libm): Add GLIBC_2.18.
49673         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
49674         hidden libm prototypes.
49675         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
49676         * math/Makefile (libm-calls): Add s_issignaling.
49677         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
49678         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
49679         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
49680         declaration.
49681         * math/math.h [__USE_GNU] (issignaling): New macro.
49682         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
49683         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
49684         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
49685         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
49686         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
49687         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
49688         * manual/arith.texi (issignaling): New section.
49689         * manual/libm-err-tab.pl (@all_functions): Update comment.
49690         * math/gen-libm-test.pl (parse_args): Apply special handling for
49691         issignaling.
49692         * math/libm-test.inc (print_float, issignaling_test): New
49693         functions.
49694         (check_float_internal): Add issignaling checks.
49695         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
49696         default definition.
49697         * sysdeps/powerpc/math-tests.h: New file.
49698         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
49699         tests.
49700         * math/test-snan.c (TEST_FUNC): Likewise.
49702 2013-03-30  David S. Miller  <davem@davemloft.net>
49704         * po/de.po: Update from translation team.
49706 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
49708         [BZ #10357]
49709         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49710         imaginary part less than 1.0 and real part less than 0.5
49711         specially.
49712         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49713         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49714         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
49715         (cacos_test): Add more tests.
49716         (casin_test): Likewise.
49717         (casinh_test): Likewise.
49718         * sysdeps/i386/fpu/libm-test-ulps: Update.
49719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49721 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49723         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
49724         ONE with its value.
49726         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
49727         (__pow_mp): Replace ONE and MONE with their values.
49728         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49729         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
49730         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49731         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
49732         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49733         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49735         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
49737         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
49738         (__pow_mp): Replace ZERO and MZERO with their values.
49739         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49740         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49741         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49742         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
49743         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49744         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
49745         (__sqr): Likewise.
49747         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
49749         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
49751 2013-03-28  Roland McGrath  <roland@hack.frob.com>
49753         * include/stdlib.h [!SHARED] (__call_tls_dtors):
49754         Declare with __attribute__ ((weak)).
49755         * stdlib/exit.c (__libc_atexit) [!SHARED]:
49756         Call __call_tls_dtors only if it's not NULL.
49758 2013-03-28  Roland McGrath  <roland@hack.frob.com>
49760         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
49761         didn't do it already, then set _dl_phdr and _dl_phnum based on the
49762         magic __ehdr_start linker symbol if it's defined.
49763         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
49764         them up here if it was already done.
49766         * elf/dl-support.c (_dl_phdr): Make pointer to const.
49767         (_dl_aux_init): Use const in cast when setting it.
49768         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
49769         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
49770         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
49772         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
49773         Declare them here.
49774         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
49775         * csu/libc-tls.c: Nor here.
49776         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
49778         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
49779         (__libc_message): Never call vsyslog.
49781 2013-03-28  Alan Modra  <amodra@gmail.com>
49783         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
49784         Define as empty.
49785         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
49786         Likewise.
49788 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49790         [BZ #15214]
49791         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
49792         underflow.
49793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49795 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49797         [BZ #15304]
49798         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
49799         Don't add gid passed as argument.
49801         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
49803 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
49805         [BZ #15307]
49806         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49807         imaginary part between 1.0 and 1.5 and real part less than 0.5
49808         specially.
49809         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49810         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49811         * math/libm-test.inc (cacos_test): Add more tests.
49812         (casin_test): Likewise.
49813         (casinh_test): Likewise.
49814         * sysdeps/i386/fpu/libm-test-ulps: Update.
49815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49817 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49819         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
49820         constants.
49821         (norm): Likewise.
49822         (denorm): Likewise.
49823         (__dbl_mp): Likewise.
49824         (add_magnitudes): Likewise.
49825         (sub_magnitudes): Likewise.
49826         (__add): Likewise.
49827         (__sub): Likewise.
49828         (__mul): Likewise.
49829         (__sqr): Likewise.
49830         (__inv): Likewise.
49831         (__dvd): Likewise.
49833         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
49834         commented code.
49835         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
49836         (__dubcos): Likewise.
49837         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
49838         (__ieee754_acos): Likewise.
49839         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49840         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
49841         (__exp1): Likewise.
49842         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49843         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49844         (log1): Likewise.
49845         (my_log2): Likewise.
49846         (checkint): Likewise.
49847         * sysdeps/ieee754/dbl-64/e_remainder.c
49848         (__ieee754_remainder): Likewise.
49849         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49850         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
49851         (bsloww): Likewise.
49852         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49854         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
49855         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
49856         MANTISSA_STORE_T to store computations on mantissa.  Use
49857         macros for rounding and division.
49858         (denorm): Likewise.
49859         (__dbl_mp): Likewise.
49860         (add_magnitudes): Likewise.
49861         (sub_magnitudes): Likewise.
49862         (__mul): Likewise.
49863         (__sqr): Likewise.
49864         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
49865         powers of two in terms of TWOPOW macro.
49866         (mp_no): Make type of mantissa as MANTISSA_T.
49867         [!RADIXI]: Define RADIXI.
49868         [!TWO52]: Define TWO52.
49869         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
49871 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49873         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
49874         llroundl symbol when building for PPC32.
49876 2013-03-24  Mark H Weaver  <mhw@netris.org>
49878         * manual/arith.texi (Normalization Functions): Fix prototypes for
49879         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
49881 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49883         [BZ #13889]
49884         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
49885         high value to check if expl overflow.
49886         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
49887         to check for underflow and overflow.
49888         * math/libm-test.inc: Add exp test.
49890 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
49892         [BZ #11120]
49893         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
49894         with NOT_IN_libc.
49896 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49898         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
49899         symbol.
49901 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
49903         * math/gen-libm-test.pl (parse_args, special_functions): Properly
49904         wrap blocks consisting of several statements.
49906         * sysdeps/generic/math-tests.h: New file.
49907         * sysdeps/i386/fpu/math-tests.h: Likewise.
49908         * math/test-snan.c: Include it.
49909         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
49911 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
49913         [BZ #15285]
49914         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
49915         (__ieee754_j0l): Do not improve calculations using cos of twice
49916         input for inputs above LDBL_MAX / 2.0L.
49917         (__ieee754_y0l): Likewise.
49918         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
49919         (__ieee754_j1l): Do not improve calculations using cos of twice
49920         input for inputs above LDBL_MAX / 2.0L.
49921         (__ieee754_y1l): Likewise.
49922         * math/libm-test.inc (j0_test): Add another test.
49923         (j1_test): Likewise.
49924         (y0_test): Likewise.
49925         (y1_test): Likewise.
49926         * sysdeps/i386/fpu/libm-test-ulps: Update.
49928 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49930         * Rules ($(objpfx)bench-%.c): Include code from a C source
49931         file.
49933 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
49935         [BZ #15287]
49936         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49937         imaginary part 1.0 and real part less than 0.5 specially.
49938         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49939         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49940         * math/libm-test.inc (cacos_test): Add more tests.
49941         (casin_test): Likewise.
49942         (casinh_test): Likewise.
49943         * sysdeps/i386/fpu/libm-test-ulps: Update.
49944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49946 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49948         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
49949         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
49951 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
49953         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
49954         * config.make.in (config-cflags-sse4): Remove variable.
49955         (config-cflags-avx): Likewise.
49956         (config-cflags-sse2avx): Likewise.
49957         (config-cflags-novzeroupper): Likewise.
49958         (config-asflags-i686): Likewise.
49959         (have-mfma4): Likewise.
49960         (have-as-vis3): Likewise.
49961         (MIG): Likewise.
49962         * configure.in (MIG): Do not AC_SUBST.
49963         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
49964         (libc_cv_cc_sse4): Do not AC_SUBST.
49965         (libc_cv_cc_avx): Likewise.
49966         (libc_cv_cc_sse2avx): Likewise.
49967         (libc_cv_cc_novzeroupper): Likewise.
49968         (libc_cv_cc_fma4): Likewise.
49969         (libc_cv_as_i686): Likewise.
49970         (libc_cv_sparc_as_vis3): Likewise.
49971         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
49972         LIBC_CONFIG_VAR.
49973         (config-asflags-i686): Likewise.
49974         (config-cflags-avx): Likewise.
49975         (config-cflags-sse2avx): Likewise.
49976         (have-mfma4): Likewise.
49977         (config-cflags-novzeroupper): Likewise.
49978         * sysdeps/mach/configure.in (MIG): Likewise.
49979         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
49980         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
49981         LIBC_CONFIG_VAR.
49982         (config-cflags-avx): Likewise.
49983         (config-cflags-sse2avx): Likewise.
49984         (have-mfma4): Likewise.
49985         (config-cflags-novzeroupper): Likewise.
49986         * configure: Regenerated.
49987         * sysdeps/i386/configure: Likewise.
49988         * sysdeps/mach/configure: Likewise.
49989         * sysdeps/sparc/configure: Likewise.
49990         * sysdeps/x86_64/configure: Likewise.
49992 2013-03-20  Roland McGrath  <roland@hack.frob.com>
49994         [BZ #14812]
49995         * locale/programs/localedef.c (options): Put N_ translation marker
49996         on argument names, not just descriptions.
49998 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50000         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
50002 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
50004         [BZ #14176]
50005         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
50007 2013-03-19  Roland McGrath  <roland@hack.frob.com>
50009         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
50010         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
50011         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
50012         [!BEFORE_ABORT] (before_abort): New function.
50013         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
50014         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
50015         (writev_for_fatal): New function.
50016         (WRITEV_FOR_FATAL): New macro; call that.
50017         (backtrace_and_maps): New function.
50018         (BEFORE_ABORT): New macro; call that.
50019         (struct str_list): Type removed.
50020         (__libc_message, __libc_fatal): Functions removed.
50021         Include <sysdeps/posix/libc_fatal.c> instead.
50023 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
50025         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
50026         constants.
50027         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
50028         double constants.
50030 2013-03-19  Andreas Schwab  <schwab@suse.de>
50032         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
50033         * sysdeps/gnu/configure: Regenerate.
50035         * configure.in: Substitute libc_cv_rtlddir.
50036         * configure: Regenerate.
50037         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
50038         * Makeconfig (rtlddir, inst_rtlddir): New variables.
50039         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
50040         * elf/Makefile (install-others, CFLAGS-interp.c)
50041         (ldso_install, common-ldd-rewrite): Likewise.
50042         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
50043         $(inst_slibdir)/$(rtld-installed-name).
50044         * scripts/rellns-sh: Add -p option.
50045         * Makerules (make-shlib-link): Use rellns-sh to get relative name
50046         for source.
50048 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50050         * manual/nptl.texi: Renamed to ...
50051         * manual/threads.texi: ... this.
50052         * manual/Makefile (chapters): Update.
50054 2013-03-18  Roland McGrath  <roland@hack.frob.com>
50056         [BZ #14812]
50057         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
50058         on argument names, not just descriptions.
50059         * malloc/memusagestat.c (options): Likewise.
50060         * nss/getent.c (options): Likewise.
50062 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
50064         [BZ #14812]
50065         * iconv/iconv_prog.c (options): Put N_ translation marker
50066         on argument names, not just descriptions.
50067         * iconv/iconvconfig.c (options): Likewise.
50069 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
50071         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
50072         implementation which is faster on all x86_64 architectures.
50073         Tested on AMD, Intel Nehalem, SNB, IVB.
50074         * sysdeps/x86_64/strnlen.S: Likewise.
50076         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50077         Remove all multiarch strlen and strnlen versions.
50078         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
50079         Remove strlen and strnlen related parts.
50081         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
50082         Inline strlen part.
50083         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
50085         * sysdeps/x86_64/multiarch/strlen.S: Remove.
50086         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
50087         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
50088         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
50089         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
50090         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
50092 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
50094         * manual/memory.texi (Malloc Tunable Parameters):
50095         Sort parameters alphabetically. Add comments for missing entries.
50097 2013-03-17  David S. Miller  <davem@davemloft.net>
50099         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50101 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
50103         [BZ #15283]
50104         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
50105         for arguments at most half maximum finite value.
50106         * math/libm-test.inc (j0_test): Add more tests.
50107         (j1_test): Likewise.
50108         (y0_test): Likewise.
50109         (y1_test): Likewise.
50110         * sysdeps/i386/fpu/libm-test-ulps: Update.
50111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50113         [BZ #14155]
50114         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
50115         1 / x and functions P and Q for arguments above 0x1p256L.
50116         (__ieee754_y0l): Likewise.
50117         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
50118         (__ieee754_y1l): Likewise.
50119         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
50120         (j1_test): Likewise.
50121         (y0_test): Likewise.
50122         (y1_test): Likewise.
50124 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
50126         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
50127         variable.
50129 2013-03-15  Roland McGrath  <roland@hack.frob.com>
50131         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
50132         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
50133         zero since it's initialized to EXEC_PAGESIZE.
50135         * sysdeps/unix/sysv/linux/ldsodefs.h
50136         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
50137         * sysdeps/generic/ldsodefs.h: ... here.
50139 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
50141         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
50143         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
50144         math/test-snan.c.
50145         * math/test-snan.c: Renamed from
50146         sysdeps/powerpc/fpu/test-powerpc-snan.c.
50147         * math/Makefile (tests): Add test-snan.
50148         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
50149         test-powerpc-snan.
50151         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
50152         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
50153         functions.
50154         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
50155         __builtin_nan family of functions.
50156         * math/libm-test.inc (initialize): Initialize qnan_value with
50157         __builtin_nan family of functions.
50158         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
50159         Remove variables.
50160         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
50161         Remove functions.
50162         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
50163         storage class.  Initialize qNaN_var and sNaN_var with
50164         __builtin_nan and __builtin_nans families of functions,
50165         respectively.
50167         * math/libm-test.inc (acosh_test): Also test with qNaN input.
50168         (sqrt_test): Remove duplicate test with qNaN input.
50169         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
50170         (round_test, signbit_test, significand_test): Note missing +/-Inf
50171         as well as qNaN tests.
50173         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
50174         qNaN_var.  Fix a few strings, too.
50175         * math/libm-test.inc (nan_value): Rename to qnan_value.
50176         * math/gen-libm-test.pl (%beautify): Adjust to that.
50177         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
50178         * math/test-misc.c (main): Likewise.
50179         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
50180         to __qnan_bytes, and __qnan_union, respectively.
50181         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
50182         Likewise.
50183         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
50184         and lqnanval, respectively.
50185         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
50186         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
50187         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
50188         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
50190         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
50191         * math/test-misc.c (main) [__x86_64__]: Enable test for long
50192         doubles.
50194         * math/test-misc.c (main): Fix copy'n'pastos.
50195         * misc/tst-efgcvt.c (special): Likewise.
50197         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
50198         Remove declarations.
50200 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50202         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
50203         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
50204         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
50205         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
50207 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50209         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
50210         macro to return vdso values correctly in IFUNC implementations.
50211         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50212         Optimization by using IFUNC.
50214 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50215             Richard Henderson  <rth@redhat.com>
50216             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50218         * Makefile.in (bench): New target.
50219         * NEWS: Mention the benchmark framework.
50220         * Rules (bench): Likewise.
50221         (binaries-bench): Generate binaries for functions to
50222         benchmark.
50223         * benchtests/Makefile: New makefile for benchmark tests.
50224         * benchtests/bench-skeleton.c: New skeleton file for benchmark
50225         programs.
50226         * benchtests/exp-inputs: New input file for EXP function.
50227         * benchtests/pow-inputs: New input file for POW function.
50228         * scripts/bench.pl: New script to generate source files for
50229         benchmark programs.
50231 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50233         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50234         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
50235         computations on mantissa.  Use macros for rounding and
50236         division.
50237         (denorm): Likewise.
50238         (__dbl_mp): Likewise.
50239         (add_magnitudes): Likewise.
50240         (sub_magnitudes): Likewise.
50241         (__mul): Likewise.
50242         (__sqr): Likewise.
50243         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
50244         powers of two in terms of TWOPOW macro.
50245         (mp_no): Make type of mantissa as MANTISSA_T.
50246         [!RADIXI]: Define RADIXI.
50247         [!TWO52]: Define TWO52.
50248         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50250         * manual/nptl.texi (cindex): Modify threads to pthreads.
50252 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
50254         * sysdeps/x86_64/preconfigure: Regenerated.
50256 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
50258         [BZ #14155]
50259         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
50260         0x1p28 and above.
50261         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
50262         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
50263         0x1p28 and above.
50264         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
50265         * math/libm-test.inc (j0_test): Do not allow one spurious
50266         underflow exception.
50267         (y1_test): Likewise.
50269 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50271         * manual/Makefile (chapters): Add nptl.
50272         * manual/debug.texi (Debugging Support): Add link to Threads
50273         chapter.
50274         * manual/nptl.texi: New file.
50276         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
50278 2013-03-14  Petr Baudis  <pasky@ucw.cz>
50280         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
50281         for non-NULL pointer before the memory validity test. Pointed
50282         out by Holger Brunck <holger.brunck@keymile.com>.
50284 2013-03-13  Andreas Schwab  <schwab@suse.de>
50286         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
50287         instead of .os.
50289 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
50291         * timezone/zic.c: Update from tzcode 2013b.
50293 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
50295         * manual/install.texi (Configuring and compiling):
50296         Mention i686 and i586.
50297         * INSTALL: Regenerate.
50299 2013-03-12  Roland McGrath  <roland@hack.frob.com>
50301         * sysdeps/init_array/elf-init.c: New file.
50302         * csu/elf-init.c
50303         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
50304         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
50306         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
50307         __gmon_start__ as global, but as static with a .preinit_array pointer.
50308         * sysdeps/init_array/gmon-start.c: New file.  Use that.
50309         * sysdeps/init_array/crti.S: New file, empty except for comments.
50310         * sysdeps/init_array/crtn.S: Likewise.
50312 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
50314         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
50315         definining bcopy.
50316         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50317         Remove Prefer_SSE_for_memop.
50318         * sysdeps/x86_64/multiarch/init-arch.h: Remove
50319         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
50320         HAS_PREFER_SSE_FOR_MEMOP.
50321         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
50322         memset-x86-64.
50323         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50324         Remove bzero, memset ifunc support.
50325         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
50326         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
50327         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50328         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50330 2013-03-11  Andreas Schwab  <schwab@suse.de>
50332         [BZ #15234]
50333         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
50334         by SHLIB_COMPAT.
50335         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
50336         (GLIBC_2.16): Remove pthread_atfork.
50338 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
50340         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
50341         (ptestcases.h): Likewise.
50343 2013-03-08  Roland McGrath  <roland@hack.frob.com>
50345         * Makeconfig ($(common-objpfx)config.status): Depend on
50346         sysdeps/*/preconfigure{,.in} too.
50348 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
50350         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
50351         (__free_hook): Use void * instead of __malloc_ptr_t.
50352         (__malloc_hook): Likewise.
50353         (__realloc_hook): Likewise.
50354         (__memalign_hook): Likewise.
50355         (__after_morecore_hook): Likewise.
50356         * malloc/arena.c (save_malloc_hook): Likewise.
50357         (save_free_hook): Likewise.
50358         * malloc/hooks.c (malloc_hook_ini): Likewise.
50359         (realloc_hook_ini): Likewise.
50360         (memalign_hook_ini): Likewise.
50361         * malloc/malloc.c (malloc_hook_ini): Likewise.
50362         (realloc_hook_ini): Likewise.
50363         (memalign_hook_ini): Likewise.
50364         (__free_hook): Likewise.
50365         (__malloc_hook): Likewise.
50366         (__realloc_hook): Likewise.
50367         (__memalign_hook): Likewise.
50368         (__libc_malloc): Likewise.
50369         (__libc_free): Likewise.
50370         (__libc_realloc): Likewise.
50371         (__libc_memalign): Likewise.
50372         (__libc_valloc): Likewise.
50373         (__libc_pvalloc): Likewise.
50374         (__libc_calloc): Likewise.
50375         (__posix_memalign): Likewise.
50376         * malloc/morecore.c (__sbrk): Likewise.
50377         (__default_morecore): Likewise.
50379         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
50381         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
50382         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
50383         __malloc_ptrdiff_t.
50385         * malloc/malloc.h (__malloc_size_t): Remove macro.
50386         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
50387         __malloc_size_t.
50388         (old_memalign_hook): Likewise.
50389         (old_realloc_hook): Likewise.
50390         (struct hdr): Likewise.
50391         (flood): Likewise.
50392         (mallochook): Likewise.
50393         (memalignhook): Likewise.
50394         (reallochook): Likewise.
50395         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
50396         (tr_old_realloc_hook): Likewise.
50397         (tr_old_memalign_hook): Likewise.
50398         (tr_mallochook): Likewise.
50399         (tr_reallochook): Likewise.
50400         (tr_memalignhook): Likewise.
50402 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50404         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
50405         default_ldbl_pack and using as default implementation.
50406         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
50407         implementation.
50408         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
50409         redundant definition.
50410         (ldbl_insert_mantissa): Likewise.
50411         (ldbl_canonicalize): Likewise.
50412         (ldbl_nearbyint): Likewise.
50413         (ldbl_pack): Rename to ldbl_pack_ppc.
50414         (ldbl_unpack): Rename to ldbl_unpack_ppc.
50415         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
50416         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
50418 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
50420         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
50421         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
50422         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
50423         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
50424         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
50425         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
50426         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
50427         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
50429 2013-03-07  Andreas Jaeger  <aj@suse.de>
50431         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50432         bits/mman-linux.h.
50434 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
50436         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
50437         Include mpa.h and declare __MPEXP.
50438         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
50439         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50440         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50441         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
50442         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50443         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50444         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
50446         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
50447         (__slowpow): Use long double EXPL and LOGL functions to
50448         compute POW.
50449         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50450         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50451         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
50452         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50453         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50454         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
50456         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
50457         intermediate variable to calculate exponent.
50458         (__sqr): Likewise.
50459         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
50460         Likewise.
50461         (__sqr): Likewise.
50463         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
50464         [!NO__SQR]: Define __sqr.
50465         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
50466         and NO__SQR.  Remove all code except __mul and __sqr.  Include
50467         sysdeps/ieee754/dbl-64/mpa.c.
50468         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50470         [BZ #12723]
50471         * posix/Makefile (tests): Add tst-pathconf.
50472         * posix/tst-pathconf.c: New test case.
50473         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
50474         _PC_PIPE_BUF.
50475         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
50477 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
50479         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
50481 2013-03-06  Andreas Jaeger  <aj@suse.de>
50483         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
50484         definition via __MAP_ANONYMOUS.
50486         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
50487         it's not part of Linux headers.
50489         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
50490         (MAP_HUGE_MASK): Define.
50492         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50493         Define.
50494         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50495         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50496         Define.
50497         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50498         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50499         Define.
50500         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50501         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
50502         Define.
50503         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50505         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
50506         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
50507         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
50508         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
50509         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
50510         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
50512         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50513         Handle f2fs.
50515         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50516         Handle f2fs and efivarfs.
50518         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
50519         f2fs.
50521         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
50522         (EFIVARFS_MAGIC): Add.
50523         (F2FS_LINK_MAX): Add.
50525 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50527         * stdio-common/vfprintf.c: Replace __builtin_expect with
50528         __glibc_unlikely.
50530 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
50532         [BZ #13550]
50533         * sysdeps/generic/bp-sym.h: Remove file.
50534         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
50535         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
50536         <bp-sym.h> and <bp-asm.h>.
50537         (__longjmp): Don't use BP_SYM.
50538         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
50539         and <bp-asm.h>.
50540         (memcpy): Don't use BP_SYM.
50541         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
50542         <bp-sym.h> and <bp-asm.h>.
50543         (memcpy): Don't use BP_SYM.
50544         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
50545         <bp-asm.h>.
50546         (memcpy): Don't use BP_SYM.
50547         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
50548         <bp-asm.h>.
50549         (memset): Don't use BP_SYM.
50550         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50551         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50552         (__bzero): Don't use BP_SYM.
50553         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50554         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50555         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
50556         <bp-sym.h> and <bp-asm.h>.
50557         (memcmp): Don't use BP_SYM.  Remove comment about bounded
50558         pointers.
50559         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
50560         <bp-sym.h> and <bp-asm.h>.
50561         (memcpy): Don't use BP_SYM.
50562         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
50563         <bp-sym.h> and <bp-asm.h>.
50564         (memset): Don't use BP_SYM.
50565         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50566         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50567         (__bzero): Don't use BP_SYM.
50568         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50569         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50570         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
50571         <bp-sym.h> and <bp-asm.h>.
50572         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50573         pointers.
50574         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
50575         <bp-sym.h> and <bp-asm.h>.
50576         (memcpy): Don't use BP_SYM.
50577         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
50578         <bp-sym.h> and <bp-asm.h>.
50579         (memset): Don't use BP_SYM.
50580         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50581         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50582         (__bzero): Don't use BP_SYM.
50583         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50584         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50585         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
50586         <bp-sym.h> and <bp-asm.h>.
50587         (__memchr): Don't use BP_SYM.
50588         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
50589         <bp-sym.h> and <bp-asm.h>.
50590         (memcmp): Don't use BP_SYM.  Remove comment about bounded
50591         pointers.
50592         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
50593         <bp-sym.h> and <bp-asm.h>.
50594         (memcpy): Don't use BP_SYM.
50595         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
50596         <bp-sym.h> and <bp-asm.h>.
50597         (__mempcpy): Don't use BP_SYM.
50598         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
50599         <bp-sym.h> and <bp-asm.h>.
50600         (__memrchr): Don't use BP_SYM.
50601         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
50602         <bp-sym.h> and <bp-asm.h>.
50603         (memset): Don't use BP_SYM.
50604         (__bzero): Likewise.
50605         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
50606         <bp-sym.h> and <bp-asm.h>.
50607         (__rawmemchr): Don't use BP_SYM.
50608         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
50609         <bp-sym.h> and <bp-asm.h>.
50610         (__STRCMP): Don't use BP_SYM.
50611         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
50612         <bp-sym.h> and <bp-asm.h>.
50613         (strchr): Don't use BP_SYM.
50614         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
50615         <bp-sym.h> and <bp-asm.h>.
50616         (__strchrnul): Don't use BP_SYM.
50617         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
50618         <bp-sym.h> and <bp-asm.h>.
50619         (strlen): Don't use BP_SYM.
50620         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
50621         <bp-sym.h> and <bp-asm.h>.
50622         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50623         pointers.
50624         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
50625         <bp-sym.h> and <bp-asm.h>.
50626         (__strnlen): Don't use BP_SYM.
50627         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
50628         <bp-sym.h> and <bp-asm.h>.
50629         (__GI__setjmp): Don't use BP_SYM.
50630         (_setjmp): Likewise.
50631         (__sigsetjmp): Likewise.
50632         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
50633         (L(start_addresses)): Don't use BP_SYM.
50634         (_start): Likewise.
50635         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
50636         <bp-asm.h>.
50637         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
50638         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
50639         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50640         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50641         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
50642         <bp-asm.h>.
50643         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
50644         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
50645         about bounded pointers.
50646         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50647         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50648         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
50649         <bp-asm.h>.
50650         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
50651         about bounded pointers.  Remove GKM FIXME comments.
50652         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50653         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
50654         <bp-asm.h>.
50655         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
50656         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
50657         Remove GKM FIXME comments.
50658         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50659         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50660         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
50661         <bp-asm.h>.
50662         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
50663         about bounded pointers.  Remove GKM FIXME comment.
50664         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
50665         and <bp-asm.h>.
50666         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50667         pointers.
50668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
50669         <bp-sym.h> and <bp-asm.h>.
50670         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
50671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
50672         <bp-sym.h> and <bp-asm.h>.
50673         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
50674         comment.
50676 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
50678         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
50679         call free(NULL).
50681 2013-03-05  David S. Miller  <davem@davemloft.net>
50683         * po/es.po: Update from translation team.
50685 2013-03-05  Andreas Jaeger  <aj@suse.de>
50687         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
50688         <bits/mman-linux.h>.
50689         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50690         is fine.
50691         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
50692         <bits/mman-linux.h> to end of file.
50693         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50694         is fine.
50695         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
50696         <bits/mman-linux.h> to end of file.
50697         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50698         is fine.
50699         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
50700         <bits/mman-linux.h> to end of file.
50702         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
50703         (MCL_CURRENT, MCL_FUTURE): Define here.
50705 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50707         [BZ #15232]
50708         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
50709         attribute_hidden.
50710         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
50712 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50714         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
50715         fourth parameter needed for rt_sigprocmask syscall.
50716         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
50717         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
50718         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
50719         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
50720         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
50721         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
50723 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
50725         [BZ #13550]
50726         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
50727         comment about bounded pointers.
50728         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
50729         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
50731 2013-03-04  Andreas Jaeger  <aj@suse.de>
50733         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
50734         common definitions.
50736         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
50737         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
50738         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
50739         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50740         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50741         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50743 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50745         [BZ #15055]
50746         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
50747         __ieee754_sqrl instead of __sqrl.
50749 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
50751         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
50752         * sysdeps/powerpc/fpu_control.h: ... here.
50753         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
50754         * sysdeps/powerpc/bits/fenvinline.h: ... here.
50755         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
50756         * sysdeps/powerpc/bits/mathinline.h: ... here.
50758 2013-03-01  Roland McGrath  <roland@hack.frob.com>
50760         * elf/dl-hwcaps.c (_dl_important_hwcaps):
50761         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
50762         to just [NEED_DL_SYSINFO_DSO].
50763         * elf/dl-support.c: Likewise.
50764         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
50765         * elf/rtld.c (dl_main): Likewise.
50766         * elf/setup-vdso.h (setup_vdso): Likewise.
50767         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
50768         * sysdeps/unix/sysv/linux/dl-sysdep.c
50769         (_dl_discover_osversion): Likewise.
50771 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
50773         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
50774         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50776 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
50778         * NEWS: Mention libm performance improvements and non-x86 PI
50779         futex support.
50781         * csu/libc-start.c (__pthread_initialize_minimal): Change
50782         function arguments.
50783         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50785 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
50787         [BZ #13550]
50788         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
50789         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
50790         <bp-sym.h> and <bp-asm.h>.
50791         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50792         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
50793         and <bp-asm.h>.
50794         (memcpy): Don't use BP_SYM.
50795         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
50796         <bp-asm.h>.
50797         (__mpn_add_n): Don't use BP_SYM.
50798         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
50799         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
50800         and <bp-asm.h>.
50801         (__mpn_addmul_1): Don't use BP_SYM.
50802         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50803         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
50804         <bp-sym.h>.
50805         (_setjmp): Don't use BP_SYM.
50806         (__novmx_setjmp): Likewise.
50807         (__GI__setjmp): Likewise.
50808         (__vmx_setjmp): Likewise.
50809         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
50810         <bp-sym.h>.
50811         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
50812         (__bzero): Don't use BP_SYM.
50813         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50814         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50815         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
50816         <bp-sym.h> and <bp-asm.h>.
50817         (memcpy): Don't use BP_SYM.
50818         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
50819         <bp-sym.h> and <bp-asm.h>.
50820         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50821         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
50822         <bp-sym.h> and <bp-asm.h>.
50823         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50824         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
50825         <bp-asm.h>.
50826         (__mpn_lshift): Don't use BP_SYM.
50827         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50828         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
50829         <bp-asm.h>.
50830         (memset): Don't use BP_SYM.
50831         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50832         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50833         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
50834         <bp-asm.h>.
50835         (__mpn_mul_1): Don't use BP_SYM.
50836         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50837         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
50838         <bp-sym.h> and <bp-asm.h>.
50839         (memcmp): Don't use BP_SYM.
50840         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
50841         <bp-sym.h> and <bp-asm.h>.
50842         (memcpy): Don't use BP_SYM.
50843         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
50844         <bp-sym.h> and <bp-asm.h>.
50845         (memset): Don't use BP_SYM.
50846         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
50847         <bp-sym.h> and <bp-asm.h>.
50848         (strncmp): Don't use BP_SYM.
50849         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
50850         <bp-sym.h> and <bp-asm.h>.
50851         (memcpy): Don't use BP_SYM.
50852         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
50853         <bp-sym.h> and <bp-asm.h>.
50854         (memset): Don't use BP_SYM.
50855         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
50856         <bp-sym.h> and <bp-asm.h>.
50857         (__memchr): Don't use BP_SYM.
50858         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
50859         <bp-sym.h> and <bp-asm.h>.
50860         (memcmp): Don't use BP_SYM.
50861         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
50862         <bp-sym.h> and <bp-asm.h>.
50863         (memcpy): Don't use BP_SYM.
50864         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
50865         <bp-sym.h> and <bp-asm.h>.
50866         (__mempcpy): Don't use BP_SYM.
50867         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
50868         <bp-sym.h> and <bp-asm.h>.
50869         (__memrchr): Don't use BP_SYM.
50870         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
50871         <bp-sym.h> and <bp-asm.h>.
50872         (memset): Don't use BP_SYM.
50873         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
50874         <bp-sym.h> and <bp-asm.h>.
50875         (__rawmemchr): Don't use BP_SYM.
50876         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
50877         <bp-sym.h> and <bp-asm.h>.
50878         (__STRCMP): Don't use BP_SYM.
50879         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
50880         <bp-sym.h> and <bp-asm.h>.
50881         (strchr): Don't use BP_SYM.
50882         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
50883         <bp-sym.h> and <bp-asm.h>.
50884         (__strchrnul): Don't use BP_SYM.
50885         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
50886         <bp-sym.h> and <bp-asm.h>.
50887         (strlen): Don't use BP_SYM.
50888         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
50889         <bp-sym.h> and <bp-asm.h>.
50890         (strncmp): Don't use BP_SYM.
50891         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
50892         <bp-sym.h> and <bp-asm.h>.
50893         (__strnlen): Don't use BP_SYM.
50894         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
50895         <bp-asm.h>.
50896         (__mpn_rshift): Don't use BP_SYM.
50897         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50898         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
50899         <bp-sym.h> and <bp-asm.h>.
50900         (__sigsetjmp): Don't use BP_SYM.
50901         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
50902         (L(start_addresses)): Don't use BP_SYM.
50903         (_start): Likewise.
50904         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
50905         <bp-asm.h>.
50906         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
50907         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50908         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50909         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
50910         <bp-asm.h>.
50911         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
50912         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50913         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50914         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
50915         <bp-asm.h>.
50916         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
50917         comments.
50918         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50919         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
50920         <bp-asm.h>.
50921         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
50922         FIXME comments.
50923         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50924         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50925         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
50926         <bp-asm.h>.
50927         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
50928         comment.
50929         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
50930         and <bp-asm.h>.
50931         (strncmp): Don't use BP_SYM,
50932         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
50933         <bp-asm.h>.
50934         (__mpn_sub_n): Don't use BP_SYM.
50935         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50936         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
50937         and <bp-asm.h>.
50938         (__mpn_submul_1): Don't use BP_SYM.
50939         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
50941         <bp-sym.h> and <bp-asm.h>.
50942         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
50943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
50944         <bp-sym.h> and <bp-asm.h>.
50945         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
50946         comment.
50948 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50950         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
50951         Use ZK to minimize writes to Z.
50952         (sub_magnitudes): Simplify code a bit.
50953         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
50954         Use ZK to minimize writes to Z.
50955         (sub_magnitudes): Simplify code a bit.
50957 2013-02-27  Roland McGrath  <roland@hack.frob.com>
50959         * csu/gmon-start.c: Add special exception to license text.
50961 2013-02-27  Richard Henderson  <rth@redhat.com>
50963         * scripts/config.guess: Update from config.git.
50964         * scripts/config.sub: Likewise.
50966 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50968         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
50970         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
50972         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
50974         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
50976         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
50978 2013-02-26  Roland McGrath  <roland@hack.frob.com>
50980         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
50981         [$(build-shared = yes].
50983 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50985         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
50986         (__mul): Reduce iterations for calculating mantissa.
50988         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
50989         MPTWO.
50990         (__mpranred): Likewise.
50992         [BZ #15160]
50993         * malloc/memusagestat.c (main): Draw graphs for heap and stack
50994         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
50996 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
50998         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
50999         Define __attribute__.
51001 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51003         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
51004         unused.
51005         * posix/regex_internal.h (__attribute): Remove.
51006         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
51007         (re_string_context_at): Likewise.
51008         (bitset_not): Use __attribute__ and mark function as possibly
51009         unused.
51010         (bitset_merge): Likewise.
51011         (bitset_mask): Likewise.
51012         (re_string_char_size_at): Likewise.
51013         (re_string_wchar_at): Likewise.
51014         (re_string_elem_size_at): Likewise.
51016 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51018         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
51019         code.
51020         (cc32): Likewise.
51022         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
51023         (__acr): Likewise.
51024         (__cpy): Likewise.
51025         (norm): Likewise.
51026         (denorm): Likewise.
51027         (__dbl_mp): Likewise.
51028         (add_magnitudes): Likewise.
51029         (sub_magnitudes): Likewise.
51030         (__mul): Likewise.
51031         (__inv): Likewise.
51033         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
51034         style.
51036         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
51037         style.
51039         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
51040         code.
51042         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
51043         up changes with default code.
51044         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
51045         Likewise.
51047 2013-02-24  Allan McRae  <allan@archlinux.org>
51049         * manual/socket.texi (The Internet Namespace): Order menu items
51050         to match that in the file.
51052         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
51053         node listing of the info page menu.
51055 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
51057         [BZ #13550]
51058         * sysdeps/i386/bp-asm.h: Remove file.
51059         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51060         (PARMS): Do not use macros from bp-asm.h.
51061         (S1): Likewise.
51062         (S2): Likewise.
51063         (SIZE): Likewise.
51064         (__mpn_add_n): Do not use BP_SYM
51065         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
51066         "bp-asm.h".
51067         (PARMS): Do not use macros from bp-asm.h.
51068         (S1): Likewise.
51069         (SIZE): Likewise.
51070         (__mpn_addmul_1): Do not use BP_SYM
51071         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
51072         "bp-asm.h".
51073         (PARMS): Do not use macros from bp-asm.h.
51074         (SIGMSK): Likewise.
51075         (_setjmp): Likewise.  Do not use BP_SYM.
51076         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
51077         "bp-asm.h".
51078         (PARMS): Do not use macros from bp-asm.h.
51079         (SIGMSK): Likewise.
51080         (setjmp): Likewise.  Do not use BP_SYM.
51081         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
51082         "bp-asm.h".
51083         (PARMS): Do not use macros from bp-asm.h.
51084         (__frexp): Do not use BP_SYM.
51085         (frexp): Likewise.
51086         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
51087         "bp-asm.h".
51088         (PARMS): Do not use macros from bp-asm.h.
51089         (__frexpf): Do not use BP_SYM.
51090         (frexpf): Likewise.
51091         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
51092         "bp-asm.h".
51093         (PARMS): Do not use macros from bp-asm.h.
51094         (__frexpl): Do not use BP_SYM.
51095         (frexpl): Likewise.
51096         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
51097         "bp-asm.h".
51098         (PARMS): Do not use macros from bp-asm.h.
51099         (__remquo): Do not use BP_SYM.
51100         (remquo): Likewise.
51101         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
51102         "bp-asm.h".
51103         (PARMS): Do not use macros from bp-asm.h.
51104         (__remquof): Do not use BP_SYM.
51105         (remquof): Likewise.
51106         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
51107         "bp-asm.h".
51108         (PARMS): Do not use macros from bp-asm.h.
51109         (__remquol): Do not use BP_SYM.
51110         (remquol): Likewise.
51111         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
51112         "bp-asm.h".
51113         (PARMS): Do not use macros from bp-asm.h.
51114         (DEST): Likewise.
51115         (SRC): Likewise.
51116         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
51117         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
51118         "bp-asm.h".
51119         (PARMS): Do not use macros from bp-asm.h.
51120         (strlen): Do not use BP_SYM.
51121         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
51122         "bp-asm.h".
51123         (PARMS): Do not use macros from bp-asm.h.
51124         (S1): Likewise.
51125         (S2): Likewise.
51126         (SIZE): Likewise.
51127         (__mpn_add_n): Do not use BP_SYM.
51128         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
51129         "bp-asm.h".
51130         (PARMS): Do not use macros from bp-asm.h.
51131         (S1): Likewise.
51132         (SIZE): Likewise.
51133         (__mpn_addmul_1): Do not use BP_SYM.
51134         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
51135         weak_alias.
51136         (bzero): Likewise.
51137         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
51138         "bp-asm.h".
51139         (PARMS): Do not use macros from bp-asm.h.
51140         (S): Likewise.
51141         (SIZE): Likewise.
51142         (__mpn_lshift): Do not use BP_SYM.
51143         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
51144         "bp-asm.h".
51145         (PARMS): Do not use macros from bp-asm.h.
51146         (DEST): Likewise.
51147         (SRC): Likewise.
51148         (LEN): Likewise.
51149         (memcpy): Likewise.  Do not use BP_SYM.
51150         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
51151         libc_hidden_def and weak_alias.
51152         (mempcpy): Do not use BP_SYM in weak_alias.
51153         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
51154         "bp-asm.h".
51155         (PARMS): Do not use macros from bp-asm.h.
51156         (DEST): Likewise.
51157         (LEN): Likewise.
51158         [!BZERO_P] (CHR): Likewise.
51159         (memset): Likewise.  Do not use BP_SYM.
51160         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
51161         "bp-asm.h".
51162         (PARMS): Do not use macros from bp-asm.h.
51163         (S1): Likewise.
51164         (SIZE): Likewise.
51165         (__mpn_mul_1): Do not use BP_SYM.
51166         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
51167         "bp-asm.h".
51168         (PARMS): Do not use macros from bp-asm.h.
51169         (S): Likewise.
51170         (SIZE): Likewise.
51171         (__mpn_rshift): Do not use BP_SYM.
51172         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
51173         "bp-asm.h".
51174         (PARMS): Do not use macros from bp-asm.h.
51175         (STR): Likewise.
51176         (CHR): Likewise.
51177         (strchr): Likewise.  Do not use BP_SYM.
51178         (index): Do not use BP_SYM in weak_alias.
51179         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
51180         "bp-asm.h".
51181         (PARMS): Do not use macros from bp-asm.h.
51182         (DEST): Likewise.
51183         (SRC): Likewise.
51184         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
51185         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
51186         "bp-asm.h".
51187         (PARMS): Do not use macros from bp-asm.h.
51188         (strlen): Do not use BP_SYM.
51189         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
51190         "bp-asm.h".
51191         (PARMS): Do not use macros from bp-asm.h.
51192         (S1): Likewise.
51193         (S2): Likewise.
51194         (SIZE): Likewise.
51195         (__mpn_sub_n): Do not use BP_SYM.
51196         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
51197         "bp-asm.h".
51198         (PARMS): Do not use macros from bp-asm.h.
51199         (S1): Likewise.
51200         (SIZE): Likewise.
51201         (__mpn_submul_1): Do not use BP_SYM.
51202         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
51203         "bp-asm.h".
51204         (PARMS): Do not use macros from bp-asm.h.
51205         (S1): Likewise.
51206         (S2): Likewise.
51207         (SIZE): Likewise.
51208         (__mpn_add_n): Do not use BP_SYM.
51209         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
51210         weak_alias.
51211         (bzero): Likewise.
51212         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
51213         "bp-asm.h".
51214         (PARMS): Do not use macros from bp-asm.h.
51215         (BLK2): Likewise.
51216         (LEN): Likewise.
51217         (memcmp): Do not use BP_SYM.
51218         (bcmp): Do not use BP_SYM in weak_alias.
51219         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
51220         "bp-asm.h".
51221         (PARMS): Do not use macros from bp-asm.h.
51222         (DEST): Likewise.
51223         (SRC): Likewise.
51224         (LEN): Likewise.
51225         (memcpy): Likewise.  Do not use BP_SYM.
51226         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
51227         "bp-asm.h".
51228         (PARMS): Do not use macros from bp-asm.h.
51229         (DEST): Likewise.
51230         (SRC): Likewise.
51231         (LEN): Likewise.
51232         (memmove): Likewise.  Do not use BP_SYM.
51233         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
51234         "bp-asm.h".
51235         (PARMS): Do not use macros from bp-asm.h.
51236         (DEST): Likewise.
51237         (SRC): Likewise.
51238         (LEN): Likewise.
51239         (__mempcpy): Likewise.  Do not use BP_SYM.
51240         (mempcpy): Do not use BP_SYM in weak_alias.
51241         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
51242         "bp-asm.h".
51243         (PARMS): Do not use macros from bp-asm.h.
51244         (DEST): Likewise.
51245         (LEN): Likewise.
51246         [!BZERO_P] (CHR): Likewise.
51247         (memset): Likewise.  Do not use BP_SYM.
51248         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
51249         "bp-asm.h".
51250         (PARMS): Do not use macros from bp-asm.h.
51251         (STR2): Likewise.
51252         (strcmp): Do not use BP_SYM.
51253         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
51254         "bp-asm.h".
51255         (PARMS): Do not use macros from bp-asm.h.
51256         (STR): Likewise.
51257         (DELIM): Likewise.
51258         [USE_AS_STRTOK_R] (SAVE): Likewise.
51259         (FUNCTION): Likewise.  Do not use BP_SYM.
51260         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
51261         aliases.
51262         (strtok_r): Likewise.
51263         (__GI___strtok_r): Likewise.
51264         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51265         (PARMS): Do not use macros from bp-asm.h.
51266         (S): Likewise.
51267         (SIZE): Likewise.
51268         (__mpn_lshift): Do not use BP_SYM.
51269         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51270         (PARMS): Do not use macros from bp-asm.h.
51271         (STR): Likewise.
51272         (CHR): Likewise.
51273         (__memchr): Do not use BP_SYM.
51274         (memchr): Do not use BP_SYM in weak_alias.
51275         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51276         (PARMS): Do not use macros from bp-asm.h.
51277         (BLK2): Likewise.
51278         (LEN): Likewise.
51279         (memcmp): Do not use BP_SYM.
51280         (bcmp): Do not use BP_SYM in weak_alias.
51281         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
51282         (PARMS): Do not use macros from bp-asm.h.
51283         (S1): Likewise.
51284         (SIZE): Likewise.
51285         (__mpn_mul_1): Do not use BP_SYM.
51286         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
51287         "bp-asm.h".
51288         (PARMS): Do not use macros from bp-asm.h.
51289         (STR): Likewise.
51290         (CHR): Likewise.
51291         (__rawmemchr): Do not use BP_SYM.
51292         (rawmemchr): Do not use BP_SYM in weak_alias.
51293         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51294         (PARMS): Do not use macros from bp-asm.h.
51295         (S): Likewise.
51296         (SIZE): Likewise.
51297         (__mpn_rshift): Do not use BP_SYM.
51298         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51299         (PARMS): Do not use macros from bp-asm.h.
51300         (SIGMSK): Likewise.
51301         (__sigsetjmp): Likewise.  Do not use BP_SYM.
51302         * sysdeps/i386/start.S: Do not include "bp-sym.h".
51303         (_start): Do not use BP_SYM.
51304         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
51305         (PARMS): Do not use macros from bp-asm.h.
51306         (DEST): Likewise.
51307         (SRC): Likewise.
51308         (__stpcpy): Likewise.  Do not use BP_SYM.
51309         (stpcpy): Do not use BP_SYM in weak_alias.
51310         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
51311         "bp-asm.h".
51312         (PARMS): Do not use macros from bp-asm.h.
51313         (DEST): Likewise.
51314         (SRC): Likewise.
51315         (LEN): Likewise.
51316         (__stpncpy): Likewise.  Do not use BP_SYM.
51317         (stpncpy): Do not use BP_SYM in weak_alias.
51318         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51319         (PARMS): Do not use macros from bp-asm.h.
51320         (STR): Likewise.
51321         (CHR): Likewise.
51322         (strchr): Likewise.  Do not use BP_SYM.
51323         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
51324         "bp-asm.h".
51325         (PARMS): Do not use macros from bp-asm.h.
51326         (STR): Likewise.
51327         (CHR): Likewise.
51328         (__strchrnul): Likewise.  Do not use BP_SYM.
51329         (strchrnul): Do not use BP_SYM in weak_alias.
51330         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
51331         "bp-asm.h".
51332         (PARMS): Do not use macros from bp-asm.h.
51333         (STOP): Likewise.
51334         (strcspn): Do not use BP_SYM.
51335         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
51336         "bp-asm.h".
51337         (PARMS): Do not use macros from bp-asm.h.
51338         (STR): Likewise.
51339         (STOP): Likewise.
51340         (strpbrk): Likewise.  Do not use BP_SYM.
51341         * sysdeps/i386/strrchr.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         (strrchr): Likewise.  Do not use BP_SYM.
51347         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
51348         (PARMS): Do not use macros from bp-asm.h.
51349         (SKIP): Likewise.
51350         (strspn): Do not use BP_SYM.
51351         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
51352         (PARMS): Do not use macros from bp-asm.h.
51353         (STR): Likewise.
51354         (DELIM): Likewise.
51355         (SAVE): Likewise.
51356         (FUNCTION): Likewise.  Do not use BP_SYM.
51357         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
51358         aliases.
51359         (strtok_r): Likewise.
51360         (__GI___strtok_r): Likewise.
51361         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51362         (PARMS): Do not use macros from bp-asm.h.
51363         (S1): Likewise.
51364         (S2): Likewise.
51365         (SIZE): Likewise.
51366         (__mpn_sub_n): Do not use BP_SYM.
51367         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
51368         "bp-asm.h".
51369         (PARMS): Do not use macros from bp-asm.h.
51370         (S1): Likewise.
51371         (SIZE): Likewise.
51372         (__mpn_submul_1): Do not use BP_SYM.
51373         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
51374         <bp-sym.h>.
51375         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
51376         and <bp-asm.h>.
51377         (PARMS): Do not use macros from bp-asm.h.
51378         (FLAGS): Likewise.
51379         (PTID): Likewise.
51380         (TLS): Likewise.
51381         (CTID): Likewise.
51382         (__clone): Do not use BP_SYM.
51383         (clone): Do not use BP_SYM in weak_alias.
51384         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
51385         and <bp-asm.h>.
51386         (PARMS): Do not use macros from bp-asm.h.
51387         (LEN): Likewise.
51388         (__mmap64): Do not use BP_SYM.
51389         (mmap64): Do not use BP_SYM in weak_alias.
51390         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
51391         <bp-sym.h> and <bp-asm.h>.
51392         (PARMS): Do not use macros from bp-asm.h.
51393         (__posix_fadvise64_l64): Do not use BP_SYM.
51394         * sysdeps/unix/sysv/linux/i386/semtimedop.S
51395         (PARMS): Do not use macros from bp-asm.h.
51396         (NSOPS): Likewise.
51397         (semtimedop): Do not use BP_SYM.
51398         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
51399         and <bp-asm.h>.
51401 2013-02-21  Allan McRae  <allan@archlinux.org>
51403         * manual/message.texi (Charset conversion in gettext):
51404         Move @end statement to beginning of line.
51406 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51408         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
51409         static.
51410         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
51411         Likewise.
51413         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
51414         (denorm): Likewise.
51415         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
51416         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
51418 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51420         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
51421         tail-call to the resolved function if pltexit isn't needed.
51423 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51425         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
51426         or Y being zero as being unlikely.
51427         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51428         Likewise.
51430 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
51432         * manual/nss.texi (System Databases and Name Service Switch):
51433         Remove frobnicate @pxref.
51435 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
51437         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51438         __attribute__ ((unused)) to __attribute__ ((__unused__)).
51440 2013-02-20  Petr Machata  <pmachata@redhat.com>
51442         * elf/elf.h (R_ARM_TARGET1): New macro.
51443         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
51444         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
51445         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
51446         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
51447         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
51448         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
51449         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
51450         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
51451         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
51452         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
51453         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
51454         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
51455         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
51456         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
51457         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
51458         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
51459         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
51460         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
51461         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
51462         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
51463         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
51464         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
51465         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
51466         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
51467         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
51468         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
51469         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
51470         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
51471         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
51472         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
51473         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
51474         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
51475         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
51476         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
51477         (R_ARM_THM_GOT_BREL12): Likewise.
51478         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
51479         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
51480         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
51481         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
51482         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
51483         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
51484         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
51485         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
51486         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
51488 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
51490         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51491         __attribute_used__ to __attribute__ ((unused)).
51493 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51495         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
51496         powerpc mpa.c.
51497         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
51498         comment formatting.
51499         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
51501 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
51503         [BZ #13550]
51504         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
51505         Remove macro.
51506         (ENTER): Remove both macro definitions.
51507         (LEAVE): Likewise.
51508         (CHECK_BOUNDS_LOW): Likewise.
51509         (CHECK_BOUNDS_HIGH): Likewise.
51510         (CHECK_BOUNDS_BOTH): Likewise.
51511         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
51512         (RETURN_BOUNDED_POINTER): Likewise.
51513         (RETURN_NULL_BOUNDED_POINTER): Likewise.
51514         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
51515         (POP_ERRNO_LOCATION_RETURN): Likewise.
51516         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
51517         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51518         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
51519         macros.
51520         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51521         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
51522         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
51523         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
51524         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
51525         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
51526         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
51527         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
51528         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
51529         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
51530         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
51531         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
51532         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51533         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
51534         removed macros.
51535         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51536         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
51537         macros.
51538         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51539         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
51540         * sysdeps/i386/i586/memset.S (memset): Likewise.
51541         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
51542         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51543         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
51544         macros.
51545         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51546         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
51547         Change uses of L(2) to L(out).
51548         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
51549         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
51550         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
51551         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51552         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
51553         removed macros.
51554         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51555         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
51556         macros.
51557         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51558         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
51559         (RETURN): Do not use macro LEAVE.
51560         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
51561         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
51562         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
51563         * sysdeps/i386/i686/memset.S (memset): Likewise.
51564         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
51565         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
51566         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51567         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
51568         Likewise.
51569         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51570         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
51571         L(1_2) and L(1_3) into L(1).
51572         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51573         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
51574         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51575         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
51576         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51577         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
51578         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
51579         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51580         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
51581         macros.
51582         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
51583         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51584         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
51585         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
51586         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
51587         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51588         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
51589         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
51590         * sysdeps/i386/strcspn.S (strcspn): Likewise.
51591         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
51592         * sysdeps/i386/strrchr.S (strrchr): Likewise.
51593         * sysdeps/i386/strspn.S (strspn): Likewise.
51594         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
51595         conditional code.
51596         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51597         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
51598         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51599         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
51600         L(1_3) into L(1_1).
51601         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
51602         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51603         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
51604         macros.
51605         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51607 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
51609         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
51610         macro.
51612 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51614         * math/atest-exp.c (exp_mpn): Remove ROUND.
51615         * math/atest-exp2.c (exp_mpn): Likewise.
51616         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
51618         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
51619         * stdlib/tst-tls-atexit-lib.c: Likewise.
51620         * stdlib/tst-tls-atexit.c: Likewise.
51622 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51624         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
51625         and __attribute_alloc_size__.
51627 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51629         * include/programs/xmalloc.h: Change __attribute_alloc_size to
51630         __attribute_alloc_size__.
51631         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
51632         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
51634 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51636         * include/programs/xmalloc.h: New file.
51637         * catgets/gencat.c: Include it.
51638         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
51639         * elf/pldd.c: Likewise.
51640         * iconv/iconv_charmap.c: Likewise.
51641         * iconv/iconvconfig.c: Likewise.
51642         * iconv/strtab.c: Likewise.
51643         * locale/programs/locale.c: Likewise.
51644         * locale/programs/localedef.h: Likewise.
51645         * locale/programs/simple-hash.c: Likewise.
51646         * nscd/nscd.h: Likewise.
51647         * nss/makedb.c: Likewise.
51648         * sysdeps/generic/ldconfig.h: Likewise.
51650 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51652         * Versions.def: Add GLIBC_2.18.
51653         * include/link.h (struct link_map): New member l_tls_dtor_count.
51654         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
51655         (__call_tls_dtors): Likewise.
51656         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
51657         __cxa_thread_atexit_impl.
51658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51659         Likewise.
51660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51661         Likewise.
51662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51663         Likewise.
51664         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51665         Likewise.
51666         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51667         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
51668         Likewise.
51669         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
51670         Likewise.
51671         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51672         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
51673         Likewise.
51674         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
51675         (tests): Add test case tst-tls-atexit.
51676         (modules-names): Add shared library for tst-tls-atexit.
51677         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
51678         (GLIBC_PRIVATE): Add __call_tls_dtors.
51679         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
51680         for libstdc++.
51681         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
51682         * stdlib/tst-tls-atexit.c: New test case.
51683         * stdlib/tst-tls-atexit-lib.c: New test case.
51685         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
51687         * elf/Versions (ld): Add _dl_find_dso_for_object.
51688         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
51689         * elf/dl-open.c (_dl_find_dso_for_object): New function.
51690         (dl_open_worker): Use _dl_find_dso_for_object.
51691         * elf/dl-sym.c (do_sym): Likewise.
51692         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
51694 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51696         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
51697         Syntactic changes only.
51698         (_dl_runtime_profile): Do a tail-call to the resolved function.
51700 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
51702         [BZ #13550]
51703         * sysdeps/x86_64/bp-asm.h: Remove file.
51704         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
51705         <bp-sym.h> and <bp-asm.h>.
51706         (__clone): Do not use BP_SYM.
51707         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
51708         <bp-sym.h> and <bp-asm.h>.
51709         * sysdeps/unix/x86_64/sysdep.S: Likewise.
51710         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
51711         "bp-asm.h".
51712         (_setjmp): Do not use BP_SYM.
51713         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
51714         "bp-asm.h".
51715         (setjmp): Do not use BP_SYM.
51716         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
51717         libc_hidden_def.
51718         (mempcpy): Do not use BP_SYM in weak_alias.
51719         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
51720         "bp-asm.h".
51721         (strchr): Do not use BP_SYM.
51722         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
51723         "bp-asm.h".
51724         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
51725         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
51726         (_start): Do not use BP_SYM.
51727         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
51728         "bp-asm.h".
51729         (strcat): Do not use BP_SYM.
51730         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
51731         "bp-asm.h".
51732         (STRCMP): Do not use BP_SYM.
51733         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
51734         "bp-asm.h".
51735         (STRCPY): Do not use BP_SYM.
51736         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
51737         "bp-asm.h".
51738         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
51739         "bp-asm.h".
51740         (FUNCTION): Do not use BP_SYM.
51741         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
51742         weak_alias.
51743         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
51745 2013-02-17  Andreas Jaeger  <aj@suse.de>
51747         * time/Versions: Sort entries.
51748         * string/Versions: Likewise.
51749         * resolv/Versions: Likewise.
51750         * posix/Versions: Likewise.
51751         * iconv/Versions: Likewise.
51752         * elf/Versions: Likewise.
51753         * wcsmbs/Versions: Likewise.
51755 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51757         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
51758         loop termination condition.
51760         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
51761         variable to calculate EZ.
51762         (__sqr): Likewise.
51764         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
51765         the lower precision input.
51767 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
51769         [BZ #13550]
51770         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
51771         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
51772         (run-via-rtld-prefix): Do not handle %-bp tests.
51773         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
51774         (all-object-suffixes): Remove .ob.
51775         (bppfx): Remove variable.
51776         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
51777         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
51778         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
51779         [$(build-bounded) = yes] (libtype.ob): Likewise.
51780         * Makerules (elide-routines.ob): Remove variable.
51781         (do-tests-clean): Do not handle *-bp.out.
51782         (common-mostlyclean): Do not handle *-bp and *-bp.out.
51783         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
51784         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
51785         (tests): Do not include $(tests-bp.out).
51786         (xtests): Do not include $(xtests-bp.out).
51787         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
51788         [$(build-bounded) = yes] ($(addprefix
51789         $(objpfx),$(binaries-bounded))): Remove rule.
51790         ($(objpfx)%-bp.out): Remove rule.
51791         * config.make.in (build-bounded): Remove variable.
51792         * crypt/Makefile [$(build-bounded) = yes]
51793         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
51794         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
51795         append to variable.
51796         [$(build-bounded) = yes] (install-lib): Likewise.
51797         [$(build-bounded) = yes] (generated): Likewise.
51798         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
51799         Remove rule.
51800         * intl/Makefile [$(build-bounded) = yes]
51801         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
51802         * math/Makefile [$(build-bounded) = yes]
51803         ($(tests:%=$(objpfx)%-bp): Likewise.
51804         * misc/Makefile [$(build-bounded) = yes]
51805         ($(objpfx)tst-tsearch-bp): Likewise.
51806         * nptl/Makeconfig (bounded-thread-library): Remove variable.
51807         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
51808         Remove dependency.
51809         * string/Makefile (o-objects.ob): Remove variable.
51810         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
51811         (CFLAGS-.ob): Remove variable.
51812         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
51813         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
51814         both definitions of variable.
51815         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
51816         (ASFLAGS-.ob): Remove variable.
51818 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
51820         [BZ #13550]
51821         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
51822         Remove __BOUNDED_POINTERS__ from condition.
51823         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
51824         * string/bits/string2.h [!__NO_STRING_INLINES &&
51825         !__BOUNDED_POINTERS__]: Likewise.
51826         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
51827         Likewise.
51828         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
51829         Remove conditional code.
51830         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
51831         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
51832         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
51833         condition.
51835         [BZ #13550]
51836         * csu/libc-start.c: Do not include <bp-sym.h>.
51837         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
51838         * elf/dl-open.c: Do not include <bp-sym.h>.
51839         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
51840         * math/fegetenv.c: Do not include <bp-sym.h>.
51841         (fegetenv): Do not use BP_SYM in versioned symbols.
51842         * nptl/sysdeps/pthread/bits/libc-lockP.h
51843         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
51844         <bp-sym.h>.
51845         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51846         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
51847         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51848         (__pthread_mutex_destroy): Likewise.
51849         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51850         (__pthread_mutex_lock): Likewise.
51851         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51852         (__pthread_mutex_trylock): Likewise.
51853         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51854         (__pthread_mutex_unlock): Likewise.
51855         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51856         (__pthread_mutexattr_init): Likewise.
51857         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51858         (__pthread_mutexattr_destroy): Likewise.
51859         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51860         (__pthread_mutexattr_settype): Likewise.
51861         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51862         (__pthread_rwlock_init): Likewise.
51863         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51864         (__pthread_rwlock_destroy): Likewise.
51865         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51866         (__pthread_rwlock_rdlock): Likewise.
51867         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51868         (__pthread_rwlock_tryrdlock): Likewise.
51869         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51870         (__pthread_rwlock_wrlock): Likewise.
51871         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51872         (__pthread_rwlock_trywrlock): Likewise.
51873         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51874         (__pthread_rwlock_unlock): Likewise.
51875         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51876         (__pthread_key_create): Likewise.
51877         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51878         (__pthread_setspecific): Likewise.
51879         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51880         (__pthread_getspecific): Likewise.
51881         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
51882         Likewise.
51883         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51884         (_pthread_cleanup_push_defer): Likewise.
51885         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51886         (_pthread_cleanup_pop_restore): Likewise.
51887         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51888         (pthread_setcancelstate): Likewise.
51889         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
51890         <bp-sym.h>.
51891         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
51892         (memchr): Do not use BP_SYM in weak_alias.
51893         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
51894         (fegetenv): Do not use BP_SYM in versioned symbols.
51895         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
51896         (fesetenv): Do not use BP_SYM in versioned symbols.
51897         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
51898         (feupdateenv): Do not use BP_SYM in versioned symbols.
51899         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
51900         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
51901         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
51902         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
51903         (open64): Do not use BP_SYM in weak_alias.
51904         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
51905         (fegetenv): Do not use BP_SYM in versioned symbols.
51906         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
51907         (fesetenv): Do not use BP_SYM in versioned symbols.
51908         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
51909         (feupdateenv): Do not use BP_SYM in versioned symbols.
51910         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
51911         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
51912         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
51913         (feraiseexcept): Do not use BP_SYM in versioned symbols.
51914         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
51915         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
51916         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
51917         <bp-sym.h>.
51918         (__libc_start_main): Do not use BP_SYM.
51920 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51922         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
51923         redundant return line.
51924         (norm): Likewise.
51925         (denorm): Likewise.
51926         (dbl_mp): Likewise.
51927         (sub_magnitudes): Likewise.
51928         (__add): Likewise.
51929         (__sub): Likewise.
51930         (__mul): Likewise.
51931         (__inv): Likewise.
51932         (__dvd): Likewise.
51933         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
51934         (norm): Likewise.
51935         (denorm): Likewise.
51936         (dbl_mp): Likewise.
51937         (sub_magnitudes): Likewise.
51938         (__add): Likewise.
51939         (__sub): Likewise.
51940         (__mul): Likewise.
51941         (__inv): Likewise.
51942         (__dvd): Likewise.
51944         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
51945         instead of __mul.
51946         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51947         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
51948         (cc32): Likewise.
51950         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
51951         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
51952         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
51953         of __mul for squares.
51954         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
51955         function
51956         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
51957         Likewise.
51958         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
51959         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51961 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
51963         [BZ #13550]
51964         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
51965         code.
51966         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
51967         prototype or function definition.  Rename ubp_* variables and
51968         parameters.  Remove argv definitions conditional on
51969         [__BOUNDED_POINTERS__].
51970         * debug/backtrace.c (__backtrace): Do not use __unbounded.
51971         * elf/dl-runtime.c (_dl_fixup): Likewise.
51972         * include/set-hooks.h (RUN_HOOK): Likewise.
51973         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
51974         definition.
51975         * string/strcpy.c (strcpy): Do not use __unbounded.
51976         * sysdeps/generic/frame.h (struct layout): Likewise.
51977         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
51978         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
51979         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
51980         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
51981         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
51982         (__backtrace): Likewise.
51983         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
51984         use __ptrvalue.
51985         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
51986         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
51987         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
51988         Likewise.
51989         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
51990         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
51991         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
51992         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
51993         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
51994         Do not use __unbounded.
51995         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
51996         Rename __unboundedrlimits parameter to rlimits in prototype.
51997         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
51998         Do not use __unbounded.
51999         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
52000         not use __ptrvalue.
52001         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52002         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
52003         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52004         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
52005         __ptrvalue or __unbounded.
52006         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
52007         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
52008         use __unbounded.
52009         (__new_msgctl): Do not use __ptrvalue.
52010         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
52011         __unbounded.
52012         (__libc_msgrcv): Do not use __ptrvalue.
52013         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
52014         startup_info): Do not use __unbounded.
52015         (__libc_start_main): Likewise.  Rename ubp_* variables and
52016         parameters.  Remove argv definitions conditional on
52017         [__BOUNDED_POINTERS__].
52018         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
52019         __ptrvalue.
52020         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
52021         use __unbounded.
52022         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
52023         or __ptrvalue.
52024         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
52025         use __unbounded.
52026         (__new_shmctl): Do not use __ptrvalue.
52027         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
52028         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
52029         Likewise.
52030         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
52031         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
52032         (__libc_sigaction): Likewise.
52033         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
52034         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
52035         Likewise.
52036         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52038 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
52040         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
52042         * string/mempcpy.c: Implement by calling memcpy.
52044 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52046         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
52048         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
52049         evaluation.
52051         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
52052         values in the mantissa.
52054         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
52055         minimize writes to Z.
52056         (sub_magnitudes): Simplify code a bit.
52058 2013-02-12  Roland McGrath  <roland@hack.frob.com>
52060         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
52061         from the message.  The linker prefixes all warnings with that already.
52063 2013-02-12  Andreas Schwab  <schwab@suse.de>
52065         [BZ #15078]
52066         * posix/regexec.c (extend_buffers): Add parameter min_len.
52067         (check_matching): Pass minimum needed length.
52068         (clean_state_log_if_needed): Likewise.
52069         (get_subexp): Likewise.
52070         * posix/Makefile (tests): Add bug-regex34.
52071         (bug-regex34-ENV): Define.
52072         * posix/bug-regex34.c: New file.
52074         [BZ #11561]
52075         * posix/regcomp.c (parse_bracket_exp): When looking up collating
52076         elements compare against the byte sequence of it, not its name.
52077         * posix/Makefile (tests): Add bug-regex35.
52078         (bug-regex35-ENV): Define.
52079         * posix/bug-regex35.c: New file.
52081 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52083         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
52084         comment.
52085         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
52086         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
52087         (CHECK_EOL): Add undef.
52089 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
52091         * bits/stdlib-bsearch.h: New file.
52092         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
52093         * stdlib/stdlib.h: Likewise.
52095 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52097         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
52098         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
52099         declaration.
52100         * manual/search.texi (Array Search Function): Add missing const in
52101         lfind prototype.
52102         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
52103         declaration to use rlim_t.
52104         (Basic Scheduling Functions): Remove erroneous const from
52105         sched_getparam prototype.  Remove erroneous * from
52106         sched_get_priority_max and sched_get_priority_min prototypes.
52107         (Resource Usage): Fix summary @comment on vtimes to refer to
52108         sys/vtimes.h rather than vtimes.h.
52109         Add missing *s in vtimes prototype.
52110         (Limits on Resources): Fix ulimit prototype to return long int.
52111         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
52112         prototypes to use long int rather than double.
52113         (BSD Random): Fix initstate and setstate to use char *, not void *.
52114         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
52115         prototype to make second argument 'struct aiocb64 *const[]'.
52116         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
52117         (Status of AIO Operations): Remove erroneous const in aio_return and
52118         aio_return64 prototypes.
52119         (Synchronizing I/O): Fix sync prototype to return void.
52120         * manual/startup.texi (Suboptions): Remove an erroneous const in
52121         getsubopt prototype.
52122         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
52123         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
52124         use size_t rather than int.
52125         (Scanning All Users): Likewise for getpwent_r.
52126         (Setting Groups): Add missing const to setgroups prototype.
52127         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
52128         * manual/socket.texi (Host Names): Fix gethostbyaddr and
52129         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
52130         'const void *' rather than 'const char *'.
52131         (Host Address Functions): Likewise for inet_ntop.
52132         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
52133         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
52134         ssize_t for return value.
52135         (Sending Data): Likewise for send, sendto, sendmsg.
52136         (Socket Option Functions): Add a missing const in setsockopt prototype.
52137         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
52138         use wchar_t for the argument.
52139         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
52140         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
52141         take no arguments.
52142         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
52143         double/float/long double for second argument.
52144         Fix return types of significand, significandf, significandl.
52145         * manual/filesys.texi (Setting Permissions): Use mode_t for second
52146         argument in fchmod prototype.
52147         (File Owner): Use uid_t and gid_t in fchown prototype.
52148         (File Times): Add const to utimes, futimes, and lutimes prototypes.
52149         (Making Special Files): Use mode_t and dev_t in mknod prototype.
52150         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
52151         use 'const struct dirent **' as argument types to CMP function pointer
52152         argument.
52153         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
52154         (File Times): Fix summary magic @comment for struct utimbuf and utime
52155         to refer to utime.h, not time.h.
52156         * manual/string.texi (Argz Functions): Add missing const in
52157         argz_extract and argz_next prototypes.
52158         (Finding Tokens in a String): Likewise for basename.
52159         (String/Array Comparison): Fix typo in wcscasecmp prototype.
52160         (Copying and Concatenation): Fix typo in wmemmove prototype.
52161         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
52162         (Signal Stack): Remove erroneous const in sigstack prototype.
52163         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
52164         prototype.
52165         (Simple Calendar Time): Likewise for stime.
52166         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
52167         prototype.
52168         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
52169         say sys/sysctl.h instead.
52170         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
52171         and vsyslog prototypes.
52173 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52175         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
52176         Remove.
52178 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52180         * misc/sys/mman.h: Fix typo in mremap comment.
52182 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52184         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
52185         the '\0' terminator.
52187 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52189         [BZ #13550]
52190         * debug/segfault.c: Don't include <bp-checks.h>.
52191         * sysdeps/generic/bp-checks.h: Remove file.
52192         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
52193         (__GETDENTS): Don't use CHECK_N.
52194         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
52195         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
52196         (__getgroups): Don't use CHECK_N.
52197         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
52198         (setgroups): Don't use CHECK_N.
52199         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
52200         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
52201         (__libc_msgrcv): Don't use CHECK_N.
52202         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
52203         (__libc_msgsnd): Don't use CHECK_N.
52204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
52205         <bp-checks.h>.
52206         (__libc_pread): Don't use CHECK_N.
52207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
52208         include <bp-checks.h>.
52209         (__libc_pread64): Don't use CHECK_N.
52210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
52211         include <bp-checks.h>.
52212         (__libc_pwrite): Don't use CHECK_N.
52213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
52214         include <bp-checks.h>.
52215         (__libc_pwrite64): Don't use CHECK_N.
52216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
52217         <bp-checks.h>.
52218         (__libc_pread): Don't use CHECK_N.
52219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
52220         include <bp-checks.h>.
52221         (__libc_pread64): Don't use CHECK_N.
52222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
52223         include <bp-checks.h>.
52224         (__libc_pwrite): Don't use CHECK_N.
52225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
52226         include <bp-checks.h>.
52227         (__libc_pwrite64): Don't use CHECK_N.
52228         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
52229         (do_pread): Don't use CHECK_N.
52230         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
52231         (do_pread64): Don't use CHECK_N.
52232         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
52233         (do_pwrite): Don't use CHECK_N.
52234         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
52235         (do_pwrite64): Don't use CHECK_N.
52236         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
52237         (__libc_readv): Don't use CHECK_N.
52238         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
52239         (semop): Don't use CHECK_N.
52240         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
52241         <bp-checks.h>.
52242         (semtimedop): Don't use CHECK_N.
52243         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
52244         (__libc_pread): Don't use CHECK_N.
52245         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
52246         <bp-checks.h>.
52247         (__libc_pread64): Don't use CHECK_N.
52248         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
52249         <bp-checks.h>.
52250         (__libc_pwrite): Don't use CHECK_N.
52251         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
52252         <bp-checks.h>.
52253         (__libc_pwrite64): Don't use CHECK_N.
52254         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
52255         <bp-checks.h>.
52256         (__libc_msgrcv): Don't use CHECK_N.
52257         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
52258         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
52259         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
52260         (__libc_writev): Don't use CHECK_N.
52262 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52264         * string/strcpy.c: Removed unused variable.
52266         * Makeconfig (+sysdep-includes): Define with := rather than =.
52267         Use an existing include/ subdir of each sysdeps dir before it.
52269 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52271         * nscd/connection.c (register_traced_file): Comment function.
52272         [HAVE_INOTIFY] (union __inev): Define.
52273         [HAVE_INOTIFY] (inotify_check_files): New function.
52274         [HAVE_INOTIFY] (clear_db_cache): Likewise.
52275         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
52276         clear_db_cache.
52277         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
52279 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52281         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
52282         loaded if not already and that a failure is permanent.
52284 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52286         [BZ #15006]
52287         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
52288         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
52290 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52292         [BZ #13550]
52293         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
52294         (CHECK_1_NULL_OK): Likewise.
52295         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
52296         (__fxstat): Do not use CHECK_1.
52297         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
52298         <bp-checks.h>.
52299         (___fxstat64): Do not use CHECK_1.
52300         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
52301         <bp-checks.h>.
52302         (__fxstatat): Do not use CHECK_1.
52303         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
52304         <bp-checks.h>.
52305         (__fxstatat64): Do not use CHECK_1.
52306         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
52307         <bp-checks.h>.
52308         (__fxstat): Do not use CHECK_1.
52309         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
52310         <bp-checks.h>.
52311         (__fxstatat): Do not use CHECK_1.
52312         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
52313         <bp-checks.h>.
52314         (__getresgid): Do not use CHECK_1.
52315         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
52316         <bp-checks.h>.
52317         (__getresuid): Do not use CHECK_1.
52318         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
52319         <bp-checks.h>.
52320         (__lxstat): Do not use CHECK_1.
52321         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
52322         <bp-checks.h>.
52323         (__old_msgctl): Do not use CHECK_1.
52324         (__new_msgctl): Likewise.
52325         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
52326         <bp-checks.h>.
52327         (__new_setrlimit): Do not use CHECK_1.
52328         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
52329         <bp-checks.h>.
52330         (__old_shmctl): Do not use CHECK_1.
52331         (__new_shmctl): Likewise.
52332         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
52333         <bp-checks.h>.
52334         (__xstat): Do not use CHECK_1.
52335         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
52336         (__lxstat): Do not use CHECK_1.
52337         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
52338         <bp-checks.h>.
52339         (___lxstat64): Do not use CHECK_1.
52340         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
52341         (__old_msgctl): Do not use CHECK_1.
52342         (__new_msgctl): Likewise.
52343         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
52344         <bp-checks.h>.
52345         (__gettimeofday): Do not use CHECK_1.
52346         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
52347         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
52348         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
52349         <bp-checks.h>.
52350         (__gettimeofday): Do not use CHECK_1.
52351         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
52352         (__old_shmctl): Do not use CHECK_1_NULL_OK.
52353         (__new_shmctl): Do not use CHECK_1.
52354         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
52355         <bp-checks.h>.
52356         (do_sigtimedwait): Do not use CHECK_1.
52357         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
52358         <bp-checks.h>.
52359         (do_sigwaitinfo): Do not use CHECK_1.
52360         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
52361         <bp-checks.h>.
52362         (msgctl): Do not use CHECK_1.
52363         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
52364         <bp-checks.h>.
52365         (shmctl): Do not use CHECK_1.
52366         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
52367         (ustat): Do not use CHECK_1.
52368         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
52369         <bp-checks.h>.
52370         (__fxstat): Do not use CHECK_1.
52371         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
52372         <bp-checks.h>.
52373         (__fxstatat): Do not use CHECK_1.
52374         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
52375         <bp-checks.h>.
52376         (__lxstat): Do not use CHECK_1.
52377         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
52378         <bp-checks.h>.
52379         (__xstat): Do not use CHECK_1.
52380         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
52381         (__xstat): Do not use CHECK_1.
52382         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
52383         (___xstat64): Do not use CHECK_1.
52385         [BZ #13550]
52386         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
52387         definitions.
52388         (CHECK_BOUNDS_HIGH): Likewise.
52389         * string/strcpy.c: Do not include <bp-checks.h>.
52390         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
52392 2013-02-07  Roland McGrath  <roland@hack.frob.com>
52394         * nscd/nscd-client.h (__nscd_drop_map_ref):
52395         Add __attribute__ ((unused)).
52396         * nis/nss-nisplus.h (niserr2nss): Likewise.
52398         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
52399         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
52401         * csu/libc-tls.c (init_static_tls, init_slotinfo):
52402         Remove inline keyword.
52403         * include/rounding-mode.h (round_away): Likewise.
52404         * libio/wfileops.c (adjust_wide_data): Likewise.
52405         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
52406         (__m128i_strloadu_tolower): Likewise.
52407         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
52408         (__m128i_strloadu_tolower): Likewise.
52409         * time/mktime.c (ydhms_diff): Likewise.
52410         * locale/elem-hash.h (elem_hash): Likewise.
52411         * locale/setlocale.c (setdata): Likewise.
52412         * posix/regex_internal.h (re_string_char_size_at): Likewise.
52413         (re_string_wchar_at): Likewise.
52414         (bitset_not, bitset_merge, bitset_mask): Likewise.
52415         [!(__GNUC__ > 3)] (inline): Remove macro.
52416         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
52417         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
52418         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
52419         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
52420         * string/memcmp.c (memcmp_bytes): Likewise.
52421         * locale/programs/locarchive.c (compute_hashval): Likewise.
52422         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
52423         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
52424         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
52425         * nss/getent.c (print_rpc, print_protocols): Likewise.
52426         (print_passwd, print_group, print_aliases): Likewise.
52427         * nis/nss-nisplus.h (niserr2nss): Likewise.
52428         * nscd/connections.c (restart_p): Likewise.
52429         Change return type to bool.
52431 2013-02-05  Roland McGrath  <roland@hack.frob.com>
52433         * Makeconfig (all-Depend-files): Add existing
52434         $(sorted-subdirs:=/Depend) files.
52435         (all-subdirs): Remove nss.
52436         * sysdeps/unix/inet/Subdirs: Add it here instead.
52437         * hesiod/Depend: New file.
52439         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
52440         instead of calling alloca.
52442         * io/lseek.c (__lseek): Rename to __libc_lseek.
52443         Define __lseek as an alias.
52445         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
52447 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
52449         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
52450         else clause and remove check for non-standard endianness.
52452 2013-02-04  David S. Miller  <davem@davemloft.net>
52454         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52456 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
52458         [BZ #13550]
52459         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
52460         (__ubp_memchr): Remove prototype.
52461         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
52462         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52463         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
52464         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52465         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
52466         Remove alias.
52467         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
52468         (__ubp_memchr): Likewise.
52469         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
52470         (__ubp_memchr): Likewise.
52471         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
52472         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
52473         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
52474         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
52475         CHECK_STRING.
52476         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
52477         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
52478         (__getcwd): Do not use CHECK_STRING.
52479         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
52480         <bp-checks.h>.
52481         (__real_chown): Do not use CHECK_STRING.
52482         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
52483         <bp-checks.h>.
52484         (fchownat): Do not use CHECK_STRING.
52485         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
52486         CHECK_STRING.
52487         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
52488         <bp-checks.h>.
52489         (__lchown): Do not use CHECK_STRING.
52490         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52491         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52492         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52493         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
52494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
52495         include <bp-checks.h>.
52496         (truncate64): Do not use CHECK_STRING.
52497         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
52498         <bp-checks.h>.
52499         (__real_chown): Do not use CHECK_STRING.
52500         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
52501         <bp-checks.h>.
52502         (__lchown): Do not use CHECK_STRING.
52503         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
52504         <bp-checks.h>.
52505         (__chown): Do not use CHECK_STRING.
52506         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
52507         <bp-checks.h>.
52508         (truncate64): Do not use CHECK_STRING.
52509         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
52510         Likewise.
52511         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
52512         (__xmknod): Do not use CHECK_STRING.
52513         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
52514         <bp-checks.h>.
52515         (__xmknodat): Do not use CHECK_STRING.
52516         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52517         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
52519 2013-02-04  Andreas Schwab  <schwab@suse.de>
52521         [BZ #14142]
52522         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
52523         * include/netdb.h: Likewise for h_errno.
52524         * elf/tst-stackguard1.c: Include <tls.h>.
52526 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
52528         * elf/link.h (struct link_map): Extend the l_addr comment.
52529         * include/link.h (struct link_map): Likewise.
52531 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
52533         [BZ #13550]
52534         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
52535         (BOUNDED_1): Remove macro.
52536         * debug/backtrace.c: Don't include <bp-checks.h>.
52537         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
52538         (__backtrace): Likewise.
52539         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
52540         <bp-checks.h>.
52541         (__backtrace): Don't use BOUNDED_1.
52542         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
52543         <bp-checks.h>.
52544         (__backtrace): Don't use BOUNDED_1.
52545         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
52546         (__backtrace): Don't use BOUNDED_1.
52547         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
52548         (shmat): Don't use BOUNDED_N.
52550 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
52552         [BZ #13550]
52553         * sysdeps/generic/bp-start.h: Remove file.
52554         * csu/libc-start.c: Don't include <bp-start.h>.
52555         (LIBC_START_MAIN): Set up __environ directly instead of using
52556         INIT_ARGV_and_ENVIRON.
52557         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
52558         <bp-start.h>.
52560         [BZ #13550]
52561         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
52562         definitions.
52563         (CHECK_FCNTL): Likewise.
52564         (CHECK_N_PAGES): Likewise.
52566         [BZ #13550]
52567         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
52568         definitions.
52569         (CHECK_SIGSET_NULL_OK): Likewise.
52570         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
52571         <bp-checks.h>.
52572         (sigpending): Don't use CHECK_SIGSET.
52573         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
52574         <bp-checks.h>.
52575         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52576         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
52577         <bp-checks.h>.
52578         (do_sigsuspend): Don't use CHECK_SIGSET.
52579         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
52580         use CHECK_SIGSET.
52581         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
52582         (do_sigwait): Don't use CHECK_SIGSET.
52583         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
52584         use CHECK_SIGSET.
52585         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
52586         include <bp-checks.h>.
52587         (sigpending): Don't use CHECK_SIGSET.
52588         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
52589         include <bp-checks.h>.
52590         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52591         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
52592         <bp-checks.h>.
52593         (sigpending): Don't use CHECK_SIGSET.
52594         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
52595         <bp-checks.h>.
52596         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52598         [BZ #13550]
52599         * sysdeps/generic/bp-semctl.h: Remove file.
52600         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
52601         <bp-checks.h> and <bp-semctl.h>.
52602         (__old_semctl): Don't use CHECK_SEMCTL.
52603         (__new_semctl): Likewise.
52604         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
52605         and <bp-semctl.h>.
52606         (__old_semctl): Don't use CHECK_SEMCTL.
52607         (__new_semctl): Likewise.
52608         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
52609         <bp-checks.h> and <bp-semctl.h>.
52610         (__old_semctl): Don't use CHECK_SEMCTL.
52611         (__new_semctl): Likewise.
52612         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
52613         <bp-checks.h> and <bp-semctl.h>.
52614         (semctl): Don't use CHECK_SEMCTL.
52616         [BZ #13550]
52617         * Makerules (elide-bp-thunks): Remove variable.
52618         (elide-routines.oS): Don't use $(elide-bp-thunks).
52619         (elide-routines.os): Likewise.
52620         (elide-routines.o): Likewise.
52621         (elide-routines.op): Likewise.
52622         (elide-routines.og): Likewise.
52623         (objects): Don't use $(bp-thunks).
52624         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
52625         include.
52626         (common-generated): Do not add s-proto-bp.d.
52627         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
52628         (int): Likewise.
52629         (typ): Likewise.
52630         Do not generate makefile rules for bounded-pointer thunks.
52631         * sysdeps/generic/bp-thunks.h: Remove file.
52632         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
52633         * sysdeps/unix/s-proto-bp.S: Likewise.
52635         [BZ #15062]
52636         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
52637         parts of result separately when argument is not close to line from
52638         -i to i and one part of argument is small.
52639         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52640         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52641         * math/libm-test.inc (cacos_test): Add more tests.
52642         (casin_test): Likewise.
52643         (casinh_test): Likewise.
52644         * sysdeps/i386/fpu/libm-test-ulps: Update.
52645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52647 2013-01-31  David S. Miller  <davem@davemloft.net>
52649         * po/de.po: Update from translation team.
52651 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
52653         * time/tzfile.c: Include stdint.h for SIZE_MAX.
52655 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
52657         * configure.in (_AC_PROG_CC_C89): New definition.
52658         * configure: Regenerate.
52660         * configure.in (AC_PROG_CPP): New definition.
52661         * configure: Regenerate.
52663 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
52665         * debug/tst-backtrace.h: New file.
52666         * debug/tst-backtrace2.c: Include tst-backtrace.h.
52667         (ret): Remove variable.
52668         (x): Likewise.
52669         (FAIL): Remove macro.
52670         (NO_INLINE): Likewise.
52671         (fn1): Use match function instead of strstr.
52672         * debug/tst-backtrace3.c: Include tst-backtrace.h.
52673         (ret): Remove variable.
52674         (x): Likewise.
52675         (FAIL): Remove macro.
52676         (NO_INLINE): Likewise.
52677         (fn): Use match function instead of strstr.
52678         * debug/tst-backtrace4.c: Include tst-backtrace.h.
52679         (ret): Remove variable.
52680         (x): Likewise.
52681         (FAIL): Remove macro.
52682         (NO_INLINE): Likewise.
52683         (handle_signal): Use match function instead of strstr.
52684         * debug/tst-backtrace5.c: Include tst-backtrace.h.
52685         (ret): Remove variable.
52686         (x): Likewise.
52687         (FAIL): Remove macro.
52688         (NO_INLINE): Likewise.
52689         (handle_signal): Use match function instead of strstr.
52691 2013-01-23  Roland McGrath  <roland@hack.frob.com>
52693         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
52695 2013-01-23  David S. Miller  <davem@davemloft.net>
52697         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
52698         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
52699         argument of CAS if possible.
52700         * sysdeps/sparc/sparc64/bits/atomic.h
52701         (__arch_compare_and_exchange_val_32_acq): Likewise.
52702         (__arch_compare_and_exchange_val_64_acq): Likewise.
52704 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
52706         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
52707         * sysdeps/posix/ulimit.c: ... this.
52708         Include <limits.h>.
52709         * sysdeps/unix/bsd/ulimit.c: Remove file.
52711 2013-01-23  Adam Conrad  <adconrad@0c3.net>
52713         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
52714         (LDFLAGS-tst-array5): Likewise.
52716 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
52718         [BZ #15036]
52719         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
52720         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
52721         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
52722         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
52724 2013-01-21  David S. Miller  <davem@davemloft.net>
52726         * sysdeps/sparc/backtrace.c: New file.
52727         * sysdeps/sparc/sparc32/backtrace.h: New file.
52728         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
52729         * sysdeps/sparc/sparc64/backtrace.h: New file.
52730         * sysdeps/sparc/sparc64/backtrace.c: Delete.
52731         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
52732         -funwind-tables.
52734 2013-01-21  Andreas Schwab  <schwab@suse.de>
52736         [BZ #15020]
52737         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
52738         closed its stdout.
52740 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
52742         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
52743         "mpa2.h".
52744         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52746 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
52747             Mark Mitchell  <mark@codesourcery.com>
52748             Tom de Vries  <tom@codesourcery.com>
52749             Paul Pluzhnikov  <ppluzhnikov@google.com>
52751         * debug/tst-backtrace2.c: New file.
52752         * debug/tst-backtrace3.c: Likewise.
52753         * debug/tst-backtrace4.c: Likewise.
52754         * debug/tst-backtrace5.c: Likewise.
52755         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
52756         (CFLAGS-tst-backtrace3.c): Likewise.
52757         (CFLAGS-tst-backtrace4.c): Likewise.
52758         (CFLAGS-tst-backtrace5.c): Likewise.
52759         (LDFLAGS-tst-backtrace2): Likewise.
52760         (LDFLAGS-tst-backtrace3): Likewise.
52761         (LDFLAGS-tst-backtrace4): Likewise.
52762         (LDFLAGS-tst-backtrace5): Likewise.
52763         (tests): Add new tests tst-backtrace2, tst-backtrace3,
52764         tst-backtrace4 and tst-backtrace5.
52766 2013-01-18  Anton Blanchard  <anton@samba.org>
52767             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52769         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
52770         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
52771         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
52772         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
52773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
52774         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
52775         "+r" and remove output regs list as redundant.  Add explicit inline
52776         asm to specify register of return val to work around compiler codegen
52777         bug.  Remove (int) cast on return value.  Add return type parameter to
52778         use in macro so that this macro does not truncate return value for
52779         64-bit values.
52780         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
52781         pass to INTERNAL_VSYSCALL_NCS.
52782         (INLINE_VSYSCALL): Add 'long int' as return type to
52783         INTERNAL_VSYSCALL_NCS macro invocation.
52784         (INTERNAL_VSYSCALL): Add 'long int' as return type to
52785         INTERNAL_VSYSCALL_NCS macro invocation.
52786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52788 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52790         [BZ #14496]
52791         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
52792         Fix application of SIMD FP exception mask.
52794         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
52795         mp_no from a power of two.
52796         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
52797         __mpexp_twomm1.  Use __pow_mp.
52799         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
52800         multiplication.
52802 2013-01-17  David S. Miller  <davem@davemloft.net>
52804         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52806 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
52808         [BZ #15023]
52809         * include/complex.h: Condition contents on [!_COMPLEX_H].
52810         (__kernel_casinhf): New prototype.
52811         (__kernel_casinh): Likewise.
52812         (__kernel_casinhl): Likewise.
52813         * math/Makefile (libm_calls): Add k_casinh.
52814         * math/k_casinh.c: New file.
52815         * math/k_casinhf.c: Likewise.
52816         * math/k_casinhl.c: Likewise.
52817         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
52818         finite nonzero arguments.
52819         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
52820         finite nonzero arguments.
52821         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
52822         finite nonzero arguments.
52823         * math/s_casinh.c: Do not include <float.h>.
52824         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
52825         * math/s_casinhf.c: Do not include <float.h>.
52826         (__casinhf): Move code for finite nonzero arguments to
52827         k_casinhf.c.
52828         * math/s_casinhl.c: Do not include <float.h>.
52829         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
52830         redefine.
52831         (__casinhl): Move code for finite nonzero arguments to
52832         k_casinhl.c.
52833         * math/libm-test.inc (cacos_test): Add more tests.
52834         * sysdeps/i386/fpu/libm-test-ulps: Update.
52835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52837 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
52839         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
52840         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
52841         [!HAVE_MREMAP]: Remove [defined linux] case.
52842         * malloc/arena.c: Do not include <malloc-sysdep.h>.
52844 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52846         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
52848 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
52850         * elf/elf.h (R_386_SIZE32): New relocation.
52851         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
52852         R_386_SIZE32.
52853         (elf_machine_rela): Likewise.
52854         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
52855         R_X86_64_SIZE64 and R_X86_64_SIZE32.
52857 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
52859         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
52860         (FP_FAST_FMA): Do not define.
52861         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
52862         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
52863         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
52864         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
52865         !_SOFT_FLOAT]: Likewise.
52866         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
52867         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
52868         value.
52869         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
52870         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
52871         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
52872         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
52873         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
52874         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
52875         file.
52877 2013-01-16  Andreas Schwab  <schwab@suse.de>
52879         [BZ #14327]
52880         * include/stdlib.h (__mktemp): Add declaration.
52881         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
52882         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
52884 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52886         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
52887         definitions.
52888         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
52889         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
52890         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
52891         definitions here.
52892         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
52893         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
52894         definitions.
52895         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
52896         and ONE.
52897         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
52898         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
52899         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
52900         definitions.
52901         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
52902         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
52903         definitions.
52904         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
52906         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
52908 2013-01-15  David S. Miller  <davem@davemloft.net>
52910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52911         trunc{,f} to libm-sysdep_routes.
52912         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
52914         file.
52915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
52916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
52917         file.
52918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
52919         file.
52920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
52921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
52922         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
52923         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
52924         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
52925         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
52926         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
52927         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
52929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52930         nearbyint{,f} to libm-sysdep_routes.
52931         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
52933         New file.
52934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
52935         file.
52936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
52937         New file.
52938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
52939         file.
52940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
52941         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
52942         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
52943         file.
52944         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
52945         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
52946         file.
52947         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
52948         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
52949         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
52951         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
52952         libc_feholdexcept and libc_fesetenv.
52954 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
52956         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
52958 2013-01-14  David S. Miller  <davem@davemloft.net>
52960         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
52961         (SPARC_ASM_VIS2_IFUNC): Likewise.
52962         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
52963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
52964         use of 'siam' instruction.
52965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
52966         Likewise.
52967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
52968         Likewise.
52969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
52970         Likewise.
52971         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
52972         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
52973         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
52974         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
52975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
52976         file.
52977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
52978         file.
52979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
52980         file.
52981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
52982         file.
52983         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
52984         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
52985         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
52986         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
52987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
52988         new VIS2 routines.
52989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52992         Likewise.
52993         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52994         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52995         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52996         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
52998         routines to libm-sysdep_routines.
52999         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53002         fdim/fdimf to libm-sysdep_routines.
53003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
53004         file.
53005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
53006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
53007         file.
53008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
53009         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
53010         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
53011         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
53012         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
53013         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
53014         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
53016 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53018         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
53019         to optimize copies.
53021         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
53022         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53023         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53025         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
53026         local variable MPTWO.
53027         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53028         Likewise.
53030 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53032         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
53033         GLOB_NOESCAPE.
53035 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53037         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
53039 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53041         * manual/pattern.texi (glob_t): Document gl_flags.
53042         (glob64_t): Likewise.
53044 2013-01-11  David S. Miller  <davem@davemloft.net>
53046         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
53047         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
53048         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
53049         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
53050         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
53051         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
53052         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
53053         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
53054         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
53055         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
53056         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
53057         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
53058         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
53060         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53061         sparc V9 rather than using V8 code.
53062         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53063         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53065         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53066         Move to...
53067         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
53068         Here.
53070 2013-01-11  Roland McGrath  <roland@hack.frob.com>
53072         [BZ #14941]
53073         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
53074         not in the main loop.
53075         * configure: Regenerated.
53077 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
53079         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
53080         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
53081         to just #else.
53082         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
53083         [!__GLIBC_HAVE_LONG_LONG] case.
53084         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
53085         condition to just #else.
53086         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
53087         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
53088         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
53089         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
53090         unconditional.
53091         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
53092         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53093         #elif condition to just #else.
53094         * sysdeps/unix/sysv/linux/sys/sysmacros.h
53095         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
53096         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53097         #elif condition to just #else.
53099 2013-01-11  Steve Ellcey  <sellcey@mips.com>
53101         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
53102         (EF_MIPS_ARCH_64): Fix value.
53103         (EF_MIPS_ARCH_32R2): New.
53104         (EF_MIPS_ARCH_64R2): New.
53106 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
53108         * Makeconfig (+link-pie-before-libc): New.
53109         (+link-pie-after-libc): Likewise.
53110         (+link-pie-tests): Likewise.
53111         (+link-pie): Rewritten.
53112         (link-before-libc): Remove $(config-LDFLAGS).
53113         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
53114         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
53115         (config-LDFLAGS): Renamed to ...
53116         (rtld-LDFLAGS): This.
53117         (rtld-tests-LDFLAGS): New macro.
53118         (link-libc-rpath-link): Likewise.
53119         (link-libc-tests-rpath-link): Likewise.
53120         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
53121         (link-libc): Prepand $(link-libc-rpath-link).
53122         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
53123         (test-program-prefix): New macro.
53124         (test-via-rtld-prefix): Likewise.
53125         (test-program-cmd): Likewise.
53126         (host-test-program-cmd): Likewise.
53127         * Makefile ($(common-objpfx)testrun.sh): Replace
53128         $(run-program-prefix) with $(test-program-prefix).
53129         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
53130         $(rtld-LDFLAGS).
53131         ($(common-objpfx)shlib.lds): Likewise.
53132         (build-module-helper): Likewise.
53133         ($(common-objpfx)format.lds): Likewise.
53134         * Rules (binaries-pie-tests): New.
53135         (binaries-pie-notests): Likewise.
53136         (binaries-pie): Rewritten.
53137         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
53138         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
53139         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
53140         (make-test-out): Replace $(host-built-program-cmd) with
53141         $(host-test-program-cmd).
53142         * config.make.in (build-hardcoded-path-in-tests): New variable.
53143         * configure.in (--enable-hardcoded-path-in-tests): New configure
53144         option.
53145         (hardcoded_path_in_tests): New AC_SUBST.
53146         * configure: Regenerated.
53147         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
53148         $(built-program-cmd) with $(test-program-cmd).
53149         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
53150         (test_program_cmd): This.
53151         * elf/Makefile ($(objpfx)order.out): Run test with
53152         $(test-program-prefix).
53153         ($(objpfx)order2.out): Likewise.
53154         ($(objpfx)tst-initorder.out): Likewise.
53155         ($(objpfx)tst-initorder2.out): Likewise.
53156         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
53157         $(test-program-cmd).
53158         ($(objpfx)tst-array1-static.out): Likewise.
53159         ($(objpfx)tst-array2.out): Likewise.
53160         ($(objpfx)tst-array3.out): Likewise.
53161         ($(objpfx)tst-array4.out): Likewise.
53162         ($(objpfx)tst-array5.out): Likewise.
53163         ($(objpfx)tst-array5-static.out): Likewise.
53164         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
53165         $(test-program-cmd).
53166         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
53167         $(run-program-prefix) with $(test-program-prefix).
53168         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
53169         (test_program_prefix): This.
53170         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
53171         $(run-program-prefix) with $(test-program-prefix).
53172         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
53173         (test_program_prefix): This.
53174         * iconvdata/tst-tables.sh: Likewise.
53175         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
53176         $(run-program-prefix) with $(test-program-prefix).
53177         ($(objpfx)tst-translit.out): Likewise.
53178         ($(objpfx)tst-gettext2.out): Likewise.
53179         ($(objpfx)tst-gettext4.out): Likewise.
53180         ($(objpfx)tst-gettext6.out): Likewise.
53181         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
53182         (test_program_prefix): This.
53183         * intl/tst-gettext2.sh: Likewise.
53184         * intl/tst-gettext4.sh  Likewise.
53185         * intl/tst-gettext6.sh: Likewise.
53186         * intl/tst-translit.sh: Likewise.
53187         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
53188         with $(test-program-cmd).
53189         * libio/Makefile ($(objpfx)test-freopen.out): Replace
53190         $(run-program-prefix) with $(test-program-prefix).
53191         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
53192         (test_program_prefix): This.
53193         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
53194         $(run-program-prefix) with $(test-program-prefix).
53195         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
53196         (test_program_prefix): This.
53197         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
53198         * posix/Makefile ($(objpfx)globtest.out): Replace
53199         $(run-via-rtld-prefix) and $(test-wrapper) with
53200         $(test-program-prefix) and $(test-via-rtld-prefix).
53201         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
53202         $(test-program-prefix).
53203         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
53204         $(host-test-program-cmd).
53205         (tst-spawn-ARGS): Likewise.
53206         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
53207         $(test-program-prefix).
53208         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
53209         (test_via_rtld_prefix): This.
53210         (test_wrapper): Renamed to ...
53211         (test_program_prefix): This.
53212         (run_program_prefix): Replaced by test_program_prefix.
53213         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
53214         (test_program_prefix): This.
53215         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
53216         with $(host-test-program-cmd).
53217         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
53218         $(run-program-prefix) with $(test-program-prefix).
53219         ($(objpfx)tst-printf.out): Likewise.
53220         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
53221         $(test-program-cmd).
53222         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
53223         (test_program_prefix): This.
53224         * stdio-common/tst-unbputc.sh: Likewise.
53225         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
53226         $(run-program-prefix) with $(test-program-prefix).
53227         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
53228         (test_program_prefix): This.
53229         * string/Makefile ($(objpfx)tst-svc.out):  Replace
53230         $(built-program-cmd) with $(test-program-cmd).
53232 2013-01-11  Andreas Jaeger  <aj@suse.de>
53234         [BZ #15003]
53235         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
53236         value. Sync with Linux 3.7.
53238 2013-01-10  David S. Miller  <davem@davemloft.net>
53240         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
53241         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53242         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53244 2013-01-10  Roland McGrath  <roland@hack.frob.com>
53246         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
53247         never set.
53248         * configure: Regenerated.
53250 2013-01-10  David S. Miller  <davem@davemloft.net>
53252         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53253         sparc V9 rather than using V8 code.
53254         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53255         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53257 2013-01-10  Roland McGrath  <roland@hack.frob.com>
53259         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
53260         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
53261         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
53262         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
53263         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
53264         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
53265         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
53266         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
53267         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
53268         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
53269         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
53270         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
53271         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
53272         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
53273         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
53274         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
53275         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
53276         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
53277         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
53278         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
53279         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
53280         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
53281         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
53282         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
53283         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
53284         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
53285         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
53287 2013-01-10  David S. Miller  <davem@davemloft.net>
53289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53291 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
53293         * posix/Makefile (tests-static): New variable.
53294         (tests): Add $(tests-static).
53295         (tst-exec-static-ARGS): New variable.
53296         (tst-spawn-static-ARGS): Likewise.
53297         * posix/tst-exec-static.c: New file.
53298         * posix/tst-spawn-static.c: Likewise.
53299         * posix/tst-exec.c: Support run directly.
53300         * posix/tst-spawn.c: Likewise.
53302 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
53304         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
53305         long.
53306         * math/bits/mathcalls.h (llrint): Likewise.
53307         (llround): Likewise.
53308         * stdlib/stdlib.h (struct drand48_data): Likewise.
53309         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
53310         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
53311         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
53312         Likewise.
53313         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
53314         Likewise.
53315         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
53316         (elf_greg_t): Likewise.
53317         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
53318         (__jmp_buf): Likewise.
53319         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
53320         definitions.
53321         (llrint): Likewise, for all definitions.
53322         (llrintl): Likewise.
53324         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
53325         Remove [__GNUC__] condition.
53326         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
53327         condition to just [__USE_ISOC99].
53328         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
53330 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
53332         [BZ #14200]
53333         * sysdeps/unix/sysv/linux/x86/bits/environments.h
53334         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
53335         defined.
53336         (_POSIX_V6_ILP32_OFF32): Likewise.
53337         (_XBS5_ILP32_OFF32): Likewise.
53338         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
53339         (__ILP32_OFFBIG_LDFLAGS): Likewise.
53341 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53343         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
53345         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
53346         doubles __mpexp_twomm1.  Adjust usage.
53347         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
53348         Remove.
53350 2013-01-10  Andreas Schwab  <schwab@suse.de>
53352         [BZ #14964]
53353         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
53354         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
53356 2013-01-09  David S. Miller  <davem@davemloft.net>
53358         [BZ #15003]
53359         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
53360         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
53361         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
53362         (TCP_FASTOPEN): Define.
53363         (tcp_repair_opt): New structure.
53364         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
53365         enum values.
53366         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
53367         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
53368         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
53369         (tcp_cookie_transactions): New structure.
53371 2013-01-09  Anton Blanchard  <anton@samba.org>
53373         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
53374         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
53375         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
53376         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
53378 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
53380         * include/features.h (__USE_ANSI): Remove.
53382 2013-01-09  Roland McGrath  <roland@hack.frob.com>
53384         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
53386         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
53388 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
53390         * sysdeps/s390/fpu/libm-test-ulps: Update.
53392         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53394         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
53395         (__acr): Likewise.
53396         (__cpy): Likewise.
53397         (norm): Likewise.
53398         (denorm): Likewise.
53399         (__mp_dbl): Likewise.
53400         (__dbl_mp): Likewise.
53401         (add_magnitudes): Likewise.
53402         (sub_magnitudes): Likewise.
53403         (__add): Likewise.
53404         (__sub): Likewise.
53405         (__mul): Likewise.
53406         (__inv): Likewise.
53407         (__dvd): Likewise.
53408         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
53409         (__acr): Likewise.
53410         (__cpy): Likewise.
53411         (norm): Likewise.
53412         (denorm): Likewise.
53413         (__mp_dbl): Likewise.
53414         (__dbl_mp): Likewise.
53415         (add_magnitudes): Likewise.
53416         (sub_magnitudes): Likewise.
53417         (__add): Likewise.
53418         (__sub): Likewise.
53419         (__mul): Likewise.
53420         (__inv): Likewise.
53421         (__dvd): Likewise.
53422         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
53423         (__acr): Likewise.
53424         (__cpy): Likewise.
53425         (norm): Likewise.
53426         (denorm): Likewise.
53427         (__mp_dbl): Likewise.
53428         (__dbl_mp): Likewise.
53429         (add_magnitudes): Likewise.
53430         (sub_magnitudes): Likewise.
53431         (__add): Likewise.
53432         (__sub): Likewise.
53433         (__mul): Likewise.
53434         (__inv): Likewise.
53435         (__dvd): Likewise.
53437 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
53439         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
53440         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
53441         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
53442         2 && __USE_EXTERN_INLINES]: Likewise.
53444 2013-01-08  Andreas Jaeger  <aj@suse.de>
53446         [BZ# 14985]
53447         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
53448         Remove.
53449         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53450         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53452 2013-01-07  Anton Blanchard  <anton@samba.org>
53454         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
53455         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
53456         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
53457         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
53458         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53459         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53460         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
53461         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53462         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53463         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53464         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53465         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53466         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53467         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53468         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
53469         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53470         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53471         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53472         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
53473         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53474         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
53475         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
53476         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53477         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
53478         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
53479         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53480         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53481         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
53482         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
53483         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53484         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
53485         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53486         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53487         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
53488         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
53489         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53490         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53491         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
53492         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
53493         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
53494         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
53495         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53496         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
53498 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
53500         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
53501         (__MALLOC_PMT): Likewise.
53502         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
53503         [__GNUC__], only on [_LIBC].
53504         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53505         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
53506         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53507         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
53508         forward declaration.
53509         (realloc_hook_ini): Likewise.
53510         (memalign_hook_ini): Likewise.
53511         (__libc_memalign): Do not use __MALLOC_PMT in variable
53512         declaration.
53513         (__libc_valloc): Likewise.
53514         (__libc_pvalloc): Likewise.
53515         (__libc_calloc): Likewise.
53516         (__posix_memalign): Likewise.
53518         [BZ #14996]
53519         * math/s_casinh.c: Include <float.h>.
53520         (__casinh): Do not do computation with squaring and square root
53521         for large arguments.
53522         * math/s_casinhf.c: Include <float.h>.
53523         (__casinhf): Do not do computation with squaring and square root
53524         for large arguments.
53525         * math/s_casinhl.c: Include <float.h>.
53526         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
53527         (__casinhl): Do not do computation with squaring and square root
53528         for large arguments.
53529         * math/libm-test.inc (casin_test): Add more tests.
53530         (casinh_test): Likewise.
53531         * sysdeps/i386/fpu/libm-test-ulps: Update.
53532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53534 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
53536         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
53537         (__x86_64_raw_data_cache_size): Likewise.
53538         (__x86_64_data_cache_size_half): Likewise.
53539         (__x86_64_raw_data_cache_size_half): Likewise.
53540         (__x86_64_shared_cache_size): Likewise.
53541         (__x86_64_raw_shared_cache_size): Likewise.
53542         (__x86_64_shared_cache_size_half): Likewise.
53543         (__x86_64_raw_shared_cache_size_half): Likewise.
53544         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
53545         to ...
53546         (__x86_data_cache_size): This.
53547         (__x86_64_raw_data_cache_size): Renamed to ...
53548         (__x86_raw_data_cache_size): This.
53549         (__x86_64_data_cache_size_half): Renamed to ...
53550         (__x86_data_cache_size_half): This.
53551         (__x86_64_raw_data_cache_size_half): Renamed to ...
53552         (__x86_raw_data_cache_size_half): This.
53553         (__x86_64_shared_cache_size): Renamed to ...
53554         (__x86_shared_cache_size): This.
53555         (__x86_64_raw_shared_cache_size): Renamed to ...
53556         (__x86_raw_shared_cache_size): This.
53557         (__x86_64_shared_cache_size_half): Renamed to ...
53558         (__x86_shared_cache_size_half): This.
53559         (__x86_64_raw_shared_cache_size_half): Renamed to ...
53560         (__x86_raw_shared_cache_size_half): This.
53561         * sysdeps/x86_64/memcpy.S: Updated.
53562         * sysdeps/x86_64/memset.S: Likewise.
53563         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
53564         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53565         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53567 2013-01-04  David S. Miller  <davem@davemloft.net>
53569         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53571 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
53573         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
53574         1 to avoid redefinition warning.
53575         (__USE_GNU): Don't define.
53576         (init_signaling_nan): Protoize.
53578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53580 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53582         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
53583         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
53584         (__cpymn): Likewise.
53585         (norm): Remove commented code.
53586         (denorm): Likewise.
53587         (__mp_dbl): Likewise.
53588         (__inv): Likewise.
53589         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
53590         (__cpymn): Likewise.
53591         (norm): Remove commented code.
53592         (denorm): Likewise.
53593         (__mp_dbl): Likewise.
53594         (__inv): Likewise.
53596         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
53597         mp_no value for 1.0 and 2.0.
53598         (norm): Use RADIXI instead of radixi.d.
53599         (denorm): Likewise.
53600         (__mul): Use 0.0 instead of zero.d.
53601         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
53602         mp_no value for 1.0 and 2.0.
53603         (norm): Use RADIXI instead of radixi.d.
53604         (denorm): Likewise.
53605         (__mul): Use 0.0 instead of zero.d.
53607 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
53609         [BZ #14994]
53610         * math/s_casinh.c (__casinh): Reduce finite argument to first
53611         quadrant then set signs of results at the end.
53612         * math/s_casinhf.c (__casinhf): Likewise.
53613         * math/s_casinhl.c (__casinhl): Likewise.
53614         * math/libm-test.inc (casin_test): Add more tests.
53615         (casinh_test): Likewise.
53616         * sysdeps/i386/fpu/libm-test-ulps: Update.
53617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53619 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53621         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
53623         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
53625         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
53626         declarations.
53627         (denorm): Likewise.
53628         (__mp_dbl): Likewise.
53629         (__inv): Likewise.
53631         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
53632         and adjust the header comment.
53634         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
53635         variable name from declaration.
53637 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
53639         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53640         Initialize COMMON_CPUID_INDEX_7 element.
53641         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
53642         (CPUID_RTM): Likewise.
53643         (HAS_RTM): Likewise.
53644         (COMMON_CPUID_INDEX_7): New enum.
53646 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
53648         [BZ #14981]
53649         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
53650         size is zero, record memory as freed.
53652 2013-01-03  Andreas Jaeger  <aj@suse.de>
53654         * po/ia.po: Add new Interlingua translation.
53656 2012-01-03  Allan McRae  <allan@archlinux.org>
53658         * locale/programs/localedef.c: Fix description of '--posix' flag.
53660 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
53662         * NEWS: Update dates in second copyright notice.
53663         * README: Update copyright dates in example.
53664         * manual/libc.texinfo: Update copyright dates.
53665         * scripts/test-installation.pl: Update copyright date in --version
53666         output.
53668         * hurd/ctty-input.c: Fix copyright notice formatting.
53669         * hurd/ctty-output.c: Likewise.
53670         * hurd/dtable.c: Likewise.
53671         * hurd/hurd-raise.c: Likewise.
53672         * hurd/hurdprio.c: Likewise.
53673         * hurd/msgportdemux.c: Likewise.
53674         * misc/sys/file.h: Likewise.
53675         * misc/sys/ioctl.h: Likewise.
53676         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
53677         * sysdeps/mach/hurd/chdir.c: Likewise.
53678         * sysdeps/mach/hurd/fchdir.c: Likewise.
53679         * sysdeps/mach/hurd/rename.c: Likewise.
53680         * sysdeps/mach/hurd/rmdir.c: Likewise.
53681         * sysdeps/mach/hurd/seekdir.c: Likewise.
53682         * sysdeps/mach/hurd/setsid.c: Likewise.
53683         * sysdeps/posix/wait3.c: Likewise.
53685         * All files with FSF copyright notices: Update copyright dates
53686         using scripts/update-copyrights.
53687         * intl/plural.c: Regenerated.
53688         * locale/programs/charmap-kw.h: Likewise.
53689         * locale/programs/locfile-kw.h: Likewise.
53691 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53693         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
53694         four values.
53696         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
53697         calculation loop and add branch prediction.
53699         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
53700         check access beyond bounds of m1np.
53702         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
53703         MPTWO.
53704         (__inv): Remove local variable MPTWO to use the global
53705         constant.
53706         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
53707         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
53708         variable MPTWO.
53709         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
53710         MP3HALFS static const.
53712 2013-01-01  David S. Miller  <davem@davemloft.net>
53714         * po/ca.po: Update from translation team.
53716 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
53718         * scripts/update-copyrights: New file.
53719         * Makeconfig: Reformat copyright notice.
53720         * ctype/ctype.h: Likewise.
53721         * debug/swprintf_chk.c: Likewise.
53722         * elf/dl-cache.c: Likewise.
53723         * elf/dl-debug.c: Likewise.
53724         * elf/dl-object.c: Likewise.
53725         * grp/initgroups.c: Likewise.
53726         * hurd/Makefile: Likewise.
53727         * hurd/hurd/signal.h: Likewise.
53728         * hurd/hurdfault.c: Likewise.
53729         * hurd/hurdioctl.c: Likewise.
53730         * hurd/hurdlookup.c: Likewise.
53731         * hurd/intr-msg.c: Likewise.
53732         * iconv/gconv_open.c: Likewise.
53733         * libio/swprintf.c: Likewise.
53734         * locale/lc-ctype.c: Likewise.
53735         * locale/nl_langinfo.c: Likewise.
53736         * mach/Machrules: Likewise.
53737         * mach/Makefile: Likewise.
53738         * malloc/obstack.h: Likewise.
53739         * manual/Makefile: Likewise.
53740         * manual/tsort.awk: Likewise.
53741         * misc/bits/stab.def: Likewise.
53742         * nis/nis_print_group_entry.c: Likewise.
53743         * nis/nis_table.c: Likewise.
53744         * nis/nss_compat/compat-pwd.c: Likewise.
53745         * nis/nss_compat/compat-spwd.c: Likewise.
53746         * po/Makefile: Likewise.
53747         * posix/fnmatch.c: Likewise.
53748         * posix/regex.h: Likewise.
53749         * resolv/Makefile: Likewise.
53750         * resolv/nss_dns/dns-network.c: Likewise.
53751         * resolv/res_hconf.c: Likewise.
53752         * scripts/gen-sorted.awk: Likewise.
53753         * soft-fp/soft-fp.h: Likewise.
53754         * stdio-common/printf.h: Likewise.
53755         * stdlib/monetary.h: Likewise.
53756         * stdlib/random.c: Likewise.
53757         * stdlib/random_r.c: Likewise.
53758         * sysdeps/generic/Makefile: Likewise.
53759         * sysdeps/gnu/Makefile: Likewise.
53760         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53761         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53762         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53763         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53764         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53765         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53766         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53767         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53768         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53769         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53770         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53771         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53772         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
53773         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
53774         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
53775         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
53776         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53777         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53778         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53779         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53780         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53781         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53782         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53783         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
53784         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
53785         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53786         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
53787         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
53788         * sysdeps/mach/hurd/errnos.awk: Likewise.
53789         * sysdeps/mach/hurd/fork.c: Likewise.
53790         * sysdeps/mach/hurd/getcwd.c: Likewise.
53791         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
53792         * sysdeps/mach/hurd/mmap.c: Likewise.
53793         * sysdeps/mach/hurd/utimes.c: Likewise.
53794         * sysdeps/mach/hurd/xmknod.c: Likewise.
53795         * sysdeps/posix/profil.c: Likewise.
53796         * sysdeps/posix/readdir_r.c: Likewise.
53797         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53798         * sysdeps/powerpc/bits/setjmp.h: Likewise.
53799         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
53800         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53801         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53802         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53803         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53804         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53805         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53806         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53807         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53808         * sysdeps/pthread/lio_listio.c: Likewise.
53809         * sysdeps/sparc/dl-procinfo.h: Likewise.
53810         * sysdeps/unix/i386/sysdep.S: Likewise.
53811         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
53812         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
53813         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
53814         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
53815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53816         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
53817         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
53818         * sysdeps/unix/sysv/linux/speed.c: Likewise.
53819         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
53820         * sysdeps/wordsize-32/divdi3.c: Likewise.
53821         * time/sys/time.h: Likewise.
53822         * wcsmbs/Makefile: Likewise.
53824 2013-01-01  David S. Miller  <davem@davemloft.net>
53826         * po/fr.po: Update from translation team.
53828         * catgets/gencat.c: Update copyright year.
53829         * csu/version.c: Likewise.
53830         * debug/catchsegv.sh: Likewise.
53831         * debug/pcprofiledump.c: Likewise.
53832         * debug/xtrace.sh: Likewise.
53833         * elf/ldconfig.c: Likewise.
53834         * elf/ldd.bash.in: Likewise.
53835         * elf/pldd.c: Likewise.
53836         * elf/sotruss.ksh: Likewise.
53837         * elf/sprof.c: Likewise.
53838         * iconv/iconv_prog.c: Likewise.
53839         * iconv/iconvconfig.c: Likewise.
53840         * locale/programs/locale.c: Likewise.
53841         * locale/programs/localedef.c: Likewise.
53842         * login/programs/pt_chown.c: Likewise.
53843         * malloc/memusage.sh: Likewise.
53844         * malloc/memusagestat.c: Likewise.
53845         * malloc/mtrace.pl: Likewise.
53846         * nscd/nscd.c: Likewise.
53847         * nss/getent.c: Likewise.
53848         * nss/makedb.c: Likewise.
53849         * posix/getconf.c: Likewise.
53851 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53853         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
53854         numbers.
53856 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
53858         * math/bits/mathcalls.h (modf): Use __nonnull.
53860 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53862         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
53863         (split): Use macro CN instead of the bare value.
53864         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
53865         could be used.
53866         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
53867         instead of the bare value.
53868         (power1): Likewise.
53870 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53872         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
53873         __ATAN_TWOM.
53874         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53876         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
53877         their values.
53878         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53879         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53880         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
53881         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53883 2012-12-28  Andreas Jaeger  <aj@suse.de>
53885         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
53886         values are from Linux 3.7.
53888         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
53889         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
53891 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53893         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
53894         TRUE case.
53896         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
53897         (norm): Likewise.
53898         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
53899         variables with preprocessor constants.
53900         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53901         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
53902         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
53904 2012-12-27  Bruno Haible  <bruno@clisp.org>
53906         [BZ #14317]
53907         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
53908         only if needed.
53910 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53912         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
53913         and use variable directly.
53914         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
53916         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
53917         MPONE.
53918         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
53919         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
53920         variable MPONE.
53921         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53922         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
53923         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
53924         include directive.  Remove local variable MPONE.
53925         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
53926         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
53927         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53929 2012-12-25  David S. Miller  <davem@davemloft.net>
53931         * version.h (RELEASE): Set to "development".
53932         (VERSION): Set to "2.17.90".
53933         * NEWS: Add 2.18 section.
53935 2012-12-21  David S. Miller  <davem@davemloft.net>
53937         * po/hr.po: Update from translation team.
53939 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53941         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
53943 2012-12-19  Steve Ellcey  <sellcey@mips.com>
53945         * NEWS:  Mention new memcpy for MIPS.
53947 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53949         * manual/contrib.texi (Contributors): Spelling correction.
53951 2012-12-15  David S. Miller  <davem@davemloft.net>
53953         * po/ru.po: Update from translation team.
53955 2012-12-13  David S. Miller  <davem@davemloft.net>
53957         * NEWS: Mention IFUNC testsuite enhancements.
53959         * po/pl.po: Update from translation team.
53960         * po/bg.po: Likewise.
53962         * manual/contrib.texi (Contributors): Update entries for Hongjiu
53963         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
53965 2012-12-11  David S. Miller  <davem@davemloft.net>
53967         * po/sv.po: Update from translation team.
53969         * po/vi.po: Update from translation team.
53971         * po/cs.po: Update from translation team.
53973         * po/de.po: Update from translation team.
53974         * po/eo.po: Likewise.
53975         * po/nl.po: Likewise.
53977 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53979         [BZ #14246]
53980         * manual/argp.texi (Argp Helper Functions): Move node to follow
53981         Argp Parsing State.
53983         [BZ #14872]
53984         * manual/conf.texi (Limits on File System Capacity): Mention if
53985         terminating null is included in the max size.
53987 2012-12-10  Andreas Jaeger  <aj@suse.de>
53989         * po/cs.po: Update from translation team.
53991 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53993         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
53994         void pointer and cast to uintptr_t.
53995         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
53996         path.
53997         * sysdeps/s390/s390-64/memcpy.S: Likewise.
53998         * sysdeps/s390/s390-64/memset.S: Likewise.
54000 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
54002         [BZ #14833]
54003         * menual/message.texi (Message Translation): Fix typos.
54004         (Helper programs for gettext): Likewise.
54006 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
54008         [BZ #14898]
54009         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
54010         Change to -1.
54012 2012-12-07  David S. Miller  <davem@davemloft.net>
54014         * po/libc.pot: Update.
54016 2012-12-07  Richard Henderson  <rth@redhat.com>
54018         [BZ #10114]
54019         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
54020         normal/normal case to before the switch.
54021         (_FP_DIV): Likewise.
54023 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
54024             Mike Frysinger  <vapier@gentoo.org>
54026         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
54027         check for __NR_fadvise64_64.
54029 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
54031         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
54032         0, not just to plain "0" as a statement.
54033         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
54034         with cw.
54036 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
54038         * NEWS: Use sourceware.org in Bugzilla URL.
54040 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
54043         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54045         * stdio-common/tst-put-error.c (do_test): Add newline to the
54046         padded test to ensure flush.
54048 2012-12-05  Jeff Law  <law@redhat.com>
54050         * sunrpc/etc.rpc (fedfs_admin): Add entry.
54052 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
54054         * README: Don't refer to ports add-on as distributed separately.
54055         Mention AArch64 in list of systems supported in the ports add-on.
54057         * LICENSES: Add more non-FSF copyright and license notices.
54059         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
54060         ((unused)).
54062         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
54064         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
54065         10000 as width of padded output.
54067 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54069         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
54071         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
54072         variable LX with __attribute__ ((unused)).
54073         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
54074         Likewise.
54075         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
54076         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54077         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
54078         with __attribute__ ((unused)).
54080 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
54082         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
54084 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54086         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
54087         (CFLAGS-nldbl-acos.c): New variable.
54088         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
54089         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
54090         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
54091         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
54092         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
54093         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
54094         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
54095         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
54096         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
54097         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
54098         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
54099         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
54100         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
54101         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
54102         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
54103         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
54104         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
54105         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
54106         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
54107         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
54108         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
54109         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
54110         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
54111         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
54112         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
54113         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
54114         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
54115         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
54116         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
54117         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
54118         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
54119         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
54120         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
54121         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
54122         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
54123         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
54124         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
54125         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
54126         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
54127         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
54128         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
54129         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
54130         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
54131         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
54132         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
54133         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
54134         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
54135         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
54136         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
54137         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
54138         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
54139         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
54140         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
54141         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
54142         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
54143         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
54144         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
54145         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
54146         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
54147         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
54148         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
54149         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
54150         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
54151         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
54152         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
54153         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
54154         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
54155         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
54156         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
54157         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
54158         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
54159         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
54160         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
54161         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
54162         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
54163         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
54164         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
54165         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
54166         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
54167         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
54168         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
54169         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
54170         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
54171         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
54172         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
54173         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
54174         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
54175         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
54176         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
54177         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
54178         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
54179         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
54180         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
54181         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
54182         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
54183         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
54184         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
54186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54187         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54189         [BZ #14914]
54190         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
54191         whole low double instead of just low 47 bits when splitting values
54192         into two parts.
54194 2012-12-03  Allan McRae  <allan@archlinux.org>
54196         * manual/stdio.texi (Predefined Printf Handlers): Remove
54197         @hsep and @vsep usage.
54199 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
54201         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
54202         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
54204 2012-12-03  Jeff Law  <law@redhat.com>
54206         * time/sys/time.h (settimeofday): Do not mark TV argument
54207         as __nonnull.
54209 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
54211         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
54212         when currently writing and seek to current position when not.
54213         * libio/Makefile (tests): Remove bug-fclose1.
54214         * libio/bug-fclose1.c: Delete.
54216 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
54218         * manual/arith.texi (feenableexcept): Fix typo.
54219         (fedisableexcept): Likewise.
54221 2012-11-30  Roland McGrath  <roland@hack.frob.com>
54223         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
54224         second, differently-typed declaration, rather than a cast.
54226 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54228         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
54229         * include/rpc/svc.h: ... here.
54231 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
54233         [BZ #13013]
54234         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
54235         depending n and resplen2 to catch cases where answer
54236         equals answerp2.
54238 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
54240         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
54241         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
54243 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
54245         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
54247 2012-11-29  Roland McGrath  <roland@hack.frob.com>
54249         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
54251 2012-11-28  Jeff Law  <law@redhat.com>
54253         [BZ #13761]
54254         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
54255         dataset_temporary.  Track alloca usage into alloca_used.
54256         If dataset is large allocate and release it via malloc/free.
54258 2012-06-04  Florian Weimer  <fweimer@redhat.com>
54260         [BZ #14197]
54261         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
54263 2012-11-28  David S. Miller  <davem@davemloft.net>
54265         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54267 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
54269         [BZ #14803]
54270         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
54271         of pi/2 rounded to nearest to 64 bits.
54272         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
54273         nearest to 64 bits.
54274         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
54275         bits.
54277 2012-11-28  Jeff Law <law@redhat.com>
54278             Martin Osvald <mosvald@redhat.com>
54280         [BZ #14889]
54281         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
54282         * sunrpc/svc.c: Include time.h.
54283         (__svc_accept_failed): New function.
54284         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
54285         any reason other than EINTR, call __svc_accept_failed.
54286         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
54287         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
54289 2012-11-28  Andreas Schwab  <schwab@suse.de>
54291         * scripts/abilist.awk: Also handle indirect functions in .opd
54292         section.
54294 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
54296         [BZ #13881]
54297         * sysdeps/x86/fpu/powl_helper.c: New file.
54298         * sysdeps/x86/fpu/Makefile: Likewise.
54299         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
54300         (p3): New object.
54301         (__ieee754_powl): Use __powl_helper for finite arguments except
54302         integer exponents below 8.
54303         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
54304         (p3): New object.
54305         (__ieee754_powl): Use __powl_helper for finite arguments except
54306         integer exponents below 8.
54307         * math/libm-test.inc (pow_test): Add more tests and enable some
54308         previously disabled tests.
54309         * sysdeps/i386/fpu/libm-test-ulps: Update.
54310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54312 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54313             Carlos O'Donell  <carlos_odonell@mentor.com>
54315         * nss/makedb.c (is_prime): Assert that input is odd and greater
54316         than 4.  Note that fact in a comment too.
54317         (next_prime): Add 4 to input.
54319 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54321         [BZ #11741]
54322         * libio/Makefile (tests): Add test case tst-fwrite-error.
54323         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
54324         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
54325         * libio/tst-fwrite-error.c: New test case.
54327 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
54329         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
54330         before casting to void *.
54331         * include/libc-internal.h (__pointer_type): New macro.
54332         (__integer_if_pointer_type_sub): Likewise.
54333         (__integer_if_pointer_type): Likewise.
54334         (cast_to_integer): Likewise.
54335         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
54336         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
54337         before casting to atomic64_t.
54338         (atomic_exchange_acq): Likewise.
54339         (__arch_exchange_and_add_body): Likewise.
54340         (__arch_add_body): Likewise.
54341         (atomic_add_negative): Likewise.
54342         (atomic_add_zero): Likewise.
54344 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
54346         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
54347         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
54348         (add_fdes): Likewise.
54349         (linear_search_fdes): Likewise.
54350         (binary_search_unencoded_fdes): Likewise.
54352 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
54354         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
54356 2012-11-24  Adam Conrad  <adconrad@0c3.net>
54358         * configure.in: Autodetect C++ header directories.
54359         * configure: Regenerated.
54361 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
54363         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
54365 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
54367         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54369 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
54371         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
54372         LDBL_MANT_DIG == 106]: Disable some tests.
54373         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54374         Likewise.
54375         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54376         Likewise.
54378         [BZ #14871]
54379         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
54380         input for small inputs.  Return +/- pi/2 for large inputs.
54381         * math/libm-test.inc (atan_test): Add more tests.
54383         * sysdeps/generic/unwind-dw2-fde-glibc.c
54384         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
54385         __attribute__ ((unused)).
54387         [BZ #14645]
54388         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
54389         x * y if x and y are nonzero and z is zero.
54391         [BZ #14811]
54392         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
54393         nonzero exponents with absolute value below 0x1p-117 to +/-
54394         0x1p-117.
54396         [BZ #14869]
54397         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
54398         up arguments below 2**-450, not just those below 2**-500.
54399         * math/libm-test.inc (hypot_test): Add another test.
54401         [BZ #14868]
54402         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
54403         Return a+b for ratio over 2**120, not 2**60.
54404         * math/libm-test.inc (hypot_test): Add another test.
54406         * math/libm-test.inc (clog_test): Use
54407         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
54408         (clog10_test): Likewise.
54410         [BZ #6778]
54411         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
54413 2012-11-22  Andreas Schwab  <schwab@suse.de>
54415         * sysdeps/i386/fpu/libm-test-ulps: Update.
54417 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
54419         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
54420         printf output with newline.
54422 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
54424         [BZ #14865]
54425         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
54426         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
54427         -z nodlopen, -z initfirst and -z execstack support.
54428         * configure: Regenerated.
54430         * elf/elf.h (DF_1_NODIRECT): New macro.
54431         (DF_1_IGNMULDEF): Likewise.
54432         (DF_1_NOKSYMS): Likewise.
54433         (DF_1_NOHDR): Likewise.
54434         (DF_1_EDITED): Likewise.
54435         (DF_1_NORELOC): Likewise.
54436         (DF_1_SYMINTPOSE): Likewise.
54437         (DF_1_GLOBAUDIT): Likewise.
54438         (DF_1_SINGLETON): Likewise.
54439         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
54440         DT_1_SUPPORTED_MASK bits.
54441         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
54443 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
54445         * sysdeps/unix/make-syscalls.sh: Document prefixes.
54447 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
54449         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
54450         macro.
54452         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
54453         (sendmmsg): Move declarations...
54454         * socket/sys/socket.h: ... here.
54455         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
54456         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
54457         include it from...
54458         * socket/recvmmsg.c: ... this new file.
54459         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
54460         (sendmmsg): Rename to __sendmmsg, create weak alias and make
54461         definition of __sendmmsg hidden.
54462         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
54463         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
54464         Move ENOSYS stub into and include it from...
54465         * socket/sendmmsg.c: ... this new file.
54466         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
54467         (sysdep_routines): Move recvmmsg and sendmmsg...
54468         * socket/Makefile (routines): ... here.
54469         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
54470         (GLIBC_PRIVATE): Add __sendmmsg.
54471         * include/sys/socket.h (__sendmmsg): Add declarations.
54472         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
54473         sendmmsg.
54475 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
54477         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
54478         variable I1 with __attribute__ ((unused)).
54479         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54481 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
54483         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
54484         DUMMY variables with __attribute__ ((unused)).
54486         * bits/byteswap.h: Include <bits/types.h>.
54487         (__bswap_64): Use __uint64_t instead of unsigned long long int.
54489 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
54491         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
54492         string_t.  Do not manually set errno.
54493         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
54494         length with __strnlen.  Make sure to both set errno and return it on
54495         failure.
54497 2012-11-19  David S. Miller  <davem@davemloft.net>
54499         With help from Joseph Myers.
54500         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
54501         very large arguments properly.
54502         * math/libm-test.inc (atan_test): New tests.
54503         (atan2_test): New tests.
54504         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54505         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54507 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
54509         [BZ #14856]
54510         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
54511         Define to 3.
54513         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
54514         [POSIX] (EADDRNOTAVAIL): Likewise.
54515         [POSIX] (EAFNOSUPPORT): Likewise.
54516         [POSIX] (EALREADY): Likewise.
54517         [POSIX] (ECONNABORTED): Likewise.
54518         [POSIX] (ECONNREFUSED): Likewise.
54519         [POSIX] (ECONNRESET): Likewise.
54520         [POSIX] (EDESTADDRREQ): Likewise.
54521         [POSIX] (EDQUOT): Likewise.
54522         [POSIX] (EHOSTUNREACH): Likewise.
54523         [POSIX] (EIDRM): Likewise.
54524         [POSIX] (EISCONN): Likewise.
54525         [POSIX] (ELOOP): Likewise.
54526         [POSIX] (EMULTIHOP): Likewise.
54527         [POSIX] (ENETDOWN): Likewise.
54528         [POSIX] (ENETUNREACH): Likewise.
54529         [POSIX] (ENOBUFS): Likewise.
54530         [POSIX] (ENODATA): Likewise.
54531         [POSIX] (ENOLINK): Likewise.
54532         [POSIX] (ENOMSG): Likewise.
54533         [POSIX] (ENOPROTOOPT): Likewise.
54534         [POSIX] (ENOSR): Likewise.
54535         [POSIX] (ENOSTR): Likewise.
54536         [POSIX] (ENOTCONN): Likewise.
54537         [POSIX] (ENOTSOCK): Likewise.
54538         [POSIX] (EOPNOTSUPP): Likewise.
54539         [POSIX] (EOVERFLOW): Likewise.
54540         [POSIX] (EPROTO): Likewise.
54541         [POSIX] (EPROTONOSUPPORT): Likewise.
54542         [POSIX] (EPROTOTYPE): Likewise.
54543         [POSIX] (ESTALE): Likewise.
54544         [POSIX] (ETIME): Likewise.
54545         [POSIX] (ETXTBSY): Likewise.
54546         [POSIX] (EWOULDBLOCK): Likewise.
54547         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
54548         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
54549         [POSIX] (SEEK_CUR): Likewise.
54550         [POSIX] (SEEK_END): Likewise.
54551         [POSIX || UNIX98] (mode_t): Do not require.
54552         [POSIX] (off_t): Likewise.
54553         [POSIX] (pid_t): Likewise.
54554         [POSIX] (sys/stat.h): Do not allow header.
54555         [POSIX] (unistd.h): Likewise.
54556         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
54557         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
54558         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
54559         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
54560         require.
54561         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
54562         sigevent): Specify elements.
54563         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
54564         entry.
54565         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
54566         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
54568         * conform/data/cpio.h-data [POSIX]: Disable whole file.
54569         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
54570         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
54571         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
54572         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
54573         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
54574         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
54575         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
54576         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
54577         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
54578         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
54579         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
54580         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
54581         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
54582         Likewise.
54583         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
54584         Likewise.
54585         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
54586         Likewise.
54587         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
54588         Likewise.
54589         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
54590         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
54591         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
54592         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
54593         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
54594         Specify lower bound on value.
54595         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
54596         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
54597         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
54598         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
54599         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
54600         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
54601         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
54602         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
54603         value.
54604         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
54605         as optional.
54606         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
54607         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
54608         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
54609         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
54610         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
54611         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
54612         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
54613         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
54614         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
54615         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
54616         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
54617         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
54618         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
54619         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
54620         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
54621         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
54622         entry.
54623         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
54624         optional.
54625         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
54626         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
54627         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
54628         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
54629         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
54630         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
54631         Likewise.
54632         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
54633         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
54634         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
54635         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
54636         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
54637         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
54638         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
54639         as optional.
54640         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
54641         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
54642         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
54643         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
54644         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
54645         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
54646         specify as optional.
54647         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
54648         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
54649         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
54650         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
54651         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
54652         [XPG3] (NL_LANGMAX): Likewise.
54653         [POSIX || XPG3] (NL_MSGMAX): Likewise.
54654         [POSIX || XPG3] (NL_NMAX): Likewise.
54655         [POSIX || XPG3] (NL_SETMAX): Likewise.
54656         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
54657         [XPG3] (NZERO): Likewise.
54658         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
54659         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
54660         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
54661         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
54662         (REG_ERANGE): Expect.
54663         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
54664         optional-constant.
54665         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
54666         Use (void) in prototype.
54667         [POSIX] (*_t): Allow.
54668         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
54669         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
54670         (WRDE_BADVAL): Expect.
54672         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
54673         expect.
54674         [XPG3 || XPG4] (O_RSYNC): Likewise.
54675         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
54676         Likewise.
54677         [XPG3 || XPG4] (pthread_sigmask): Likewise.
54678         [XPG3 || XPG4] (sigqueue): Likewise.
54679         [XPG3 || XPG4] (sigtimedwait): Likewise.
54680         [XPG3 || XPG4] (sigwaitinfo): Likewise.
54681         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
54682         [XPG3 || XPG4] (vsnprintf): Likewise.
54683         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
54684         Likewise.
54685         [XPG3 || XPG4] (blksize_t): Likewise.
54686         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
54687         Likewise.
54688         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
54689         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
54690         [XPG3 || XPG4] (struct itimerspec): Likewise.
54691         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
54692         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
54693         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
54694         [XPG3 || XPG4] (clockid_t): Likewise.
54695         [XPG3 || XPG4] (timer_t): Likewise.
54696         [XPG3 || XPG4] (clock_getres): Likewise.
54697         [XPG3 || XPG4] (clock_gettime): Likewise.
54698         [XPG3 || XPG4] (clock_settime): Likewise.
54699         [XPG3 || XPG4] (nanosleep): Likewise.
54700         [XPG3 || XPG4] (timer_create): Likewise.
54701         [XPG3 || XPG4] (timer_delete): Likewise.
54702         [XPG3 || XPG4] (timer_gettime): Likewise.
54703         [XPG3 || XPG4] (timer_getoverrun): Likewise.
54704         [XPG3 || XPG4] (timer_settime): Likewise.
54705         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
54706         [XPG3 || XPG4] (getlogin_r): Likewise.
54707         [XPG3 || XPG4] (pread): Likewise.
54708         [XPG3 || XPG4] (pthread_atfork): Likewise.
54709         [XPG3 || XPG4] (pwrite): Likewise.
54711         [BZ #14835]
54712         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
54713         <bits/siginfo.h>.
54715 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
54717         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
54718         finalizing MALLSTREAM.
54720         * sysdeps/mach/hurd/syncfs.c: New file.
54722 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54724         [BZ #14719]
54725         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
54726         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
54727         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
54728         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
54729         (_nss_dns_gethostbyname4_r): Likewise.
54730         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
54731         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
54733 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
54735         [BZ #13763]
54736         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
54738 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
54740         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
54741         * elf/cache.c (print_entry): Print ",AArch64" for
54742         FLAG_AARCH64_LIB64
54744         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
54745         * elf/cache.c (print_entry): Print ",hard-float" for
54746         FLAG_ARM_LIBHF.
54748 2012-11-18  David S. Miller  <davem@davemloft.net>
54750         With help from Joseph Myers.
54751         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
54752         cutoff to 2**-13.
54753         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
54754         cutoff to 2**-25.
54755         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
54756         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
54757         small.
54758         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
54759         * math/libm-test.inc (y0_test): New tests.
54760         (y1_test): New tests.
54761         * sysdeps/i386/fpu/libm-test-ulps: Update.
54762         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54763         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54765 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
54767         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
54768         64-bit targets.
54769         * configure: Regenerated.
54771 2012-11-17  David S. Miller  <davem@davemloft.net>
54773         [BZ #14811]
54774         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
54775         nonzero exponents with absolute value below 0x1p-128 to +/-
54776         0x1p-128.
54778 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
54780         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
54782         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
54784         * posix/getconf-speclist.c: New file.
54785         * posix/posix-envs.def: Likewise.
54786         * posix/confstr.c (START_ENV_GROUP): New macro.
54787         (END_ENV_GROUP): Likewise.
54788         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54789         (KNOWN_PRESENT_ENV_STRING): Likewise.
54790         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54791         (UNKNOWN_ENVIRONMENT): Likewise.
54792         (confstr): Include posix-envs.def instead of handling
54793         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
54794         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
54795         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
54796         (END_ENV_GROUP): Likewise.
54797         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54798         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54799         (UNKNOWN_ENVIRONMENT): Likewise.
54800         (__sysconf): Include posix-envs.def instead of handling associated
54801         cases directly here.
54802         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
54803         preprocessing getconf-speclist.c rather than running getconf or
54804         generating empty file.
54806 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
54808         * scripts/check-local-headers.sh: Ignore 'mach' headers.
54810 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
54812         [BZ #14672]
54813         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
54815 2012-11-16  David S. Miller  <davem@davemloft.net>
54817         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
54818         smaller than LDBL_EPSILON/2.0L, just return xm1.
54820 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
54822         * elf/tst-array1.c (init): Set constructor priority to 1000.
54823         (fini): Set destructor priority to 1000.
54824         * elf/tst-array2dep.c: Likewise.
54826 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54828         [BZ #11741]
54829         * libio/fileops.c (_IO_new_file_write): Correctly return error.
54830         (_IO_new_file_xsputn): Also return EOF if none of the input
54831         data was written when overflow failed.
54832         * libio/iopadn.c (_IO_padn): Likewise.
54833         * libio/iowpadn.c (_IO_wpadn): Likewise.
54834         * stdio-common/tst-put-error.c: Add copyright notice.
54835         (do_test): Add case for printing padded string.
54836         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
54837         _IO_padn returned error.
54838         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
54839         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
54840         return EOF.
54842 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54844         * libio/libioP.h: Add comment note that the references to C++
54845         bits are now obsolete.
54847 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54849         * math/libm-test.inc (check_complex): Use asprintf.
54851 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
54853         * debug/pcprofiledump.c (print_version): Update copyright year.
54854         * malloc/memusagestat.c (print_version): Likewise.
54856 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
54858         [BZ #14831]
54859         * elf/Makefile (tests): Add tst-audit8.
54860         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
54861         ($(objpfx)tst-audit8.out): New target.
54862         (tst-audit8-ENV): New variable.
54863         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
54864         audit if l_reloc_result is NULL.
54865         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
54866         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
54867         * elf/tst-audit8.c: New file.
54869 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54871         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
54872         * misc/Makefile (CFLAGS-select.c): Define.
54873         * posix/Makefile (CFLAGS-pause.c): Define.
54875 2012-11-13  David S. Miller  <davem@davemloft.net>
54877         * crypt/Makefile: Move test targets after toplevel Rules
54878         inclusion.  Grab any necessary sysdep routines when linking.
54879         * crypt/md5.c (md5_process_block): Remove define, we will always
54880         name it __md5_process_block.
54881         (md5_finish_ctx): Update md5_process_block call.
54882         (md5_stream): Likewise.
54883         (md5_process_bytes): Likewise.
54884         (md5_process_block): Rename to __md5_process_block and move to ...
54885         * crypt/md5-block.c: ... here.
54886         * crypt/sha256.c (sha256_process_block): Move to ...
54887         * crypt/sha256-block.c: ... here.
54888         * crypt/sha512.c (sha512_process_block): Move to ...
54889         * crypt/sha512-block.c: ... here.
54890         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
54891         path.
54892         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
54893         * sysdeps/sparc/sparc64/multiarch/Makefile
54894         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
54895         crypt subdir.
54896         (localedef-aux): Add md5 crypto assembler when in locale subdir.
54897         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
54898         multiarch changes.
54899         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
54900         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
54901         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
54902         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
54903         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
54904         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
54905         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
54906         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
54907         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
54908         file.
54909         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
54910         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
54911         file.
54912         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
54914 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
54916         * timezone/tzselect.ksh: Update from tzcode git revision
54917         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
54918         * timezone/zdump.c: Likewise.
54919         * timezone/zic.c: Likewise.
54920         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
54921         in TZVERSION setting, not $(PKGVERSION).
54922         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
54923         REPORT_BUGS_TO settings.
54925         [BZ #14838]
54926         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
54927         macro.
54929 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54931         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
54932         detection to immediately after _FP_ROUND().
54933         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
54934         bits are 0.
54936 2012-11-11  David S. Miller  <davem@davemloft.net>
54938         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
54939         inttypes.h
54940         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
54941         __close rather than their public counterparts.
54943 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
54945         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
54946         file.
54947         [UNIX98] (sem_timedwait): Do not expect.
54948         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
54949         [XPG4 || UNIX98] (sockatmark): Do not expect.
54950         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
54951         (clock_getcpuclockid): Do not expect.
54952         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
54953         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
54954         Do not expect.
54955         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
54956         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
54957         [UNIX98] (vwscanf): Likewise.
54958         [UNIX98] (vswscanf): Likewise.
54960 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
54962         * timezone/version.h: Remove file.
54963         * timezone/README: Do not refer to version.h.
54964         * timezone/Makefile ($(objpfx)zic.o): New dependency on
54965         $(objpfx)version.h.
54966         ($(objpfx)zdump.o): Likewise.
54967         ($(objpfx)version.h): New target.
54969         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
54970         2012i.
54971         * timezone/README: Don't mention modification to tzselect.ksh.
54972         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
54973         work on unmodified tzselect.ksh.  Substitute version numbers in
54974         tzselect.ksh.
54976         * Makefile (format-me): Remove.
54977         (INSTALL): Adjust indentation.  Use commands directly instead of
54978         using $(format-me).
54980         * aclocal.m4 (ACX_PKGVERSION): New macro.
54981         (ACX_BUGURL): Likewise.
54982         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
54983         (PKGVERSION): New AC_DEFINE_UNQUOTED.
54984         (REPORT_BUGS_TO): Likewise.
54985         * configure: Regenerated.
54986         * config.h.in (PKGVERSION): New macro.
54987         (REPORT_BUGS_TO): Likewise.
54988         * config.make.in (PKGVERSION): New variable.
54989         (PKGVERSION_TEXI): Likewise.
54990         (REPORT_BUGS_TO): Likewise.
54991         (REPORT_BUGS_TEXI): Likewise.
54992         * Makefile (format-me): Use -I$(common-objpfx)manual.
54993         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
54994         ($(common-objpfx)manual/%): New target.
54995         (manual/%): Remove target.
54996         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
54997         (print_version): Use PKGVERSION.
54998         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
54999         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
55000         and REPORT_BUGS_TO.
55001         ($(objpfx)xtrace): Likewise.
55002         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
55003         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
55004         (print_version): Use PKGVERSION.
55005         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
55006         (do_version): Use PKGVERSION.
55007         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
55008         REPORT_BUGS_TO.
55009         (common-ldd-rewrite): Likewise.
55010         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
55011         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
55012         (print_version): Use PKGVERSION.
55013         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
55014         * elf/pldd.c (argp_program_bug_address): Remove variable.
55015         (more_help): New function.
55016         (argp): Use more_help.
55017         (print_version): Use PKGVERSION.
55018         * elf/sln.c (main): Use PKGVERSION.
55019         (usage): Use REPORT_BUGS_TO.
55020         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
55021         (top level): Use PKGVERSION.
55022         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
55023         (print_version): Use PKGVERSION.
55024         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
55025         (print_version): Use PKGVERSION.
55026         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
55027         (print_version): Use PKGVERSION.
55028         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
55029         (print_version): Use PKGVERSION.
55030         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
55031         (print_version): Use PKGVERSION.
55032         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
55033         (print_version): Use PKGVERSION.
55034         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
55035         and BUGURL.
55036         ($(objpfx)memusage): Likewise.
55037         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
55038         (do_version): Use PKGVERSION.
55039         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
55040         (print_version): Use PKGVERSION.
55041         * malloc/mtrace.pl ($PACKAGE): Remove variable.
55042         ($PKGVERSION): New variable.
55043         ($REPORT_BUGS_TO): Likewise.
55044         (usage): Use $REPORT_BUGS_TO.
55045         (top level): Use $PKGVERSION.
55046         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
55047         ($(objpfx)pkgvers.texi): New rule.
55048         ($(objpfx)stamp-pkgvers): Likewise.
55049         * manual/install.texi: Include pkgvers.texi.
55050         (--with-pkgversion): Document new configure option.
55051         (--with-bugurl): Likewise.
55052         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
55053         than necessarily for this particular distribution.  Use
55054         REPORT_BUGS_TO for where to report bugs.
55055         * INSTALL: Regenerated.
55056         * manual/libc.texinfo: Include pkgvers.texi.
55057         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
55058         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
55059         (print_version): Use PKGVERSION.
55060         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
55061         (print_version): Use PKGVERSION.
55062         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
55063         (print_version): Use PKGVERSION.
55064         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
55065         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
55066         macro.
55067         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
55068         (print_version): Use PKGVERSION.
55069         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
55070         (print_version): Use PKGVERSION.
55071         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
55072         and PKGVERSION.
55074         * timezone/checktab.awk: Update from tzcode 2012i.
55075         * timezone/ialloc.c: Likewise.
55076         * timezone/private.h: Likewise.
55077         * timezone/scheck.c: Likewise.
55078         * timezone/tzfile.h: Likewise.
55079         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
55080         (TZVERSION): Hardcode tzcode version number.
55081         * timezone/zdump.c: Update from tzcode 2012i.
55082         * timezone/zic.c: Likewise.
55083         * timezone/version.h: New file.
55084         * timezone/README: Describe version.h.  Update upstream location.
55086         [BZ #14824]
55087         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
55088         (mktemp): Enable declaration.
55089         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
55090         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
55091         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
55092         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
55093         Likewise.
55094         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
55095         Likewise.
55096         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
55097         Likewise.
55098         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
55099         Likewise.
55100         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
55101         Likewise.
55102         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
55103         Likewise.
55105         [BZ #14821]
55106         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
55107         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
55108         for copies of such integer values.
55109         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55110         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55112 2012-11-09  Andreas Jaeger  <aj@suse.de>
55114         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
55115         definitions and declarations that are provided by
55116         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55118 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55120         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
55121         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
55122         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
55123         definition.
55125 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55127         * elf/elf.h: Update comment before AArch64 relocations.
55129 2012-11-07  David S. Miller  <davem@davemloft.net>
55131         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
55132         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55133         (__start_context): Declare.
55134         (__makecontext_ret): Delete.
55135         (__makecontext): Hook up __start_context instead of
55136         __makecontext_ret.
55137         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
55138         (sysdep_routines): Add __start_context when in stdlib.
55140 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55142         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
55143         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
55144         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
55145         hardcoded "nm".
55146         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
55147         (READELF): New variable.  Use it instead of hardcoded "readelf".
55149 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
55151         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
55152         * sysdeps/x86/Makefile: Here.
55153         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
55154         * sysdeps/x86/tst-xmmymm.sh: This.
55156 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55158         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
55159         expectations.
55160         [UNIX98] (pthread_barrier_t): Do not expect.
55161         [UNIX98] (pthread_barrierattr_t): Likewise.
55162         [UNIX98] (pthread_spinlock_t): Likewise.
55163         [UNIX98] (pthread_barrier_destroy): Likewise.
55164         [UNIX98] (pthread_barrier_init): Likewise.
55165         [UNIX98] (pthread_barrier_wait): Likewise.
55166         [UNIX98] (pthread_barrierattr_destroy): Likewise.
55167         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
55168         [UNIX98] (pthread_barrierattr_init): Likewise.
55169         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
55170         [UNIX98] (pthread_getcpuclockid): Likewise.
55171         [UNIX98] (pthread_mutex_timedlock): Likewise.
55172         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
55173         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
55174         [UNIX98] (pthread_sigmask): Likewise.
55175         [UNIX98] (pthread_spin_destroy): Likewise.
55176         [UNIX98] (pthread_spin_init): Likewise.
55177         [UNIX98] (pthread_spin_lock): Likewise.
55178         [UNIX98] (pthread_spin_trylock): Likewise.
55179         [UNIX98] (pthread_spin_unlock): Likewise.
55180         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
55181         Do not expect.
55182         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
55183         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
55184         [XPG3 || XPG4] (pthread_cond_t): Likewise.
55185         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
55186         [XPG3 || XPG4] (pthread_key_t): Likewise.
55187         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
55188         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
55189         [XPG3 || XPG4] (pthread_once_t): Likewise.
55190         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
55191         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
55192         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
55193         [XPG3 || XPG4] (pthread_t): Likewise.
55195         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
55196         not expect.
55197         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
55199         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
55200         Change function return type to int.
55202         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
55203         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
55204         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
55205         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
55206         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
55207         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
55208         [!POSIX] (posix_madvise): Likewise.
55209         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
55210         && !UNIX98].
55211         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
55212         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
55213         (mode_t): Likewise.
55214         (posix_mem_offset): Likewise.
55215         (posix_typed_mem_get_info): Likewise.
55216         (posix_typed_mem_open): Likewise.
55218         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
55219         Change condition to [XOPEN2K8].
55221         * conform/conformtest.pl: Preprocess allow-header data with -x c
55222         instead of from stdin.
55223         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
55224         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
55225         [C99-based standards] (cerfc): Likewise.
55226         [C99-based standards] (cexp2): Likewise.
55227         [C99-based standards] (cexpm1): Likewise.
55228         [C99-based standards] (clog10): Likewise.
55229         [C99-based standards] (clog1p): Likewise.
55230         [C99-based standards] (clog2): Likewise.
55231         [C99-based standards] (clgamma): Likewise.
55232         [C99-based standards] (ctgamma): Likewise.
55233         [C99-based standards] (cerff): Likewise.
55234         [C99-based standards] (cerfcf): Likewise.
55235         [C99-based standards] (cexp2f): Likewise.
55236         [C99-based standards] (cexpm1f): Likewise.
55237         [C99-based standards] (clog10f): Likewise.
55238         [C99-based standards] (clog1pf): Likewise.
55239         [C99-based standards] (clog2f): Likewise.
55240         [C99-based standards] (clgammaf): Likewise.
55241         [C99-based standards] (ctgammaf): Likewise.
55242         [C99-based standards] (cerfl): Likewise.
55243         [C99-based standards] (cerfcl): Likewise.
55244         [C99-based standards] (cexp2l): Likewise.
55245         [C99-based standards] (cexpm1l): Likewise.
55246         [C99-based standards] (clog10l): Likewise.
55247         [C99-based standards] (clog1pl): Likewise.
55248         [C99-based standards] (clog2l): Likewise.
55249         [C99-based standards] (clgammal): Likewise.
55250         [C99-based standards] (ctgammal): Likewise.
55251         * conform/data/inttypes.h-data [C99-based standards]: Include
55252         stdint.h-data.  Remove all expectations for stdint.h contents.
55253         [C99-based standards] (PRI*): Do not allow.
55254         [C99-based standards] (SCN*): Likewise.
55255         [C99-based standards] (*_t): Likewise.
55256         [C99-based-standards] (PRId8): Expect macro.
55257         [C99-based-standards] (PRIi8): Likewise.
55258         [C99-based-standards] (PRIo8): Likewise.
55259         [C99-based-standards] (PRIu8): Likewise.
55260         [C99-based-standards] (PRIx8): Likewise.
55261         [C99-based-standards] (PRIX8): Likewise.
55262         [C99-based-standards] (SCNd8): Likewise.
55263         [C99-based-standards] (SCNi8): Likewise.
55264         [C99-based-standards] (SCNo8): Likewise.
55265         [C99-based-standards] (SCNu8): Likewise.
55266         [C99-based-standards] (SCNx8): Likewise.
55267         [C99-based-standards] (PRIdLEAST8): Likewise.
55268         [C99-based-standards] (PRIiLEAST8): Likewise.
55269         [C99-based-standards] (PRIoLEAST8): Likewise.
55270         [C99-based-standards] (PRIuLEAST8): Likewise.
55271         [C99-based-standards] (PRIxLEAST8): Likewise.
55272         [C99-based-standards] (PRIXLEAST8): Likewise.
55273         [C99-based-standards] (SCNdLEAST8): Likewise.
55274         [C99-based-standards] (SCNiLEAST8): Likewise.
55275         [C99-based-standards] (SCNoLEAST8): Likewise.
55276         [C99-based-standards] (SCNuLEAST8): Likewise.
55277         [C99-based-standards] (SCNxLEAST8): Likewise.
55278         [C99-based-standards] (PRIdFAST8): Likewise.
55279         [C99-based-standards] (PRIiFAST8): Likewise.
55280         [C99-based-standards] (PRIoFAST8): Likewise.
55281         [C99-based-standards] (PRIuFAST8): Likewise.
55282         [C99-based-standards] (PRIxFAST8): Likewise.
55283         [C99-based-standards] (PRIXFAST8): Likewise.
55284         [C99-based-standards] (SCNdFAST8): Likewise.
55285         [C99-based-standards] (SCNiFAST8): Likewise.
55286         [C99-based-standards] (SCNoFAST8): Likewise.
55287         [C99-based-standards] (SCNuFAST8): Likewise.
55288         [C99-based-standards] (SCNxFAST8): Likewise.
55289         [C99-based-standards] (PRId16): Likewise.
55290         [C99-based-standards] (PRIi16): Likewise.
55291         [C99-based-standards] (PRIo16): Likewise.
55292         [C99-based-standards] (PRIu16): Likewise.
55293         [C99-based-standards] (PRIx16): Likewise.
55294         [C99-based-standards] (PRIX16): Likewise.
55295         [C99-based-standards] (SCNd16): Likewise.
55296         [C99-based-standards] (SCNi16): Likewise.
55297         [C99-based-standards] (SCNo16): Likewise.
55298         [C99-based-standards] (SCNu16): Likewise.
55299         [C99-based-standards] (SCNx16): Likewise.
55300         [C99-based-standards] (PRIdLEAST16): Likewise.
55301         [C99-based-standards] (PRIiLEAST16): Likewise.
55302         [C99-based-standards] (PRIoLEAST16): Likewise.
55303         [C99-based-standards] (PRIuLEAST16): Likewise.
55304         [C99-based-standards] (PRIxLEAST16): Likewise.
55305         [C99-based-standards] (PRIXLEAST16): Likewise.
55306         [C99-based-standards] (SCNdLEAST16): Likewise.
55307         [C99-based-standards] (SCNiLEAST16): Likewise.
55308         [C99-based-standards] (SCNoLEAST16): Likewise.
55309         [C99-based-standards] (SCNuLEAST16): Likewise.
55310         [C99-based-standards] (SCNxLEAST16): Likewise.
55311         [C99-based-standards] (PRIdFAST16): Likewise.
55312         [C99-based-standards] (PRIiFAST16): Likewise.
55313         [C99-based-standards] (PRIoFAST16): Likewise.
55314         [C99-based-standards] (PRIuFAST16): Likewise.
55315         [C99-based-standards] (PRIxFAST16): Likewise.
55316         [C99-based-standards] (PRIXFAST16): Likewise.
55317         [C99-based-standards] (SCNdFAST16): Likewise.
55318         [C99-based-standards] (SCNiFAST16): Likewise.
55319         [C99-based-standards] (SCNoFAST16): Likewise.
55320         [C99-based-standards] (SCNuFAST16): Likewise.
55321         [C99-based-standards] (SCNxFAST16): Likewise.
55322         [C99-based-standards] (PRId32): Likewise.
55323         [C99-based-standards] (PRIi32): Likewise.
55324         [C99-based-standards] (PRIo32): Likewise.
55325         [C99-based-standards] (PRIu32): Likewise.
55326         [C99-based-standards] (PRIx32): Likewise.
55327         [C99-based-standards] (PRIX32): Likewise.
55328         [C99-based-standards] (SCNd32): Likewise.
55329         [C99-based-standards] (SCNi32): Likewise.
55330         [C99-based-standards] (SCNo32): Likewise.
55331         [C99-based-standards] (SCNu32): Likewise.
55332         [C99-based-standards] (SCNx32): Likewise.
55333         [C99-based-standards] (PRIdLEAST32): Likewise.
55334         [C99-based-standards] (PRIiLEAST32): Likewise.
55335         [C99-based-standards] (PRIoLEAST32): Likewise.
55336         [C99-based-standards] (PRIuLEAST32): Likewise.
55337         [C99-based-standards] (PRIxLEAST32): Likewise.
55338         [C99-based-standards] (PRIXLEAST32): Likewise.
55339         [C99-based-standards] (SCNdLEAST32): Likewise.
55340         [C99-based-standards] (SCNiLEAST32): Likewise.
55341         [C99-based-standards] (SCNoLEAST32): Likewise.
55342         [C99-based-standards] (SCNuLEAST32): Likewise.
55343         [C99-based-standards] (SCNxLEAST32): Likewise.
55344         [C99-based-standards] (PRIdFAST32): Likewise.
55345         [C99-based-standards] (PRIiFAST32): Likewise.
55346         [C99-based-standards] (PRIoFAST32): Likewise.
55347         [C99-based-standards] (PRIuFAST32): Likewise.
55348         [C99-based-standards] (PRIxFAST32): Likewise.
55349         [C99-based-standards] (PRIXFAST32): Likewise.
55350         [C99-based-standards] (SCNdFAST32): Likewise.
55351         [C99-based-standards] (SCNiFAST32): Likewise.
55352         [C99-based-standards] (SCNoFAST32): Likewise.
55353         [C99-based-standards] (SCNuFAST32): Likewise.
55354         [C99-based-standards] (SCNxFAST32): Likewise.
55355         [C99-based-standards] (PRId64): Likewise.
55356         [C99-based-standards] (PRIi64): Likewise.
55357         [C99-based-standards] (PRIo64): Likewise.
55358         [C99-based-standards] (PRIu64): Likewise.
55359         [C99-based-standards] (PRIx64): Likewise.
55360         [C99-based-standards] (PRIX64): Likewise.
55361         [C99-based-standards] (SCNd64): Likewise.
55362         [C99-based-standards] (SCNi64): Likewise.
55363         [C99-based-standards] (SCNo64): Likewise.
55364         [C99-based-standards] (SCNu64): Likewise.
55365         [C99-based-standards] (SCNx64): Likewise.
55366         [C99-based-standards] (PRIdLEAST64): Likewise.
55367         [C99-based-standards] (PRIiLEAST64): Likewise.
55368         [C99-based-standards] (PRIoLEAST64): Likewise.
55369         [C99-based-standards] (PRIuLEAST64): Likewise.
55370         [C99-based-standards] (PRIxLEAST64): Likewise.
55371         [C99-based-standards] (PRIXLEAST64): Likewise.
55372         [C99-based-standards] (SCNdLEAST64): Likewise.
55373         [C99-based-standards] (SCNiLEAST64): Likewise.
55374         [C99-based-standards] (SCNoLEAST64): Likewise.
55375         [C99-based-standards] (SCNuLEAST64): Likewise.
55376         [C99-based-standards] (SCNxLEAST64): Likewise.
55377         [C99-based-standards] (PRIdFAST64): Likewise.
55378         [C99-based-standards] (PRIiFAST64): Likewise.
55379         [C99-based-standards] (PRIoFAST64): Likewise.
55380         [C99-based-standards] (PRIuFAST64): Likewise.
55381         [C99-based-standards] (PRIxFAST64): Likewise.
55382         [C99-based-standards] (PRIXFAST64): Likewise.
55383         [C99-based-standards] (SCNdFAST64): Likewise.
55384         [C99-based-standards] (SCNiFAST64): Likewise.
55385         [C99-based-standards] (SCNoFAST64): Likewise.
55386         [C99-based-standards] (SCNuFAST64): Likewise.
55387         [C99-based-standards] (SCNxFAST64): Likewise.
55388         [C99-based-standards] (PRIdMAX): Likewise.
55389         [C99-based-standards] (PRIiMAX): Likewise.
55390         [C99-based-standards] (PRIoMAX): Likewise.
55391         [C99-based-standards] (PRIuMAX): Likewise.
55392         [C99-based-standards] (PRIxMAX): Likewise.
55393         [C99-based-standards] (PRIXMAX): Likewise.
55394         [C99-based-standards] (SCNdMAX): Likewise.
55395         [C99-based-standards] (SCNiMAX): Likewise.
55396         [C99-based-standards] (SCNoMAX): Likewise.
55397         [C99-based-standards] (SCNuMAX): Likewise.
55398         [C99-based-standards] (SCNxMAX): Likewise.
55399         [C99-based-standards] (PRIdPTR): Likewise.
55400         [C99-based-standards] (PRIiPTR): Likewise.
55401         [C99-based-standards] (PRIoPTR): Likewise.
55402         [C99-based-standards] (PRIuPTR): Likewise.
55403         [C99-based-standards] (PRIxPTR): Likewise.
55404         [C99-based-standards] (PRIXPTR): Likewise.
55405         [C99-based-standards] (SCNdPTR): Likewise.
55406         [C99-based-standards] (SCNiPTR): Likewise.
55407         [C99-based-standards] (SCNoPTR): Likewise.
55408         [C99-based-standards] (SCNuPTR): Likewise.
55409         [C99-based-standards] (SCNxPTR): Likewise.
55410         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
55411         allow.
55412         * conform/data/stdint.h-data: Update comments to clarify
55413         requirements.
55414         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
55415         type.
55416         [C99-based standards] (INT8_MAX): Likewise.
55417         [C99-based standards] (INT16_MIN): Likewise.
55418         [C99-based standards] (INT16_MAX): Likewise.
55419         [C99-based standards] (INT32_MIN): Likewise.
55420         [C99-based standards] (INT32_MAX): Likewise.
55421         [C99-based standards] (INT64_MIN): Likewise.
55422         [C99-based standards] (INT64_MAX): Likewise.
55423         [C99-based standards] (UINT8_MAX): Likewise.
55424         [C99-based standards] (UINT16_MAX): Likewise.
55425         [C99-based standards] (UINT32_MAX): Likewise.
55426         [C99-based standards] (UINT64_MAX): Likewise.
55427         [C99-based standards] (INT_LEAST8_MIN): Likewise.
55428         [C99-based standards] (INT_LEAST8_MAX): Likewise.
55429         [C99-based standards] (INT_LEAST16_MIN): Likewise.
55430         [C99-based standards] (INT_LEAST16_MAX): Likewise.
55431         [C99-based standards] (INT_LEAST32_MIN): Likewise.
55432         [C99-based standards] (INT_LEAST32_MAX): Likewise.
55433         [C99-based standards] (INT_LEAST64_MIN): Likewise.
55434         [C99-based standards] (INT_LEAST64_MAX): Likewise.
55435         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
55436         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
55437         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
55438         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
55439         [C99-based standards] (INT_FAST8_MIN): Likewise.
55440         [C99-based standards] (INT_FAST8_MAX): Likewise.
55441         [C99-based standards] (INT_FAST16_MIN): Likewise.
55442         [C99-based standards] (INT_FAST16_MAX): Likewise.
55443         [C99-based standards] (INT_FAST32_MIN): Likewise.
55444         [C99-based standards] (INT_FAST32_MAX): Likewise.
55445         [C99-based standards] (INT_FAST64_MIN): Likewise.
55446         [C99-based standards] (INT_FAST64_MAX): Likewise.
55447         [C99-based standards] (UINT_FAST8_MAX): Likewise.
55448         [C99-based standards] (UINT_FAST16_MAX): Likewise.
55449         [C99-based standards] (UINT_FAST32_MAX): Likewise.
55450         [C99-based standards] (UINT_FAST64_MAX): Likewise.
55451         [C99-based standards] (INTPTR_MIN): Likewise.
55452         [C99-based standards] (INTPTR_MAX): Likewise.
55453         [C99-based standards] (UINTPTR_MAX): Likewise.
55454         [C99-based standards] (INTMAX_MIN): Likewise.
55455         [C99-based standards] (INTMAX_MAX): Likewise.
55456         [C99-based standards] (UINTMAX_MAX): Likewise.
55457         [C99-based standards] (PTRDIFF_MIN): Likewise.
55458         [C99-based standards] (PTRDIFF_MAX): Likewise.
55459         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
55460         [C99-based standards] (SIZE_MAX): Likewise.
55461         [C99-based standards] (WCHAR_MAX): Likewise.
55462         [C99-based standards] (WINT_MAX): Likewise.
55463         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
55464         constraint on value.
55465         [C99-based standards] (WCHAR_MIN): Likewise.
55466         [C99-based standards] (WINT_MIN): Likewise.
55467         [C99-based standards] (*_t): Allow.
55468         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
55469         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
55470         Include math.h-data and complex.h-data.  Remove all expectations
55471         of math.h and complex.h contents.
55472         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
55473         at end of line.
55474         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
55475         (struct tm): Expect tag.
55476         [C99-based-standards] (wcstof): Expect function.
55477         [C99-based-standards] (wcstold): Likewise.
55478         [C99-based-standards] (wcstoll): Likewise.
55479         [C99-based-standards] (wcstoull): Likewise.
55480         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
55481         macro-int-constant.  Specify type.
55482         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
55483         constraint on value.
55484         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55485         Specify type.
55486         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
55487         Specify value.
55488         [ISO C standards]: Do not allow headers.
55489         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
55490         wcs[abcdefghijklmnopqrstuvwxyz]*.
55491         [ISO C standards] (*_t): Do not allow.
55492         * conform/data/wctype.h-data [C99-based standards] (iswblank):
55493         Expect function.
55494         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
55495         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55496         Specify type.
55497         [ISO C standards]: Do not allow headers.
55498         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
55499         is[abcdefghijklmnopqrstuvwxyz]*.
55500         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
55501         to[abcdefghijklmnopqrstuvwxyz]*.
55502         [ISO C standards] (*_t): Do not allow.
55503         * conform/data/stdalign.h-data: New file.
55504         * conform/data/stdbool.h-data: Likewise.
55505         * conform/data/stdnoreturn.h-data: Likewise.
55507 2012-11-07  Roland McGrath  <roland@hack.frob.com>
55509         [BZ #14815]
55510         * manual/filesys.texi (Directory Entries): Typo fix.
55511         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
55513 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55515         * elf/elf.h (EM_AARCH64): New macro.
55516         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
55517         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
55518         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
55519         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
55520         (R_AARCH64_TLSDESC): Likewise.
55521         (NT_ARM_TLS): Likewise.
55522         (NT_ARM_HW_BREAK): Likewise.
55523         (NT_ARM_HW_WATCH): Likewise.
55525 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55527         [BZ #14811]
55528         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
55529         (__ieee754_powl): Saturate nonzero exponents with absolute value
55530         below 0x1p-79 to +/- 0x1p-79.
55531         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
55532         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
55533         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
55534         nonzero exponents with absolute value below 0x1p-32 to +/-
55535         0x1p-32.
55536         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
55537         (__ieee754_powl): Saturate nonzero exponents with absolute value
55538         below 0x1p-79 to +/- 0x1p-79.
55539         * math/libm-test.inc (pow_test): Add more tests.
55541 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55543         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
55544         _dl_s390_cap_flags with kernel. Increase string length.
55545         (_dl_s390_platforms): Add z196 and zEC12.
55547 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55549         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
55550         Change XOPEN21K to XOPEN2K.
55552 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
55554         * string/memmove.c: Use memcpy when possible.
55556 2012-11-06  Andreas Jaeger  <aj@suse.de>
55558         * po/eo.po: Update from translation team.
55560 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
55562         [BZ #14793]
55563         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
55564         exponent and small x and y exponents, scale x or y up.  Increase
55565         by 2 the exponent used in scaling up.
55566         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55567         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55568         * math/libm-test.inc (fma_test): Add more tests.
55569         (fma_test_towardzero): Likewise.
55570         (fma_test_downward): Likewise.
55571         (fma_test_upward): Likewise.
55573 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
55575         [BZ #14805]
55576         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
55577         fenv_t *.
55579         [BZ #14801]
55580         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
55581         namespace for names of struct fields.
55582         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
55583         fenv_t fields.
55584         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
55585         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
55587 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55589         [BZ #3665]
55590         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
55592 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
55594         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
55595         PTR_DEMANGLE.
55597         [BZ #5246]
55598         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
55599         PTR_DEMANGLE.
55601 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
55603         [BZ #14797]
55604         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
55605         definitely overflow as x * y not x * y + z.
55606         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55607         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55608         * math/libm-test.inc (fma_test): Add more tests.
55609         (fma_test_towardzero): Likewise.
55610         (fma_test_downward): Likewise.
55611         (fma_test_upward): Likewise.
55613 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
55615         [BZ #157]
55617         * include/stub-tag.h: Remove file.
55618         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
55619         '#include' of it.
55620         * manual/maint.texi (Porting): Don't reference it.
55621         * Makerules ($(objpfx)stubs): Likewise.
55622         * dirent/closedir.c: Don't include <stub-tag.h>.
55623         * dirent/dirfd.c: Likewise.
55624         * dirent/fdopendir.c: Likewise.
55625         * dirent/getdents.c: Likewise.
55626         * dirent/getdents64.c: Likewise.
55627         * dirent/opendir.c: Likewise.
55628         * dirent/readdir.c: Likewise.
55629         * dirent/readdir64.c: Likewise.
55630         * dirent/readdir64_r.c: Likewise.
55631         * dirent/readdir_r.c: Likewise.
55632         * dirent/rewinddir.c: Likewise.
55633         * dirent/seekdir.c: Likewise.
55634         * dirent/telldir.c: Likewise.
55635         * gmon/profil.c: Likewise.
55636         * grp/setgroups.c: Likewise.
55637         * inet/if_index.c: Likewise.
55638         * io/access.c: Likewise.
55639         * io/chdir.c: Likewise.
55640         * io/chmod.c: Likewise.
55641         * io/chown.c: Likewise.
55642         * io/close.c: Likewise.
55643         * io/dup.c: Likewise.
55644         * io/dup2.c: Likewise.
55645         * io/dup3.c: Likewise.
55646         * io/euidaccess.c: Likewise.
55647         * io/faccessat.c: Likewise.
55648         * io/fchdir.c: Likewise.
55649         * io/fchmod.c: Likewise.
55650         * io/fchmodat.c: Likewise.
55651         * io/fchown.c: Likewise.
55652         * io/fchownat.c: Likewise.
55653         * io/fcntl.c: Likewise.
55654         * io/flock.c: Likewise.
55655         * io/fstatfs.c: Likewise.
55656         * io/fstatfs64.c: Likewise.
55657         * io/fstatvfs.c: Likewise.
55658         * io/fstatvfs64.c: Likewise.
55659         * io/futimens.c: Likewise.
55660         * io/fxstat.c: Likewise.
55661         * io/fxstat64.c: Likewise.
55662         * io/fxstatat.c: Likewise.
55663         * io/fxstatat64.c: Likewise.
55664         * io/getcwd.c: Likewise.
55665         * io/isatty.c: Likewise.
55666         * io/lchmod.c: Likewise.
55667         * io/lchown.c: Likewise.
55668         * io/link.c: Likewise.
55669         * io/linkat.c: Likewise.
55670         * io/lseek.c: Likewise.
55671         * io/lseek64.c: Likewise.
55672         * io/lxstat64.c: Likewise.
55673         * io/mkdir.c: Likewise.
55674         * io/mkdirat.c: Likewise.
55675         * io/mkfifo.c: Likewise.
55676         * io/mkfifoat.c: Likewise.
55677         * io/open.c: Likewise.
55678         * io/open64.c: Likewise.
55679         * io/openat.c: Likewise.
55680         * io/openat64.c: Likewise.
55681         * io/pipe.c: Likewise.
55682         * io/pipe2.c: Likewise.
55683         * io/poll.c: Likewise.
55684         * io/posix_fadvise.c: Likewise.
55685         * io/posix_fadvise64.c: Likewise.
55686         * io/posix_fallocate.c: Likewise.
55687         * io/posix_fallocate64.c: Likewise.
55688         * io/read.c: Likewise.
55689         * io/readlink.c: Likewise.
55690         * io/readlinkat.c: Likewise.
55691         * io/rmdir.c: Likewise.
55692         * io/sendfile.c: Likewise.
55693         * io/sendfile64.c: Likewise.
55694         * io/statfs.c: Likewise.
55695         * io/statfs64.c: Likewise.
55696         * io/statvfs.c: Likewise.
55697         * io/statvfs64.c: Likewise.
55698         * io/symlink.c: Likewise.
55699         * io/symlinkat.c: Likewise.
55700         * io/ttyname.c: Likewise.
55701         * io/ttyname_r.c: Likewise.
55702         * io/umask.c: Likewise.
55703         * io/unlink.c: Likewise.
55704         * io/unlinkat.c: Likewise.
55705         * io/utime.c: Likewise.
55706         * io/utimensat.c: Likewise.
55707         * io/write.c: Likewise.
55708         * io/xmknod.c: Likewise.
55709         * io/xmknodat.c: Likewise.
55710         * io/xstat.c: Likewise.
55711         * io/xstat64.c: Likewise.
55712         * login/getpt.c: Likewise.
55713         * login/grantpt.c: Likewise.
55714         * login/unlockpt.c: Likewise.
55715         * math/e_acoshl.c: Likewise.
55716         * math/e_acosl.c: Likewise.
55717         * math/e_asinl.c: Likewise.
55718         * math/e_atan2l.c: Likewise.
55719         * math/e_atanhl.c: Likewise.
55720         * math/e_coshl.c: Likewise.
55721         * math/e_expl.c: Likewise.
55722         * math/e_fmodl.c: Likewise.
55723         * math/e_gammal_r.c: Likewise.
55724         * math/e_hypotl.c: Likewise.
55725         * math/e_j0l.c: Likewise.
55726         * math/e_j1l.c: Likewise.
55727         * math/e_jnl.c: Likewise.
55728         * math/e_lgammal_r.c: Likewise.
55729         * math/e_log10l.c: Likewise.
55730         * math/e_log2l.c: Likewise.
55731         * math/e_logl.c: Likewise.
55732         * math/e_powl.c: Likewise.
55733         * math/e_rem_pio2l.c: Likewise.
55734         * math/e_sinhl.c: Likewise.
55735         * math/e_sqrtl.c: Likewise.
55736         * math/fclrexcpt.c: Likewise.
55737         * math/fedisblxcpt.c: Likewise.
55738         * math/feenablxcpt.c: Likewise.
55739         * math/fegetenv.c: Likewise.
55740         * math/fegetexcept.c: Likewise.
55741         * math/fegetround.c: Likewise.
55742         * math/feholdexcpt.c: Likewise.
55743         * math/fesetenv.c: Likewise.
55744         * math/fesetround.c: Likewise.
55745         * math/feupdateenv.c: Likewise.
55746         * math/fgetexcptflg.c: Likewise.
55747         * math/fraiseexcpt.c: Likewise.
55748         * math/fsetexcptflg.c: Likewise.
55749         * math/ftestexcept.c: Likewise.
55750         * math/k_cosl.c: Likewise.
55751         * math/k_rem_pio2l.c: Likewise.
55752         * math/k_sinl.c: Likewise.
55753         * math/k_tanl.c: Likewise.
55754         * math/s_asinhl.c: Likewise.
55755         * math/s_atanl.c: Likewise.
55756         * math/s_cbrtl.c: Likewise.
55757         * math/s_erfl.c: Likewise.
55758         * math/s_expm1l.c: Likewise.
55759         * math/s_log1pl.c: Likewise.
55760         * math/s_tanhl.c: Likewise.
55761         * misc/acct.c: Likewise.
55762         * misc/brk.c: Likewise.
55763         * misc/chflags.c: Likewise.
55764         * misc/chroot.c: Likewise.
55765         * misc/fchflags.c: Likewise.
55766         * misc/fgetxattr.c: Likewise.
55767         * misc/flistxattr.c: Likewise.
55768         * misc/fremovexattr.c: Likewise.
55769         * misc/fsetxattr.c: Likewise.
55770         * misc/fsync.c: Likewise.
55771         * misc/ftruncate.c: Likewise.
55772         * misc/futimes.c: Likewise.
55773         * misc/futimesat.c: Likewise.
55774         * misc/getdomain.c: Likewise.
55775         * misc/getdtsz.c: Likewise.
55776         * misc/gethostid.c: Likewise.
55777         * misc/gethostname.c: Likewise.
55778         * misc/getloadavg.c: Likewise.
55779         * misc/getpagesize.c: Likewise.
55780         * misc/getsysstats.c: Likewise.
55781         * misc/getxattr.c: Likewise.
55782         * misc/gtty.c: Likewise.
55783         * misc/ioctl.c: Likewise.
55784         * misc/lgetxattr.c: Likewise.
55785         * misc/listxattr.c: Likewise.
55786         * misc/llistxattr.c: Likewise.
55787         * misc/lremovexattr.c: Likewise.
55788         * misc/lsetxattr.c: Likewise.
55789         * misc/lutimes.c: Likewise.
55790         * misc/madvise.c: Likewise.
55791         * misc/mincore.c: Likewise.
55792         * misc/mlock.c: Likewise.
55793         * misc/mlockall.c: Likewise.
55794         * misc/mmap.c: Likewise.
55795         * misc/mprotect.c: Likewise.
55796         * misc/msync.c: Likewise.
55797         * misc/munlock.c: Likewise.
55798         * misc/munlockall.c: Likewise.
55799         * misc/munmap.c: Likewise.
55800         * misc/preadv.c: Likewise.
55801         * misc/preadv64.c: Likewise.
55802         * misc/ptrace.c: Likewise.
55803         * misc/pwritev.c: Likewise.
55804         * misc/pwritev64.c: Likewise.
55805         * misc/readv.c: Likewise.
55806         * misc/reboot.c: Likewise.
55807         * misc/remap_file_pages.c: Likewise.
55808         * misc/removexattr.c: Likewise.
55809         * misc/revoke.c: Likewise.
55810         * misc/select.c: Likewise.
55811         * misc/setdomain.c: Likewise.
55812         * misc/setegid.c: Likewise.
55813         * misc/seteuid.c: Likewise.
55814         * misc/sethostid.c: Likewise.
55815         * misc/sethostname.c: Likewise.
55816         * misc/setregid.c: Likewise.
55817         * misc/setreuid.c: Likewise.
55818         * misc/setxattr.c: Likewise.
55819         * misc/sstk.c: Likewise.
55820         * misc/stty.c: Likewise.
55821         * misc/swapoff.c: Likewise.
55822         * misc/swapon.c: Likewise.
55823         * misc/sync.c: Likewise.
55824         * misc/syncfs.c: Likewise.
55825         * misc/syscall.c: Likewise.
55826         * misc/truncate.c: Likewise.
55827         * misc/ualarm.c: Likewise.
55828         * misc/usleep.c: Likewise.
55829         * misc/ustat.c: Likewise.
55830         * misc/utimes.c: Likewise.
55831         * misc/vhangup.c: Likewise.
55832         * misc/writev.c: Likewise.
55833         * posix/_exit.c: Likewise.
55834         * posix/alarm.c: Likewise.
55835         * posix/execve.c: Likewise.
55836         * posix/fexecve.c: Likewise.
55837         * posix/fork.c: Likewise.
55838         * posix/fpathconf.c: Likewise.
55839         * posix/getaddrinfo.c: Likewise.
55840         * posix/getegid.c: Likewise.
55841         * posix/geteuid.c: Likewise.
55842         * posix/getgid.c: Likewise.
55843         * posix/getgroups.c: Likewise.
55844         * posix/getlogin.c: Likewise.
55845         * posix/getlogin_r.c: Likewise.
55846         * posix/getpgid.c: Likewise.
55847         * posix/getpid.c: Likewise.
55848         * posix/getppid.c: Likewise.
55849         * posix/getresgid.c: Likewise.
55850         * posix/getresuid.c: Likewise.
55851         * posix/getsid.c: Likewise.
55852         * posix/getuid.c: Likewise.
55853         * posix/glob64.c: Likewise.
55854         * posix/nanosleep.c: Likewise.
55855         * posix/pathconf.c: Likewise.
55856         * posix/pause.c: Likewise.
55857         * posix/posix_madvise.c: Likewise.
55858         * posix/pread.c: Likewise.
55859         * posix/pread64.c: Likewise.
55860         * posix/pwrite.c: Likewise.
55861         * posix/pwrite64.c: Likewise.
55862         * posix/sched_getaffinity.c: Likewise.
55863         * posix/sched_getp.c: Likewise.
55864         * posix/sched_gets.c: Likewise.
55865         * posix/sched_primax.c: Likewise.
55866         * posix/sched_primin.c: Likewise.
55867         * posix/sched_rr_gi.c: Likewise.
55868         * posix/sched_setaffinity.c: Likewise.
55869         * posix/sched_setp.c: Likewise.
55870         * posix/sched_sets.c: Likewise.
55871         * posix/sched_yield.c: Likewise.
55872         * posix/setgid.c: Likewise.
55873         * posix/setlogin.c: Likewise.
55874         * posix/setpgid.c: Likewise.
55875         * posix/setresgid.c: Likewise.
55876         * posix/setresuid.c: Likewise.
55877         * posix/setsid.c: Likewise.
55878         * posix/setuid.c: Likewise.
55879         * posix/sleep.c: Likewise.
55880         * posix/spawni.c: Likewise.
55881         * posix/sysconf.c: Likewise.
55882         * posix/times.c: Likewise.
55883         * posix/wait.c: Likewise.
55884         * posix/wait3.c: Likewise.
55885         * posix/wait4.c: Likewise.
55886         * posix/waitpid.c: Likewise.
55887         * resolv/gai_sigqueue.c: Likewise.
55888         * resource/getpriority.c: Likewise.
55889         * resource/getrlimit.c: Likewise.
55890         * resource/getrusage.c: Likewise.
55891         * resource/nice.c: Likewise.
55892         * resource/setpriority.c: Likewise.
55893         * resource/setrlimit.c: Likewise.
55894         * resource/ulimit.c: Likewise.
55895         * rt/aio_cancel.c: Likewise.
55896         * rt/aio_fsync.c: Likewise.
55897         * rt/aio_read.c: Likewise.
55898         * rt/aio_sigqueue.c: Likewise.
55899         * rt/aio_suspend.c: Likewise.
55900         * rt/aio_write.c: Likewise.
55901         * rt/clock_getres.c: Likewise.
55902         * rt/clock_gettime.c: Likewise.
55903         * rt/clock_nanosleep.c: Likewise.
55904         * rt/clock_settime.c: Likewise.
55905         * rt/lio_listio.c: Likewise.
55906         * rt/mq_close.c: Likewise.
55907         * rt/mq_getattr.c: Likewise.
55908         * rt/mq_notify.c: Likewise.
55909         * rt/mq_open.c: Likewise.
55910         * rt/mq_receive.c: Likewise.
55911         * rt/mq_send.c: Likewise.
55912         * rt/mq_setattr.c: Likewise.
55913         * rt/mq_timedreceive.c: Likewise.
55914         * rt/mq_timedsend.c: Likewise.
55915         * rt/mq_unlink.c: Likewise.
55916         * rt/shm_open.c: Likewise.
55917         * rt/shm_unlink.c: Likewise.
55918         * rt/timer_create.c: Likewise.
55919         * rt/timer_delete.c: Likewise.
55920         * rt/timer_getoverr.c: Likewise.
55921         * rt/timer_gettime.c: Likewise.
55922         * rt/timer_settime.c: Likewise.
55923         * setjmp/__longjmp.c: Likewise.
55924         * setjmp/setjmp.c: Likewise.
55925         * signal/kill.c: Likewise.
55926         * signal/killpg.c: Likewise.
55927         * signal/raise.c: Likewise.
55928         * signal/sigaction.c: Likewise.
55929         * signal/sigaltstack.c: Likewise.
55930         * signal/sigblock.c: Likewise.
55931         * signal/sigignore.c: Likewise.
55932         * signal/sigintr.c: Likewise.
55933         * signal/signal.c: Likewise.
55934         * signal/sigpause.c: Likewise.
55935         * signal/sigpending.c: Likewise.
55936         * signal/sigqueue.c: Likewise.
55937         * signal/sigreturn.c: Likewise.
55938         * signal/sigset.c: Likewise.
55939         * signal/sigsetmask.c: Likewise.
55940         * signal/sigstack.c: Likewise.
55941         * signal/sigsuspend.c: Likewise.
55942         * signal/sigtimedwait.c: Likewise.
55943         * signal/sigvec.c: Likewise.
55944         * signal/sigwait.c: Likewise.
55945         * signal/sigwaitinfo.c: Likewise.
55946         * signal/sysv_signal.c: Likewise.
55947         * socket/accept.c: Likewise.
55948         * socket/accept4.c: Likewise.
55949         * socket/bind.c: Likewise.
55950         * socket/connect.c: Likewise.
55951         * socket/getpeername.c: Likewise.
55952         * socket/getsockname.c: Likewise.
55953         * socket/getsockopt.c: Likewise.
55954         * socket/isfdtype.c: Likewise.
55955         * socket/listen.c: Likewise.
55956         * socket/recv.c: Likewise.
55957         * socket/recvfrom.c: Likewise.
55958         * socket/recvmsg.c: Likewise.
55959         * socket/send.c: Likewise.
55960         * socket/sendmsg.c: Likewise.
55961         * socket/sendto.c: Likewise.
55962         * socket/setsockopt.c: Likewise.
55963         * socket/shutdown.c: Likewise.
55964         * socket/sockatmark.c: Likewise.
55965         * socket/socket.c: Likewise.
55966         * socket/socketpair.c: Likewise.
55967         * stdio-common/ctermid.c: Likewise.
55968         * stdio-common/cuserid.c: Likewise.
55969         * stdio-common/remove.c: Likewise.
55970         * stdio-common/rename.c: Likewise.
55971         * stdio-common/renameat.c: Likewise.
55972         * stdio-common/tempname.c: Likewise.
55973         * stdlib/getcontext.c: Likewise.
55974         * stdlib/makecontext.c: Likewise.
55975         * stdlib/setcontext.c: Likewise.
55976         * stdlib/swapcontext.c: Likewise.
55977         * stdlib/system.c: Likewise.
55978         * streams/fattach.c: Likewise.
55979         * streams/fdetach.c: Likewise.
55980         * streams/getmsg.c: Likewise.
55981         * streams/getpmsg.c: Likewise.
55982         * streams/putmsg.c: Likewise.
55983         * streams/putpmsg.c: Likewise.
55984         * sysdeps/unix/bsd/getpt.c: Likewise.
55985         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
55986         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
55987         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
55988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55989         Likewise.
55990         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
55991         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55992         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
55993         * sysvipc/msgctl.c: Likewise.
55994         * sysvipc/msgget.c: Likewise.
55995         * sysvipc/msgrcv.c: Likewise.
55996         * sysvipc/msgsnd.c: Likewise.
55997         * sysvipc/semctl.c: Likewise.
55998         * sysvipc/semget.c: Likewise.
55999         * sysvipc/semop.c: Likewise.
56000         * sysvipc/semtimedop.c: Likewise.
56001         * sysvipc/shmat.c: Likewise.
56002         * sysvipc/shmctl.c: Likewise.
56003         * sysvipc/shmdt.c: Likewise.
56004         * sysvipc/shmget.c: Likewise.
56005         * termios/tcdrain.c: Likewise.
56006         * termios/tcflow.c: Likewise.
56007         * termios/tcflush.c: Likewise.
56008         * termios/tcgetattr.c: Likewise.
56009         * termios/tcgetpgrp.c: Likewise.
56010         * termios/tcsendbrk.c: Likewise.
56011         * termios/tcsetattr.c: Likewise.
56012         * termios/tcsetpgrp.c: Likewise.
56013         * time/adjtime.c: Likewise.
56014         * time/clock.c: Likewise.
56015         * time/getitimer.c: Likewise.
56016         * time/gettimeofday.c: Likewise.
56017         * time/setitimer.c: Likewise.
56018         * time/settimeofday.c: Likewise.
56019         * time/stime.c: Likewise.
56020         * time/time.c: Likewise.
56022 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
56024         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
56025         /usr/old/bin.
56027         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
56028         instead of spaces.
56029         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
56031 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
56033         [BZ #14796]
56034         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
56035         FE_TONEAREST before applying Dekker multiplication and Knuth
56036         addition.  Clear inexact exceptions and check for exact zero
56037         results afterwards.
56038         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56039         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56040         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56041         * math/libm-test.inc (fma_test): Add more tests.
56042         (fma_test_towardzero): Likewise.
56043         (fma_test_downward): Likewise.
56044         (fma_test_upward): Likewise.
56045         * sysdeps/generic/math_private.h (default_libc_fesetround): New
56046         function.
56047         (libc_fesetround): New macro.
56048         (libc_fesetroundf): Likewise.
56049         (libc_fesetroundl): Likewise.
56050         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
56051         function.
56052         (libc_fesetround_387): Likewise.
56053         (libc_fesetroundf): New macro.
56054         (libc_fesetround): Likewise.
56055         (libc_fesetroundl): Likewise.
56056         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
56057         function.
56058         (libc_fesetroundf): New macro.
56059         (libc_fesetround): Likewise.
56060         (libc_fesetroundl): Likewise.
56061         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
56062         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
56063         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
56064         libm_hidden_ver.
56065         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
56066         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
56067         libm_hidden_def.
56068         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
56069         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
56070         libm_hidden_ver.
56071         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
56072         libm_hidden_def.
56074         [BZ #3439]
56075         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
56076         integer constant usable in #if and use that to give value to enum
56077         constant.
56078         (FE_DIVBYZERO): Likewise.
56079         (FE_UNDERFLOW): Likewise.
56080         (FE_OVERFLOW): Likewise.
56081         (FE_INVALID): Likewise.
56082         (FE_INVALID_SNAN): Likewise.
56083         (FE_INVALID_ISI): Likewise.
56084         (FE_INVALID_IDI): Likewise.
56085         (FE_INVALID_ZDZ): Likewise.
56086         (FE_INVALID_IMZ): Likewise.
56087         (FE_INVALID_COMPARE): Likewise.
56088         (FE_INVALID_SOFTWARE): Likewise.
56089         (FE_INVALID_SQRT): Likewise.
56090         (FE_INVALID_INTEGER_CONVERSION): Likewise.
56091         (FE_TONEAREST): Likewise.
56092         (FE_TOWARDZERO): Likewise.
56093         (FE_UPWARD): Likewise.
56094         (FE_DOWNWARD): Likewise.
56095         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
56096         (FE_DIVBYZERO): Likewise.
56097         (FE_OVERFLOW): Likewise.
56098         (FE_UNDERFLOW): Likewise.
56099         (FE_INEXACT): Likewise.
56100         (FE_TONEAREST): Likewise.
56101         (FE_DOWNWARD): Likewise.
56102         (FE_UPWARD): Likewise.
56103         (FE_TOWARDZERO): Likewise.
56104         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
56105         (FE_UNDERFLOW): Likewise.
56106         (FE_OVERFLOW): Likewise.
56107         (FE_DIVBYZERO): Likewise.
56108         (FE_INVALID): Likewise.
56109         (FE_TONEAREST): Likewise.
56110         (FE_TOWARDZERO): Likewise.
56111         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
56112         (FE_OVERFLOW): Likewise.
56113         (FE_UNDERFLOW): Likewise.
56114         (FE_DIVBYZERO): Likewise.
56115         (FE_INEXACT): Likewise.
56116         (FE_TONEAREST): Likewise.
56117         (FE_TOWARDZERO): Likewise.
56118         (FE_UPWARD): Likewise.
56119         (FE_DOWNWARD): Likewise.
56120         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
56121         (FE_DIVBYZERO): Likewise.
56122         (FE_OVERFLOW): Likewise.
56123         (FE_UNDERFLOW): Likewise.
56124         (FE_INEXACT): Likewise.
56125         (FE_TONEAREST): Likewise.
56126         (FE_DOWNWARD): Likewise.
56127         (FE_UPWARD): Likewise.
56128         (FE_TOWARDZERO): Likewise.
56130 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
56132         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
56134 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
56136         * scripts/cross-test-ssh.sh (command): Use newlines to separate
56137         commands.  Quote $PWD.
56138         (blacklist_exports): Don't use remove_newlines.  Replace "declare
56139         -x" by "export".
56140         (remove_newlines): Remove.
56142 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
56144         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
56145         * stdlib/stdlib.h (atof): Moved to ...
56146         * include/bits/stdlib-float.h: Here.  New file.
56147         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
56148         * stdlib/bits/stdlib-float.h: New file.
56149         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
56150         -mno-sse -mno-mmx.
56151         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
56152         <xmmintrin.h>.
56154 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56156         * conform/conformtest.pl (@headers): Add fenv.h.
56157         * conform/data/fenv.h-data: New file.
56158         * include/fenv.h [_ISOMAC]: Disable all contents of file except
56159         include of <math/fenv.h>.
56161         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
56162         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
56163         && !UNIX98].  Enables tests for XOPEN2K8.
56164         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
56165         POSIX2008]: Likewise.
56167         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
56168         (struct rusage): Do not expect type or its members.
56170         [BZ #3439]
56171         * math/math.h (FP_NAN): Define macro to integer constant usable in
56172         #if and use that to give value to enum constant.
56173         (FP_INFINITE): Likewise.
56174         (FP_ZERO): Likewise.
56175         (FP_SUBNORMAL): Likewise.
56176         (FP_NORMAL): Likewise.
56178 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
56180         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
56181         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
56182         arguments.
56184 2012-11-02  Roland McGrath  <roland@hack.frob.com>
56186         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
56187         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
56188         autoconf-time if not.
56189         * configure.in: Remove AC_PREREQ.
56191 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56193         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
56194         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
56195         of the internal implementation.
56197 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56199         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
56200         except include of <misc/sys/syslog.h>.
56202 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
56205         function returns with a NULL context exit with zero.
56207 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56209         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
56211 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
56213         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
56214         (run_program_cmd): This.
56215         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
56216         (tst_langinfo): New variable.  Use it.
56218 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
56220         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
56221         floating point opcodes.
56223 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56225         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
56226         variable.
56228         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
56230         * sysdeps/mach/hurd/powerpc: Remove directory.
56231         * sysdeps/mach/powerpc: Likewise.
56233 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56235         * scripts/check-local-headers.sh: Ignore c++ headers.
56237 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56239         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
56240         __libc_cleanup_region_start argument.
56242 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
56244         [BZ #14784]
56245         [BZ #14785]
56246         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
56247         x * y using scaling, not as x * y + z.
56248         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56249         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56250         * math/libm-test.inc (fma_test): Add more tests.
56251         (fma_test_towardzero): Likewise.
56252         (fma_test_downward): Likewise.
56253         (fma_test_upward): Likewise.
56255 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56257         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
56259 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56261         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
56262         New variable.
56264 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
56266         * rt/tst-shm.c (worker): Correct checking for mmap failure.
56268 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56271         Fix sort order.
56272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56273         Likewise.
56275 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56278         Fix the order of the list for glibc 2.17.
56279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56280         Likewise.
56282 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56284         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56286 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56288         [BZ #14610]
56289         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
56290         for low part of x being zero before using __atanl (y).
56291         * math/libm-test.inc (atan2_test): Add another test.
56293         * manual/install.texi (Configuring and compiling): Document
56294         general use of test-wrapper and test-wrapper-env.
56295         * INSTALL: Regenerated.
56297         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
56298         (__fma): Do not extract and scale down low bits on after-rounding
56299         systems when result rounded to normal precision would have normal
56300         exponent.
56301         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
56302         (__fmal): Do not extract and scale down low bits on after-rounding
56303         systems when result rounded to normal precision would have normal
56304         exponent.
56305         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
56306         (__fmal): Do not extract and scale down low bits on after-rounding
56307         systems when result rounded to normal precision would have normal
56308         exponent.
56309         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
56310         macro.
56311         (fma_test): Add more tests.
56312         (fma_test_towardzero): Likewise.
56313         (fma_test_downward): Likewise.
56314         (fma_test_upward): Likewise.
56316 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
56318         * sysdeps/i386/tininess.h: Renamed to ...
56319         * sysdeps/x86/tininess.h: This.
56320         * sysdeps/x86_64/tininess.h: Removed.
56322 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
56324         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
56325         input.  Use $(build-program-cmd).
56326         ($(objpfx)tst-array1-static.out): Likewise.
56327         ($(objpfx)tst-array2.out): Likewise.
56328         ($(objpfx)tst-array3.out): Likewise.
56329         ($(objpfx)tst-array4.out): Likewise.
56330         ($(objpfx)tst-array5.out): Likewise.
56331         ($(objpfx)tst-array5-static.out): Likewise.
56333 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
56335         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
56336         if defined.
56338         * nss/nsswitch.h (nss_interface_function): Provide new
56339         macro for use with NSS functions.
56340         * grp/initgroups.c: Use new macro.
56341         * nss/getXXbyYY.c: Likewise.
56342         * nss/getXXbyYY_r.c: Likewise.
56343         * nss/getXXent.c: Likewise.
56344         * nss/getXXent_r.c: Likewise.
56345         * sysdeps/posix/getaddrinfo.c: Likewise.
56347 2012-10-30  Andreas Jaeger  <aj@suse.de>
56349         * po/ru.po: Update Russion translation from translation project.
56351 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
56353         [BZ #14152]
56354         [BZ #14783]
56355         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
56356         result and shift together with sticky bit instead of replicating
56357         round-to-nearest rounding.
56358         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56359         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56360         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
56361         missing underflow exceptions.
56362         (fma_test_towardzero): Add more tests.
56363         (fma_test_downward): Likewise.
56364         (fma_test_upward): Likewise.
56366         [BZ #14047]
56367         * sysdeps/generic/tininess.h: New file.
56368         * sysdeps/i386/tininess.h: Likewise.
56369         * sysdeps/sh/tininess.h: Likewise.
56370         * sysdeps/x86_64/tininess.h: Likewise.
56371         * stdlib/tst-strtod-underflow.c: Likewise.
56372         * stdlib/tst-tininess.c: Likewise.
56373         * stdlib/strtod_l.c: Include <tininess.h>.
56374         (round_and_return): Do not set errno for exact underflow cases.
56375         Force an underflow exception when setting errno for underflow.
56376         Determine underflow based on rounding to normal precision if
56377         TININESS_AFTER_ROUNDING.
56378         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
56379         ERANGE for exact underflow cases.
56380         * stdlib/Makefile (tests): Add tst-tininess and
56381         tst-strtod-underflow.
56382         ($(objpfx)tst-tininess): Use $(link-libm).
56383         ($(objpfx)tst-strtod-underflow): Likewise.
56385 2012-10-30  Andreas Jaeger  <aj@suse.de>
56387         [BZ#14767]
56388         * elf/Makefile (tests): Remove conditional for have-initfini-array
56389         since this is now always required and the variable does not exist
56390         anymore.
56391         (tests-static): Likewise.
56392         (modules-names): Likewise.
56394         * po/eo.po: Add Esperanto translation from translation project.
56396         * elf/tst-array1.c (fini_array): Make writeable so that it can be
56397         merged with constructor/destructor.
56398         (init_array): Likewise.
56399         * elf/tst-array2dep.c (fini_array): Likewise.
56400         (init_array): Likewise.
56402 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
56404         * manual/message.texi: Delete @cartouche tags.
56406 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
56408         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
56409         EOPNOTSUPP.
56410         * sysdeps/mach/hurd/fsync.c: Likewise.
56412         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
56413         [_POSIX_REALTIME_SIGNALS]: Change condition to
56414         [_POSIX_REALTIME_SIGNALS > 0].
56416 2012-10-27  Andreas Jaeger  <aj@suse.de>
56418         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
56419         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
56420         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
56421         [__WORDSIZE != 64]: Likewise.
56423 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
56425         *  iconvdata/tst-table.sh: Remove ${SHELL}.
56426         *  iconvdata/tst-tables.sh: Likewise.
56428 2012-10-25  David S. Miller  <davem@davemloft.net>
56430         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56431         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
56432         of strtoull.
56434         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
56435         ifunc-impl-list.c
56436         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56437         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
56438         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
56439         file.
56441 2012-10-25  Roland McGrath  <roland@hack.frob.com>
56443         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56444         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
56445         __getdirentries.
56447 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
56448             Jim Blandy  <jimb@codesourcery.com>
56450         * scripts/cross-test-ssh.sh: New file.
56451         * manual/install.texi (Configuring and compiling): Document use of
56452         cross-test-ssh.sh.
56453         * INSTALL: Regenerated.
56455 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
56457         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
56458         EOPNOTSUPP.
56460 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
56462         * Makeconfig (run-program-prefix): Fix comment.
56464 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
56465             Jim Blandy  <jimb@codesourcery.com>
56467         * Makeconfig (test-wrapper): New variable,
56468         (test-wrapper-env): Likewise.
56469         [$(cross-compiling) = yes && $(test-wrapper) != ""]
56470         (run-built-tests): Define to yes.
56471         (run-program-prefix): Use $(test-wrapper).
56472         (built-program-cmd): Likewise.
56473         * Rules (make-test-out): Use $(test-wrapper-env) and
56474         $(host-built-program-cmd).
56475         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
56476         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
56477         tst-pathopt.sh.
56478         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
56479         $(test-wrapper-env) to tst-rtld-load-self.sh.
56480         ($(objpfx)order2.out): Use $(test-wrapper).
56481         ($(objpfx)tst-initorder.out): Likewise.
56482         ($(objpfx)tst-initorder2.out): Likewise.
56483         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
56484         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
56485         (test_wrapper_env): New variable.  Use it to run ld.so.
56486         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
56487         Use it to run ld.so.
56488         (test_wrapper_env): Likewise.
56489         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
56490         $(test-wrapper) to run-iconv-test.sh.
56491         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
56492         (ICONV): Use $test_wrapper.
56493         * posix/Makefile ($(objpfx)globtest.out): Pass
56494         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
56495         globtest.sh, not $(run-program-prefix).
56496         * posix/globtest.sh (run_via_rtld_prefix): New variable.
56497         (test_wrapper): Likewise.
56498         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
56499         set together with run_via_rtld_prefix.
56500         (run_program_prefix): Define in terms of test_wrapper and
56501         run_via_rtld_prefix.
56503 2012-10-24  Roland McGrath  <roland@hack.frob.com>
56505         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
56506         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
56507         Targets removed.
56509         [BZ #14743]
56510         * include/time.h: Remove librt_hidden_proto (clock_gettime).
56511         Declare __clock_getres, __clock_gettime, __clock_settime,
56512         __clock_nanosleep, and __clock_getcpuclockid.
56513         * rt/clock_gettime.c: Define __clock_gettime as an alias.
56514         Remove librt_hidden_def (clock_gettime).
56515         * sysdeps/unix/clock_gettime.c: Likewise.
56516         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
56517         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
56518         * rt/clock_getres.c: Define __clock_getres as an alias.
56519         * sysdeps/posix/clock_getres.c: Likewise.
56520         * rt/clock_settime.c: Define __clock_settime as an alias.
56521         * sysdeps/unix/clock_settime.c: Likewise.
56522         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
56523         * sysdeps/unix/clock_nanosleep.c: Likewise.
56524         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
56525         * rt/clock-compat.c: New file.
56526         * rt/Makefile (librt-routines): Add clock-compat and move
56527         $(clock-routines) to ...
56528         (routines): ... here, new variable.
56529         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
56530         Don't add get_clockfreq here.
56531         * rt/Versions (libc: GLIBC_2.17): New version set.
56532         Add clock_* symbols here.
56533         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
56534         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
56535         (GLIBC_2.17): Add clock_* symbols.
56536         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
56537         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
56538         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56540         Likewise.
56541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56542         Likewise.
56543         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56544         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
56545         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
56546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
56547         * NEWS: Mention the move.
56549         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
56550         Use __open, __read, __close rather than their public counterparts.
56551         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56552         (__get_clockfreq_via_cpuinfo): Likewise.
56553         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
56554         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
56556         * config.h.in (HAVE_IFUNC): New #undef.
56557         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
56558         was successful.
56559         * configure: Regenerated.
56561 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
56563         * configure.in: Move READELF check to start of file.
56564         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
56565         libc_cv_asm_gnu_indirect_function in the process.
56566         * configure: Regenerated.
56568 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
56570         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
56571         send the output to /dev/null.
56572         (libc_cv_cc_with_libunwind): Likewise.
56573         (libc_cv_as_noexecstack): Likewise.
56574         * configure: Regenerate.
56576 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
56578         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
56580         * posix/globtest.sh (TMPDIR): Do not set.
56581         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
56582         (testout): Likewise.
56584 2012-10-24  Andreas Jaeger  <aj@suse.de>
56586         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
56587         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
56588         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
56589         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
56590         posix_fadvise64, posix_fallocate64.
56592         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
56593         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
56594         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
56595         Likewise.
56596         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
56597         Likewise.
56598         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
56600         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
56601         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
56602         <bits/fcntl-linux.h>.
56603         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
56605         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
56606         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
56607         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
56608         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
56609         [__WORDSIZE != 64]: Likewise.
56611 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
56613         * Makeconfig (run-built-tests): New variable.
56614         * Rules [$(cross-compiling) = yes]: Change condition to
56615         [$(run-built-tests) = no].
56616         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
56617         to [$(run-built-tests) = yes].
56618         * elf/Makefile [$(cross-compiling) = no]: Likewise.
56619         * grp/Makefile [$(cross-compiling) = no]: Likewise.
56620         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
56621         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
56622         * intl/Makefile [$(cross-compiling) = no]: Likewise.
56623         * io/Makefile [$(cross-compiling) = no]: Likewise.
56624         * libio/Makefile [$(cross-compiling) = no]: Likewise.
56625         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
56626         * misc/Makefile [$(cross-compiling) = no]: Likewise.
56627         * posix/Makefile [$(cross-compiling) = no]: Likewise.
56628         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
56629         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
56630         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
56631         * string/Makefile [$(cross-compiling) = no]: Likewise.
56633         * posix/Makefile ($(objpfx)globtest.out): Pass
56634         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
56635         $(rtld-installed-name).
56636         * posix/globtest.sh (elf_objpfx): Remove variable.
56637         (rtld_installed_name): Likewise.
56638         (library_path): Likewise.
56639         (run_program_prefix): New variable.  Use for running globtest
56640         binary.
56642 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
56643             Joseph Myers  <joseph@codesourcery.com>
56645         * Makeconfig (host-built-program-cmd): New variable.
56646         * elf/Makefile (tst-stackguard1-ARGS): Use
56647         $(host-built-program-cmd).
56648         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
56649         (tst-spawn-ARGS): Likewise.
56650         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
56652 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
56653             Jim Blandy  <jimb@codesourcery.com>
56655         * Makeconfig (run-via-rtld-prefix): New variable.
56656         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
56657         (built-program-cmd): Likewise.
56659 2012-10-22  Andreas Jaeger  <aj@suse.de>
56661         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
56662         __O_RSYNC if it exists, otherwise to O_SYNC.
56664 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
56665             Joseph Myers  <joseph@codesourcery.com>
56667         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
56668         /dev/null.
56669         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
56670         from /dev/null
56671         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
56672         /dev/null.
56674 2012-10-22  Andreas Jaeger  <aj@suse.de>
56676         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
56677         Define always.
56678         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
56680         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56681         bits/fcntl-linux.h.
56683         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
56684         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
56686         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
56687         to __O_LARGEFILE.
56688         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
56689         to __O_LARGEFILE.
56691 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
56692             Joseph Myers  <joseph@codesourcery.com>
56694         * config.make.in (NM): New variable.
56696 2012-10-21  Andreas Jaeger  <aj@suse.de>
56698         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
56699         definitions and declarations that are provided by
56700         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
56702 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
56704         [BZ #14683]
56705         * elf/Makefile (tests-static): Add tst-leaks1-static.
56706         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
56707         ($(objpfx)tst-leaks1-static): New rule.
56708         ($(objpfx)tst-leaks1-static-mem): Likewise.
56709         (tst-leaks1-static-ENV): New macro.
56710         * elf/dl-open.c (dl_open_worker): Check the main application
56711         only if SHARED is defined.
56712         * elf/tst-leaks1-static.c: New file.
56714 2012-10-20  Andreas Jaeger  <aj@suse.de>
56716         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
56717         generic values for Linux.
56718         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
56719         and declarations that are provided by <bits/fcntl-linux.h> and
56720         include <bits/fcntl-linux.h>.
56721         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56722         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56724 2012-10-20  Roland McGrath  <roland@hack.frob.com>
56726         * io/fcntl.h: Move include of <bits/types.h> to the top and
56727         include it unconditionally.
56729 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
56731         * wcsmbs/Makefile (tests-ifunc): New variable.
56732         (tests): Add $(tests-ifunc).
56733         * wcsmbs/test-wcschr-ifunc.c: New file.
56734         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
56735         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
56736         * wcsmbs/test-wcslen-ifunc.c: Likewise.
56737         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
56738         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
56740         * string/Makefile (tests-ifunc): New variable.
56741         (tests): Add $(tests-ifunc).
56742         * string/test-memccpy.c (TEST_NAME): New macro.
56743         * string/test-memchr.c (TEST_NAME): Likewise.
56744         * string/test-memcmp.c (TEST_NAME): Likewise.
56745         * string/test-memcpy.c (TEST_NAME): Likewise.
56746         * string/test-memmem.c (TEST_NAME): Likewise.
56747         * string/test-memmove.c (TEST_NAME): Likewise.
56748         * string/test-memset.c (TEST_NAME): Likewise.
56749         * string/test-rawmemchr.c (TEST_NAME): Likewise.
56750         * string/test-stpcpy.c (TEST_NAME): Likewise.
56751         * string/test-stpncpy.c (TEST_NAME): Likewise.
56752         * string/test-strcasecmp.c (TEST_NAME): Likewise.
56753         * string/test-strcasestr.c (TEST_NAME): Likewise.
56754         * string/test-strcat.c (TEST_NAME): Likewise.
56755         * string/test-strchr.c (TEST_NAME): Likewise.
56756         * string/test-strcmp.c(TEST_NAME): Likewise.
56757         * string/test-strcpy.c (TEST_NAME): Likewise.
56758         * string/test-strcspn.c (TEST_NAME): Likewise.
56759         * string/test-strlen.c (TEST_NAME): Likewise.
56760         * string/test-strncasecmp.c (TEST_NAME): Likewise.
56761         * string/test-strncmp.c (TEST_NAME): Likewise.
56762         * string/test-strncpy.c (TEST_NAME): Likewise.
56763         * string/test-strnlen.c (TEST_NAME): Likewise.
56764         * string/test-strpbrk.c (TEST_NAME): Likewise.
56765         * string/test-strrchr.c (TEST_NAME): Likewise.
56766         * string/test-strspn.c (TEST_NAME): Likewise.
56767         * string/test-strstr.c (TEST_NAME): Likewise.
56768         * string/test-bcopy-ifunc.c: New file.
56769         * string/test-bzero-ifunc.c: Likewise.
56770         * string/test-memccpy-ifunc.c: Likewise.
56771         * string/test-memchr-ifunc.c: Likewise.
56772         * string/test-memcmp-ifunc.c: Likewise.
56773         * string/test-memcpy-ifunc.c: Likewise.
56774         * string/test-memmem-ifunc.c: Likewise.
56775         * string/test-memmove-ifunc.c: Likewise.
56776         * string/test-mempcpy-ifunc.c: Likewise.
56777         * string/test-memset-ifunc.c: Likewise.
56778         * string/test-rawmemchr-ifunc.c: Likewise.
56779         * string/test-stpcpy-ifunc.c: Likewise.
56780         * string/test-stpncpy-ifunc.c: Likewise.
56781         * string/test-strcasecmp-ifunc.c: Likewise.
56782         * string/test-strcasestr-ifunc.c: Likewise.
56783         * string/test-strcat-ifunc.c: Likewise.
56784         * string/test-strchr-ifunc.c: Likewise.
56785         * string/test-strchrnul-ifunc.c: Likewise.
56786         * string/test-strcmp-ifunc.c: Likewise.
56787         * string/test-strcpy-ifunc.c: Likewise.
56788         * string/test-strcspn-ifunc.c: Likewise.
56789         * string/test-strlen-ifunc.c: Likewise.
56790         * string/test-strncasecmp-ifunc.c: Likewise.
56791         * string/test-strncat-ifunc.c: Likewise.
56792         * string/test-strncmp-ifunc.c: Likewise.
56793         * string/test-strncpy-ifunc.c: Likewise.
56794         * string/test-strnlen-ifunc.c: Likewise.
56795         * string/test-strpbrk-ifunc.c: Likewise.
56796         * string/test-strrchr-ifunc.c: Likewise.
56797         * string/test-strspn-ifunc.c: Likewise.
56798         * string/test-strstr-ifunc.c: Likewise.
56800         * debug/Makefile (tests-ifunc): New variable.
56801         (tests): Add $(tests-ifunc).
56802         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
56803         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
56804         * debug/test-stpcpy_chk-ifunc.c: New file.
56805         * debug/test-strcpy_chk-ifunc.c: Likewise.
56807 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56809         [BZ #13601]
56810         * elf/dl-load.c (open_verify): Retry read if the entire ELF
56811         header is not read in.
56813 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
56815         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
56816         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
56817         directly.  Pass built executable to script as
56818         $(built-program-cmd).
56819         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
56820         $testprogram without using LD_LIBRARY_PATH and $ldso.
56822         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
56823         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
56824         $(rtld-installed-name).
56825         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
56826         (rtld_installed_name): Likewise.
56827         (library_path): Likewise.
56828         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
56829         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
56830         $(run-program-prefix) to tst-tables.sh.
56831         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
56832         it to run tst-table-from and tst-table-to.
56833         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
56834         Pass it to tst-table.sh.
56835         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
56836         $(run-program-prefix) to tst-gettext.sh.
56837         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
56838         tst-translit.sh.
56839         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
56840         tst-gettext2.sh.
56841         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
56842         to run tst-gettext.
56843         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
56844         to run tst-gettext2.
56845         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
56846         to run tst-translit.
56847         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
56848         $(run-program-prefix) to tst-mtrace.sh.
56849         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
56850         to run tst-mtrace.
56851         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
56852         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
56853         $(rtld-installed-name).
56854         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
56855         (rtld_installed_name): Likewise.
56856         (run_program_prefix): New variable.  Use it to run wordexp-test.
56858         * Makeconfig (ARCH): Remove all definitions.
56859         (machine): Likewise.
56860         [ARCH]: Remove conditional code.
56861         [!objdir]: Give error.
56862         [!objdir] (objpfx): Remove.
56863         [!objdir] (common-objpfx): Likewise.
56864         [!objdir] (common-objdir): Likewise.
56865         * configure.in (config_makefile): Remove.  Hardcode Makefile in
56866         AC_CONFIG_FILES call.
56867         * configure: Regenerated.
56869         [BZ #13888]
56870         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
56871         or TMPDIR.
56872         (testout): Likewise.
56874         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
56875         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
56876         $(rtld-installed-name).
56877         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
56878         (rtld_installed_name): Likwise.
56879         (runit): Remove function.
56880         (run_getconf): New variable,  Use it for running getconf binary.
56882 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
56884         [BZ #14716]
56885         * string/test-memmem.c (check_result): New function.
56886         (do_one_test): Use it.
56887         (check1): New function.
56888         (test_main): Use it.
56890 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
56892         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
56894 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
56896         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
56897         (_G_LSEEK64): Likewise.
56898         (_G_MMAP64): Likewise.
56899         (_G_FSTAT64): Likewise.
56900         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
56901         (_G_LSEEK64): Likewise.
56902         (_G_MMAP64): Likewise.
56903         (_G_FSTAT64): Likewise.
56904         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
56905         unconditional.  Call __mmap64 directly.
56906         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
56907         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
56908         __lseek64 directly.
56909         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
56910         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
56911         __mmap64 directly.
56912         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
56913         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
56914         __lseek64 directly.
56915         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
56916         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
56917         __lseek64 directly.
56918         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
56919         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
56920         __lseek64 directly.
56921         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
56922         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
56923         __fxstat64 directly.
56924         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
56925         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
56926         unconditional.
56927         (freopen64) [!_G_OPEN64]: Remove conditional code.
56928         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
56929         unconditional.
56930         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
56931         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
56932         unconditional.
56933         (ftello64) [!_G_LSEEK64]: Remove conditional code.
56934         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
56935         unconditional.
56936         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
56937         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
56938         unconditional.
56939         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
56940         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
56941         unconditional.
56942         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
56943         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
56944         unconditional.
56945         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
56946         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
56947         unconditional.
56948         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
56950 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56952         [BZ #12140]
56953         * manual/memory.texi (Malloc Tunable Parameters): Add note
56954         about free list pointers overwriting some perturb bytes.
56955         Wording suggested by Roland McGrath.
56957 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
56959         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
56960         (lgamma_test): Likewise.
56961         (tgamma_test): Likewise.
56963 2012-10-16  Florian Weimer  <fweimer@redhat.com>
56965         [BZ #14700]
56966         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
56967         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
56969 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
56971         * NEWS: Mention BZ #14716.
56972         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
56973         when removing AVAILABLE1_USES_J macro.
56975 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
56977         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
56978         (__bswap_64): __uint64_t for unsigned 64-bit int.
56980 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
56982         * include/string.h (memmem): Declare libc hidden alias.
56983         * string/memmem.c (memmem): Define libc hidden alias.
56984         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
56985         __read, __close instead of open, read, close.
56987 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
56989         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
56990         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
56991         global and hidden.
56992         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
56993         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
56994         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
56995         Likewise.
56996         (__rawmemchr_sse2): Likewise.
56997         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
56998         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
56999         (__strchr_sse2): Likewise.
57000         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
57001         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
57002         (__strcasecmp_sse2): Likewise.
57003         (__strncasecmp_sse2): Likewise.
57004         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
57005         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
57006         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
57007         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
57008         (__strrchr_sse2): Likewise.
57009         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
57010         ifunc-impl-list.c.
57011         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
57012         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
57013         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
57014         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57015         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
57016         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
57017         * sysdeps/x86_64/multiarch/memset.S: Likewise.
57018         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
57019         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
57020         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
57021         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
57022         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
57023         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
57024         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
57025         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
57026         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57027         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
57028         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
57029         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
57030         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
57031         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
57032         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
57033         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
57034         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
57035         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
57036         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57037         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
57038         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57039         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
57040         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
57042         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
57043         global and hidden.
57044         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
57045         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
57046         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
57047         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
57048         Likewise.
57049         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
57050         Likewise.
57051         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
57052         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
57053         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
57054         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
57055         ifunc-impl-list.c.
57056         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57057         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57058         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57059         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57060         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57061         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57062         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57063         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57064         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57065         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57066         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57067         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57068         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57069         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
57070         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
57071         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57072         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
57073         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
57074         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57075         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57076         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57077         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57078         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57079         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57080         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57081         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
57082         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
57083         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
57084         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
57085         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57086         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
57087         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57088         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57089         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
57090         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57091         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57092         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57093         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57094         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57095         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57096         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
57098         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
57099         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
57100         * include/ifunc-impl-list.h: New file.
57101         * misc/ifunc-impl-list.c: Likewise.
57102         * misc/Makefile (routines): Add ifunc-impl-list.
57103         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
57104         * string/test-string.h: Include <ifunc-impl-list.h>.
57105         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
57106         TEST_NAME]: New variables.
57107         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
57108         are defined.
57109         (test_init): Call __libc_ifunc_impl_list to initialize
57110         func_list if TEST_IFUNC and TEST_NAME are defined.
57112         * string/Makefile (strop-tests): Add bcopy and bzero.
57113         * string/test-bcopy.c: New file.
57114         * string/test-bzero.c: Likewise.
57115         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
57116         defined.
57117         * string/test-memset.c: Support bzero test if TEST_BZERO is
57118         defined.
57119         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
57120         __libc_memmove.
57121         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
57122         __libc_memset.
57123         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
57124         of memset.
57126 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
57128         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
57129         * configure: Regenerated.
57131         * Makeconfig (+link-static-before-libc): Don't include
57132         $(link-static-libc).
57134         * libio/libio.h (_IO_pos_t): Remove.
57136 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57138         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
57139         McGrath.
57141 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57143         * crypt/crypt-entry.c: Include fips-private.h.
57144         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
57145         * crypt/md5c-test.c (main): Tolerate disabled MD5.
57146         * sysdeps/unix/sysv/linux/fips-private.h: New file.
57147         * sysdeps/generic/fips-private.h: New file, dummy fallback.
57149 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57151         * crypt/crypt-private.h: Include stdbool.h.
57152         (_ufc_setup_salt_r): Return bool.
57153         * crypt/crypt-entry.c: Include errno.h.
57154         (__crypt_r): Return NULL with EINVAL for bad salt.
57155         * crypt/crypt_util.c (bad_for_salt): New.
57156         (_ufc_setup_salt_r): Check that salt is long enough and within
57157         the specified alphabet.
57158         * crypt/badsalttest.c: New file.
57159         * crypt/Makefile (tests): Add it.
57160         ($(objpfx)badsalttest): New.
57162 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
57164         * NEWS: Add entry for BZ #14602.
57166 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57168         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
57169         type-generic.
57170         * math/libm-test.inc: Update comment listing what functions and
57171         macros are tested.
57172         (isgreater_test): New function.
57173         (isgreaterequal_test): Likewise.
57174         (isless_test): Likewise.
57175         (islessequal_test): Likewise.
57176         (islessgreater_test): Likewise.
57177         (isunordered_test): Likewise.
57178         (main): Call the new functions.
57180 2012-10-09  Roland McGrath  <roland@hack.frob.com>
57182         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
57183         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
57184         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
57185         * sysdeps/i386/configure: Regenerated.
57186         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
57187         * sysdeps/mach/configure: Regenerated.
57188         * sysdeps/mach/hurd/configure: Regenerated.
57189         * sysdeps/powerpc/configure: Regenerated.
57190         * sysdeps/powerpc/powerpc32/configure: Regenerated.
57191         * sysdeps/powerpc/powerpc64/configure: Regenerated.
57192         * sysdeps/s390/s390-32/configure: Regenerated.
57193         * sysdeps/s390/s390-64/configure: Regenerated.
57194         * sysdeps/sh/configure: Regenerated.
57195         * sysdeps/sparc/configure: Regenerated.
57196         * sysdeps/unix/sysv/linux/configure: Regenerated.
57197         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
57198         * sysdeps/x86_64/configure: Regenerated.
57200         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
57201         defined.  Don't check if MAP is NULL.
57203 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57205         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
57206         (_G_stat64): Likewise.
57207         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
57208         (_G_stat64): Likewise.
57209         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
57210         instead of struct _G_stat64.
57211         * libio/fileops.c (mmap_remap_check): Likewise.
57212         (decide_maybe_mmap): Likewise.
57213         (_IO_new_file_seekoff): Likewise.
57214         (_IO_file_stat): Likewise.
57215         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
57216         _G_off64_t.
57217         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
57218         instead of struct _G_stat64.
57219         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57221 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
57223         [BZ #14602]
57224         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57225         Replace with ...
57226         (CHECK_EOL): New macro.
57227         (two_way_short_needle): Check beginning of haystack for EOL.  Use
57228         CHECK_EOL.
57229         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57230         Replace with CHECK_EOL.
57231         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57232         Replace with CHECK_EOL.
57234 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
57236         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
57237         type-generic.
57238         * math/libm-test.inc: Update comment listing what functions and
57239         macros are tested.
57240         (finite_test): New function.
57241         (isinf_test): Likewise.
57242         (isnan_test): Likewise.
57243         (fpclassify_test): Test subnormal input.
57244         (isfinite_test): Likewise.
57245         (isnormal_test): Likewise.
57246         (main): Call the new functions.
57248 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
57250         [BZ #14660]
57251         * Makerules (%.dynsym): Force C locale when running
57252         $(OBJDUMP) --dynamic-syms.
57254 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
57256         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
57257         <stdint.h>.
57259 2012-10-06  David S. Miller  <davem@davemloft.net>
57261         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
57262         upper 32-bits of the length value in %o2 since we use branch-on-register
57263         tests which consider the entire 64-bit register.
57265 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
57267         * string/test-strstr.c (check2): Add a test for page boundary.
57269 2012-10-05  David S. Miller  <davem@davemloft.net>
57271         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
57272         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
57273         file.
57274         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57275         sysdep_routines.
57276         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57277         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
57278         and bzero when HWCAP_SPARC_CRYPTO is present.
57280 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
57282         [BZ #14602]
57283         * string/test-strstr.c (check2): New function.
57284         (test_main): Call check2.
57286         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
57287         and bug-strchr1.
57288         * string/bug-strcasestr1.c (do_test): Moved to ...
57289         * string/test-strcasestr.c (check1): Here.  New function.
57290         (do_one_test): Break out result checking code into ...
57291         (check_result): This.  New function.
57292         (do_one_test): Call check_result.
57293         (test_main): Call check1.
57294         * string/bug-strchr1.c (do_test): Moved to ...
57295         * string/test-strchr.c (check1): Here.  New function.
57296         (do_one_test): Break out result checking code into ...
57297         (check_result): This.  New function.
57298         (do_one_test): Call check_result.
57299         (test_main): Call check1.
57300         * string/bug-strstr1.c (main): Moved to ...
57301         * string/test-strstr.c (check1): Here.  New function.
57302         (do_one_test): Break out result checking code into ...
57303         (check_result): This.  New function.
57304         (do_one_test): Call check_result.
57305         (test_main): Call check1.
57306         * string/bug-strcasestr1.c: Removed.
57307         * string/bug-strchr1.c: Likewise.
57308         * string/bug-strstr1.c: Likewise.
57310         * elf/Makefile (dl-routines): Add hwcaps.
57311         * elf/dl-support.c (_dl_important_hwcaps): Removed.
57312         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
57313         (_dl_important_hwcaps): Moved to ...
57314         * elf/dl-hwcaps.c: Here.  New file.
57315         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
57317         [BZ #14557]
57318         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
57319         if IS_IN_rtld isn't defined.
57321         * elf/dl-support.c (_dl_sysinfo_map): New.
57322         Include "get-dynamic-info.h" and "setup-vdso.h".
57323         (_dl_non_dynamic_init): Call setup_vdso.
57324         * elf/dynamic-link.h: Don't include <assert.h>.
57325         (elf_get_dynamic_info): Moved to ...
57326         * elf/get-dynamic-info.h: Here.  New file.
57327         * elf/dynamic-link.h: Include "get-dynamic-info.h".
57328         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
57329         * elf/setup-vdso.h: Here.  New file.
57330         * elf/rtld.c: Include "setup-vdso.h".
57331         (dl_main): Call setup_vdso.
57333 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
57335         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
57336         creal in comment listing functions tested.  List finite, isinf,
57337         isnan, isless, islessequal, isgreater, isgreaterequal,
57338         islessgreater, isunordered, lgamma_r and pow10 as functions and
57339         macros not tested.  Mention which functions not tested are aliases
57340         for other functions.  Fix typo.  Note that signs of NaNs are not
57341         tested.
57343         * scripts/config.guess: Update from config.git.
57344         * scripts/config.sub: Likewise.
57346 2012-10-04  Roland McGrath  <roland@hack.frob.com>
57348         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
57349         * misc/madvise.c (madvise): Renamed to __madvise.
57350         Make madvise a weak alias.
57351         * include/sys/mman.h: Declare __madvise.
57352         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
57353         * sysdeps/unix/syscalls.list
57354         (madvise): Make __madvise the strong name, and madvise a weak alias.
57355         * sysdeps/unix/sysv/linux/syscalls.list
57356         (madvise, mmap): Remove redundant entries.
57357         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
57358         * malloc/malloc.c (mtrim): Likewise.
57359         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
57361 2012-10-03  Roland McGrath  <roland@hack.frob.com>
57363         * sysdeps/mach/hurd/dl-cache.c: File removed.
57364         * config.h.in (USE_LDCONFIG): New #undef.
57365         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
57366         * configure: Regenerated.
57367         * elf/Makefile (dl-routines): Add dl-cache only under
57368         [$(use-ldconfig) = yes].
57369         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
57370         cache on [USE_LDCONFIG].
57371         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
57372         [USE_LDCONFIG].
57373         * elf/rtld.c (dl_main): Likewise.
57375 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
57377         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
57378         _SC_LEVEL4_CACHE_LINESIZE.
57380 2012-10-03  Roland McGrath  <roland@hack.frob.com>
57382         * sysdeps/unix/bsd/confstr.h: File removed.
57384 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
57386         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
57387         sys/sdt-config.h.
57389 2012-10-02  Roland McGrath  <roland@hack.frob.com>
57391         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
57392         Make 'mapoff' field ElfW(Off) rather than off_t.
57394 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
57396         * nscd/Makefile: Remove nscd-cflags and all its users.
57397         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
57398         (CFLAGS-nonlib): Add compiler flags for nscd modules.
57400         [BZ #10631]
57401         * malloc.c (malloc_printerr): Clarify error message.
57403 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
57405         [BZ #14648]
57406         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57407         Set bit_FMA_Usable if FMA is supported.
57408         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
57409         macro.
57410         (bit_FMA4_Usable): Updated.
57411         (index_FMA_Usable): New macro.
57412         (CPUID_FMA): Likewise.
57413         (HAS_FMA): Defined with bit_FMA_Usable.
57415 2012-10-01  Roland McGrath  <roland@hack.frob.com>
57417         * bits/types.h (__swblk_t): Type removed.
57418         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
57419         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
57420         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57421         (__SWBLK_T_TYPE): Likewise.
57422         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57423         (__SWBLK_T_TYPE): Likewise.
57424         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57425         (__SWBLK_T_TYPE): Likewise.
57426         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57427         (__SWBLK_T_TYPE): Likewise.
57429 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
57430             Honza Horak <hhorak@redhat.com>
57432         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
57433         (xdr_mapname): Use YPMAXMAP as maxsize.
57434         (xdr_peername): Use YPMAXPEER as maxsize.
57435         (xdr_keydat): Use YPAXRECORD as maxsize.
57436         (xdr_valdat): Use YPMAXRECORD as maxsize.
57438 2012-10-01  Roland McGrath  <roland@hack.frob.com>
57440         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
57442         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
57443         * csu/init-first.c: ... here.
57444         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
57445         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
57446         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
57447         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
57448         * sysdeps/i386/init-first.c: File removed.
57449         * sysdeps/sh/init-first.c: File removed.
57451 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
57453         [BZ #14645]
57454         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
57455         if x * y might underflow to zero and z is zero.
57456         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57457         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57458         * math/libm-test.inc (min_subnorm_value): New variable.
57459         (fma_test): Add more tests.
57460         (fma_test_towardzero): Likewise.
57461         (fma_test_downward): Likewise.
57462         (fma_test_upward): Likewise.
57463         (initialize): Set min_subnorm_value.
57465 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
57467         [BZ #14638]
57468         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
57469         0 + 0.
57470         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
57471         mode for addition resulting in exact zero.
57472         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
57473         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
57474         exact 0 + 0.
57475         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57476         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57477         * math/libm-test.inc (fma_test): Add more tests.
57478         (fma_test_towardzero): New function.
57479         (fma_test_downward): Likewise.
57480         (fma_test_upward): Likewise.
57481         (main): Call the new functions.
57483 2012-09-28  David S. Miller  <davem@davemloft.net>
57485         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
57487 2012-09-28  Roland McGrath  <roland@hack.frob.com>
57489         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
57490         instead of SIGALRM.
57492         * sysdeps/gnu/_G_config.h: Moved to ...
57493         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
57494         * sysdeps/mach/hurd/_G_config.h: Moved to ...
57495         * sysdeps/generic/_G_config.h: ... here.
57497         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
57499         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
57501         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
57502         Conditionalize target on [libnss_test1.so-version].
57504         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
57506         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
57507         (elfobjdir): Move out of conditionals.
57509         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
57510         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
57511         (__nss_lookup_function): Conditionalize label remove_from_tree on
57512         [!DO_STATIC_NSS || SHARED], matching its only use.
57514 2012-09-28  David S. Miller  <davem@davemloft.net>
57516         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
57517         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
57518         file.
57519         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57520         sysdep_routines.
57521         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57522         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
57523         when HWCAP_SPARC_CRYPTO is present.
57525 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57527         * io/tst-mknodat.c: Create a FIFO instead of a socket.
57529 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
57531         [BZ #6530]
57532         * stdio-common/vfprintf.c (process_string_arg): Revert
57533         2000-07-22 change.
57535 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
57537         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
57538         for testcase.
57539         * stdio-common/tst-sprintf.c: Include <locale.h>
57540         (main): Test sprintf's handling of incomplete multibyte
57541         characters.
57543 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
57545         * elf/dl-runtime.c (VERSYMIDX): Removed.
57546         * elf/dl-version.c (VERSYMIDX): Likewise.
57547         * elf/do-rel.h (VERSYMIDX): Likewise.
57548         (VALIDX): Likewise.
57549         * elf/dynamic-link.h (VERSYMIDX): Likewise.
57550         * elf/rtld.c (VALIDX): Likewise.
57551         (ADDRIDX): Likewise.
57552         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
57553         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
57554         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
57555         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
57556         (VALIDX): Likewise.
57557         (ADDRIDX): Likewise.
57559 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57561         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
57563 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
57565         [BZ #11438]
57566         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
57567         to global scope.
57568         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
57569         addresses are in the same scope as 192.0.2/24.
57570         * posix/gai.conf: Document new scope table defaults.
57572 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57574         [BZ #5298]
57575         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
57576         for ftell.  Compute offsets from write pointers instead.
57577         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57579 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57581         [BZ #14543]
57582         * libio/Makefile (tests): New test case tst-fseek.
57583         * libio/tst-fseek.c: New test case to verify that fseek/ftell
57584         combination works in wide mode.
57585         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
57586         state when the external buffer state changes.
57588 2012-09-27  David S. Miller  <davem@davemloft.net>
57590         [BZ #14376]
57591         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
57592         pass reloc->r_addend in as the 'high' argument to
57593         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
57595         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57597 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57599         * rt/tst-aio2.c: Include <pthread.h>.
57600         * rt/tst-aio3.c: Likewise.
57602 2012-09-27  Steve Ellcey  <sellcey@mips.com>
57604         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
57606 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
57608         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
57609         contents on [SHARED].
57611 2012-09-26  Marek Polacek  <polacek@redhat.com>
57613         [BZ #14530]
57614         [BZ #13741]
57615         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
57616         for C++ and GCC <4.3 as well as for non GCC compilers.
57618 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
57620         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57622 2012-09-25  Roland McGrath  <roland@hack.frob.com>
57624         * Makefile.in (all, install): Declare with .PHONY.
57625         Reported by Michael Hope <michael.hope@linaro.org>.
57627 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57629         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
57630         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
57631         system header.
57632         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
57633         Likewise.
57634         (sydep_routines): Add the new and the internal functions.
57635         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
57636         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
57637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
57638         (GLIBC_2.17): Add the new function.
57639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
57640         (GLIBC_2.17): Likewise.
57641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
57642         (GLIBC_2.17): Likewise.
57643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
57644         (GLIBC_2.17): Likewise.
57645         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
57647 2012-09-25  Alan Modra  <amodra@gmail.com>
57649         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
57650         Add release barrier before setting once_control to say
57651         initialisation is done.  Add hints on lwarx.  Use macro in
57652         place of isync.
57653         (clear_once_control): Add release barrier.
57655 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
57657         [BZ #13629]
57658         * math/s_clog.c (__clog): Handle more values close to |z| = 1
57659         specially.
57660         * math/s_clog10.c (__clog10): Likewise.
57661         * math/s_clog10f.c (__clog10f): Likewise.
57662         * math/s_clog10l.c (__clog10l): Likewise.
57663         * math/s_clogf.c (__clogf): Likewise.
57664         * math/s_clogl.c (__clogl): Likewise.
57665         * math/Makefile (libm-calls): Add x2y2m1.
57666         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
57667         (__x2y2m1): Likewise.
57668         (__x2y2m1l): Likewise.
57669         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
57670         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
57671         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
57672         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
57673         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
57674         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
57675         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
57676         * sysdeps/i386/fpu/libm-test-ulps: Update.
57677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57679         [BZ #14621]
57680         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
57681         int as type of variable DEPTH.
57682         (glob): Use size_t instead of int as type of variables NEWCOUNT
57683         and OLD_PATHC.
57685 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57687         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
57688         Add s_sincosf-sse2.
57689         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
57690         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
57691         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
57692         macros for using routine as __sincosf_ia32.
57693         Use macro for function declaration and weak_alias.
57694         * sysdeps/i386/fpu/libm-test-ulps: Update.
57696         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
57697         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57699         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
57700         subnormal argument.
57701         * math/s_cexpf.c (__cexpf): Likewise.
57702         * math/s_csinf.c (__csinf): Likewise.
57703         * math/s_csinhf.c (__csinhf): Likewise.
57704         * math/s_ctanf.c (__ctanf): Likewise.
57705         * math/s_ctanhf.c (__ctanhf): Likewise.
57706         * math/s_ccosh.c (__ccoshf): Likewise.
57707         * math/s_cexp.c (__cexpl): Likewise.
57708         * math/s_csin.c (__csin): Likewise.
57709         * math/s_csinh.c (__csinh): Likewise.
57710         * math/s_ctan.c (__ctan): Likewise.
57711         * math/s_ctanh.c (ctanh): Likewise.
57712         * math/s_ccoshl.c (__ccoshl): Likewise.
57713         * math/s_cexpl.c (__cexpl): Likewise.
57714         * math/s_csinl.c (__csinl): Likewise.
57715         * math/s_csinhl.c (__csinhl): Likewise.
57716         * math/s_ctanl.c (__ctanl): Likewise.
57717         * math/s_ctanhl.c (__ctanhl): Likewise.
57719 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
57721         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
57722         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
57723         (_IO_off_t): Define to __off_t, not _G_off_t.
57724         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
57725         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
57726         (_IO_wint_t): Define to wint_t, not _G_wint_t.
57727         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
57728         type of __dummy and __dummy2 fields.
57729         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
57730         (_G_ssize_t): Likewise.
57731         (_G_off_t): Likewise.
57732         (_G_pid_t): Likewise.
57733         (_G_uid_t): Likewise.
57734         (_G_wchar_t): Likewise.
57735         (_G_wint_t): Likewise.
57736         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
57737         (_G_ssize_t): Likewise.
57738         (_G_off_t): Likewise.
57739         (_G_pid_t): Likewise.
57740         (_G_uid_t): Likewise.
57741         (_G_wchar_t): Likewise.
57742         (_G_wint_t): Likewise.
57743         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
57744         (_G_ssize_t): Likewise.
57745         (_G_off_t): Likewise.
57746         (_G_pid_t): Likewise.
57747         (_G_uid_t): Likewise.
57748         (_G_wchar_t): Likewise.
57749         (_G_wint_t): Likewise.
57751 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57753         * malloc/arena.c: Include malloc-sysdep.h.
57754         (shrink_heap): Use check_may_shrink_heap to decide if madvise
57755         is sufficient to shrink the heap or an unmap is needed.
57756         * sysdeps/generic/malloc-sysdep.h: New file.  Define
57757         new function check_may_shrink_heap.
57758         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
57759         new function check_may_shrink_heap.
57761 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57763         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
57764         comments.
57766 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
57768         * catgets/test-gencat.sh: Add "set -e".
57769         * elf/tst-pathopt.sh: Likewise.
57770         * grp/tst_fgetgrent.sh: Likewise.
57771         * iconvdata/run-iconv-test.sh: Likewise.
57772         * intl/tst-gettext.sh: Likewise.
57773         * intl/tst-gettext2.sh: Likewise.
57774         * intl/tst-gettext4.sh: Likewise.
57775         * intl/tst-gettext6.sh: Likewise.
57776         * intl/tst-translit.sh: Likewise.
57777         * io/ftwtest-sh: Likewise.
57778         * libio/test-freopen.sh: Likewise.
57779         * malloc/tst-mtrace.sh: Likewise.
57780         * posix/globtest.sh: Likewise.
57781         * posix/tst-getconf.sh: Likewise.
57782         * posix/wordexp-tst.sh: Likewise.
57783         * stdio-common/tst-printf.sh: Likewise.
57784         * stdio-common/tst-unbputc.sh: Likewise.
57785         * stdlib/tst-fmtmsg.sh: Likewise.
57786         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57787         * catgets/Makefile: Do not specify -e option when running
57788         testsuite shell scripts.
57789         * elf/Makefile: Likewise.
57790         * grp/Makefile: Likewise.
57791         * iconvdata/Makefile: Likewise.
57792         * intl/Makefile: Likewise.
57793         * io/Makefile: Likewise.
57794         * libio/Makefile: Likewise.
57795         * malloc/Makefile: Likewise.
57796         * posix/Makefile: Likewise.
57797         * stdio-common/Makefile: Likewise.
57798         * stdlib/Makefile: Likewise.
57799         * sysdeps/x86_64/Makefile: Likewise.
57801         * io/ftwtest-sh: Add copyright header.
57802         * posix/globtest.sh: Likewise.
57803         * posix/tst-getconf.sh: Likewise.
57804         * posix/wordexp-tst.sh: Likewise.
57805         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57807 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
57809         [BZ #13679]
57810         * Makeconfig (+link): Defined as $(+link-static) if
57811         $(build-shared) isn't yes.
57812         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
57813         isn't yes.
57814         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
57816         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
57818         [BZ #14562]
57819         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
57820         new chunk size with MALLOC_ALIGN_MASK.
57822 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
57824         [BZ #5044]
57825         * stdio-common/printf_fphex.c: Include <stdbool.h> and
57826         <rounding-mode.h>.
57827         (__printf_fphex): Determine rounding using get_rounding_mode and
57828         round_away.
57829         * stdio-common/tst-printf-round.c (struct hex_test): New
57830         structure.
57831         (hex_tests): New variable.
57832         (test_hex_in_one_mode): New function.
57833         (do_test): Also run tests for hex float output.
57835 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
57837         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57838         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57839         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
57840         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57841         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57842         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
57843         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
57844         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
57846 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
57848         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
57849         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
57850         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
57851         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
57853 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
57855         [BZ #14579]
57856         * elf/rtld.c (dl_main): Limit the check for self loading to normal
57857         mode only.
57858         * elf/tst-rtld-load-self.sh: New test.
57859         * elf/Makefile: Run it.
57861 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
57863         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
57864         (tst-writev-ENV): Remove.
57865         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
57867 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
57869         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
57871 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
57873         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
57874         unconditional.
57875         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
57876         Likewise.
57877         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
57878         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
57879         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
57880         Likewise.
57882 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
57884         [BZ #14587]
57885         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
57886         * config.make.in (have-cpp-asm-debuginfo): Removed.
57887         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
57888         * configure: Regenerated.
57890 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
57892         [BZ #5044]
57893         * stdio-common/printf_fp.c: Include <stdbool.h> and
57894         <rounding-mode.h>.
57895         (___printf_fp): Determine rounding using get_rounding_mode and
57896         round_away.
57897         * stdio-common/tst-printf-round.c: New file.
57898         * stdio-common/Makefile (tests): Add tst-printf-round.
57899         (link-libm): New variable.
57900         ($(objpfx)tst-printf-round): Depend in $(link-libm).
57902 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
57904         [BZ #14576]
57905         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
57906         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
57907         Likewise.
57908         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
57909         Likewise.
57911 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
57913         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
57914         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57915         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57916         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57918 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
57920         [BZ #14518]
57921         * include/rounding-mode.h: New file.
57922         * sysdeps/generic/get-rounding-mode.h: Likewise.
57923         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
57924         * stdlib/strtod_l.c: Include <rounding-mode.h>.
57925         (MAX_VALUE): New macro.
57926         (MIN_VALUE): Likewise.
57927         (overflow_value): New function.
57928         (underflow_value): Likewise.
57929         (round_and_return): Use overflow_value and underflow_value to
57930         determine return values in overflow and underflow cases.  Use
57931         round_away to determine rounding depending on rounding mode.
57932         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
57933         determine return values in overflow and underflow cases.
57934         * stdlib/tst-strtod-round.c: Include <fenv.h>.
57935         (struct test_results): New structure.
57936         (struct test): Use struct test_results to store expected results
57937         for all rounding modes.
57938         (TEST): Include expected results for all rounding modes.
57939         (test_in_one_mode): New function.
57940         (do_test): Use test_in_one_mode to compute and check results.
57941         Check results for all rounding modes.
57942         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
57943         $(link-libm).
57945 2012-12-09  Allan McRae  <allan@archlinux.org>
57947         * sysdeps/i386/fpu/libm-test-ulps: Update
57949 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
57951         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
57952         (_G_int32_t): Likewise.
57953         (_G_uint16_t): Likewise.
57954         (_G_uint32_t): Likewise.
57955         (_G_HAVE_BOOL): Likewise.
57956         (_G_HAVE_ATEXIT): Likewise.
57957         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57958         (_G_HAVE_IO_FILE_OPEN): Likewise.
57959         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
57960         (_G_int32_t): Likewise.
57961         (_G_uint16_t): Likewise.
57962         (_G_uint32_t): Likewise.
57963         (_G_HAVE_BOOL): Likewise.
57964         (_G_HAVE_ATEXIT): Likewise.
57965         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57966         (_G_HAVE_IO_FILE_OPEN): Likewise.
57967         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
57968         (_G_int32_t): Likewise.
57969         (_G_uint16_t): Likewise.
57970         (_G_uint32_t): Likewise.
57971         (_G_HAVE_BOOL): Likewise.
57972         (_G_HAVE_ATEXIT): Likewise.
57973         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57974         (_G_HAVE_IO_FILE_OPEN): Likewise.
57976 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
57978         * csu/libc-tls.c: Update copyright years.
57980 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
57982         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
57983         [!_G_USING_THUNKS]: Remove conditional code.
57984         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
57985         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
57987         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
57988         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
57989         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57990         (_G_VTABLE_LABEL_PREFIX): Likewise.
57991         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57992         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57993         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57994         (_G_VTABLE_LABEL_PREFIX): Likewise.
57995         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
57996         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57997         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57998         (_G_VTABLE_LABEL_PREFIX): Likewise.
57999         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58001 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
58003         * libio/Makefile: Include ../Makeconfig before tests.
58004         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
58005         only if $(build-shared) is yes.
58007         * iconv/gconv_db.c: Update copyright years.
58009 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58011         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
58012         unwind info if defined PIC. Fix special cases description.
58013         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
58015         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
58016         DP_HI_MASK entry.
58017         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
58019 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
58021         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
58023         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
58024         is NULL.
58026         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
58027         (LDLIBS-tst-chk4): This.
58028         (LDFLAGS-tst-chk5): Renamed to ...
58029         (LDLIBS-tst-chk5): This.
58030         (LDFLAGS-tst-chk6): Renamed to ...
58031         (LDLIBS-tst-chk6): This.
58032         (LDFLAGS-tst-lfschk4): Renamed to ...
58033         (LDLIBS-tst-lfschk4): This.
58034         (LDFLAGS-tst-lfschk5): Renamed to ...
58035         (LDLIBS-tst-lfschk5): This.
58036         (LDFLAGS-tst-lfschk6): Renamed to ...
58037         (LDLIBS-tst-lfschk6): This.
58039         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
58040         on $(common-objpfx)soversions.mk.
58042 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
58044         [BZ #10014]
58045         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
58046         example host name.
58048 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
58050         * malloc/arena.c (arena_get_retry): New function that gets
58051         another arena for the caller to try its request on.
58052         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
58053         current arena cannot fulfill the request.
58054         (__libc_memalign): Likewise.
58055         (__libc_memalign): Likewise.
58056         (__libc_pvalloc): Likewise.
58057         (__libc_calloc): Likewise.
58059 2012-09-05  John Tobey  <john.tobey@gmail.com>
58061         [BZ #13542]
58062         * manual/arith.texi (Operations on Complex): Fix description
58063         of carg branch cut.
58065 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
58067         [BZ #10014]
58068         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
58069         host name.
58071         [BZ #10038]
58072         * manual/memory.texi (Memory): Make order of menu items match
58073         order of sections.
58075 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58077         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
58078         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
58079         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
58081 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58083         * csu/libc-tls.c (static_dtv): Renamed to ...
58084         (_dl_static_dtv): This.  Make it global.
58085         (_dl_initial_dtv): Removed.
58086         (__libc_setup_tls): Updated.
58087         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
58088         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
58089         DL_INITIAL_DTV.
58091 2012-09-06  Petr Machata  <pmachata@redhat.com>
58093         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
58094         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
58095         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
58096         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
58098 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58100         [BZ #14545]
58101         * csu/libc-tls.c (_dl_initial_dtv): New variable.
58102         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
58103         freeing dtv[-1].
58105 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58107         [BZ #14544]
58108         * Makeconfig (link-static-before-libc): Replace $(+prector)
58109         with $(+prectorT).
58110         (link-static-after-libc): Replace $(+postctor) with
58111         $(+postctorT).
58112         (link-bounded): Replace $(+prector)/$(+postctor) with
58113         $(+prectorT)/$(+postctorT).
58114         (+prectorT): New macro.
58115         (+postctorT): Likewise.
58117 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
58119         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
58120         (round_str): Handle values above the maximum for IBM long double
58121         as inexact.
58122         * stdlib/tst-strtod-round.c (tests): Regenerated.
58124 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58126         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
58127         assembler flag.
58128         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
58129         zarch_nohighgprs around the zarch optimized routines.
58130         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
58131         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
58132         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
58133         for zarch.
58135 2012-09-05  David S. Miller  <davem@davemloft.net>
58137         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58139         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
58140         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
58141         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
58142         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58143         entries.
58145 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58147         * malloc/arena.c: Fold copyright years.
58148         * malloc/mcheck.c, malloc/memusage.c: Likewise.
58150 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58152         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
58154 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58156         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
58158 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58160         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
58161         change internal state upon failure.
58163 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58165         * malloc/mcheck.c (mcheck_check_all): Fix typo.
58166         * malloc/memusage.c (mmap): Likewise.
58167         (mmap64, mremap): Likewise.  Adjust name in comment.
58169 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58171         * libio/fileops.c: Fix typos in comments.
58172         * libio/oldfileops.c: Likewise.
58173         * libio/wfileops.c: Likewise.
58175 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58177         [BZ #1349]
58178         * malloc/Makefile (tests): Add tst-malloc-usable test case.
58179         (tst-malloc-usable-ENV): Set environment for test case.
58180         * malloc/hooks.c (malloc_check_get_size): New function to get
58181         requested size.
58182         * malloc/malloc.c (musable): Use malloc_check_get_size.
58183         * malloc/tst-malloc-usable.c: New test case.
58185 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58187         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
58189 2012-09-05  Allan McRae  <allan@archlinux.org>
58191         [BZ #13966]
58192         * configure.in (CXX_SYSINCLUDES): Use compiler output to
58193         determine header location.
58194         * configure: Regenerated.
58196 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58198         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
58199         float format.
58200         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
58201         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
58202         format.
58203         (test): Regenerate.
58205 2012-09-04  David S. Miller  <davem@davemloft.net>
58207         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
58208         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
58209         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
58211 2012-09-04  Florian Weimer  <fweimer@redhat.com>
58213         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
58214         failures.
58216         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
58218 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
58220         [BZ #9914]
58221         * libio/iogetdelim.c: Include <limits.h>.
58222         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
58223         + len + 1 would overflow.
58225 2012-09-03  Andreas Jaeger  <aj@suse.de>
58227         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58228         * sysdeps/i386/fpu/libm-test-ulps: Update.
58230 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58232         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58233         Add s_sinf-sse2, s_conf-sse2.
58235         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
58236         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
58237         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
58238         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
58240         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
58241         for using routine as __sinf_ia32.
58242         Use macro for function declaration and weak_alias.
58243         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
58244         for using routine as __cosf_ia32.
58245         Use macro for function declaration and weak_alias.
58247         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
58248         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
58250         * sysdeps/x86_64/fpu/s_sinf.S: New file.
58251         * sysdeps/x86_64/fpu/s_cosf.S: New file.
58252         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58254         * math/libm-test.inc (cos_test): Add more test cases.
58255         (sin_test): Likewise.
58256         (sincos_test): Likewise.
58258 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58260         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
58261         (IFUNC_RESOLVE): Make pointers to the specialized implementations
58262         hidden.
58263         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
58265 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
58267         [BZ #14538]
58268         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
58269         first element of the GOT.
58270         (elf_machine_load_address): Return the difference between
58271         the runtime address of _DYNAMIC and elf_machine_dynamic ().
58273 2012-09-01  Allan McRae  <allan@archlinux.org>
58275         [BZ #13412]
58276         * configure.in (AWK): Require gawk version 3.0 or later.
58277         * configure: Regenerated.
58279 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
58281         * sysdeps/unix/sysv/linux/kernel-features.h
58282         (__ASSUME_POSIX_CPU_TIMERS): Remove.
58283         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58284         [__NR_clock_getres]: Make code unconditional.
58285         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
58286         (clock_getcpuclockid): Remove code left unreachable by removal of
58287         conditionals.
58288         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
58289         code unconditional.
58290         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58291         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58292         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
58293         Make code unconditional.
58294         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58295         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58296         * sysdeps/unix/sysv/linux/clock_settime.c
58297         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
58298         conditional code.
58299         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
58300         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58302 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
58304         [BZ #14476]
58305         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
58306         scripts/test-installation.pl.
58308         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
58309         and $ld_so_version if it is set.
58311 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58313         [BZ #14516]
58314         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
58315         failure if reading from procfs failed.
58316         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
58318 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
58320         * sysdeps/unix/sysv/linux/kernel-features.h
58321         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
58322         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58323         Remove conditional code.
58324         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58325         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
58326         Remove conditional code.
58327         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58328         * sysdeps/unix/sysv/linux/i386/fxstat.c
58329         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58330         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58331         * sysdeps/unix/sysv/linux/i386/fxstatat.c
58332         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58333         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58334         * sysdeps/unix/sysv/linux/i386/lxstat.c
58335         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58336         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58337         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
58338         Remove conditional code.
58339         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58340         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58341         Remove conditional code.
58342         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58343         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
58344         <kernel-features.h>.
58345         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
58346         Remove.
58347         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
58348         Remove conditional code.
58349         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58350         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
58351         Remove conditional.
58353 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
58355         [BZ #5400]
58356         * NEWS: Add fixed bug number.
58358 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
58360         [BZ #14519]
58361         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
58362         underflowing exponent in case of negative sign.
58363         * stdlib/tst-strtod-round-data: Add more tests.
58364         * stdlib/tst-strtod-round.c (tests): Regenerated.
58366         [BZ #3479]
58367         * stdlib/strtod_l.c (NDIG): Remove.
58368         (HEXNDIG): Likewise.
58369         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
58370         smallest representable value.
58371         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
58372         lie within an exact representation of 1/2 ulp of the result.
58373         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
58374         unconditionally.
58375         (TENS_P9_IDX): Define unconditionally.
58376         (TENS_P9_SIZE): Likewise.
58377         (TENS_P10_IDX): Likewise.
58378         (TENS_P10_SIZE): Likewise.
58379         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
58380         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
58381         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
58382         entries for 10^2^13 and 10^2^14.
58383         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
58384         (TENS_P13_IDX): Define.
58385         (TENS_P13_SIZE): Likewise.
58386         (TENS_P14_IDX): Likewise.
58387         (TENS_P14_SIZE): Likewise.
58388         (_fpioconst_pow10): Change array size to
58389         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
58390         unconditional.
58391         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
58392         1024]: Add entries for 10^2^13 and 10^2^14.
58393         [LAST_POW10 > _LAST_POW10]: Remove #error.
58394         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
58395         (_fpioconst_pow10): Change array size to
58396         FPIOCONST_POW10_ARRAY_SIZE.
58397         * stdlib/gen-fpioconst.c: New file.
58398         * stdlib/gen-tst-strtod-round.c: Likewise.
58399         * stdlib/tst-strtod-round-data: Likewise.
58400         * stdlib/tst-strtod-round.c: Likewise.
58401         * stdlib/Makefile (tests): Add tst-strtod-round.
58403         [BZ #14459]
58404         * stdlib/strtod_l.c: Include <stdint.h>.
58405         (NDEBUG): Do not define.
58406         (round_and_return): Change EXPONENT parameter to type intmax_t.
58407         Rearrange calculations to avoid internal overflow possibilities.
58408         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
58409         Rearrange calculations to avoid internal overflow possibilities.
58410         Assert that number fits inside MPNSIZE limbs.
58411         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
58412         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
58413         calculations and add assertions to avoid internal overflow
58414         possibilities.  Add casts to avoid signed/unsigned operations.
58415         * stdlib/tst-strtod-overflow.c: New file.
58416         * stdlib/Makefile (tests): Add tst-strtod-overflow.
58418 2012-08-25  Marek Polacek  <polacek@redhat.com>
58420         * time/time.h: Fix some typos in comments.
58422 2012-08-23  Roland McGrath  <roland@hack.frob.com>
58424         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
58425         * posix/tst-rfc3484-2.c: Likewise.
58426         * posix/tst-rfc3484-3.c: Likewise.
58428 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
58430         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
58431         (EF_ARM_ABI_FLOAT_HARD): Likewise.
58433 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
58435         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
58436         #include of fxstatat64.c.
58438 2012-08-22  Roland McGrath  <roland@hack.frob.com>
58440         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
58441         * shadow/getspent_r.c: Likewise.
58442         * shadow/getspnam.c: Likewise.
58443         * shadow/getspnam_r.c: Likewise.
58444         * gshadow/getsgent.c: Likewise.
58445         * gshadow/getsgent_r.c: Likewise.
58446         * gshadow/getsgnam.c: Likewise.
58447         * gshadow/getsgnam_r.c: Likewise.
58448         * inet/getnetbyad.c: Likewise.
58449         * inet/getnetbyad_r.c: Likewise.
58450         * inet/getnetbynm.c: Likewise.
58451         * inet/getnetbynm_r.c: Likewise.
58452         * inet/getnetent.c: Likewise.
58453         * inet/getnetent_r.c: Likewise.
58454         * inet/getproto.c: Likewise.
58455         * inet/getproto_r.c: Likewise.
58456         * inet/getprtent.c: Likewise.
58457         * inet/getprtent_r.c: Likewise.
58458         * inet/getprtname.c: Likewise.
58459         * inet/getprtname_r.c: Likewise.
58460         * inet/getrpcbyname.c: Likewise.
58461         * inet/getrpcbyname_r.c: Likewise.
58462         * inet/getrpcbynumber.c: Likewise.
58463         * inet/getrpcbynumber_r.c: Likewise.
58464         * inet/getrpcent.c: Likewise.
58465         * inet/getrpcent_r.c: Likewise.
58466         * inet/getaliasent.c: Likewise.
58467         * inet/getaliasent_r.c: Likewise.
58468         * inet/getaliasname.c: Likewise.
58469         * inet/getaliasname_r.c: Likewise.
58470         * nscd/getgrgid_r.c: Likewise.
58471         * nscd/getgrnam_r.c: Likewise.
58472         * nscd/gethstbyad_r.c: Likewise.
58473         * nscd/gethstbynm3_r.c: Likewise.
58474         * nscd/getpwnam_r.c: Likewise.
58475         * nscd/getpwuid_r.c: Likewise.
58476         * nscd/getsrvbynm_r.c: Likewise.
58477         * nscd/getsrvbypt_r.c: Likewise.
58478         * nscd/gai.c: Likewise.
58480         * configure.in (build_nscd): New substituted variable, set
58481         by --disable-build-nscd and defaults to $use_nscd.
58482         * configure: Regenerated.
58483         * config.make.in (build-nscd): New substituted variable.
58484         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
58485         Change conditional to require [$(build-nscd) = yes] as well.
58486         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
58488         [BZ# 13696]
58489         * configure.in (use_nscd): New substituted variable, set by
58490         --disable-nscd.  If enabled, define USE_NSCD.
58491         * configure: Regenerated.
58492         * config.h.in: Add USE_NSCD.
58493         * config.make.in (use-nscd): New substituted variable.
58494         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
58495         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
58496         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
58497         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
58498         (CFLAGS-getgrnam_r.c): Likewise.
58499         (CFLAGS-initgroups.c): Likewise.
58500         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
58501         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
58502         Variables removed.
58503         * inet/getnetgrent_r.c
58504         (nscd_setnetgrent): New function, broken out of ...
58505         (setnetgrent): ... here.  Call it.
58506         (innetgr): Conditionalize nscd bits on [USE_NSCD].
58507         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
58508         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
58509         * nscd/Makefile (routines, aux): Move definitions after include of
58510         Makeconfig.  Conditionalize on [$(use-nscd) != no].
58511         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
58512         Conditionalize on [USE_NSCD].
58513         (is_nscd, nscd_init_cb): Likewise.
58514         (nss_load_library): Conditionalize init callback on [USE_NSCD].
58515         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
58516         * nss/nss_db/db-init.c: Likewise.
58517         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
58518         [USE_NSCD].
58519         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
58520         (make_request): Use it.
58521         (cache_valid_p): New function.
58522         (__check_pf): Use it.
58523         * NEWS: Add item for --disable-nscd.
58525 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
58527         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
58528         to support sed >= 4.2.1-20-ga9bf076.
58529         * configure: Regenerated.
58531 2012-08-22  Roland McGrath  <roland@hack.frob.com>
58533         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
58534         Conditionalize whole body on [IREL].
58536 2012-08-22  Jeff Law <law@redhat.com>
58538         [BZ #14505]
58539         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
58540         if the family is PF_UNSPEC.
58542 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
58544         * Makerules (lib-version): Rename from V.
58545         (install-lib-nosubdir): Change V to lib-version.
58547 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
58549         [BZ #14252]
58550         * powerpc32/power6/wcschr.c: New file.
58551         * powerpc32/power6/wcscpy.c: New file.
58552         * powerpc32/power6/wcsrchr.c: New file.
58553         * powerpc64/power6/wcschr.c: New file.
58554         * powerpc64/power6/wcscpy.c: New file.
58555         * powerpc64/power6/wcsrchr.c: New file.
58557 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
58559         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
58560         (two_way_short_needle): Use it.
58561         * string/strstr.c (AVAILABLE1_USES_J): Define.
58562         * string/strcasestr.c: Likewise.
58564         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
58565         array references.
58566         * string/strcasestr.c (TOLOWER): Make side-effect safe.
58568         [BZ #11607]
58569         * NEWS: Add an entry.
58570         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
58571         define their defaults.
58572         (two_way_short_needle): Detect end-of-string on-the-fly.
58573         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
58574         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
58575         * string/bug-strcasestr1.c: New test.
58576         * string/Makefile: Run it.
58578 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
58580         [BZ #11607]
58581         * string/str-two-way.h (two_way_short_needle): Optimize matching of
58582         the first character.
58584 2012-08-21  Roland McGrath  <roland@hack.frob.com>
58586         * csu/elf-init.c (__libc_csu_irel): Function removed.
58587         * csu/libc-start.c (apply_irel): New function.
58588         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
58590 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
58592         * sysdeps/unix/sysv/linux/kernel-features.h
58593         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
58594         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
58595         <kernel-features.h>.
58596         [__NR_fadvise64_64]: Make code unconditional.
58597         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
58598         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58599         !__NR_fadvise64_64)]: Likewise.
58600         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58601         !__NR_fadvise64_64))]: Likewise.
58602         [__NR_fadvise64]: Make code unconditional.
58603         [!__NR_fadvise64]: Remove conditional code.
58604         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
58605         <kernel-features.h>.
58606         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58607         unconditional.
58608         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58609         conditional code.
58610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
58611         not include <kernel-features.h>.
58612         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58613         unconditional.
58614         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58615         conditional code.
58616         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
58617         include <kernel-features.h>.
58618         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58619         unconditional.
58620         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58621         conditional code.
58623 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
58625         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
58626         slight instruction rearrangements per scrollpipe analysis.
58627         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
58629 2012-08-20  Roland McGrath  <roland@hack.frob.com>
58631         * manual/syslog.texi (syslog; vsyslog, closelog):
58632         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
58633         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
58635         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
58636         DSOCAPS to match condition on defining it.
58638 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
58640         * sysdeps/unix/sysv/linux/kernel-features.h
58641         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
58642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
58643         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58644         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
58646         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58647         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
58649         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58650         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58652         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
58653         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
58655         * sysdeps/unix/sysv/linux/kernel-features.h
58656         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
58657         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
58658         unconditional.
58659         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58660         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
58661         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
58662         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58663         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
58664         Make code unconditional.
58665         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58666         (__mmap64) [!__NR_mmap2]: Likewise.
58667         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
58668         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
58669         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58670         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
58671         [__NR_mmap2]: Make code unconditional.
58672         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58673         (__mmap64) [!__NR_mmap2]: Likewise.
58675 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58677         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
58679 2012-08-18  Andreas Jaeger  <aj@suse.de>
58681         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
58683 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
58685         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
58686         * include/unistd.h (__have_sock_cloexec): Likewise.
58687         (__have_pipe2): Likewise.
58688         (__have_dup3): Likewise.
58690 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
58692         [BZ #9685]
58693         * include/unistd.h (__have_pipe2): Change define into an extern int.
58694         (__have_dup3): Likewise.
58695         * socket/have_sock_cloexec.c: Include fcntl.h.
58696         (__have_pipe2): New variable.
58697         (__have_dup3): Likewise.
58699 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
58701         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
58703 2012-08-17  Marek Polacek  <polacek@redhat.com>
58705         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
58706         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
58708 2012-08-17  Roland McGrath  <roland@hack.frob.com>
58710         * configure.in: Add AC_SUBST for sysheaders.
58711         * configure: Regenerated.
58712         * config.make.in (sysheaders): New substituted variable.
58714         * sysdeps/unix/mkfifo.c: Moved ...
58715         * sysdeps/posix/mkfifo.c: ... here.
58716         * sysdeps/unix/mkfifoat.c: Moved ...
58717         * sysdeps/posix/mkfifoat.c: ... here.
58719         * sysdeps/unix/utime.c: Moved ...
58720         * sysdeps/posix/utime.c: ... here.
58722         * sysdeps/unix/time.c: Moved ...
58723         * sysdeps/posix/time.c: ... here.
58724         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
58725         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
58727         * sysdeps/unix/nice.c: Moved ...
58728         * sysdeps/posix/nice.c: ... here.
58730         * sysdeps/unix/alarm.c: Moved ...
58731         * sysdeps/posix/alarm.c: ... here.
58733         * intl/Makefile ($(codeset_mo)): Depend on the input file.
58735 2012-08-17  Jeff Law <law@redhat.com>
58737         * intl/Makefile (codeset_mo): New variable.
58738         ($(codeset_mo)): New target.
58739         (tst-codeset.out): Depend on that.  Remove explicit rule.
58740         (tst-gettext3.out, tst-gettext5.out): Likewise.
58741         (LOCPATH-ENV, tst-codeset-ENV): New variables.
58742         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
58743         * intl/tst-codeset.sh: Remove.
58744         * intl/tst-gettext3.sh: Likewise.
58745         * intl/tst-gettext5.sh: Likewise.
58747 2012-08-17  Roland McGrath  <roland@hack.frob.com>
58749         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
58750         * sysdeps/unix/syscalls.list: ... here.
58752         * sysdeps/posix/getaddrinfo.c
58753         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
58754         (gaiconf_init, gaiconf_reload): Use them.
58755         [!_STATBUF_ST_NSEC]
58756         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
58757         Define using time_t rather than struct timespec.
58759         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
58760         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
58761         Macros removed.
58762         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
58763         [!NO_THREADS].
58764         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
58765         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
58766         Likewise.
58768         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
58769         __libc_cleanup_push argument.
58771         * bits/param.h: New file.
58772         * misc/sys/param.h: New file.
58773         * include/sys/param.h: New file.
58774         * misc/Makefile (headers): Add bits/param.h.
58775         * sysdeps/generic/sys/param.h: File removed.
58776         * sysdeps/unix/sysv/linux/bits/param.h: New file.
58777         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
58778         * sysdeps/mach/hurd/bits/param.h: New file.
58779         * sysdeps/mach/hurd/sys/param.h: File removed.
58781         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
58782         last change.
58784         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
58785         [_IO_MTSAFE_IO].
58786         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
58787         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
58788         New macros.
58790         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
58791         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
58792         rather than -D_IO_MTSAFE_IO conditionally.
58793         * stdio-common/Makefile (CPPFLAGS): Likewise.
58794         * wcsmbs/Makefile (CPPFLAGS): Likewise.
58795         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
58796         Use $(libio-mtsafe).
58797         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
58798         of -D_IO_MTSAFE_IO.
58799         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
58800         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
58801         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
58802         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
58803         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
58804         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
58805         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
58806         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
58807         (CFLAGS-fread_u_chk.c): Likewise.
58808         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
58809         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
58810         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
58811         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
58812         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
58813         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
58814         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
58815         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
58816         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
58818         * libio/Makefile: Test [$(libc-reentrant) = yes]
58819         instead of [$(filter %REENTRANT, $(defines)) nonempty].
58821         * Makeconfig
58822         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
58823         * sysdeps/pthread/configure: File removed.
58824         * sysdeps/pthread/Makeconfig: New file.
58825         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
58826         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
58828 2012-08-16  Gary Benson  <gbenson@redhat.com>
58830         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
58831         unmapping the first object in a namespace.
58833 2012-08-16  Roland McGrath  <roland@hack.frob.com>
58835         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
58836         (__internal_setnetgrent): ... this.  Add internal_function to
58837         definition.  Add libc_hidden_def.
58838         (setnetgrent): Update caller.
58839         (internal_endnetgrent): Renamed to ...
58840         (__internal_endnetgrent): ... this.  Add internal_function to
58841         definition.  Add libc_hidden_def.
58842         (endnetgrent): Update caller.
58843         (internal_getnetgrent_r): Renamed to ...
58844         (__internal_getnetgrent_r): ... this.  Add internal_function to
58845         definition.  Add libc_hidden_def.
58846         (__getnetgrent_r): Update caller.
58847         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
58849 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
58851         * stdlib/longlong.h: Update from GCC.
58853 2012-08-16  Roland McGrath  <roland@hack.frob.com>
58855         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
58856         on _QL, which is set by umul_ppmm but never used.
58857         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
58858         variables, which are set by GMP macros but never used.
58859         * stdio-common/_itowa.c (_itowa): Likewise.
58860         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
58861         * stdlib/mod_1.c (mpn_mod_1): Likewise.
58863 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
58865         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
58866         struct La_sh_regs is not constant.
58867         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
58868         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
58869         and struct La_sparc64_regs are not constant.
58871 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
58873         * sysdeps/unix/sysv/linux/kernel-features.h
58874         (__ASSUME_POSIX_TIMERS): Remove.
58875         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58876         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58877         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
58878         Make code unconditional.
58879         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58880         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
58881         Make code unconditional.
58882         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58883         * sysdeps/unix/sysv/linux/clock_nanosleep.c
58884         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
58885         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58886         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
58887         Make code unconditional.
58888         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58889         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
58890         (__libc_missing_posix_timers): Remove.
58892 2012-08-15  Roland McGrath  <roland@hack.frob.com>
58894         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
58895         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
58897         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
58899         * elf/dl-sym.c: Include <stdlib.h>.
58901         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
58902         constants, which avoids warnings in 32-bit builds.
58904         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
58905         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
58907         * misc/lseek.c: File moved to ...
58908         * io/lseek.c: ... here.
58910         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
58912         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
58913         shifting LEN more than 31 bits at once.
58915 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58917         [BZ #14195]
58918         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
58919         segmentation fault for a case of two empty input strings.
58920         * string/test-strncasecmp.c (check1): Renamed to...
58921         (bz12205): ...this.
58922         (bz14195): Add new testcase for two empty input strings and N > 0.
58923         (test_main): Call new testcase, adapt for renamed function.
58925 2012-08-15  Andreas Jaeger  <aj@suse.de>
58927         [BZ #14090]
58928         * crypt/md5test2.c: New test, based on test supplied by Serge
58929         Belyshev <belyshev@depni.sinp.msu.ru>.
58930         * crypt/Makefile (xtests): Add md5test-giant..
58931         * crypt/Makefile ($(objpfx)md5test-giant): Add.
58933 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
58935         [BZ #14090]
58936         * crypt/md5.c (md5_process_block): Don't assume the buffer
58937         length is less than 2**32.
58938         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
58939         length is less than 2**64.
58941 2012-08-15  Roland McGrath  <roland@hack.frob.com>
58943         * string/str-two-way.h: Include <sys/param.h>.
58944         (MAX): Macro removed.
58946         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
58947         Move #define and #undef of memmove to just before and after
58948         including <string.h>.
58950         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
58951         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
58952         and after including <string.h>.  Move declarations of
58953         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
58954         to before #include "string/memmove.c".
58956         * include/dirent.h: Declare __getdirentries.
58958         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
58959         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
58961 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
58963         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
58964         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
58965         * sysdeps/i386/configure: Regenerated.
58966         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
58967         STABS_CURRENT_FILE, and STABS_FUN.
58968         (END): Remove call to STABS_FUN_END.
58969         (STABS_CURRENT_FILE1): Delete.
58970         (STABS_CURRENT_FILE): Likewise.
58971         (STABS_FUN): Likewise.
58972         (STABS_FUN_END): Likewise.
58973         (STABS_FUN2): Likewise.
58974         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
58975         * sysdeps/x86_64/configure: Regenerated.
58977 2012-08-14  Roland McGrath  <roland@hack.frob.com>
58979         * elf/dl-open.c: Include <atomic.h>.
58980         * elf/dl-lookup.c: Likewise.
58982 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
58984         * sysdeps/unix/sysv/linux/kernel-features.h
58985         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
58986         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
58987         unconditionally.
58988         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
58989         unconditionally.
58990         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
58991         condition on __ASSUME_CLONE_THREAD_FLAGS.
58993 2012-08-14  Andreas Jaeger  <aj@suse.de>
58995         * sysdeps/i386/fpu/libm-test-ulps: Update.
58997 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
58999         * include/atomic.h (atomic_exchange_and_add): Split into ...
59000         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
59001         New atomic macros.
59003 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
59005         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59007 2012-08-13  Jeff Law <law@redhat.com>
59009         * manual/stdio.texi (snprintf): Clarify handling of the trailing
59010         null byte in the output string.
59012 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
59014         * sysdeps/unix/sysv/linux/kernel-features.h
59015         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
59016         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
59017         (__ASSUME_ARG_MAX_STACK_BASED): Define.
59018         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
59019         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
59020         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
59021         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
59023 2012-08-09  Jeff Law <law@redhat.com>
59025         [BZ #13939]
59026         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
59027         When avoid_arena is set, don't retry in the that arena.  Pick the
59028         next one, whatever it might be.
59029         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
59030         (arena_lock): Pass in new parameter to arena_get2.
59031         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
59032         arena_get2.
59033         (__libc_malloc): Unify retrying after main arena failure with
59034         __libc_memalign version.
59035         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
59037 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
59039         [BZ #14166]
59040         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
59041         to __redirect_strstr.
59042         (__strstr_sse42): Use typeof __redirect_strstr.
59043         (__strstr_ia32): Likewise.
59044         (__libc_strstr): New prototype.
59045         (strstr): Renamed to ...
59046         (__libc_strstr): This.
59047         (strstr): New strong alias of __libc_strstr.
59048         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59049         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
59050         __redirect_time.
59051         Include <time.h>.
59052         (__libc_time): New prototype.
59053         (time_ifunc): Replace time with __libc_time.
59054         (time): New strong alias and hidden definition of __libc_time.
59055         (__GI_time): Remove strong alias.
59056         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
59057         Include <stddef.h>.
59058         (memmove): Redefined to __redirect_memmove.
59059         (__memmove_sse2): Use typeof __redirect_memmove.
59060         (__memmove_ssse3): Likewise.
59061         (__memmove_ssse3_back): Likewise.
59062         (__libc_memmove): New prototype.
59063         (memmove): Renamed to ...
59064         (__libc_memmove): This.
59065         (memmove): New strong alias of __libc_memmove.
59067 2012-08-08  Mark Salter  <msalter@redhat.com>
59069         * elf/elf.h
59070         (R_MN10300_TLS_GD): Define.
59071         (R_MN10300_TLS_LD): Likewise.
59072         (R_MN10300_TLS_LDO): Likewise.
59073         (R_MN10300_TLS_GOTIE): Likewise.
59074         (R_MN10300_TLS_IE): Likewise.
59075         (R_MN10300_TLS_LE): Likewise.
59076         (R_MN10300_TLS_DTPMOD): Likewise.
59077         (R_MN10300_TLS_DTPOFF): Likewise.
59078         (R_MN10300_TLS_TPOFF): Likewise.
59079         (R_MN10300_SYM_DIFF): Likewise.
59080         (R_MN10300_ALIGN): Likewise.
59081         (R_MN10300_NUM): Update.
59083 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
59085         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
59086         Remove.
59088 2012-08-08  Roland McGrath  <roland@hack.frob.com>
59090         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
59092         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
59093         sysdeps/unix -> sysdeps/posix move.
59094         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
59096 2012-08-07      Allan McRae     <allan@archlinux.org>
59098         [BZ #14303]
59099         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
59100         (SUNOS_CPP): Likewise.
59101         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
59102         not found.
59103         (open_input): Call CPP using execvp.
59105 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59107         * sysdeps/unix/sysv/linux/kernel-features.h
59108         (__ASSUME_PROT_GROWSUPDOWN): Remove.
59109         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59110         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59111         (__ASSUME_WAITID_SYSCALL): Likewise.
59112         * sysdeps/unix/sysv/linux/dl-execstack.c
59113         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
59114         code unconditional.
59115         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
59116         conditional code.
59117         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
59118         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
59119         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
59120         code.
59121         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
59122         unconditional.
59123         [__ASSUME_WAITID_SYSCALL]: Likewise.
59124         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
59126 2012-08-07  Roland McGrath  <roland@hack.frob.com>
59128         * sysdeps/unix/closedir.c: Renamed to ...
59129         * sysdeps/posix/closedir.c: ... here.
59130         * sysdeps/unix/dirfd.c: Renamed to ...
59131         * sysdeps/posix/dirfd.c: ... here.
59132         * sysdeps/unix/dirstream.h: Renamed to ...
59133         * sysdeps/posix/dirstream.h: ... here.
59134         * sysdeps/unix/fdopendir.c: Renamed to ...
59135         * sysdeps/posix/fdopendir.c: ... here.
59136         * sysdeps/unix/opendir.c: Renamed to ...
59137         * sysdeps/posix/opendir.c: ... here.
59138         * sysdeps/unix/readdir.c: Renamed to ...
59139         * sysdeps/posix/readdir.c: ... here.
59140         * sysdeps/unix/readdir_r.c: Renamed to ...
59141         * sysdeps/posix/readdir_r.c: ... here.
59142         * sysdeps/unix/rewinddir.c: Renamed to ...
59143         * sysdeps/posix/rewinddir.c: ... here.
59144         * sysdeps/unix/seekdir.c: Renamed to ...
59145         * sysdeps/posix/seekdir.c: ... here.
59146         * sysdeps/unix/telldir.c: Renamed to ...
59147         * sysdeps/posix/telldir.c: ... here.
59148         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
59149         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
59150         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
59151         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
59153         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
59154         * bits/fcntl.h: ... here.
59156         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
59157         not 0.
59158         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
59159         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
59160         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
59161         (struct flock): Move l_start, l_len to the beginning.
59162         Use __pid_t for l_pid.
59163         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
59164         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
59165         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
59166         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
59167         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
59168         [__USE_LARGEFILE64] (struct flock64): New type.
59169         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
59171         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
59172         * bits/dirent.h: ... here.
59174         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
59175         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
59177 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59179         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59180         Change from 2.6.0 to 2.6.16.
59181         * sysdeps/unix/sysv/linux/configure: Regenerated.
59182         * sysdeps/unix/sysv/linux/kernel-features.h
59183         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
59184         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
59185         version.
59186         (__ASSUME_UTIMES): Likewise.
59187         (__ASSUME_CLONE_STOPPED): Remove.
59188         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
59189         architectures, not kernel version.
59190         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
59191         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59192         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59193         (__ASSUME_WAITID_SYSCALL): Likewise.
59194         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
59195         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
59196         * README: State 2.6.16 as minimum Linux kernel version.  Do not
59197         refer to older versions.
59199 2012-08-06  Roland McGrath  <roland@hack.frob.com>
59201         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
59202         Define alphasort64 as an alias.
59203         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
59204         Define versionsort64 as an alias.
59205         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
59206         Define scandir64 as an alias.
59207         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
59208         Define scandirat64 as an alias.
59209         * dirent/alphasort64.c (alphasort64):
59210         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
59211         * dirent/versionsort64.c: Likewise.
59212         * dirent/scandir64.c: Likewise.
59213         * dirent/scandirat64.c: Likewise.
59214         * sysdeps/wordsize-64/alphasort.c: File removed.
59215         * sysdeps/wordsize-64/alphasort64.c: File removed.
59216         * sysdeps/wordsize-64/scandir.c: File removed.
59217         * sysdeps/wordsize-64/scandir64.c: File removed.
59218         * sysdeps/wordsize-64/scandirat.c: File removed.
59219         * sysdeps/wordsize-64/scandirat64.c: File removed.
59220         * sysdeps/wordsize-64/versionsort.c: File removed.
59221         * sysdeps/wordsize-64/versionsort64.c: File removed.
59222         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
59223         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
59224         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
59225         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
59226         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
59227         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
59228         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
59229         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
59231         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
59232         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59233         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
59234         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59235         [defined __arch64__ || defined __sparcv9]
59236         (__INO_T_MATCHES_INO64_T): New macro.
59237         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59238         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
59239         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
59240         * sysdeps/unix/sysv/linux/bits/dirent.h
59241         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
59242         (_DIRENT_MATCHES_DIRENT64): New macro.
59244         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
59245         Define lockf64 as an alias.
59246         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
59247         Define fseeko64 as an alias.
59248         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
59249         Define ftello64 as an alias.
59250         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
59251         Define _IO_fgetpos64 and fgetpos64 as aliases.
59252         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
59253         Define _IO_fsetpos64 and fsetpos64 as aliases.
59254         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
59255         Conditionalize body on this.
59256         * libio/fseeko64.c: Likewise.
59257         * libio/ftello64.c: Likewise.
59258         * libio/iofgetpos64.c: Likewise.
59259         * libio/iofsetpos64.c: Likewise.
59260         * sysdeps/wordsize-64/lockf.c: File removed.
59261         * sysdeps/wordsize-64/lockf64.c: File removed.
59262         * sysdeps/wordsize-64/fseeko.c: File removed.
59263         * sysdeps/wordsize-64/fseeko64.c: File removed.
59264         * sysdeps/wordsize-64/ftello.c: File removed.
59265         * sysdeps/wordsize-64/ftello64.c: File removed.
59266         * sysdeps/wordsize-64/iofgetpos.c: File removed.
59267         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
59268         * sysdeps/wordsize-64/iofsetpos.c: File removed.
59269         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
59270         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
59271         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
59272         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
59273         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
59274         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
59275         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
59276         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
59277         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
59278         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
59279         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
59281         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59282         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59283         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
59284         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59285         [defined __arch64__ || defined __sparcv9]
59286         (__OFF_T_MATCHES_OFF64_T): New macro.
59287         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59288         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59289         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59290         (__OFF_T_MATCHES_OFF64_T): New macro.
59292 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
59294         * stdlib/secure-getenv.c (__secure_getenv): Replace
59295         GLIBC_2_16 with GLIBC_2_17.
59297 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
59299         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
59300         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
59302 2012-08-03  David S. Miller  <davem@davemloft.net>
59304         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59306 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
59308         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
59309         Remove.
59310         (__ASSUME_CORRECT_SI_PID): Likewise.
59311         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
59312         (__ASSUME_TMPFS_NAME): Likewise.
59313         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
59314         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
59315         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
59316         (HAVE_AUX_SECURE): Make definition unconditional.
59317         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
59318         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
59320 2012-08-03  Roland McGrath  <roland@hack.frob.com>
59322         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
59323         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
59324         * sysdeps/mach/hurd/eloop-threshold.h: New file.
59325         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59326         __eloop_threshold instead of SYMLOOP_MAX.
59328         * sysdeps/generic/eloop-threshold.h: New file.
59329         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
59330         of MAXSYMLINKS.
59331         * elf/chroot_canon.c (chroot_canon): Likewise.
59333 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
59335         [BZ #13717]
59336         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59337         Change to 2.6.0 everywhere.
59338         * sysdeps/unix/sysv/linux/configure: Regenerated.
59339         * sysdeps/unix/sysv/linux/kernel-features.h
59340         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
59341         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
59342         kernel versions.
59343         (__ASSUME_POSIX_TIMERS): Define unconditionally.
59344         (__ASSUME_FUTEX_REQUEUE): Remove.
59345         (__ASSUME_STATFS64): Define unconditionally.
59346         (__ASSUME_AT_SECURE): Likewise.
59347         (__ASSUME_CORRECT_SI_PID): Likewise.
59348         (__ASSUME_TGKILL): Define without depending on kernel version for
59349         i386.
59350         (__ASSUME_UTIMES): Likewise.
59351         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
59352         kernel version.
59353         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
59354         (__ASSUME_TMPFS_NAME): Likewise.
59355         * README: Update reference to Linux kernel versions.
59357 2012-08-02  Marek Polacek  <polacek@redhat.com>
59359         [BZ# 14150]
59360         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
59361         libc_cv_asm_type_prefix with %.
59362         * configure: Regenerated.
59363         * include/libc-symbols.h: Remove comment about
59364         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59365         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
59366         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
59367         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
59368         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
59369         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59370         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
59371         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
59372         * elf/tst-unique2mod1.c: Likewise.
59373         * elf/tst-unique1mod2.c: Likewise.
59374         * elf/tst-unique1mod1.c: Likewise.
59375         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
59376         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
59377         Replace ASM_TYPE_DIRECTIVE with .type.
59378         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59379         * sysdeps/i386/sysdep.h: Likewise.
59380         * sysdeps/x86_64/sysdep.h: Likewise.
59381         * sysdeps/sh/sysdep.h: Likewise.
59382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59383         Do not define ASM_TYPE_DIRECTIVE.
59384         * sysdeps/powerpc/sysdep.h: Likewise.
59385         * sysdeps/powerpc/powerpc32/sysdep.h:
59386         Replace ASM_TYPE_DIRECTIVE with .type.
59387         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
59388         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59389         * sysdeps/i386/fpu/e_powf.S: Likewise.
59390         * sysdeps/i386/fpu/e_expl.S: Likewise.
59391         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59392         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59393         * sysdeps/i386/fpu/e_pow.S: Likewise.
59394         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
59395         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59396         * sysdeps/i386/fpu/s_expm1.S: Likewise.
59397         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
59398         * sysdeps/i386/fpu/e_log2.S: Likewise.
59399         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59400         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59401         * sysdeps/i386/fpu/e_powl.S: Likewise.
59402         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59403         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
59404         * sysdeps/i386/fpu/e_logl.S: Likewise.
59405         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
59406         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
59407         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
59408         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59409         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59410         * sysdeps/i386/fpu/e_log.S: Likewise.
59411         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59412         * sysdeps/i386/fpu/e_logf.S: Likewise.
59413         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59414         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59415         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
59416         * sysdeps/i386/fpu/e_log10.S: Likewise.
59417         * sysdeps/i386/fpu/s_frexp.S: Likewise.
59418         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59419         * sysdeps/i386/fpu/s_asinh.S: Likewise.
59420         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
59421         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59422         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
59423         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
59424         * sysdeps/i386/i686/strtok.S: Likewise.
59425         * sysdeps/i386/i386-mcount.S: Likewise.
59426         * sysdeps/i386/strtok.S: Likewise.
59427         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
59428         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59429         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59430         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59431         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
59432         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59433         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
59434         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
59435         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59436         * sysdeps/x86_64/_mcount.S: Likewise.
59437         * sysdeps/x86_64/strtok.S: Likewise.
59438         * sysdeps/sh/_mcount.S: Likewise.
59440 2012-08-01  Roland McGrath  <roland@hack.frob.com>
59442         * libio/iofopen.c: Include <fcntl.h>.
59443         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
59444         (_IO_fopen64, fopen64): Define as aliases.
59445         * libio/iofopen64.c: Include <fcntl.h>.
59446         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
59447         Conditionalize body on this.
59448         * sysdeps/wordsize-64/iofopen.c: File removed.
59449         * sysdeps/wordsize-64/iofopen64.c: File removed.
59451 2012-08-01  Marek Polacek  <polacek@redhat.com>
59453         * libc/Makeconfig: Use elf in place of binfmt-subdir.
59454         Use dlfcn directly instead of a variable.
59455         (binfmt-subdir): Do not define.
59456         (dlfcn): Likewise.
59458 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
59460         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
59461         Remove all definitions.
59462         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
59463         <kernel-features.h>.
59464         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59465         (miss_F_GETOWN_EX): Remove all definitions.
59466         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
59467         macro definition.
59468         [!__ASSUME_FCNTL64]: Remove conditional code.
59469         [__ASSUME_FCNTL64]: Make code unconditional.
59470         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
59471         <kernel-features.h>.
59472         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59473         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
59474         (lockf64) [__NR_fcntl64]: Make code unconditional.
59475         (lockf64) [__ASSUME_FCNTL64]: Likewise.
59477         * sysdeps/unix/sysv/linux/kernel-features.h
59478         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
59479         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
59480         Make code unconditional.
59481         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59482         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
59484         [__NR_vfork]: Make code unconditional.
59485         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59486         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
59488         [__NR_vfork]: Make code unconditional.
59489         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59490         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59492 2012-08-01  Roland McGrath  <roland@hack.frob.com>
59494         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
59495         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
59497         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59498         Define mkstemp64 as an alias.
59499         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59500         Define mkstemps64 as an alias.
59501         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59502         Define mkostemp64 as an alias.
59503         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59504         Define mkostemps64 as an alias.
59505         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
59506         Conditionalize body on this.
59507         * misc/mkostemp64.c: Likewise.
59508         * misc/mkostemps64.c: Likewise.
59509         * misc/mkstemps64.c: Likewise.
59510         * sysdeps/wordsize-64/mkstemp64.c: File removed.
59511         * sysdeps/wordsize-64/mkostemp64.c: File removed.
59512         * sysdeps/wordsize-64/mkostemp.c: File removed.
59513         * sysdeps/wordsize-64/mkstemp.c: File removed.
59514         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
59515         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
59516         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
59517         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
59519         [BZ #14138]
59520         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
59521         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
59522         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
59523         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
59525         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
59526         compat_symbol macros from <shlib-compat.h> rather than the underlying
59527         default_symbol_version and symbol_version macros, so that DEFAULT
59528         lines in shlib-versions are respected.
59529         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
59531 2012-08-01  Florian Weimer  <fweimer@redhat.com>
59533         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
59534         Declare with warn_unused_result.
59535         (setgid, setregid, setegid, setresgid): Likewise.
59536         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
59537         Likewise.
59538         * WUR-REPORT: Remove set*id functions.
59540 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
59542         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
59544 2012-07-31  Roland McGrath  <roland@hack.frob.com>
59546         [BZ #10191]
59547         * include/sys/socket.h (__libc_accept, __libc_accept4):
59548         Add attribute_hidden.
59549         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
59551         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
59552         use of PTR_MANGLE.
59553         * inet/getnetgrent_r.c (setup): Likewise.
59555         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
59557 2012-07-31  David S. Miller  <davem@davemloft.net>
59559         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59561 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
59563         [BZ #13629]
59564         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
59565         value between 1.0 and 2.0 and smaller part has absolute value less
59566         than 1.0.
59567         * math/s_clog10.c (__clog10): Likewise.
59568         * math/s_clog10f.c (__clog10f): Likewise.
59569         * math/s_clog10l.c (__clog10l): Likewise.
59570         * math/s_clogf.c (__clogf): Likewise.
59571         * math/s_clogl.c (__clogl): Likewise.
59572         * math/libm-test.inc (clog_test): Add more tests.
59573         (clog10_test): Likewise.
59574         * sysdeps/i386/fpu/libm-test-ulps: Update.
59575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59577 2012-07-31  Florian Weimer  <fweimer@redhat.com>
59579         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
59580         Exit with zero in case no suitable GID is found, and write a
59581         message to standard error.
59583 2012-07-30  Roland McGrath  <roland@hack.frob.com>
59585         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
59586         rather than to 1.
59587         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
59588         (MAXPATHLEN): Removed.
59589         (NOGROUP, NODEV): New macros.
59590         (setbit, clrbit, isset, isclr): New macros.
59591         (howmany, roundup, powerof2): New macros.
59592         (DEV_BSIZE): New macro.
59594         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
59595         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
59597         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
59598         definition on [!__NO_LONG_DOUBLE_MATH].
59600         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
59601         PTR_MANGLE and PTR_DEMANGLE.
59603         * socket/accept4.c (accept4): Rename to __libc_accept4.
59604         Define accept4 as a weak alias.
59606         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
59607         on [_DIRENT_HAVE_D_TYPE].
59608         * io/ftw.c (ftw_dir): Likewise.
59610         * io/xmknod.c (__xmknod): Don't check PATH for being null.
59612         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
59614         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
59615         Use the BSD numbers rather than the arbitrary ones we had.
59616         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
59617         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
59618         (SIGXCPU, SIGXFSZ): New macros.
59619         (_NSIG): Now 32.
59621         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
59622         initializer on [_LIBC_REENTRANT].
59624         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
59625         definitions inside [_POSIX_MAPPED_FILES].
59627         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
59629         * dirent/opendir.c: Include <fcntl.h>.
59631         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
59632         (__libc_getspecific): Likewise.
59633         (__libc_key_create): Likewise.
59635         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
59636         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
59637         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
59638         (tmpfile64): Define as alias.
59639         * sysdeps/wordsize-64/tmpfile.c: File removed.
59640         * sysdeps/wordsize-64/tmpfile64.c: File removed.
59641         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
59642         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
59644         * stdio-common/vfscanf.c: Include <stdbool.h>.
59645         * nss/makedb.c: Likewise.
59646         * stdio-common/_i18n_number.h: Likewise.
59647         * argp/argp-help.c: Likewise.
59648         * posix/wordexp.c: Likewise.
59649         * sysdeps/posix/spawni.c: Likewise.
59650         * nss/nss_files/files-initgroups.c: Likewise.
59651         * stdio-common/reg-modifier.c: Include <stdlib.h>.
59652         * nss/nss_files/files-initgroups.c: Likewise.
59653         * nss/nss_db/db-netgrp.c: Likewise.
59654         * nss/nss_db/db-initgroups.c: Likewise.
59655         * io/fchmodat.c: Include <sys/stat.h>.
59657         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
59658         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
59660         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
59661         [HAVE_MMAP].
59663         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
59664         Add multiple inclusion protection.
59666 2012-07-27  David S. Miller  <davem@davemloft.net>
59668         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59670 2012-07-27  Gary Benson  <gbenson@redhat.com>
59672         [BZ #14298]
59673         * elf/rtld.c: Include <stap-probe.h>.
59674         (dl_main): Added static probes "init_start" and "init_complete".
59675         * elf/dl-load.c: Include <stap-probe.h>.
59676         (lose): Take new parameter "nsid".
59677         Added static probe "map_failed".
59678         (_dl_map_object_from_fd): Pass namespace id to lose.
59679         Added static probe "map_start".
59680         (open_verify): Pass namespace id to lose.
59681         * elf/dl-open.c: Include <stap-probe.h>.
59682         (dl_open_worker) Added static probes "map_complete", "reloc_start"
59683         and "reloc_complete".
59684         * elf/dl-close.c: Include <stap-probe.h>.
59685         (_dl_close_worker): Added static probes "unmap_start" and
59686         "unmap_complete".
59687         * elf/rtld-debugger-interface.txt: New file documenting the above.
59689 2012-07-26  Roland McGrath  <roland@hack.frob.com>
59691         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
59692         rather than a string variable.
59693         * sunrpc/rpc_main.c (h_output): Likewise.
59694         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
59696 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
59698         * inet/check_native.c: New file.
59700 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
59702         [BZ #13629]
59703         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
59704         if larger part has absolute value 1.0.
59705         * math/s_clog10.c (__clog10): Likewise.
59706         * math/s_clog10f.c (__clog10f): Likewise.
59707         * math/s_clog10l.c (__clog10l): Likewise.
59708         * math/s_clogf.c (__clogf): Likewise.
59709         * math/s_clogl.c (__clogl): Likewise.
59710         * math/libm-test.inc (clog_test): Add more tests.
59711         (clog10_test): Likewise.
59712         * sysdeps/i386/fpu/libm-test-ulps: Update.
59713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59715         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
59716         (pltexit): Likewise.
59717         (La_regs): Likewise.
59718         (La_retval): Likewise.
59719         (int_retval): Likewise.
59720         Update #error for removed macros to refer only to definitions in
59721         tst-audit.h.
59722         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
59723         macro.
59724         (pltexit): Likewise.
59725         (La_regs): Likewise.
59726         (La_retval): Likewise.
59727         (int_retval): Likewise.
59728         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
59729         macro.
59730         (pltexit): Likewise.
59731         (La_regs): Likewise.
59732         (La_retval): Likewise.
59733         (int_retval): Likewise.
59734         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
59735         macro.
59736         (pltexit): Likewise.
59737         (La_regs): Likewise.
59738         (La_retval): Likewise.
59739         (int_retval): Likewise.
59740         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
59741         macro.
59742         (pltexit): Likewise.
59743         (La_regs): Likewise.
59744         (La_retval): Likewise.
59745         (int_retval): Likewise.
59746         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
59747         macro.
59748         (pltexit): Likewise.
59749         (La_regs): Likewise.
59750         (La_retval): Likewise.
59751         (int_retval): Likewise.
59752         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
59753         macro.
59754         (pltexit): Likewise.
59755         (La_regs): Likewise.
59756         (La_retval): Likewise.
59757         (int_retval): Likewise.
59758         * sysdeps/generic/tst-audit.h: Update comment to refer only to
59759         macro definitions in tst-audit.h.
59760         * sysdeps/i386/tst-audit.h: New file.
59761         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
59762         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
59763         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
59764         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
59765         * sysdeps/sh/tst-audit.h: Likewise.
59766         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
59767         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
59768         * sysdeps/x86_64/tst-audit.h: Likewise.
59770 2012-07-26  Andreas Jaeger  <aj@suse.de>
59772         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
59773         ptrace.
59775         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
59776         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
59777         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
59778         PTRACE_O_MASK.
59779         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
59780         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
59781         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
59783         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
59784         value.
59786         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
59787         _sigsys.
59788         (si_call_addr, si_syscall, si_arch): Define new macro.
59789         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
59790         _sigsys.
59791         (si_call_addr, si_syscall, si_arch): Define new marcro.
59792         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
59793         _sigsys.
59794         (si_call_addr, si_syscall, si_arch): Define new macro.
59795         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
59796         _sigsys.
59797         (si_call_addr, si_syscall, si_arch): Define new macro.
59799 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
59801         [BZ #13717]
59802         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59803         Change to 2.4.21 where previously 2.4.1.
59804         * sysdeps/unix/sysv/linux/configure: Regenerated.
59805         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
59806         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
59807         Linux kernel version.
59808         (__ASSUME_STD_AUXV): Remove.
59809         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
59810         kernel version.
59811         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
59812         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
59813         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
59814         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
59815         (__ASSUME_NETLINK_SUPPORT): Likewise.
59816         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
59817         (__no_netlink_support): Remove conditional definition.
59818         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
59819         Remove.
59820         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59821         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
59822         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
59823         (if_nameindex_ioctl): Remove.
59824         (if_nameindex_netlink): Do not handle __no_netlink_support.
59825         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59826         code.
59827         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
59828         Remove conditional code.
59829         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59830         code.
59831         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
59832         unconditional.
59833         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59834         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
59835         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
59836         Remove.
59837         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
59838         [!__ASSUME_STD_AUXV]: Remove conditional code.
59839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
59840         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
59841         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
59842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
59843         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
59844         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
59845         code.
59846         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
59847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59848         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
59849         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
59850         conditional code.
59851         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
59852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
59853         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
59854         code.
59855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59856         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
59857         conditional code.
59858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
59859         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59860         code unconditional.
59861         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59862         conditional code.
59863         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59864         unconditional.
59865         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59866         conditional code.
59867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59868         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59869         unconditional.
59870         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59871         conditional code.
59872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
59873         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59874         code unconditional.
59875         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59876         conditional code.
59877         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59878         unconditional.
59879         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59880         conditional code.
59881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
59882         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59883         code unconditional.
59884         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59885         conditional code.
59886         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59887         unconditional.
59888         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59889         conditional code.
59891 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
59893         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
59894         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
59895         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
59896         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
59897         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
59898         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
59899         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
59900         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
59901         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
59902         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
59903         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
59904         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
59905         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
59906         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
59907         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
59908         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
59909         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
59910         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
59911         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
59912         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
59913         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
59914         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
59915         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
59917 2012-07-25  Florian Weimer  <fweimer@redhat.com>
59919         * Versions.def: Add GLIBC_2.17.
59920         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
59921         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
59922         Introduce __libc_secure_getenv.
59923         * stdlib/Versions (2.17): Add secure_getenv
59924         (GLIBC_PRIVATE): Add __libc_secure_getenv.
59925         * stdlib/secure-getenv.c: Rename __secure_getenv to
59926         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
59927         symbol __secure_getenv for GLIBC_2.0.
59928         * stdlib/tst-secure-getenv.c: New.
59929         * stdlib/Makefile (tests): Add testcase.
59930         * manual/startup.texi (Environment Access): Document
59931         secure_getenv.
59932         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
59933         __libc_secure_getenv.
59934         * inet/ruserpass.c (ruserpass): Likewise.
59935         * malloc/mtrace.c (mtrace): Likewise.
59936         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
59937         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
59938         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
59939         * sysdeps/posix/tempname.c: Likewise.  Evaluate
59940         HAVE_SECURE_GETENV.
59941         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
59942         __secure_getenv to __libc_secure_getenv.
59943         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
59944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59945         Likewise.
59946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59947         Likewise.
59948         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59950         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59951         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59952         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59953         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59954         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59956 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
59958         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
59959         (struct La_i86_retval): Likewise.
59960         (struct La_x86_64_regs): Likewise.
59961         (struct La_x86_64_retval): Likewise.
59962         (struct La_x32_regs): Likewise.
59963         (struct La_x32_retval): Likewise.
59964         (struct La_ppc32_regs): Likewise.
59965         (struct La_ppc32_retval): Likewise.
59966         (struct La_ppc64_regs): Likewise.
59967         (struct La_ppc64_retval): Likewise.
59968         (struct La_sh_regs): Likewise.
59969         (struct La_sh_retval): Likewise.
59970         (struct La_s390_32_regs): Likewise.
59971         (struct La_s390_32_retval): Likewise.
59972         (struct La_s390_64_regs): Likewise.
59973         (struct La_s390_64_retval): Likewise.
59974         (struct La_sparc32_regs): Likewise.
59975         (struct La_sparc32_retval): Likewise.
59976         (struct La_sparc64_regs): Likewise.
59977         (struct La_sparc64_retval): Likewise.
59978         (struct audit_ifaces): Remove architecture-specific pltenter and
59979         pltexit members.
59980         * sysdeps/i386/ldsodefs.h: New file.
59981         * sysdeps/powerpc/ldsodefs.h: Likewise.
59982         * sysdeps/s390/ldsodefs.h: Likewise.
59983         * sysdeps/sh/ldsodefs.h: Likewise.
59984         * sysdeps/sparc/ldsodefs.h: Likewise.
59985         * sysdeps/x86_64/ldsodefs.h: Likewise.
59987 2012-07-25  Marek Polacek  <polacek@redhat.com>
59989         [BZ #6808]
59990         * math/libm-test.inc (yn_test): Add another test.
59991         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
59992         to ERANGE when the result is +-Inf.
59993         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
59994         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
59995         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
59996         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
59998 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
60000         * conform/data/time.h-data (NULL): Use macro-constant.  Require
60001         equal to 0.
60002         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
60003         clock_t.
60004         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
60006 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
60008         * configure.in <sysdeps resolving>: Correct printing
60009         Implies_before.
60010         * configure: Regenerate.
60012 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
60014         * math/w_ilogb.c: Include <limits.h>.
60015         * math/w_ilogbl.c: Likewise.
60017 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
60019         * manual/lang.texi (__va_copy): Document primarily as ISO C99
60020         va_copy.  Document allowing for unavailable va_copy only as
60021         pre-C99 compatibility.
60022         * manual/string.texi (Copying and Concatenation): Use va_copy
60023         instead of __va_copy in concat example.
60025 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
60027         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
60028         (__sendto): Use create_address_port.  Initialize APORT and deallocate
60029         it if not null.
60031         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
60032         with O_NOLINK passed to __file_name_lookup.
60034         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
60035         with O_NOLINK passed to __file_name_lookup.
60037         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
60038         negative N or less than NGIDS.
60040         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
60041         type to string_t.  Set ERANGE as errno and return it if NAME is not big
60042         enough.  Use memcpy instead of strncpy.
60044 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
60046         * elf/Makefile (check-data): Remove.
60047         (localplt.data): New vpath directive.
60048         ($(objpfx)check-localplt.out): Use localplt.data from vpath
60049         instead of $(check-data).
60050         * scripts/data/localplt-generic.data: Move to ...
60051         * sysdeps/generic/localplt.data: ... here.
60052         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
60053         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
60054         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
60055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
60056         ... here.
60057         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
60058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
60059         ... here.
60060         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
60061         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
60062         ... here.
60063         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
60064         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
60065         ... here.
60066         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
60067         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
60068         ... here.
60069         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
60070         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
60071         ... here.
60073 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60075         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
60076         PPC32 and PPC64 files.
60077         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
60078         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
60080 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60082         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
60083         __makecontext_ret to ...
60084         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
60085         ... here and call exit if uc_link is NULL.  New file.
60086         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
60087         __makecontext_ret.S.
60088         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
60089         __makecontext_ret to ...
60090         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
60091         ... here and call exit if uc_link is NULL.  New file.
60092         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
60093         __makecontext_ret.S.
60095 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60097         * elf/elf.h (R_390_IRELATIVE): New definition.
60098         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
60099         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
60100         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
60101         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
60102         (elf_machine_lazy_rel): Likewise.
60103         * sysdeps/s390/dl-irel.h: New file.
60104         * sysdeps/s390/s390-64/memcpy.S: New asm code.
60105         * sysdeps/s390/s390-64/memset.S: New asm code.
60106         * sysdeps/s390/s390-64/memcmp.S: New asm code.
60107         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
60108         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
60109         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
60110         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
60111         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
60112         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
60113         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
60114         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
60115         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
60116         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
60117         * sysdeps/s390/s390-32/memcpy.S: New asm code.
60118         * sysdeps/s390/s390-32/memset.S: New asm code.
60119         * sysdeps/s390/s390-32/memcmp.S: New asm code.
60121 2012-07-17  Marek Polacek  <polacek@redhat.com>
60123         [BZ #14349]
60124         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
60125         * sysdeps/s390/s390-64/configure.in: Likewise.
60126         * sysdeps/sparc/configure.in: Likewise.
60127         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
60128         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
60129         * sysdeps/i386/configure.in: Likewise.
60130         * sysdeps/x86_64/configure.in: Likewise.
60131         * sysdeps/sh/configure.in: Likewise.
60132         * sysdeps/s390/s390-32/configure: Regenerated.
60133         * sysdeps/s390/s390-64/configure: Likewise.
60134         * sysdeps/x86_64/configure: Likewise.
60135         * sysdeps/sh/configure: Likewise.
60136         * sysdeps/powerpc/powerpc64/configure: Likewise.
60137         * sysdeps/powerpc/powerpc32/configure: Likewise.
60138         * sysdeps/sparc/configure: Likwise.
60139         * sysdeps/i386/configure: Likewise.
60141         * elf/dl-open.c: Comment fixes.
60143 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
60145         * Makefile [CXX] (check-data): Remove.
60146         [CXX] (c++-types.data): New vpath directive.
60147         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
60148         vpath.  Do not allow for C++ type data being missing.
60149         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
60150         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
60151         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
60152         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
60153         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
60154         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
60155         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
60156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
60157         ... here.
60158         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
60159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
60160         ... here.
60161         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
60162         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
60163         ... here.
60164         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
60165         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
60166         ... here.
60167         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
60168         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
60169         ... here.
60170         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
60171         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
60172         ... here.
60173         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
60174         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
60175         ... here.
60176         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
60177         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
60179         * elf/tls-macros.h (TLS_LE): Move architecture-specific
60180         definitions to architecture-specific files.
60181         (TLS_IE): Likewise.
60182         (TLS_LD): Likewise.
60183         (TLS_GD): Likewise.
60184         * sysdeps/i386/tls-macros.h: New file.
60185         * sysdeps/powerpc/tls-macros.h: Likewise.
60186         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
60187         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
60188         * sysdeps/sh/tls-macros.h: Likewise.
60189         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
60190         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
60191         * sysdeps/x86_64/tls-macros.h: Likewise.
60193 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60195         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
60196         zero value for regular exit case.
60198         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
60199         (__start_context): Preserve zero value for regular exit case.
60201 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60202             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60204         * manual/setjmp.texi (setcontext): Clarify normal process
60205         termination when uc_link is the null pointer.
60206         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
60207         exit call.
60209 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
60211         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
60212         preprocessor.  Test for each exception mask separately.
60214 2012-07-16  Andreas Jaeger  <aj@suse.de>
60216         * po/ru.po: Update from translation team.
60218 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
60220         * conform/data/string.h-data (NULL): Use macro-constant.  Require
60221         equal to 0.
60222         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60223         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60224         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
60225         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
60226         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60228 2012-07-13  Andreas Jaeger  <aj@suse.de>
60230         * po/fr.po: Update from translation team.
60232 2012-07-12  Marek Polacek  <polacek@redhat.com>
60234         [BZ #14173]
60235         * math/libm-test.inc (yn_test): Add test for BZ #14173.
60236         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
60237         loop condition.
60239 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
60241         [BZ #13717]
60242         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60243         Change to 2.4.1 where previously 2.4.0.
60244         * sysdeps/unix/sysv/linux/configure: Regenerated.
60245         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
60246         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
60247         version.
60248         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
60249         (__ASSUME_AT_CLKTCK): Remove.
60250         (__ASSUME_AT_PAGESIZE): Likewise.
60251         (__ASSUME_AT_XID): Likewise.
60252         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
60253         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
60254         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
60255         unconditionally.
60256         (HAVE_AUX_PAGESIZE): Likewise.
60257         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
60258         [__ASSUME_AT_CLKTCK]: Make code unconditional.
60259         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
60261 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
60263         [BZ #14307]
60264         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
60265         the temporary buffer used to invoke __gethostbyname2_r,
60266         __gethostbyaddr_r and gethostbyname4_r to make room for struct
60267         host_data / struct gaih_addrtuple.
60268         * resolv/nss_dns/dns-host.c (global scope): Move definition of
60269         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
60270         header file nss/nsswitch.h.
60271         * nss/nsswitch.h (global scope): Add definition of implementation
60272         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
60273         resolv/nss_dns/dns-host.c).
60275 2012-07-11  Andreas Jaeger  <aj@suse.de>
60277         * po/fr.po: Update from translation team.
60279         * po/sv.po: Update from translation team
60280         * po/fr.po: Another update from translation team.
60282 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60284         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
60285         for subnormals or multiply small sinh result by itself.
60286         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
60287         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60289 2012-07-11  David S. Miller  <davem@davemloft.net>
60291         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60293 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
60295         [BZ #14347]
60296         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
60297         (INTERNAL_MARK): Shift it here.
60299 2012-07-10  Marek Polacek  <polacek@redhat.com>
60301         [BZ #14151]
60302         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
60303         libc_cv_asm_global_directive with .globl.
60304         * configure: Regenerated.
60305         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
60306         with .globl.
60307         * sysdeps/i386/configure: Regenerated.
60308         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
60309         with .globl.
60310         * sysdeps/x86_64/configure: Regenerated.
60311         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
60312         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
60313         * elf/tst-unique2mod2.c: Likewise.
60314         * elf/tst-unique2mod1.c: Likewise.
60315         * elf/tst-unique1mod2.c: Likewise.
60316         * elf/tst-unique1mod1.c: Likewise.
60317         * sysdeps/s390/s390-32/sysdep.h: Likewise.
60318         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60319         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60320         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60321         * sysdeps/mach/sysdep.h: Likewise.
60322         * sysdeps/i386/sysdep.h: Likewise.
60323         * sysdeps/i386/i386-mcount.S: Likewise.
60324         * sysdeps/x86_64/_mcount.S: Likewise.
60325         * sysdeps/x86_64/sysdep.h: Likewise.
60326         * sysdeps/sh/_mcount.S: Likewise.
60327         * sysdeps/sh/sysdep.h: Likewise.
60328         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
60329         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
60330         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
60331         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60332         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
60333         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
60334         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
60335         * locale/localeinfo.h: Likewise.
60336         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
60337         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
60339 2012-07-09  Roland McGrath  <roland@hack.frob.com>
60341         [BZ #14336]
60342         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
60343         system".
60344         * manual/message.texi (The Uniforum approach): Likewise.
60345         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
60346         (glibc iconv Implementation): Likewise.
60348 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
60350         [BZ #14337]
60351         * math/s_clog.c (__clog): Avoid scaling a value down where that
60352         could result in underflow.
60353         * math/s_clog10.c (__clog10): Likewise.
60354         * math/s_clog10f.c (__clog10f): Likewise.
60355         * math/s_clog10l.c (__clog10l): Likewise.
60356         * math/s_clogf.c (__clogf): Likewise.
60357         * math/s_clogl.c (__clogl): Likewise.
60358         * math/libm-test.inc (clog_test): Add more tests.
60359         (clog10_test): Likewise.
60360         * sysdeps/i386/fpu/libm-test-ulps: Update.
60361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60363 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
60365         [BZ #14283]
60366         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
60367         by 7 not 8 to examine high bit of fractional part.
60369         [BZ #14042]
60370         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
60371         for call to __mcount_internal.
60372         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
60373         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
60374         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
60376 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
60378         [BZ #14154]
60379         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
60380         approximation for values within 0x1p-13f of an odd multiple of
60381         pi/4.
60382         * math/libm-test.inc (tan_test): Do not allow spurious underflow
60383         exception.  Add more tests.
60384         * sysdeps/i386/fpu/libm-test-ulps: Update.
60386         [BZ #6778]
60387         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
60388         inputs and return -1 for them.  Do not check for +Inf in case not
60389         reachable for +Inf.
60390         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
60391         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
60392         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60393         and return -1 for them.  Do not check for +Inf in case not
60394         reachable for +Inf.
60395         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
60396         define.
60397         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60398         and return -1 for them.  Do not check for +Inf in case not
60399         reachable for +Inf.
60400         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
60401         spurious underflow.
60402         * sysdeps/i386/fpu/libm-test-ulps: Update.
60403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60405 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
60407         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
60409 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
60411         [BZ #14157]
60412         [BZ #14331]
60413         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
60414         could result in spurious underflow.  Scale down values above
60415         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
60416         * math/s_csqrtf.c (__csqrtf): Likewise.
60417         * math/s_csqrtl.c (__csqrtl): Likewise.
60418         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
60419         spurious underflow.
60420         * sysdeps/i386/fpu/libm-test-ulps: Update.
60421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60423 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
60425         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
60426         xopen-msg.sed.
60427         * catgets/xopen-msg.awk: New file.
60428         * catgets/xopen-msg.sed: Removed.
60430         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
60431         po2text.sed.
60432         * intl/po2test.awk: New file.
60433         * intl/po2test.sed: Removed.
60435 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
60437         [BZ #14328]
60438         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
60439         or multiply small sinh result by itself.
60440         * math/s_ctanf.c (__ctanf): Likewise.
60441         * math/s_ctanh.c (__ctanh): Likewise.
60442         * math/s_ctanhf.c (__ctanhf): Likewise.
60443         * math/s_ctanhl.c (__ctanhl): Likewise.
60444         * math/s_ctanl.c (__ctanl): Likewise.
60445         * math/libm-test.inc (ctan_test_tonearest): New function.
60446         (ctan_test_towardzero): Likewise.
60447         (ctan_test_downward): Likewise.
60448         (ctan_test_upward): Likewise.
60449         (ctanh_test_tonearest): Likewise.
60450         (ctanh_test_towardzero): Likewise.
60451         (ctanh_test_downward): Likewise.
60452         (ctanh_test_upward): Likewise.
60453         (main): Call these new functions.
60454         * sysdeps/i386/fpu/libm-test-ulps: Update.
60455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60457 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
60459         * .gitignore: Delete /ports entry.
60461 2012-07-03  Andreas Jaeger  <aj@suse.de>
60463         * po/bg.po: Update from translation team.
60464         * po/cs.po: Likewise.
60465         * po/de.po: Likewise.
60466         * po/hr.po: Likewise.
60467         * po/nl.pl: Likewise.
60468         * po/pl.po: Likewise.
60469         * po/vi.po: Likewise.
60471 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
60473         * Makeconfig [!+link] (+link-before-libc): New variable.
60474         [!+link] (+link-after-libc): Likewise.
60475         [!+link] (+link-tests): Likewise.
60476         [!+link] (+link): Define in terms of $(+link-before-libc) and
60477         $(+link-after-libc).
60478         [!+link-static] (+link-static-before-libc): New variable.
60479         [!+link-static] (+link-static-after-libc): Likewise.
60480         [!+link-static] (+link-static-tests): Likewise.
60481         [!+link-static] (+link-static): Define in terms of
60482         $(+link-static-before-libc) and $(+link-static-after-libc).
60483         [build-shared] (link-libc-before-gnulib): New variable.
60484         [build-shared] (link-libc-tests): Likewise.
60485         [build-shared] (link-libc): Define in terms of
60486         $(link-libc-before-gnulib).
60487         [!build-shared] (link-libc-tests): New variable.
60488         (link-libc-static-tests): New variable.
60489         [!gnulib] (gnulib-arch): New variable.
60490         [!gnulib] (gnulib-tests): Likewise.
60491         [!gnulib] (static-gnulib-arch): Likewise.
60492         [!gnulib] (static-gnulib-tests): Likewise.
60493         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
60494         Define with "=" instead of ":=".
60495         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
60496         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
60497         * Rules (binaries-all-notests): New variable.
60498         (binaries-all-tests): Likewise.
60499         (binaries-static-notests): Likewise.
60500         (binaries-static-tests): Likewise.
60501         (binaries-all): Define using $(binaries-all-notests) and
60502         $(binaries-all-tests).
60503         (binaries-static): Define using $(binaries-static-notests) and
60504         $(binaries-static-tests).
60505         (binaries-shared-tests): New variable.
60506         (binaries-shared-notests): Likewise.
60507         (binaries-shared): Remove variable.
60508         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
60509         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
60510         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
60511         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
60512         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
60513         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
60514         * elf/Makefile (sln-modules): New variable.
60515         (extra-objs): Add $(sln-modules:=.o).
60516         (ldconfig-modules): Add static-stubs.
60517         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
60518         * elf/static-stubs.c: New file.
60520         [BZ #14283]
60521         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
60522         by 7 not 8 to examine high bit of fractional part.  Use volatile
60523         variables when splitting into final array of floats if
60524         __FLT_EVAL_METHOD__ != 0.
60525         * math/libm-test.inc (cos_test): Add another test.
60526         (sin_test): Likewise.
60527         * sysdeps/i386/fpu/libm-test-ulps: Update.
60529         [BZ #14273]
60530         * math/libm-test.inc (cosh_test): Add more tests.
60532         * version.h (RELEASE): Set to "development".
60533         (VERSION): Set to "2.16.90".
60535 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
60537         * NEWS: Update copyright. Remove last-updated date.
60538         Mention math library bug fixes and timezone data changes.
60539         * README: Mention GNU/Hurd, x32, and HPPA support status.
60541 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
60543         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
60545 2012-06-27  Andreas Jaeger  <aj@suse.de>
60547         * manual/contrib.texi (Contributors): Add Samuel Thibault.
60549 2012-06-25  Andreas Jaeger  <aj@suse.de>
60551         * sysdeps/s390/fpu/libm-test-ulps: Update.
60553 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
60554             Thomas Schwinge  <thomas@codesourcery.com>
60556         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
60557         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
60558         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
60559         fanotify_mark.
60561 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
60563         * sysdeps/mach/start.c: Remove file.
60564         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
60565         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
60566         * sysdeps/sh/init-first.c: Likewise.
60568         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
60569         registers for frame unwinding purposes, add CFI directives.
60570         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60571         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
60572         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
60573         Likewise.
60575         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
60576         __fortify_fail returning.
60577         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60579         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
60580         sysdeps/sh/____longjmp_chk.S.
60581         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
60582         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
60583         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
60584         (gen-as-const-headers): Append sigaltstack-offsets.sym.
60586         * sysdeps/sh/abort-instr.h: New file.
60587         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
60588         process in case exit returns.
60590         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
60591         initialize the GOT register before use.
60593         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
60594         calculation of ARGC > 4.
60596         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
60597         meaningful names to some local labels.
60599 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60600             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60602         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
60603         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
60604         (__arch_compare_and_exchange_val_16_acq): Likewise.
60605         (__arch_compare_and_exchange_val_32_acq): Likewise.
60606         (atomic_exchange_and_add): Fix gUSA sequence.
60607         (atomic_add): Likewise.
60608         (atomic_add_negative): Likewise.
60609         (atomic_add_zero): Likewise.
60610         (atomic_bit_test_set): Likewise.
60612 2012-06-22  Andreas Schwab  <schwab@redhat.com>
60614         [BZ #13579]
60615         * include/link.h (struct link_map): Add l_free_initfini.
60616         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
60617         l_initfini.
60618         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
60619         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
60620         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
60621         set.
60623 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
60625         * configure.in: Use AC_LANG_SOURCE.
60626         * configure: Regenerate.
60628 2012-06-22  Roland McGrath  <roland@hack.frob.com>
60630         * configure.in (libc_cv_localstatedir): New substituted variable.
60631         * configure: Regenerated.
60632         * config.make.in (localstatedir): New variable, substituted from
60633         libc_cv_localstatedir.
60634         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
60635         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
60636         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
60637         * sysdeps/gnu/configure: Regenerated.
60639 2012-06-21  Jeff Law  <law@redhat.com>
60641         [BZ #14277]
60642         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
60643         free.  Simplify list management for _LIBC case.
60645 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
60647         [BZ #14273]
60648         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
60649         Clear sign bit of 64-bit integer value before comparing against
60650         overflow value.
60652         * sysdeps/mach/configure: Regenerated.
60654 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
60656         [BZ #14278]
60657         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
60659 2012-06-21  Jeff Law  <law@redhat.com>
60661         [BZ #13882]
60662         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
60663         uint16_t for elements in the "seen" array to avoid char overflows.
60664         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60665         * elf/dl-open.c (dl_open_worker): Likewise.
60667 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
60669         * scripts/list-sources.sh: Scan PORTS for translations.
60670         * po/libc.pot: Regenerated.
60672 2012-06-21  Andreas Jaeger  <aj@suse.de>
60674         [BZ #12194]
60675         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
60676         warning.
60677         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
60678         * bits/byteswap-16.h (__bswap_16): Likewise.
60679         * bits/byteswap.h (__bswap_constant_16): Likewise.
60681 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
60683         [BZ #14117]
60684         * sysdeps/i386/fpu_control.h: Removed.
60685         * sysdeps/x86_64/fpu_control.h: Moved to ...
60686         * sysdeps/x86/fpu_control.h: Here.
60688         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
60689         (_FPU_SETCW): Likewise.
60691 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
60693         [BZ #14117]
60694         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
60695         * sysdeps/x86/fpu/bits/mathinline.h: This.
60696         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
60698         [BZ #14050]
60699         [BZ #14117]
60700         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
60701         functions if __x86_64__ is defined.
60703 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
60705         * string/endian.h: Add !__ASSEMBLER__ condition for including
60706         conversion interfaces.
60708 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
60710         [BZ #14241]
60711         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
60712         of ABS(x) in calculating zero to negative powers other than odd
60713         integers.
60714         * math/libm-test.inc (pow_test): Add more tests.
60716 2012-06-15  Andreas Jaeger  <aj@suse.de>
60718         * manual/contrib.texi (Contributors): Update entry of Liubov
60719         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
60720         Machado Filho.
60722 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
60724         * string/string.h: Add __wur to GNU version of strerror_r.
60726 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
60728         [BZ #14229]
60729         * string/Makefile (tests): Add tst-strtok_r.
60730         * string/tst-strtok_r.c: New file.
60731         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
60732         RAX_LP/RDX_LP on SAVE_PTR.
60734 2012-06-14  Roland McGrath  <roland@hack.frob.com>
60736         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
60738 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
60740         * libm_test.inc (csqrt_test): Allow more spurious underflow
60741         exceptions.
60742         (j0_test): Likewise.
60743         (j1_test): Likewise.
60744         (y0_test): Likewise.
60745         (y1_test): Likewise.
60747 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
60749         * po/Makefile (libc.pot): Use UTF-8 charset.
60751 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
60753         [BZ #14210]
60754         Suppress sign-conversion warning from FD_SET.
60755         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
60756         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
60757         not unsigned long int.
60758         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
60760 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
60762         [BZ #14050]
60763         [BZ #14117]
60764         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
60765         __extern_always_inline instead of __extern_inline.
60766         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
60767         (__signbit): Likewise.
60768         (__signbitl): Support C++ namespace.
60769         (lrintf): New inline function.
60770         (lrint): Likewise.
60771         (llrintf): Likewise.
60772         (llrint): Likewise.
60773         (fmaxf): Likewise.
60774         (fmax): Likewise.
60775         (fminf): Likewise.
60776         (fmin): Likewise.
60777         (rint): Likewise.
60778         (rintf): Likewise.
60779         (ceil): Likewise.
60780         (ceilf): Likewise.
60781         (floor): Likewise.
60782         (floorf): Likewise.
60783         (nearbyint): Likewise.
60784         (nearbyintf): Likewise.
60786 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
60788         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
60789         non-default versions.
60791 2012-06-11  Roland McGrath  <roland@hack.frob.com>
60793         [BZ #14218]
60794         * manual/argp.texi (Argp): Reword argp_parse description slightly.
60796 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
60798         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
60799         (FE_UPWARD, FE_DOWNWARD): Don't define.
60800         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
60801         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
60803         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
60804         reading it.
60805         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
60806         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60808 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60810         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
60811         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
60812         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
60813         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
60815 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
60817         [BZ #14117]
60818         * sysdeps/i386/fpu/bits/fenv.h: Removed.
60819         * sysdeps/i386/fpu/Implies: New file.
60820         * sysdeps/x86_64/fpu/Implies: Likewise.
60821         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
60822         * sysdeps/x86/fpu/bits/fenv.h: This.
60824         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
60825         __SSE_MATH__.
60827 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60829         [BZ #14134]
60830         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
60831         character 0xffff that matches the last element of the
60832         conversion table.
60834 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60836         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
60837         fmodl commit.
60839 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60841         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
60842         values higher than 25.6283.
60844 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60846         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
60847         subnormal exponent extraction and add some __builtin_expect.
60848         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
60849         Fix for subnormal mantissa calculation.
60851 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
60853         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
60854         cpu2 is -1 and errno is not ENOSYS.
60856 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
60858         [BZ #14117]
60859         * sysdeps/i386/i486/bits/string.h: Renamed to ...
60860         * sysdeps/x86/bits/string.h: This.
60861         * sysdeps/x86_64/bits/string.h: Removed.
60863         * sysdeps/i386/i486/bits/string.h: Define inline functions only
60864         if not compiling for x86-64, but compiling for >= i486.
60866         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
60867         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
60869         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
60870         New macro from Linux kernel 3.4.0.
60871         (FP_XSTATE_MAGIC2): Likewise.
60872         (FP_XSTATE_MAGIC2_SIZE): Likewise.
60873         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
60874         (struct _fpx_sw_bytes): New struct.
60875         (struct _xsave_hdr): Likewise.
60876         (struct _ymmh_state): Likewise.
60877         (struct _xstate): Likewise.
60879         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
60880         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
60881         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
60882         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
60883         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
60884         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
60886         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
60887         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
60888         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
60889         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
60890         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
60891         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
60893 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60895         [BZ #13743]
60896         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
60897         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
60898         (sysdep_headers): Include sys/platform/ppc.h.
60899         * sysdeps/powerpc/test-gettimebase.c: Test for
60900         __ppc_get_timebase() to catch future ISA opcode/insn changes.
60901         * manual/Makefile (appendices): Include platform.texi.
60902         * manual/contrib.texi (Contributors): Update @node pointers.
60903         * manual/maint.texi (Maintenance): Likewise.
60904         (Platform): New node.
60905         * manual/platform.texi: New file.  Document the new features.
60907 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60908             Jakub Jelinek  <jakub@redhat.com>
60910         [BZ #14188]
60911         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
60912         where __builtin_expect is unavailable.
60914 2012-06-03  David S. Miller  <davem@davemloft.net>
60916         * stdlib/longlong.h: Updated from GCC.
60918 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
60920         [BZ #14042]
60921         * sysdeps/powerpc/powerpc32/mcount.c: New file.
60922         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
60923         __mcount_internal.
60924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60925         (GLIBC_2.16): Likewise.
60927 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60929         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
60931 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
60933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
60934         (default-abi): New variable.
60935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
60936         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
60937         variable.
60938         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
60939         Likewise.
60940         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
60941         Likewise.
60942         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
60943         Likewise.
60945         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
60946         definition.  Document in comment.
60948 2012-06-01  David S. Miller  <davem@davemloft.net>
60950         * stdlib/longlong.h: Updated from GCC.
60952 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60954         [BZ #14117]
60955         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
60956         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
60957         sys/debugreg.h sys/io.h here.
60958         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
60959         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
60960         sys/io.h.
60961         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
60962         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
60963         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
60964         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
60965         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
60966         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
60968         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
60969         Define only if __x86_64__ is defined.
60971 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
60973         [BZ #14048]
60974         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
60975         Use int64_t for variable i.
60976         * math/libm-test.inc (fmod_test): Add more tests.
60978         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
60979         z computation is not scheduled after fetestexcept.
60980         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
60981         Use math_force_eval instead of asm to ensure calculation scheduled
60982         before exception test.
60983         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
60984         Ensure a1 + u.d computation is not scheduled after fetestexcept.
60986 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
60988         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
60989         computation is not scheduled after fetestexcept.
60991 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60993         [BZ #14117]
60994         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
60995         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
60997 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60999         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
61000         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61002 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
61004         [BZ #14117]
61005         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
61006         <bits/wordsize.h>.
61007         (__WCHAR_MIN): Support __WORDSIZE == 64.
61008         (__WCHAR_MAX): Likewise.
61010         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
61011         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
61013         [BZ #14183]
61014         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
61015         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
61017         [BZ #14117]
61018         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
61019         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
61021         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
61022         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
61024         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
61025         Defined to 1 if __x86_64__ isn't defined.
61026         (_STAT_VER_LINUX_OLD): New.
61027         (st_atime): Remove duplicate.
61028         (st_mtime): Likewise.
61029         (st_ctime): Likewise.
61031 2012-05-31  David S. Miller  <davem@davemloft.net>
61033         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
61034         entries.
61036 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
61038         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
61039         gen-libm-test.pl.
61041         [BZ #14132]
61042         * elf/dl-reloc.c: Include <_itoa.h>.
61043         (_dl_reloc_bad_type): Remove use of INTUSE.
61044         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
61045         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
61046         * stdio-common/psiginfo.c (psiginfo): Likewise.
61047         * stdio-common/psignal.c (psignal): Likewise.
61048         * string/strsignal.c (strsignal): Likewise.
61049         * include/signal.h (_sys_siglist): Declare hidden proto.
61050         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
61051         INTVARDEF with libc_hidden_data_def.
61052         * stdio-common/itoa-udigits.c: Likewise.
61053         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
61054         (_itoa_lower_digits_internal): Remove declaration.
61055         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
61056         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
61057         (_sys_sigabbrev_internal): Remove aliases.
61058         (_sys_siglist): Define hidden alias.
61060 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
61062         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61063         bits/sysctl.h.
61065 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
61067         [BZ #14117]
61068         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
61069         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
61071         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
61072         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
61073         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
61074         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
61075         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
61076         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
61078         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
61079         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
61080         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
61082         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
61083         with __addr.
61084         (insw): Likewise.
61085         (insl): Likewise.
61086         (outsb): Likewise.
61087         (outsw): Likewise.
61088         (outsl): Likewise.
61090         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
61091         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
61092         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
61094         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
61095         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
61096         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
61097         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
61098         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
61099         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
61101         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
61102         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
61104         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
61105         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
61107         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
61108         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
61109         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
61111         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
61112         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
61113         to ...
61114         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
61116         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
61117         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
61118         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
61120         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
61121         for x86-64.
61122         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
61124 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
61126         * math/math.h (M_El): Use two more decimal places.
61127         (M_LOG2El): Likewise.
61128         (M_LOG10El): Likewise.
61129         (M_LN2l): Likewise.
61130         (M_LN10l): Likewise.
61131         (M_PIl): Likewise.
61132         (M_PI_2l): Likewise.
61133         (M_PI_4l): Likewise.
61134         (M_1_PIl): Likewise.
61135         (M_2_PIl): Likewise.
61136         (M_2_SQRTPIl): Likewise.
61137         (M_SQRT2l): Likewise.
61138         (M_SQRT1_2l): Likewise.
61140 2012-05-31  David S. Miller  <davem@davemloft.net>
61142         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
61143         values between float registers.
61144         * sysdeps/sparc/sparc64/memset.S: Likewise.
61145         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61147 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
61149         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
61150         -D_FORTIFY_SOURCE=1.
61151         (CPPFLAGS-tst-longjmp_chk.c): Define.
61152         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
61153         (CPPFLAGS-tst-longjmp_chk2.c): Define.
61154         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
61155         CFLAGS-tst-wchar-h.c.
61157 2012-05-31  Marek Polacek  <polacek@redhat.com>
61159         [BZ #14132]
61160         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
61161         __endmntent_internal): Remove declaration.
61162         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
61163         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
61164         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
61166 2012-05-30  David S. Miller  <davem@davemloft.net>
61168         * sysdeps/sparc/sparc32/soft-fp/q_util.c
61169         (___Q_simulate_exceptions): Use real FP ops rather than writing
61170         into the %fsr.
61171         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
61172         Likewise.
61174 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61176         [BZ #14117]
61177         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
61178         * sysdeps/x86/bits/xtitypes.h: This.
61180         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
61181         * sysdeps/x86/bits/wordsize.h: This.
61183         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
61184         * sysdeps/x86/bits/huge_vall.h: This.
61186         * sysdeps/i386/bits/select.h: Removed.
61187         * sysdeps/x86_64/bits/select.h: Renamed to ...
61188         * sysdeps/x86/bits/select.h: This.
61190         * sysdeps/i386/bits/setjmp.h: Removed.
61191         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
61192         * sysdeps/x86/bits/setjmp.h: This.
61194         * sysdeps/i386/bits/mathdef.h: Removed.
61195         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
61196         * sysdeps/x86/bits/mathdef.h: This.
61198 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
61200         [BZ #14132]
61201         * include/sys/socket.h (__connect_internal)
61202         (__libc_sa_len_internal): Remove declaration.
61203         (__connect, __libc_sa_len): Declare hidden_proto.
61204         (SA_LEN): Remove use of INTUSE.
61205         * socket/connect.c: Add libc_hidden_def.
61206         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
61207         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
61208         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
61209         alias.
61210         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
61211         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
61212         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
61213         of adding _internal alias.
61215 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61217         [BZ #14117]
61218         * sysdeps/i386/bits/link.h: Removed.
61219         * sysdeps/i386/bits/linkmap.h: Likewise.
61220         * sysdeps/x86_64/bits/link.h: Renamed to ...
61221         * sysdeps/x86/bits/link.h: This.
61222         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
61223         * sysdeps/x86/bits/linkmap.h: This.
61225         * sysdeps/i386/bits/endian.h: Removed.
61226         * sysdeps/x86_64/bits/endian.h: Renamed to ...
61227         * sysdeps/x86/bits/endian.h: This.
61229         * sysdeps/i386/bits/byteswap.h: Removed.
61230         * sysdeps/i386/bits/byteswap-16.h: Likewise.
61231         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
61232         * sysdeps/x86/bits/byteswap.h: This.
61233         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
61234         * sysdeps/x86/bits/byteswap-16.h: This.
61235         * sysdeps/i386/Implies: Add x86.
61236         * sysdeps/x86_64/Implies: Likewise.
61238 2012-05-30  David S. Miller  <davem@davemloft.net>
61240         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
61241         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
61242         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
61243         (FP_TRAPPING_EXCEPTIONS): Define.
61244         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
61245         (FP_TRAPPING_EXCEPTIONS): Define.
61246         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
61247         subnormals only when inexact has been signalled or underflow
61248         exceptions are enabled.
61249         (_FP_PACK_CANONICAL): Likewise.
61251 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61253         [BZ #14183]
61254         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
61255         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
61257 2012-05-30  Richard Henderson  <rth@twiddle.net>
61259         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
61260         with #ifndef NOT_IN_libc.
61262         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
61263         marked to avoid plt entry.
61265 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61267         [BZ #14112]
61268         * Makeconfig (default-abi): New macro.
61269         (abi-includes): Likewise.
61270         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
61271         $(abi-$(default-abi)-lib-soname) for soname if defined.
61272         ($(common-objpfx)gnu/lib-names.stmp): Generate from
61273         abi-variants.
61274         * Makefile (installed-stubs): Likewise.
61275         * include/stubs-biarch.h: Removed.
61276         * scripts/lib-names.awk: Only handle one library at a time.
61277         * scripts/soversions.awk: Remove WORDSIZE support.
61278         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
61279         entries.
61280         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
61281         Removed.
61282         (syscall-list-default-condition): Likewise.
61283         (syscall-list-default-condition): Likewise.
61284         (syscall-list-includes): Likewise.
61285         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
61286         syscall-list-* with abi-*.  Handle undefined abi-variants.
61287         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
61288         * sysdeps/unix/sysv/linux/i386/Implies: New file.
61289         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
61290         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
61291         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
61292         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
61293         Removed.
61294         (syscall-list-32-options): Likewise.
61295         (syscall-list-32-condition): Likewise.
61296         (syscall-list-64-options): Likewise.
61297         (syscall-list-64-condition): Likewise.
61298         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
61299         macro.
61300         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
61301         Renamed to ...
61302         (abi-*): This.
61303         (abi-64-ld-soname): New macro.
61304         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
61305         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
61306         Renamed to ...
61307         (abi-*): This.
61308         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
61309         * sysdeps/x86_64/x32/shlib-versions: Likewise.
61311 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
61313         * sysdeps/unix/sysv/linux/kernel-features.h
61314         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
61315         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
61316         include <kernel-features.h>.
61317         [!__NR_ftruncate64]: Remove conditional code.
61318         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61319         [__NR_ftruncate64]: Make code unconditional.
61320         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61321         * sysdeps/unix/sysv/linux/truncate64.c: Do not
61322         include <kernel-features.h>.
61323         [!__NR_ftruncate64]: Remove conditional code.
61324         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61325         [__NR_ftruncate64]: Make code unconditional.
61326         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
61328         include <kernel-features.h>.
61329         [!__NR_ftruncate64]: Remove conditional code.
61330         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61331         [__NR_ftruncate64]: Make code unconditional.
61332         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61334         include <kernel-features.h>.
61335         [!__NR_ftruncate64]: Remove conditional code.
61336         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61337         [__NR_ftruncate64]: Make code unconditional.
61338         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61340         * configure.in (libc_cv_fpie): Weaken to a compile test using
61341         LIBC_TRY_CC_OPTION.
61342         * configure: Regenerated.
61344 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
61347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
61348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
61349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61350         Refreshed.
61351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
61352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
61353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
61354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
61355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
61356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61357         Refreshed.
61359 2012-05-27  David S. Miller  <davem@davemloft.net>
61361         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
61362         (___Q_zero): New.
61363         (__Q_simulate_exceptions): Return void.  Change to simulate
61364         exceptions by writing into the %fsr.
61365         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
61366         (__Qp_handle_exceptions): Likewise.
61367         (numbers): Delete.
61368         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
61369         __Qp_handle_exceptions.
61370         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
61371         __Qp_handle_exceptions.
61372         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61373         as unused and give dummy FP_RND_NEAREST initializer.
61374         (FP_INHIBIT_RESULTS): Define.
61375         (___Q_simulate_exceptions): Update declaration.
61376         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
61377         formatting.
61378         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61379         as unused and give dummy FP_RND_NEAREST initializer.
61380         (__Qp_handle_exceptions): Update declaration.
61381         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
61382         formatting.
61384 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
61386         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
61387         the temporary FPU control word.
61388         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
61389         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
61390         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
61391         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61392         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
61393         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
61394         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
61395         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61396         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
61397         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
61398         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61400 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61402         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
61403         fields.
61405 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
61407         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
61408         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
61409         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
61410         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
61411         Likewise.
61412         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
61413         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
61414         Likewise.
61416 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
61418         * po/h.po: Update from translation team.
61420 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
61422         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
61424         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
61425         handling of denormals.
61426         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
61427         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
61428         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
61429         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
61430         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61431         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
61432         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
61433         Likewise.
61435 2012-05-26  Marek Polacek  <polacek@redhat.com>
61437         [BZ #14152]
61438         * math/libm-test.inc (fma_test): Don't always expect underflow
61439         exception.
61441 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61443         [BZ #12416]
61444         * elf/tst-execstack.c: Include stackinfo.h.
61445         (do_test): Adjust test case to ensure that pthread_getattr_np
61446         behaviour remains the same after marking stack executable.
61448 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
61450         * sysdeps/unix/sysv/linux/kernel-features.h
61451         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
61452         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
61453         kernel-features.h.
61454         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61455         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61456         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
61457         kernel-features.h.
61458         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61459         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61461 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
61463         * configure.in: Define the default includes to being none.
61464         * configure: Regenerated.
61466 2012-05-25  Roland McGrath  <roland@hack.frob.com>
61468         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
61469         * sysdeps/x86_64/setjmp.S: Likewise.
61470         * sysdeps/i386/bsd-setjmp.S: Likewise.
61471         * sysdeps/i386/bsd-_setjmp.S: Likewise.
61472         * sysdeps/i386/setjmp.S: Likewise.
61473         * sysdeps/i386/__longjmp.S: Likewise.
61474         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
61475         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
61477         * include/stap-probe.h: New file.
61478         * configure.in: Handle --enable-systemtap.
61479         * configure: Regenerated.
61480         * config.h.in (USE_STAP_PROBE): New #undef.
61481         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
61482         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
61483         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
61485 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
61487         [BZ #13717]
61488         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
61489         to 2.4.0 where earlier.
61490         * sysdeps/unix/sysv/linux/configure: Regenerated.
61491         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
61492         <kernel-features.h>.
61493         [__ASSUME_32BITUIDS]: Make code unconditional.
61494         [!__ASSUME_32BITUIDS]: Remove conditional code.
61495         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
61496         <kernel-features.h>.
61497         [__ASSUME_32BITUIDS]: Make code unconditional.
61498         [!__ASSUME_32BITUIDS]: Remove conditional code.
61499         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
61500         [__ASSUME_32BITUIDS]: Make code unconditional.
61501         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
61502         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
61503         <kernel-features.h>.
61504         [__ASSUME_32BITUIDS]: Make code unconditional.
61505         [!__ASSUME_32BITUIDS]: Remove conditional code.
61506         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
61507         <kernel-features.h>.
61508         [__ASSUME_32BITUIDS]: Make code unconditional.
61509         [!__ASSUME_32BITUIDS]: Remove conditional code.
61510         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
61511         <kernel-features.h>.
61512         [__ASSUME_32BITUIDS]: Make code unconditional.
61513         [!__ASSUME_32BITUIDS]: Remove conditional code.
61514         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
61515         <kernel-features.h>.
61516         [__ASSUME_32BITUIDS]: Make code unconditional.
61517         [!__ASSUME_32BITUIDS]: Remove conditional code.
61518         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
61519         <kernel-features.h>.
61520         [__ASSUME_32BITUIDS]: Make code unconditional.
61521         [!__ASSUME_32BITUIDS]: Remove conditional code.
61522         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
61523         <kernel-features.h>.
61524         [__ASSUME_32BITUIDS]: Make code unconditional.
61525         [!__ASSUME_32BITUIDS]: Remove conditional code.
61526         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
61527         <kernel-features.h>.
61528         [__ASSUME_32BITUIDS]: Make code unconditional.
61529         [!__ASSUME_32BITUIDS]: Remove conditional code.
61530         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
61531         <kernel-features.h>.
61532         [__ASSUME_32BITUIDS]: Make code unconditional.
61533         [!__ASSUME_32BITUIDS]: Remove conditional code.
61534         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
61535         <kernel-features.h>.
61536         [__ASSUME_32BITUIDS]: Make code unconditional.
61537         [!__ASSUME_32BITUIDS]: Remove conditional code.
61538         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
61539         <kernel-features.h>.
61540         [__ASSUME_32BITUIDS]: Make code unconditional.
61541         [!__ASSUME_32BITUIDS]: Remove conditional code.
61542         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
61543         <kernel-features.h>.
61544         [__NR_setresgid] (__setresgid): Do not declare.
61545         [__ASSUME_32BITUIDS]: Make code unconditional.
61546         [!__ASSUME_32BITUIDS]: Remove conditional code.
61547         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
61548         <kernel-features.h>.
61549         [__NR_setresuid] (__setresuid): Do not declare.
61550         [__ASSUME_32BITUIDS]: Make code unconditional.
61551         [!__ASSUME_32BITUIDS]: Remove conditional code.
61552         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
61553         <kernel-features.h>.
61554         [__ASSUME_32BITUIDS]: Make code unconditional.
61555         [!__ASSUME_32BITUIDS]: Remove conditional code.
61556         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
61557         <kernel-features.h>.
61558         [__ASSUME_32BITUIDS]: Make code unconditional.
61559         [!__ASSUME_32BITUIDS]: Remove conditional code.
61560         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
61561         <kernel-features.h>.
61562         [__ASSUME_32BITUIDS]: Make code unconditional.
61563         [!__ASSUME_32BITUIDS]: Remove conditional code.
61564         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
61565         <kernel-features.h>.
61566         [__ASSUME_32BITUIDS]: Make code unconditional.
61567         [!__ASSUME_32BITUIDS]: Remove conditional code.
61568         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
61569         <kernel-features.h>.
61570         [__ASSUME_32BITUIDS]: Make code unconditional.
61571         [!__ASSUME_32BITUIDS]: Remove conditional code.
61572         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
61573         <kernel-features.h>.
61574         [__ASSUME_32BITUIDS]: Make code unconditional.
61575         [!__ASSUME_32BITUIDS]: Remove conditional code.
61576         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
61577         <kernel-features.h>.
61578         [__ASSUME_32BITUIDS]: Make code unconditional.
61579         [!__ASSUME_32BITUIDS]: Remove conditional code.
61580         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
61581         <kernel-features.h>.
61582         [__ASSUME_32BITUIDS]: Make code unconditional.
61583         [!__ASSUME_32BITUIDS]: Remove conditional code.
61584         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
61585         <kernel-features.h>.
61586         [__ASSUME_32BITUIDS]: Make code unconditional.
61587         [!__ASSUME_32BITUIDS]: Remove conditional code.
61588         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
61589         <kernel-features.h>.
61590         [__ASSUME_32BITUIDS]: Make code unconditional.
61591         [!__ASSUME_32BITUIDS]: Remove conditional code.
61592         * sysdeps/unix/sysv/linux/kernel-features.h
61593         (__ASSUME_SETRESUID_SYSCALL): Remove.
61594         (__ASSUME_SETRESGID_SYSCALL): Likewise.
61595         (__ASSUME_32BITUIDS): Likewise.
61596         (__ASSUME_LDT_WORKS): Likewise.
61597         (__ASSUME_O_DIRECTORY): Likewise.
61598         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
61599         architecture but not kernel version.
61600         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
61601         (__ASSUME_MMAP2_SYSCALL): Likewise.
61602         (__ASSUME_STAT64_SYSCALL): Likewise.
61603         (__ASSUME_IPC64): Likewise.
61604         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
61605         <kernel-features.h>.
61606         [__ASSUME_32BITUIDS]: Make code unconditional.
61607         [!__ASSUME_32BITUIDS]: Remove conditional code.
61608         * sysdeps/unix/sysv/linux/opendir.c: Do not include
61609         <kernel-features.h>.
61610         [__ASSUME_O_DIRECTORY]: Make code unconditional.
61611         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
61612         132096]: Remove conditional code.
61613         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
61614         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
61615         <kernel-features.h>.
61616         [__ASSUME_32BITUIDS]: Make code unconditional.
61617         [!__ASSUME_32BITUIDS]: Remove conditional code.
61618         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
61619         <kernel-features.h>.
61620         [__ASSUME_32BITUIDS]: Make code unconditional.
61621         [!__ASSUME_32BITUIDS]: Remove conditional code.
61622         * sysdeps/unix/sysv/linux/setegid.c: Do not include
61623         <kernel-features.h>.
61624         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
61625         unconditional.
61626         (__setresgid): Do not declare.
61627         [__ASSUME_32BITUIDS]: Make code unconditional.
61628         [!__ASSUME_32BITUIDS]: Remove conditional code.
61629         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
61630         <kernel-features.h>.
61631         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
61632         unconditional.
61633         (__setresuid): Do not declare.
61634         [__ASSUME_32BITUIDS]: Make code unconditional.
61635         [!__ASSUME_32BITUIDS]: Remove conditional code.
61636         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
61637         <kernel-features.h>.
61638         [__ASSUME_32BITUIDS]: Make code unconditional.
61639         [!__ASSUME_32BITUIDS]: Remove conditional code.
61640         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
61641         <kernel-features.h>.
61642         [__ASSUME_32BITUIDS]: Make code unconditional.
61643         [!__ASSUME_32BITUIDS]: Remove conditional code.
61645 2012-05-25  Richard Henderson  <rth@twiddle.net>
61647         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
61648         dl_hwcap to ifunc resolver.
61649         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
61650         elf_ifunc_invoke.
61651         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
61652         dl_hwcap to ifunc resolver.
61653         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
61655 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61657         [BZ #14153]
61658         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
61659         for |x| <= 2**-26, not 2**-57.
61660         * math/libm-test.inc (acos_test): Do not allow spurious underflow
61661         exception.
61663 2012-05-24  Jeff Law  <law@redhat.com>
61665         * stdio-common/Makefile (tests): Add bug25.
61666         * stdio-common/bug25.c: New test.
61668 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
61670         [BZ #13576]
61671         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
61672         multiple of MALLOC_ALIGNMENT in size.
61673         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
61675 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61677         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
61678         Require >= 256.
61679         (FILENAME_MAX): Use macro-int-constant.
61680         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
61681         (_IOFBF): Use macro-int-constant.
61682         (_IOLBF): Likewise.
61683         (_IONBF): Likewise.
61684         (SEEK_CUR): Likewise.
61685         (SEEK_END): Likewise.
61686         (SEEK_SET): Likewise.
61687         (TMP_MAX): Likewise.
61688         (EOF): Use macro-int-constant.  Require < 0.
61689         (NULL): Use macro-constant.  Require == 0.
61690         (stdin): Require type to be FILE *.
61691         (stdout): Likewise.
61692         (stderr): Likewise.
61693         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
61694         macro-int-constant.
61695         (EXIT_SUCCESS): Likewise.
61696         (NULL): Use macro-constant.  Require == 0.
61697         (RAND_MAX): Use macro-int-constant.
61698         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
61699         [C99-based standards] (strtof): Require function.
61700         [C99-based standards] (strtold): Likewise.
61701         [C99-based standards] (strtoll): Likewise.
61702         [C99-based standards] (strtoull): Likewise.
61703         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
61704         [ISO || ISO99 || ISO11] (limits.h): Likewise.
61705         [ISO || ISO99 || ISO11] (math.h): Likewise.
61706         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
61707         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
61708         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61710 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
61712         [BZ #14132]
61713         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
61714         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
61715         * intl/dgettext.c (DCGETTEXT): Likewise.
61716         * intl/gettext.c (DCGETTEXT): Likewise.
61717         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
61718         * posix/regex_internal.h (gettext): Likewise.
61719         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
61720         Remove declaration.
61721         * include/argz.h (__argz_count_internal)
61722         (__argz_stringify_internal): Remove declaration.
61723         (__argz_count, __argz_stringify): Declare hidden proto.
61724         * intl/dcgettext.c: Remove use of INTDEF.
61725         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
61726         * string/argz-stringify.c: Likewise.
61727         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61728         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61729         Declare hidden proto.
61730         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61731         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61732         Declare hidden proto.
61733         * include/stdio.h (__asprintf_internal): Don't declare.
61734         (__asprintf): Don't define as macro.  Declare hidden proto.
61735         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
61736         (__fsetlocking): Declare hidden proto.
61737         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
61738         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
61739         hidden proto.
61740         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
61741         (_IO_setlinebuf): Remove use of INTUSE.
61742         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
61743         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
61744         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
61745         Remove declaration.
61746         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
61747         (_IO_do_flush): Remove use of INTUSE.
61748         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
61749         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
61750         (_IO_adjust_column, _IO_least_wmarker)
61751         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
61752         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
61753         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
61754         (_IO_default_doallocate, _IO_wdefault_doallocate)
61755         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
61756         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
61757         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
61758         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
61759         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
61760         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
61761         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
61762         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
61763         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
61764         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
61765         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
61766         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
61767         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
61768         proto.
61769         (_IO_flush_all_internal, _IO_adjust_column_internal)
61770         (_IO_default_uflow_internal, _IO_default_finish_internal)
61771         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
61772         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
61773         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
61774         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
61775         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
61776         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
61777         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
61778         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
61779         (_IO_file_close_internal, _IO_file_close_it_internal)
61780         (_IO_file_underflow_internal, _IO_file_overflow_internal)
61781         (_IO_file_init_internal, _IO_file_attach_internal)
61782         (_IO_file_fopen_internal, _IO_file_read_internal)
61783         (_IO_file_sync_internal, _IO_file_seek_internal)
61784         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
61785         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
61786         (_IO_str_underflow_internal, _IO_str_overflow_internal)
61787         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
61788         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
61789         (_IO_list_all_internal, _IO_link_in_internal)
61790         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
61791         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
61792         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
61793         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
61794         (_IO_do_write_internal, _IO_padn_internal)
61795         (_IO_getline_info_internal, _IO_getline_internal)
61796         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
61797         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
61798         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
61799         (_IO_vfscanf_internal, _IO_vfprintf_internal)
61800         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
61801         (_IO_init_internal, _IO_un_link_internal): Don't declare.
61802         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
61803         with libc_hidden_ver, remove use of INTUSE.
61804         * libio/genops.c: Likewise.
61805         * libio/freopen.c: Likewise.
61806         * libio/freopen64.c: Likewise.
61807         * libio/iofclose.c: Likewise.
61808         * libio/iofdopen.c: Likewise.
61809         * libio/iofflush.c: Likewise.
61810         * libio/iofflush_u.c: Likewise.
61811         * libio/iofgets.c: Likewise.
61812         * libio/iofgets_u.c: Likewise.
61813         * libio/iofopen.c: Likewise.
61814         * libio/iofopncook.c: Likewise.
61815         * libio/iofread.c: Likewise.
61816         * libio/iofread_u.c: Likewise.
61817         * libio/ioftell.c: Likewise.
61818         * libio/iofwrite.c: Likewise.
61819         * libio/iogetline.c: Likewise.
61820         * libio/iogets.c: Likewise.
61821         * libio/iogetwline.c: Likewise.
61822         * libio/iopadn.c: Likewise.
61823         * libio/iopopen.c: Likewise.
61824         * libio/ioseekoff.c: Likewise.
61825         * libio/ioseekpos.c: Likewise.
61826         * libio/iosetbuffer.c: Likewise.
61827         * libio/iosetvbuf.c: Likewise.
61828         * libio/ioungetc.c: Likewise.
61829         * libio/ioungetwc.c: Likewise.
61830         * libio/iovdprintf.c: Likewise.
61831         * libio/iovsprintf.c: Likewise.
61832         * libio/iovsscanf.c: Likewise.
61833         * libio/memstream.c: Likewise.
61834         * libio/obprintf.c: Likewise.
61835         * libio/oldfileops.c: Likewise.
61836         * libio/oldiofclose.c: Likewise.
61837         * libio/oldiofdopen.c: Likewise.
61838         * libio/oldiofopen.c: Likewise.
61839         * libio/oldiopopen.c: Likewise.
61840         * libio/oldstdfiles.c: Likewise.
61841         * libio/putc.c: Likewise.
61842         * libio/setbuf.c: Likewise.
61843         * libio/setlinebuf.c: Likewise.
61844         * libio/stdfiles.c: Likewise.
61845         * libio/strops.c: Likewise.
61846         * libio/vasprintf.c: Likewise.
61847         * libio/vscanf.c: Likewise.
61848         * libio/vsnprintf.c: Likewise.
61849         * libio/vswprintf.c: Likewise.
61850         * libio/wfiledoalloc.c: Likewise.
61851         * libio/wfileops.c: Likewise.
61852         * libio/wgenops.c: Likewise.
61853         * libio/wmemstream.c: Likewise.
61854         * libio/wstrops.c: Likewise.
61855         * libio/__fpurge.c: Likewise.
61856         * libio/__fsetlocking.c: Likewise.
61857         * assert/assert.c: Likewise.
61858         * debug/fgets_chk.c: Likewise.
61859         * debug/fgets_u_chk.c: Likewise.
61860         * debug/fread_chk.c: Likewise.
61861         * debug/fread_u_chk.c: Likewise.
61862         * debug/gets_chk.c: Likewise.
61863         * debug/obprintf_chk.c: Likewise.
61864         * debug/vasprintf_chk.c: Likewise.
61865         * debug/vdprintf_chk.c: Likewise.
61866         * debug/vsnprintf_chk.c: Likewise.
61867         * debug/vsprintf_chk.c: Likewise.
61868         * malloc/mtrace.c: Likewise.
61869         * misc/error.c: Likewise.
61870         * misc/syslog.c: Likewise.
61871         * stdio-common/asprintf.c: Likewise.
61872         * stdio-common/fxprintf.c: Likewise.
61873         * stdio-common/getw.c: Likewise.
61874         * stdio-common/isoc99_fscanf.c: Likewise.
61875         * stdio-common/isoc99_scanf.c: Likewise.
61876         * stdio-common/isoc99_vfscanf.c: Likewise.
61877         * stdio-common/isoc99_vscanf.c: Likewise.
61878         * stdio-common/isoc99_vsscanf.c: Likewise.
61879         * stdio-common/printf-prs.c: Likewise.
61880         * stdio-common/printf_fp.c: Likewise.
61881         * stdio-common/printf_fphex.c: Likewise.
61882         * stdio-common/printf_size.c: Likewise.
61883         * stdio-common/putw.c: Likewise.
61884         * stdio-common/scanf.c: Likewise.
61885         * stdio-common/sprintf.c: Likewise.
61886         * stdio-common/tmpfile.c: Likewise.
61887         * stdio-common/vfprintf.c: Likewise.
61888         * stdio-common/vfscanf.c: Likewise.
61889         * stdlib/strfmon_l.c: Likewise.
61890         * sunrpc/openchild.c: Likewise.
61891         * sunrpc/xdr_stdio.c: Likewise.
61892         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
61893         * sysdeps/mach/hurd/tmpfile.c: Likewise.
61895 2012-05-24  Roland McGrath  <roland@hack.frob.com>
61897         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
61899         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
61900         in the third column, to generate for the shared library an IFUNC
61901         that uses _dl_vdso_vsym.
61902         * Makerules (COMPILE.c, compile-stdin.c): New variables.
61903         * Makeconfig (object-suffixes-noshared): New variable.
61905         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
61906         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
61907         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
61908         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
61910         [BZ #14132]
61911         * include/sys/time.h (__gettimeofday): Remove macro.
61912         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
61913         * time/gettimeofday.c (__gettimeofday): Remove #undef.
61914         Remove INTDEF.
61915         (__gettimeofday): Add libc_hidden_def.
61916         (gettimeofday): Add libc_hidden_weak.
61917         * sysdeps/mach/gettimeofday.c: Likewise.
61918         * sysdeps/posix/gettimeofday.c: Likewise.
61919         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
61920         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
61921         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
61922         (__gettimeofday_internal): Remove strong_alias.
61923         (__gettimeofday): Add libc_hidden_def.
61924         (gettimeofday): Add libc_hidden_weak.
61925         * sysdeps/unix/syscalls.list (gettimeofday):
61926         Remove __gettimeofday_internal alias.
61928 2012-05-24  Daniel Jacobowitz  <drow@false.org>
61929             H.J. Lu  <hongjiu.lu@intel.com>
61931         [BZ #12495]
61932         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
61933         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
61934         (largebin_index_32_big): New.
61935         (largebin_index): Use it for 16-byte alignment.
61936         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
61937         correction with front_misalign.
61939 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
61941         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
61942         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
61943         Likewise.
61944         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
61945         Likewise.
61946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
61947         Likewise.
61948         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
61949         Likewise.
61950         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
61951         Likewise.
61952         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
61953         Likewise.
61954         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
61955         Likewise.
61956         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
61957         Likewise.
61958         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
61959         Likewise.
61960         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
61961         Likewise.
61962         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
61963         Likewise.
61964         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
61965         Likewise.
61967         * scripts/data/c++-types-x32-linux-gnu.data: New file.
61968         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
61970 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61972         [BZ #10846]
61973         [BZ #14036]
61974         * math/libm-test.inc (exp_test): Add test from bug 14036.
61975         (pow_test): Add test from bug 10846.
61977         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
61978         and other flags.
61979         (special_function): Do not include flags in test name.
61980         (parse_args): Likewise.
61981         * sysdeps/i386/fpu/libm-test-ulps: Update.
61982         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61983         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
61984         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
61985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61987         * math/gen-libm-test.pl (%beautify): Add entries for underflow
61988         exceptions.
61989         * math/libm-test.inc ("Philosophy"): Update comment about
61990         exception testing.
61991         (UNDERFLOW_EXCEPTION): New macro.
61992         (UNDERFLOW_EXCEPTION_OK): Likewise.
61993         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
61994         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
61995         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
61996         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
61997         (INVALID_EXCEPTION_OK): Update value.
61998         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61999         (OVERFLOW_EXCEPTION_OK): Likewise.
62000         (IGNORE_ZERO_INF_SIGN): Likewise.
62001         (test_exceptions): Handle underflow exceptions.
62002         (acos_test): Update for underflow exception expectations.
62003         (cexp_test): Likewise.
62004         (clog_test): Likewise.
62005         (clog10_test): Likewise.
62006         (csqrt_test): Likewise.
62007         (ctan_test): Likewise.
62008         (ctanh_test): Likewise.
62009         (exp_test): Likewise.
62010         (exp10_test): Likewise.
62011         (exp2_test): Likewise.
62012         (expm1_test): Likewise.
62013         (fma_test): Likewise.
62014         (j0_test): Likewise.
62015         (jn_test): Likewise.
62016         (nexttoward_test): Likewise.
62017         (pow_test): Likewise.
62018         (scalbn_test): Likewise.
62019         (scalbln_test): Likewise.
62020         (tan_test): Likewise.
62021         (y1_test): Likewise.
62022         * sysdeps/i386/fpu/libm-test-ulps: Update.
62023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62025 2012-05-23  David S. Miller  <davem@davemloft.net>
62027         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62028         (__libc_sigaction): Remove unused local variables.
62030 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62032         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
62034 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
62036         mktime: avoid signed integer overflow
62037         * time/mktime.c (__mktime_internal): Do not mishandle the case
62038         where diff == INT_MIN.
62040         mktime: simplify computation of average
62041         * time/mktime.c (ranged_convert): Use new time_t_avg function
62042         instead of rolling our own (probably-slower) code.
62044         mktime: do not assume signed right shift propagates sign bit
62045         * time/mktime.c (isdst_differ): New static function.
62046         (__mktime_internal): No need to normalize tm_isdst now.
62047         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
62048         tm_isdst values.
62050         mktime: merge another wrapv change from gnulib
62051         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
62052         from some compilers.
62054         mktime: remove incorrect attempt at unusual arithmetics
62055         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
62056         The code didn't really work on such machines anyway.
62057         (TYPE_MINIMUM): Assume two's complement.
62058         (twos_complement_arithmetic): Verify that long_int and time_t
62059         are two's complement (or unsigned, in the latter case).
62061         mktime: check signed shifts on long_int and time_t, too
62062         * time/mktime.c (SHR): Check that shifts work as desired
62063         on the types long_int and time_t too, as SHR is used on
62064         such types.
62066         mktime: do not assume 'long' is wide enough
62067         * time/mktime.c (verify): Move decl up.
62068         (long_int): New type.
62069         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
62070         to remove assumption in the code that 'long' is wide enough to
62071         store year values.  This assumption is not true on x32 and on
62072         some non-glibc platforms.
62074         mktime: merge wrapv change from gnulib
62075         * time/mktime.c (WRAPV): New macro.
62076         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
62077         (guess_time_tm, __mktime_internal): Do not assume that signed
62078         integer overflow wraps around; modern compilers generate code
62079         where this assumption is no longer valid.
62081 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62083         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62084         Replace "jmp L(pseudo_end)" with "ret".
62085         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
62086         Likewise.
62088 2012-05-23  Andreas Jaeger  <aj@suse.de>
62090         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
62091         * sysdeps/unix/sysv/linux/poll.c: Remove file.
62093 2012-05-23  Andreas Jaeger  <aj@suse.de>
62094             Maximilian Attems  <max@stro.at>
62096         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
62097         New macros.
62099 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62101         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
62102         code so that pseudo_end is just ret and the stack pointer is
62103         correct also for static library in error case.
62105 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
62107         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
62108         move to syscalls.list.
62109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
62110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
62111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
62112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
62114         * manual/install.texi (Running make install): Do not mention Linux
62115         kernel version for which pt_chown is not needed.
62116         (Linux): Do not mention problems with nscd with 2.0 kernels.
62117         * INSTALL: Regenerated.
62119 2012-05-23  Andreas Jaeger  <aj@suse.de>
62121         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
62122         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
62123         macro.
62124         * sysdeps/unix/sysv/linux/s390/bits/mman.h
62125         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62126         * sysdeps/unix/sysv/linux/sh/bits/mman.h
62127         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62128         * sysdeps/unix/sysv/linux/i386/bits/mman.h
62129         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62130         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
62131         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62132         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
62133         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62134         * sysdeps/unix/sysv/linux/bits/in.h
62135         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
62137 2012-05-22  Roland McGrath  <roland@hack.frob.com>
62139         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
62140         (PREPARE_VERSION): Just use assert instead, it will be elided
62141         under [NDEBUG] anyway.
62143 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62145         * sysdeps/unix/sysv/linux/Makefile: Include
62146         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
62147         (sysdep_routines): Remove sysctl.
62148         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
62149         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
62150         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
62151         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
62152         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
62154 2012-05-22  Andreas Jaeger  <aj@suse.de>
62156         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
62157         that pseudo_end is just ret and the stack pointer is correct also
62158         for static library in error case.
62160 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
62162         [BZ #14122]
62163         * nss/nsswitch.c (defconfig_entries): New variable.
62164         (__nss_database_lookup): Don't leak defconfig entries.
62165         (nss_parse_service_list): Don't leak on error paths.
62166         (free_database_entries): New function.
62167         (free_defconfig): New function.
62168         (free_mem): Move common code to free_database_entries.
62170 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62172         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
62173         Add arch_prctl.
62174         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
62176         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
62177         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
62178         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
62179         New macro.
62180         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
62181         (INTERNAL_SYSCALL_TYPES): Likewise.
62182         (LOAD_ARGS_TYPES_[1-6]): Likewise.
62183         (LOAD_REGS_TYPES_[1-6]): Likewise.
62184         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
62185         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
62187 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62189         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
62190         copysignl for GLIBC_2_0.
62191         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
62192         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
62193         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
62194         logbl for GLIBC_2_0.
62195         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
62196         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
62198 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62200         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
62201         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62203         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62204         Use "neg %eax".
62206         * time/mktime.c: Update copyright years.
62208 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
62210         mktime: merge comment-quoting-style change from gnulib
62211         * time/mktime.c: Quote 'like this' in comments.
62212         The GNU coding standards suggest that we no longer quote `like this',
62213         as "`" and "'" are typically rendered asymmetrically nowadays.
62214         The typical gnulib style is to quote 'like this' when quoting
62215         code, and "like this" when quoting English.
62217         * time/mktime.c (compile-command): Add "-I.".
62219         mktime: merge mktime-internal.h change from gnulib
62220         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
62222         mktime: merge time_r change from gnulib
62223         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
62225         mktime: merge DEBUG change from gnulib
62226         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
62227         case system <time.h> has a #define.
62229         mktime: merge <sys/types.h> change from gnulib
62230         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
62231         since <time.t> is now guaranteed to define time_t.
62233         mktime: merge HAVE_CONFIG_H change from gnulib
62234         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
62236 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62238         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62239         Use "neg %eax".
62241         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
62242         __rlim_t cast.
62243         (struct rusage): Use anonymous union to pad each field to
62244         __syscall_slong_t.
62246 2012-05-21  David S. Miller  <davem@davemloft.net>
62248         * Makefules (o-iterator): Remove .s cases.
62249         (compile-command.s): Delete.
62250         (COMPILE.s): Delete.
62251         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
62253 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
62255         * configure.in (libc_cv_predef_stack_protector): Only consider
62256         "foobar" and "__stack_chk_fail" lines in libc_undefs.
62257         * configure: Regenerated.
62259 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62261         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62262         New macro.  Use R*LP on int and pointer.
62263         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
62264         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
62265         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
62266         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
62268         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
62269         [__WORDSIZE_TIME64_COMPAT32] instead of
62270         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
62271         (struct utmp): Likewise.
62272         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
62273         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
62274         Renamed to ...
62275         (__WORDSIZE_TIME64_COMPAT32): This.
62276         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
62277         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
62278         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
62279         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
62280         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
62281         (__WORDSIZE_TIME64_COMPAT32): New macro.
62283 2012-05-21  Andreas Jaeger  <aj@suse.de>
62285         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
62286         only if [SHARED]. Add prototype for __wcschr_ia32.
62288 2012-05-21  Roland McGrath  <roland@hack.frob.com>
62290         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
62291         of %rbp unmolested in the jmp_buf while mangling the low bits.
62292         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
62293         unmolested high bits of %rbp while demangling the low bits.
62294         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62296 2012-05-21  Andreas Jaeger  <aj@suse.de>
62298         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
62299         * sunrpc/svc_simple.c: Use it for registerrpc.
62300         * sunrpc/xcrypt.c: Use it for passwd2des.
62302         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
62304 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62306         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
62307         Don't define if [__SYSCALL_WORDSIZE != 32].
62308         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
62309         New macro.
62311 2012-05-21  Bruno Haible  <bruno@clisp.org>
62312             Andreas Jaeger  <aj@suse.de>
62314         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
62315         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
62316         inptr and inend for must_buffer_ch.
62317         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
62318         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
62319         * stdio-common/Makefile (tests): Remove bug15.
62320         (bug15-ENV): Remove macro.
62321         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
62322         anymore.
62324 2012-05-19  Andreas Jaeger  <aj@suse.de>
62325             Roland McGrath  <roland@hack.frob.com>
62327         * manual/contrib.texi: Completely rewritten. It contains now an
62328         alphabetical list of contributors and their contributions.
62330 2012-05-21  Richard Henderson  <rth@twiddle.net>
62332         * misc/getauxval.c (__getauxval): Use unsigned long int.
62333         * misc/sys/auxv.h: Include <sys/cdefs.h>.
62334         (getauxval): Use unsigned long int.
62336 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62338         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62340 2012-05-21  Roland McGrath  <roland@hack.frob.com>
62342         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
62343         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
62344         __alignof__ (long double).
62346 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62350 2012-05-20  Richard Henderson  <rth@twiddle.net>
62352         * misc/getauxval.c: New file.
62353         * misc/sys/auxv.h: New file.
62354         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
62355         (routines): Add getauxval.
62356         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
62357         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
62358         * elf/dl-sysdep.c (_dl_auxv): Remove.
62359         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
62360         * elf/dl-support.c (_dl_auxv): New variable.
62361         (_dl_aux_init): Initialize it.
62362         * manual/startup.texi (Auxiliary Vector): New node.
62363         * sysdeps/generic/bits/hwcap.h: New file.
62364         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
62365         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
62366         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
62367         * sysdeps/sparc/sysdep.h: ... here.  Include it.
62368         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
62369         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
62370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62371         Update.
62372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
62373         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
62374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
62375         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
62376         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62377         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62378         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
62379         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
62381 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62385 2012-05-19  David S. Miller  <davem@davemloft.net>
62387         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62389 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
62391         [BZ #14123]
62392         * math/s_ccosh.c: Include <float.h>
62393         (__ccosh): Avoid internal overflow calculating sinh and cosh
62394         values before multiplying by sin and cos values.
62395         * math/s_ccoshf.c: Likewise.
62396         * math/s_ccoshl.c: Likewise.
62397         * math/s_csin.c: Likewise.
62398         * math/s_csinf.c: Likewise.
62399         * math/s_csinl.c: Likewise.
62400         * math/s_csinh.c: Likewise.
62401         * math/s_csinhf.c: Likewise.
62402         * math/s_csinhl.c: Likewise.
62403         * math/libm-test.inc (ccos_test): Add more tests.
62404         (ccosh_test): Likewise.
62405         (csin_test): Likewise.
62406         (csinh_test): Likewise.
62407         * sysdeps/i386/fpu/libm-test-ulps: Update.
62408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62410 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
62412         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
62413         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
62415         * sysdeps/x86_64/x32/_itoa.h: Add comment.
62417 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
62419         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
62420         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
62421         * sysdeps/powerpc/soft-fp/Versions: Likewise.
62422         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
62423         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
62424         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
62425         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
62426         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
62427         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
62428         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
62429         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
62430         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
62431         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
62432         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
62433         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
62434         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
62435         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
62436         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
62437         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
62438         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
62439         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
62440         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
62441         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
62442         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
62443         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
62444         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
62445         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
62446         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
62447         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
62448         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
62449         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
62451 2012-05-18  Andreas Jaeger  <aj@suse.de>
62453         * csu/.gitignore: Delete.
62455 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62457         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
62458         (timex): Use __syscall_slong_t.
62460 2012-05-18  Andreas Jaeger  <aj@suse.de>
62461             Carlos O'Donell  <carlos_odonell@mentor.com>
62463         * manual/install.texi (Configuring and compiling): Update
62464         description about files modified in the source directory.
62465         * INSTALL: Regenerated.
62467 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62469         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
62470         value.  Use "or" to set return value to -1.
62471         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
62472         negate return value.
62474 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62476         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
62477         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
62478         failure if the compiler has Graphite support disabled.
62479         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
62480         Likewise.
62481         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
62482         (CFLAGS-memmove.c): Likewise.
62483         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
62484         Likewise.
62486 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62488         * sysdeps/x86_64/x32/_itoa.h: New file.
62490         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
62491         getdents system call only if kernel and user dirents have the
62492         same d_ino and d_off.
62494         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
62495         LLONG_MAX != LONG_MAX.
62496         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62497         (_fitoa_word): Likewise.
62499         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
62500         years.
62501         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
62502         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
62503         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
62505         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
62506         include <bits/wordsize.h>.  Check __x86_64__ instead of
62507         __WORDSIZE.
62508         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
62509         if __x86_64__ is defined.  Use anonymous union on fpstate.
62511         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
62512         anonymous union.
62514 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
62516         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
62517         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
62518         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
62519         Refer to _rtld_local_ro instead of _rtld_global_ro.
62520         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
62521         Likewise.
62522         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
62523         Likewise.
62524         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
62525         Likewise.
62526         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
62527         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
62528         of _rtld_global, and rtld_progname instead of _dl_argv[0].
62530         [BZ #10882]
62531         * sysdeps/powerpc/powerpc32/dl-machine.c
62532         (__elf_machine_runtime_setup) [PROF]: Don't reference
62533         _dl_prof_resolve.
62535 2012-05-18  Andreas Jaeger  <aj@suse.de>
62537         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
62538         function only available for GCCs before 3.4 since GCC 3.4
62539         introduced a builtin.
62540         (lrint): Likewise.
62541         (llrintf): Likewise.
62542         (llrint): Likewise.
62543         (fmaxf): Likewise.
62544         (fmax): Likewise.
62545         (fminf): Likewise.
62546         (fmin): Likewise.
62547         (rint): Likewise.
62548         (rintf): Likewise.
62549         (nearbyint): Likewise.
62550         (nearbyintf): Likewise.
62551         (ceil): Likewise.
62552         (ceilf): Likewise.
62553         (floor): Likewise.
62554         (floorf): Likewise.
62556 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62558         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
62559         on both fields and cast pointer to __syscall_ulong_t.
62561         * bits/types.h (__fsword_t): New type.
62562         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
62563         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
62564         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62565         (__FSWORD_T_TYPE): Likewise.
62566         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62567         (__FSWORD_T_TYPE): Likewise.
62568         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62569         (__FSWORD_T_TYPE): Likewise.
62570         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
62571         (__FSWORD_T_TYPE): Likewise.
62572         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
62573         __SWORD_TYPE with __fsword_t.
62574         (statfs64): Likewise.
62576 2012-05-17  David S. Miller  <davem@davemloft.net>
62578         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
62580 2012-05-17  Andreas Jaeger  <aj@suse.de>
62582         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
62583         warning.
62585 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62587         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
62589 2012-05-17  Andreas Jaeger  <aj@suse.de>
62591         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
62592         when it is used.
62594 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
62596         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
62598 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62600         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
62601         * sysdeps/x86_64/tst-mallocalign1.c: New file.
62603 2012-05-17  Andreas Jaeger  <aj@suse.de>
62604             Carlos O'Donell  <carlos_odonell@mentor.com>
62606         [BZ #14059]
62607         * sysdeps/x86_64/multiarch/init-arch.h
62608         (bit_YMM_Usable): Rename to...
62609         (bit_AVX_Usable): ... this.
62610         (bit_FMA4_Usable): New macro.
62611         (bit_XMM_state): New macro.
62612         (bit_YMM_state): New macro.
62613         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
62614         [__ASSEMBLER__] (index_AVX_Usable): ... this.
62615         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
62616         (CPUID_OSXSAVE): New macro.
62617         (CPUID_AVX): New macro.
62618         (CPUID_FMA4): New macro.
62619         (index_YMM_Usable): Rename to...
62620         (index_AVX_Usable): ... this.
62621         (HAS_AVX): Use HAS_ARCH_FEATURE.
62622         (HAS_FMA4): Likewise.
62623         (HAS_YMM_USABLE): Remove.
62624         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62625         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
62626         are present.
62627         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
62628         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
62629         * sysdeps/x86_64/multiarch/Makefile: Likewise.
62630         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
62631         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
62633 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
62635         * math/libm-test.c: Support platforms without multiple rounding modes.
62636         * math/bug-nextafter.c: Support platforms without FP exceptions.
62637         * math/bug-nexttoward.c: Likewise.
62638         * math/test-fenv.c: Likewise.
62639         * math/test-misc.c: Likewise.
62640         * stdlib/bug-getcontext.c: Likewise.
62642 2012-05-17  Andreas Jaeger  <aj@suse.de>
62644         * manual/examples/search.c (critter_cmp): Change signature to
62645         avoid warnings.
62646         * manual/string.texi (Collation Functions): Likewise.
62648 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62650         * bits/types.h: Fold copyright years.
62651         * bits/typesizes.h: Likewise.
62652         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
62653         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
62654         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
62655         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
62656         * time/time.h: Likewise.
62658 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
62660         [BZ #208]
62661         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
62662         in instead of returning them.  Return void.
62663         (__libc_mallinfo): Accumulate over all arenas.
62664         (__malloc_stats): Adjust for change in int_mallinfo interface.
62666 2012-05-16  Roland McGrath  <roland@hack.frob.com>
62668         [BZ #10375]
62669         * configure.in (NM): Add AC_CHECK_TOOL for it.
62670         (libc_extra_cflags): New substituted variable.
62671         Check for -fstack-protector being used implicitly.
62672         * configure: Regenerated.
62673         * config.make.in (config-extra-cflags): New variable,
62674         gets @libc_extra_cflags@.
62675         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
62677         [BZ #10375]
62678         * configure.in: Check for _FORTIFY_SOURCE being predefined.
62679         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
62680         * configure: Regenerated.
62681         * config.make.in (CPPUNDEFS): New substituted variable.
62682         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
62683         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
62684         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
62686 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62688         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
62689         (mq_attr): Use __syscall_slong_t.
62691 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62693         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
62694         Check __x86_64__ instead of __WORDSIZE.
62695         (_STAT_VER_LINUX): Likewise.
62696         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
62697         __syscall_ulong_t and __syscall_slong_t.
62698         (stat64): Likewise.
62700 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62702         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
62704 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62706         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
62708 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62710         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
62711         __syscall_ulong_t.
62713         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
62714         include <bits/wordsize.h>.  Check __x86_64__ instead of
62715         __WORDSIZE.
62716         (greg_t): Use "__extension__ long long int" if __x86_64__ is
62717         defined.
62718         (mcontext_t): Replace "unsigned long" with "unsigned long long".
62720         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
62721         include <bits/wordsize.h>.  Check __x86_64__ instead of
62722         __WORDSIZE.
62723         (user_regs_struct): Use "__extension__ unsigned long long"
62724         instead of "unsigned long" if __x86_64__ is defined.
62725         (user): Likewise.  Pad after pointer field if __ILP32__ is
62726         defined.
62728 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
62730         * configure.in (makeinfo): Require version 4.5 or later.  Allow
62731         versions 5 to 9.
62732         * configure: Regenerated.
62733         * manual/install.texi (texinfo): Increase version requirement to
62734         4.5 or later.
62735         * INSTALL: Regenerated.
62737         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
62739 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62741         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
62743         * sysdeps/x86_64/x32/ffs.c: New file.
62745         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
62746         __syscall_ulong_t.
62747         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
62748         defined.  Use __syscall_ulong_t.
62749         (shminfo): Use __syscall_ulong_t.
62750         (shm_info): Likewise.
62752         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
62753         __syscall_ulong_t.
62755         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
62756         <bits/wordsize.h>.
62757         (msgqnum_t): Use __syscall_ulong_t.
62758         (msglen_t): Likewise.
62759         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
62760         __syscall_ulong_t.
62762         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
62763         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62765         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
62767         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
62768         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
62770         * sysvipc/sys/msg.h (msgbuf): Replace long int with
62771         __syscall_slong_t.
62773         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
62774         include <bits/wordsize.h>.  Check __x86_64__ instead of
62775         __WORDSIZE.
62777         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
62778         "unsigned long long int" if __x86_64__ is defined.
62779         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
62781         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
62782         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62783         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
62785         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
62786         <stdint.h>.
62787         (GET_PC): Cast to uintptr_t first.
62788         (GET_FRAME): Likewise.
62789         (GET_STACK): Likewise.
62791         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
62792         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
62793         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
62794         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
62795         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
62796         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
62797         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
62798         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
62799         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
62800         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
62801         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
62802         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
62803         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62804         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
62805         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
62806         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
62807         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
62808         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
62809         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
62810         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
62811         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
62812         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
62813         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
62814         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
62815         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
62816         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
62817         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
62818         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
62819         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
62821 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
62823         * Makerules (+depfiles): Also collect depfiles from .oS in
62824         $(extra-objs).
62825         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
62826         .oS, $(libnldbl-routines)).
62828         * Makerules (native-compile-mkdep-flags): Define.
62829         * sunrpc/Makefile (extra-objs): Add $(addprefix
62830         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
62831         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
62832         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
62833         calling $(make-target-directory).
62835 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62837         * bits/types.h (__snseconds_t): Removed.
62838         * time/time.h (struct timespec): Replace __snseconds_t with
62839         __syscall_slong_t.
62840         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
62841         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
62842         Likewise.
62843         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62844         (__SNSECONDS_T_TYPE): Likewise.
62845         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62846         (__SNSECONDS_T_TYPE): Likewise.
62847         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62848         (__SNSECONDS_T_TYPE): Likewise.
62850 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62852         * sysdeps/mach/hurd/bits/typesizes.h
62853         (__SYSCALL_SLONG_TYPE): New macro.
62854         (__SYSCALL_ULONG_TYPE): Likewise.
62856 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62858         * bits/types.h (__syscall_slong_t): New type.
62859         (__syscall_ulong_t): Likewise.
62861         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
62862         (__SYSCALL_ULONG_TYPE): Likewise.
62863         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62864         (__SYSCALL_SLONG_TYPE): Likewise.
62865         (__SYSCALL_ULONG_TYPE): Likewise.
62866         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62867         (__SYSCALL_SLONG_TYPE): Likewise.
62868         (__SYSCALL_ULONG_TYPE): Likewise.
62869         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62870         (__SYSCALL_SLONG_TYPE): Likewise.
62871         (__SYSCALL_ULONG_TYPE): Likewise.
62873 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62875         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
62876         Add sigaltstack-offsets.sym.
62877         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
62878         <sigaltstack-offsets.h>.
62879         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
62880         longjmp_msg pointer.
62881         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
62882         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
62883         signal stack.
62884         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
62886 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
62888         * elf/stackguard-macros.h: Remove file.
62889         * sysdeps/generic/stackguard-macros.h: New file.
62890         * sysdeps/i386/stackguard-macros.h: Likewise.
62891         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
62892         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
62893         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
62894         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
62895         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
62896         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
62897         * sysdeps/x86_64/stackguard-macros.h: Likewise.
62898         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
62899         <elf/stackguard-macros.h>.
62901         [BZ #14109]
62902         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
62903         __aligned__ in attribute.
62904         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
62905         (gregset_t): Likewise.
62907 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62909         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
62910         * sysdeps/x86_64/64/Implies-after: Here.  New file.
62911         * sysdeps/x86_64/x32/Implies-after: New file.
62913 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62915         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
62916         and access return value for _dl_profile_fixup.  Use R10_LP to
62917         load frame size.
62919 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62921         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
62923 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62925         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
62926         * sysdeps/x86_64/x32/sysdep.h: New file.
62928 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62930         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
62931         * sysdeps/x86_64/setjmp.S: Likewise.
62933 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62935         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
62936         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
62937         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
62938         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
62939         remove unused global constant.
62941 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
62943         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
62944         include of <not-cancel.h>.
62946 2012-05-15  Roland McGrath  <roland@hack.frob.com>
62948         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
62950 2012-05-15  Jeff Law  <law@redhat.com>
62951             Andreas Jaeger  <aj@suse.de>
62953         [BZ #13594]
62954         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
62955         out from...
62956         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
62957         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
62958         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
62959         code changing __hst_map_handle.map.
62961 2012-05-15  Roland McGrath  <roland@hack.frob.com>
62963         * configure.in (sysnames): Look for Implies-before and Implies-after
62964         files.
62965         * configure: Regenerated.
62967 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62969         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
62970         8-byte data alignment with LP_SIZE alignment.
62972 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62974         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
62975         into R10_LP.
62977 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62979         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
62981 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62983         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
62984         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
62985         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
62986         Likewise.
62987         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62989 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62991         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
62992         (stackinfo_sub_sp): Likewise.
62994 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62996         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
62997         RAX_LP.
62999 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63001         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
63002         into R*_LP.
63004 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63006         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
63007         sizes into R*_LP.
63009 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63011         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
63013 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63015         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
63016         into R11_LP and load __x86_64_shared_cache_size_half into
63017         R8_LP.
63019 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63021         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
63022         R8_LP.
63024 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63026         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
63027         logb for POWER7.
63028         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
63029         logbf for POWER7.
63030         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
63031         logbl for POWER7.
63032         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
63033         powerpc32/power7/fpu/s_logb.c via #include.
63034         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
63035         powerpc32/power7/fpu/s_logbf.c via #include.
63036         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
63037         powerpc32/power7/fpu/s_logbl.c via #include.
63039 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
63041         * README.libm: Remove file.
63043 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63045         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
63046         count for x32.  Use R*_LP and omit operand-size suffix.
63048 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63050         * shlib-versions: Move x86_64-.*-linux.* entries to ...
63051         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
63052         * sysdeps/x86_64/x32/shlib-versions: New file.
63054 2012-05-14  Roland McGrath  <roland@hack.frob.com>
63056         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
63057         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
63058         Use _dl_fatal_printf instead.
63060 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63062         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
63063         set if not set by the user.  Do not allow for being unset.
63064         * sysdeps/unix/sysv/linux/configure: Regenerated.
63066 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63068         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
63069         the `q' suffix from lea and replace .quad with ASM_ADDR.
63071 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63073         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
63074         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
63075         instead of $17.
63076         (PTR_DEMANGLE): Likewise.
63078 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63080         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
63081         (LP_OP): Likewise.
63082         (ASM_ADDR): Likewise.
63083         (RAX_LP): Likewise.
63084         (RBP_LP): Likewise.
63085         (RBX_LP): Likewise.
63086         (RCX_LP): Likewise.
63087         (RDI_LP): Likewise.
63088         (RSI_LP): Likewise.
63089         (RSP_LP): Likewise.
63090         (R8_LP): Likewise.
63091         (R9_LP): Likewise.
63092         (R10_LP): Likewise.
63093         (R10_LP): Likewise.
63094         (R11_LP): Likewise.
63095         (R12_LP): Likewise.
63096         (R13_LP): Likewise.
63097         (R14_LP): Likewise.
63098         (R15_LP): Likewise.
63100 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63102         * sysdeps/x86_64/x32/dl-machine.h: New file.
63104 2012-05-14  Andreas Jaeger  <aj@suse.de>
63106         * manual/Makefile (subdir): Remove export of subdir.
63107         (all): Remove target.
63108         (.PHONY): Remove all from list.
63109         (mkinstalldirs): Remove.
63110         (.PHONY): Remove installdirs from list.
63111         ($(inst_infodir)/libc.info): Use make-target-directory.
63112         (installdirs): Remove.
63113         (subdir_%): Remove.
63114         (glibc-targets): Remove.
63115         (lib): Remove.
63116         (stubs): Remove.
63117         ($(objpfx)stubs ../po/manual.pot): Remove.
63118         ($(objpfx)stamp%): Remove.
63119         (make-target-directory): Remove.
63120         (subdir_install): Remove.
63121         (routines): Remove.
63122         (aux): Remove.
63123         (sources): Remove.
63124         (objects): Remove.
63125         (headers): Remove.
63127         [BZ #13750]
63128         * manual/.gitignore: Remove, it's not needed anymore.
63129         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
63130         all files in it.
63131         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
63132         directory.
63133         (texis): Renamed to $(objpfx)texis.
63134         (texis-path): New, contains path to generated files.
63135         (chapters.%): Use texis-path for complete path, add extra argument
63136         libc-texinfo.sh.
63137         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
63138         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
63139         (summary,texi, stamp-summary): Use complete path of
63140         files. Generate files in build dir.
63141         (dir-add.texi): Build in build dir.
63142         (libm-err.texi,stamp-libm-err): Likewise.
63143         (version.texi, stamp-version): Likewise.
63144         (.%c.texi): Likewise.
63145         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
63146         (mostlyclean): Remove target.
63147         (realclean): Remove target.
63148         (generated): Add new variable with contents from mostlyclean and
63149         realclean, remove entries duplicated in common-mostlyclean, add
63150         stamp-libm-err and stamp-version.
63151         (generated-dirs): Add libc directory.
63152         ($(inst_infodir)/libc.info): Install files from build dir.
63154         * manual/install.texi (Configuring and compiling): Adjust since
63155         the info files are not part of the tar ball anymore.
63157 2012-05-14  Andreas Jaeger  <aj@suse.de>
63159         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
63160         variable.
63162 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63164         [BZ #13717]
63165         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63166         to 2.2.0 where earlier.
63167         * sysdeps/unix/sysv/linux/configure: Regenerated.
63168         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
63169         Remove conditional code.
63170         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
63171         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
63172         Remove conditional code.
63173         [!__NR_lchown]: Likewise.
63174         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63175         [__NR_lchown]: Likewise.
63176         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
63177         comment referencing __ASSUME_LCHOWN_SYSCALL.
63178         * sysdeps/unix/sysv/linux/i386/sigaction.c
63179         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63180         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63181         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
63182         Remove conditional code.
63183         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
63184         (__protocol_available): Remove #if 0 code.
63185         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
63186         conditional code.
63187         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
63188         * sysdeps/unix/sysv/linux/kernel-features.h
63189         (__ASSUME_GETCWD_SYSCALL): Don't define.
63190         (__ASSUME_REALTIME_SIGNALS): Likewise.
63191         (__ASSUME_PREAD_SYSCALL): Likewise.
63192         (__ASSUME_PWRITE_SYSCALL): Likewise.
63193         (__ASSUME_POLL_SYSCALL): Likewise.
63194         (__ASSUME_LCHOWN_SYSCALL): Likewise.
63195         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
63196         non-SPARC.
63197         (__ASSUME_SIOCGIFNAME): Don't define.
63198         (__ASSUME_MSG_NOSIGNAL): Likewise.
63199         (__ASSUME_SENDFILE): Define unconditionally.
63200         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
63201         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
63202         conditional code.
63203         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
63204         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
63205         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63206         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63207         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
63208         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63209         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
63211         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63212         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
63214         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63215         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
63217         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63218         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
63220         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63221         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
63223         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63224         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
63226         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63227         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
63229         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63230         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
63232         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63233         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63234         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
63235         Remove conditional code.
63236         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63237         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63238         Remove conditional code.
63239         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63240         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
63241         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
63242         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63243         Remove conditional code.
63244         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63245         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
63246         Remove conditional code.
63247         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63248         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
63249         Remove conditional code.
63250         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63251         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63252         Remove conditional code.
63253         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63254         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63255         Remove conditional code.
63256         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63257         * sysdeps/unix/sysv/linux/sh/pwrite64.c
63258         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63259         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63260         * sysdeps/unix/sysv/linux/sigaction.c
63261         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63262         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63263         * sysdeps/unix/sysv/linux/sigpending.c
63264         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63265         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63266         * sysdeps/unix/sysv/linux/sigprocmask.c
63267         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63268         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63269         * sysdeps/unix/sysv/linux/sigsuspend.c
63270         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63271         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63272         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
63273         (__libc_missing_rt_sigs): Remove.
63274         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
63275         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
63276         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
63277         Remove conditional code.
63278         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
63279         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
63280         return 1.
63281         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
63282         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
63283         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
63284         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
63286 2012-05-14  Andreas Jaeger  <aj@suse.de>
63288         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
63289         it's not used in glibc.
63290         (__coshm1): Likewise.
63291         (__acosh1p): Likewise.
63292         (__sgn): Likewise.
63294         * manual/string.texi (Copying and Concatenation): Add missing
63295         variable in concat example.
63296         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
63298 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63300         [BZ #14103]
63301         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
63302         __builtin_clzl with __builtin_clzll.
63304 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63306         [BZ #14104]
63307         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
63308         libc_freeres_ptr.
63310 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63312         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
63313         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
63314         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
63315         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
63317 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
63319         * NEWS: Update ia64 info.
63321 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
63323         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
63324         used as bcopy.
63326 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
63328         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
63329         * sysdeps/unix/syscalls.list (dup3): Likewise.
63330         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
63331         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
63333 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
63335         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
63336         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
63338 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
63340         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
63341         thread pointer.
63342         (TLS_IE): Use mov/add instead of movq/addq to load thread
63343         pointer.
63344         (TLS_GD_PREFIX): New.
63345         (TLS_GD): Use it.
63347 2012-05-11  David S. Miller  <davem@davemloft.net>
63349         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
63350         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
63351         (_FPU_SETCW): Likewise.
63353 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63355         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
63356         is 32-byte aligned.
63358 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
63360         [BZ #11837]
63361         * iconvdata/gb18030.c: Update tables.
63362         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
63363         characters specially.
63364         (BODY for TO_LOOP): Add encoding of missing ranges.
63366 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
63368         [BZ #13673]
63369         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
63370         * sysdeps/mach/hurd/dup3.c: Likewise.
63371         * sysdeps/mach/hurd/readlinkat.c: Likewise.
63372         * sysdeps/powerpc/memmove.c:: Likewise.
63374 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63376         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
63377         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
63379 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63381         * elf/elf.h (R_X86_64_RELATIVE64): New.
63382         (R_X86_64_NUM): Updated.
63383         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
63384         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
63385         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
63386         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
63387         tst-quad1pie tst-quad2pie
63388         (modules-names): Add tst-quadmod1 tst-quadmod2.
63389         ($(objpfx)tst-quad1): New dependency.
63390         ($(objpfx)tst-quad2): Likewise.
63391         ($(objpfx)tst-quad1pie): Likewise.
63392         ($(objpfx)tst-quad2pie): Likewise.
63393         * sysdeps/x86_64/tst-quad1.c: New file.
63394         * sysdeps/x86_64/tst-quad1pie.c: New file.
63395         * sysdeps/x86_64/tst-quad2.c: Likewise.
63396         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
63397         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
63398         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
63399         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
63400         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
63402 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63404         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
63405         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
63406         * streams/stropts.h (t_scalar_t): Define type.
63408         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
63409         (_PATH_PRESERVE): Set to "/var/lib".
63410         (_PATH_RWHODIR): Set to "/var/spool/rwho".
63412         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
63413         instead of int.
63415         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
63416         if __dir_mkfile succeeded.
63418         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
63419         checking for _hurd_dtablesize.  Unlock it right after having
63420         finished _hurd_dtable allocation.
63422 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63424         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
63425         * sysdeps/mach/hurd/configure: Regenerated.
63426         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
63427         special-casing to...
63428         * sysdeps/gnu/configure.in: ... this new file.
63429         * sysdeps/unix/sysv/linux/configure: Regenerated.
63430         * sysdeps/gnu/configure: New generated file.
63432         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
63433         for Linux: use nsec instead of usec, as well as:
63434         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
63435         members of type struct timespec.
63436         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
63437         New macros.
63438         (struct stat64): Likewise.
63439         (_STATBUF_ST_NSEC): New macro.
63440         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
63442         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63443         __strtoul_internal rather than strtoul.
63445 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63447         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
63448         and reject them.
63450 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63452         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
63453         which preserves existing values.
63454         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
63456 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63458         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
63459         TIMEOUT values.  Return EINVAL for NFDS values either negative or
63460         greater than FD_SETSIZE.
63462 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63464         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
63465         allocated, call __vm_protect to finish enabling the existing space, and
63466         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
63467         allocate the remainder.
63469 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63471         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
63472         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
63474 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63476         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
63477         sysdeps/mach/hurd/readlink.c.
63479         * posix/tst-sysconf.c (posix_options): Only use
63480         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
63481         _POSIX_SYNCHRONIZED_IO when they are defined
63482         * sysdeps/mach/hurd/bits/posix_opt.h:
63483         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
63484         (_XOPEN_REALTIME): Undefine macro.
63485         (_XOPEN_REALTIME_THREADS): Undefine macro.
63486         (_XOPEN_SHM): Undefine macro.
63487         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
63488         macro to -1.
63489         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
63490         macro to -1.
63491         (_POSIX_ASYNC_IO): Undefine macro.
63492         (_POSIX_PRIORITIZED_IO): Undefine macro.
63493         (_POSIX_SPIN_LOCKS): Define macro to -1.
63495         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
63496         SA_NODEFER, SA_RESETHAND.
63497         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
63498         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
63499         F_DUPFD_CLOEXEC.
63501 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63503         * elf/Makefile (pldd-modules): Define unconditionally.
63505 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63507         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
63509 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63511         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
63512         Return ENOENT when name is empty.
63513         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
63515 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63517         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
63519         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
63521 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63523         Fix mlock in all cases except non-readable pages.
63524         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
63525         instead of VM_PROT_ALL as parameter to __vm_wire function.
63527         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
63528         (__mkdir): When path is `/', just fail with EEXIST.
63529         * sysdeps/mach/hurd/mkdirat.c: Likewise.
63531 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63533         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
63534         <sys/uio.h> (for writev).
63535         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
63536         and <sys/param.h> (for MIN).
63538 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63540         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
63541         REQUESTED_TIME.  Properly set the remaining time and return EINTR
63542         if interrupted.
63544 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63546         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
63547         Depend on against $(link-rpcuserlibs).
63549 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63551         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
63552         (__libc_stack_end): Do not use attribute_relro.
63553         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
63554         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
63555         to libthread-provided value.
63556         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
63557         attribute_relro.
63559 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63561         [BZ #3748]
63562         * bits/libc-lock.h (__libc_once_get): New macro.
63563         * sysdeps/mach/bits/libc-lock.h: Likewise.
63564         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
63565         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
63566         instead of using implementation details.
63568         * libio/fileops.c: Unconditionally include <kernel-features.h>.
63569         * libio/freopen.c: Likewise.
63570         * libio/freopen64.c: Likewise.
63571         * misc/syslog.c: Likewise.
63572         * nscd/connections.c: Likewise.
63573         * nscd/netgroupcache.c: Likewise.
63574         * sysdeps/posix/getcwd.c: Likewise.
63576 2012-05-10  Roland McGrath  <roland@hack.frob.com>
63578         * math/w_ilogbf.c: Add #include <limits.h>.
63580 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63582         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
63583         path instead of returning without unlocking.
63585         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
63586         immediate-write ioctls.
63587         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
63589 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63591         * sysdeps/mach/hurd/i386/init-first.c (init): Use
63592         __builtin_frame_address instead of making assumptions about the
63593         location of the return address relative to DATA.  Force early load of
63594         the return address.
63595         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
63596         __builtin_frame_address.
63598         dup3 for GNU Hurd.
63599         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
63600         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
63601         implement dup3 and do some further code clean-ups.
63602         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
63603         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
63605 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63607         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
63609         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
63610         HURD_CRITICAL_END around holding _hurd_dtable_lock.
63611         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
63612         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
63613         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
63614         d->port.lock.
63616         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
63617         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
63618         when handler == SIG_ERR, not when handler != SIG_ERR.
63620 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63622         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
63623         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
63624         definitions.
63626         accept4 for GNU Hurd.
63627         * include/sys/socket.h (__libc_accept4): New prototype.
63628         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
63629         to implement __libc_accept4.
63630         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
63631         __libc_accept4.
63632         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
63634         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
63635         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
63636         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
63637         signal-defines.sym.
63639 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63641         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
63643 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63645         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
63646         assertion on O_CLOEXEC flag.
63647         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
63648         * hurd/intern-fd.c: Likewise.
63649         * hurd/port2fd.c: Likewise.
63651 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63653         [BZ #3906]
63654         * bits/in.h (IPV6_PKTINFO): Define new macro.
63655         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
63657 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63659         [BZ #13954]
63660         [BZ #13955]
63661         [BZ #13956]
63662         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
63663         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
63664         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
63665         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
63666         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63667         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
63668         * math/libm-test.inc (logb_test) : Additional logb tests.
63670 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
63671             Andreas Jaeger  <aj@suse.de>
63673         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
63674         * configure: Regenerated.
63675         * config.h.in (LINK_OBSOLETE_RPC): New macro.
63676         * config.make.in (link-obsolete-rpc): New substituted variable.
63677         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
63678         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
63679         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
63680         (shared-only-routines): Don't set it under [link-obsolete-rpc],
63681         so that libc.a contains the symbols.
63682         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
63683         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
63684         * sunrpc/auth_none.c: Likewise.
63685         * sunrpc/auth_unix.c: Likewise.
63686         * sunrpc/authdes_prot.c: Likewise.
63687         * sunrpc/authuxprot.c: Likewise.
63688         * sunrpc/clnt_gen.c: Likewise.
63689         * sunrpc/clnt_perr.c: Likewise.
63690         * sunrpc/clnt_raw.c: Likewise.
63691         * sunrpc/clnt_simp.c: Likewise.
63692         * sunrpc/clnt_tcp.c: Likewise.
63693         * sunrpc/clnt_udp.c: Likewise.
63694         * sunrpc/clnt_unix.c: Likewise.
63695         * sunrpc/des_crypt.c: Likewise.
63696         * sunrpc/des_soft.c: Likewise.
63697         * sunrpc/get_myaddr.c: Likewise.
63698         * sunrpc/key_call.c: Likewise.
63699         * sunrpc/key_prot.c: Likewise.
63700         * sunrpc/netname.c: Likewise.
63701         * sunrpc/pm_getmaps.c: Likewise.
63702         * sunrpc/pm_getport.c: Likewise.
63703         * sunrpc/pmap_clnt.c: Likewise.
63704         * sunrpc/pmap_prot.c: Likewise.
63705         * sunrpc/pmap_prot2.c: Likewise.
63706         * sunrpc/pmap_rmt.c: Likewise.
63707         * sunrpc/publickey.c: Likewise.
63708         * sunrpc/rpc_cmsg.c: Likewise.
63709         * sunrpc/rpc_common.c: Likewise.
63710         * sunrpc/rpc_dtable.c: Likewise.
63711         * sunrpc/rpc_prot.c: Likewise.
63712         * sunrpc/rpc_thread.c: Likewise.
63713         * sunrpc/rtime.c: Likewise.
63714         * sunrpc/svc.c: Likewise.
63715         * sunrpc/svc_auth.c: Likewise.
63716         * sunrpc/svc_raw.c: Likewise.
63717         * sunrpc/svc_run.c: Likewise.
63718         * sunrpc/svc_tcp.c: Likewise.
63719         * sunrpc/svc_udp.c: Likewise.
63720         * sunrpc/svc_unix.c: Likewise.
63721         * sunrpc/svcauth_des.c: Likewise.
63722         * sunrpc/xcrypt.c: Likewise.
63723         * sunrpc/xdr.c: Likewise.
63724         * sunrpc/xdr_array.c: Likewise.
63725         * sunrpc/xdr_float.c: Likewise.
63726         * sunrpc/xdr_intXX_t.c: Likewise.
63727         * sunrpc/xdr_mem.c: Likewise.
63728         * sunrpc/xdr_rec.c: Likewise.
63729         * sunrpc/xdr_ref.c: Likewise.
63730         * sunrpc/xdr_sizeof.c: Likewise.
63731         * sunrpc/xdr_stdio.c: Likewise.
63733 2012-05-10  Roland McGrath  <roland@hack.frob.com>
63735         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
63736         change.  Update copyright years.
63738 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
63740         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
63742 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
63743             Joseph Myers  <joseph@codesourcery.com>
63744             Paul Pluzhnikov  <ppluzhnikov@google.com>
63746         [BZ #14012]
63747         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
63748         requiring rpcgen.
63749         [cross-compiling] (extra-libs): Likewise.
63750         [cross-compiling] (extra-libs-others): Likewise.
63751         [cross-compiling] (librpcsvc-routines): Likewise.
63752         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
63753         [cross-compiling] (omit-deps): Likewise.
63754         (sunrpc-CPPFLAGS): New variable.
63755         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
63756         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
63757         (cross-rpcgen-objs): New variable.
63758         (extra-objs): Append $(cross-rpcgen-objs).
63759         ($(cross-rpcgen-objs)): New rule.
63760         ($(objpfx)cross-rpcgen): Likewise.
63761         (rpcgen-cmd): Define to use $(built-program-file).  Expand
63762         comment.
63763         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
63764         ($(objpfx)x%.stmp): Likewise.
63765         * sunrpc/proto.h [IS_IN_build] (_): Define.
63766         [IS_IN_build] (_libc_intl_domainname): Likewise.
63768 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63770         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
63771         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
63772         and R_X86_64_TPOFF64.
63774 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
63776         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
63777         sysdeps/unix/sysv/syscalls.list.
63778         (stime): Likewise.
63779         (utime): Likewise.
63780         * sysdeps/unix/sysv/syscalls.list: Remove file.
63782 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
63784         [BZ #3440]
63785         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
63786         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
63787         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
63788         (__LC_IDENTIFICATION): Make these macros useful in #if
63789         expressions, as required by C99.
63791 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
63793         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
63794         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
63795         after this.
63797 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
63799         * stdlib/longlong.h: Updated from GCC.
63801 2012-05-09  Andreas Jaeger  <aj@suse.de>
63803         * nscd/nscd.c (run_modes): Make named enum, reorder so that
63804         default is first entry.
63805         (run_mode): Set type.
63806         (main): Remove informal message about syslog.
63807         (options): Fix typo.
63809         [BZ #14053]
63810         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
63811         to asm.
63812         (lrint): Likewise.
63813         (llrintf): Likewise.
63814         (llrint): Likewise.
63815         (rint): Likewise.
63816         (rintf): Likewise.
63817         (nearbyint): Likewise.
63818         (nearbyintf): Likewise.
63820 2012-05-09  Andreas Jaeger  <aj@suse.de>
63821             Pedro Alves  <palves@redhat.com>
63823         * nscd/nscd.c (run_mode): Use enum.
63824         (main): Cleanup coding style issue.
63826 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
63827             Andreas Jaeger  <aj@suse.de>
63829         * nscd/nscd.c (go_background): Replaced with...
63830         (run_mode): ... this.
63831         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
63832         (options): Add -F --foreground.
63833         (main): Implement it.
63834         (parse_opt): Parse it.
63836 2012-05-09  Andreas Jaeger  <aj@suse.de>
63838         [BZ #14083]
63839         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
63840         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
63841         -Wconversion warning.
63842         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
63843         Likewise.
63845 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
63847         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
63848         == 0.
63849         (LC_ALL): Use macro-int-constant.
63850         (LC_COLLATE): Likewise.
63851         (LC_CTYPE): Likewise.
63852         (LC_MESSAGES): Likewise.
63853         (LC_MONETARY): Likewise.
63854         (LC_NUMERIC): Likewise.
63855         (LC_TIME): Likewise.
63856         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
63857         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
63858         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63859         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
63860         Specify type.
63861         [C99-based standards] (float_t): Expect type.
63862         [C99-based standards] (double_t): Expect type.
63863         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
63864         type.
63865         [C99-based standards] (HUGE_VALL): Likewise.
63866         [C99-based standards] (INFINITY): Likewise.
63867         [C99-based standards] (NAN): Likewise.
63868         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
63869         [C99-based standards] (FP_NAN): Likewise.
63870         [C99-based standards] (FP_NORMAL): Likewise.
63871         [C99-based standards] (FP_SUBNORMAL): Likewise.
63872         [C99-based standards] (FP_ZERO): Likewise.
63873         [C99-based standards] (FP_FAST_FMA): Use
63874         optional-macro-int-constant.  Specify type.  Require == 1.
63875         [C99-based standards] (FP_FAST_FMAF): Likewise.
63876         [C99-based standards] (FP_FAST_FMAL): Likewise.
63877         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
63878         [C99-based standards] (FP_ILOGBNAN): Likewise.
63879         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
63880         Specify type.
63881         [C99-based standards] (MATH_ERREXCEPT): Likewise.
63882         [C99-based standards] (math_errhandling): Specify type.
63883         [ISO99 || ISO11] (signgam): Do not allow.
63884         [non-C99-based standards] (copysignf): Do not allow.
63885         [non-C99-based standards] (exp2f): Likewise.
63886         [non-C99-based standards] (log2f): Likewise.
63887         [non-C99-based standards] (modff): Allow.
63888         [non-C99-based standards] (erff): Do not allow.
63889         [non-C99-based standards] (erfcf): Likewise.
63890         [non-C99-based standards] (gammaf): Likewise.
63891         [non-C99-based standards] (hypotf): Likewise.
63892         [non-C99-based standards] (j0f): Likewise.
63893         [non-C99-based standards] (j1f): Likewise.
63894         [non-C99-based standards] (jnf): Likewise.
63895         [non-C99-based standards] (lgammaf): Likewise.
63896         [non-C99-based standards] (tgammaf): Likewise.
63897         [non-C99-based standards] (y0f): Likewise.
63898         [non-C99-based standards] (y1f): Likewise.
63899         [non-C99-based standards] (ynf): Likewise.
63900         [non-C99-based standards] (isnanf): Likewise.
63901         [non-C99-based standards] (acoshf): Likewise.
63902         [non-C99-based standards] (asinhf): Likewise.
63903         [non-C99-based standards] (atanhf): Likewise.
63904         [non-C99-based standards] (cbrtf): Likewise.
63905         [non-C99-based standards] (expm1f): Likewise.
63906         [non-C99-based standards] (ilogbf): Likewise.
63907         [non-C99-based standards] (log1pf): Likewise.
63908         [non-C99-based standards] (logbf): Likewise.
63909         [non-C99-based standards] (nextafterf): Likewise.
63910         [non-C99-based standards] (remainderf): Likewise.
63911         [non-C99-based standards] (rintf): Likewise.
63912         [non-C99-based standards] (scalbf): Likewise.
63913         [non-C99-based standards] (copysignl): Likewise.
63914         [non-C99-based standards] (exp2l): Likewise.
63915         [non-C99-based standards] (log2l): Likewise.
63916         [non-C99-based standards] (modfl): Allow.
63917         [non-C99-based standards] (erfl): Do not allow.
63918         [non-C99-based standards] (erfcl): Likewise.
63919         [non-C99-based standards] (gammal): Likewise.
63920         [non-C99-based standards] (hypotl): Likewise.
63921         [non-C99-based standards] (j0l): Likewise.
63922         [non-C99-based standards] (j1l): Likewise.
63923         [non-C99-based standards] (jnl): Likewise.
63924         [non-C99-based standards] (lgammal): Likewise.
63925         [non-C99-based standards] (tgammal): Likewise.
63926         [non-C99-based standards] (y0l): Likewise.
63927         [non-C99-based standards] (y1l): Likewise.
63928         [non-C99-based standards] (ynl): Likewise.
63929         [non-C99-based standards] (isnanl): Likewise.
63930         [non-C99-based standards] (acoshl): Likewise.
63931         [non-C99-based standards] (asinhl): Likewise.
63932         [non-C99-based standards] (atanhl): Likewise.
63933         [non-C99-based standards] (cbrtl): Likewise.
63934         [non-C99-based standards] (expm1l): Likewise.
63935         [non-C99-based standards] (ilogbl): Likewise.
63936         [non-C99-based standards] (log1pl): Likewise.
63937         [non-C99-based standards] (logbl): Likewise.
63938         [non-C99-based standards] (nextafterl): Likewise.
63939         [non-C99-based standards] (remainderl): Likewise.
63940         [non-C99-based standards] (rintl): Likewise.
63941         [non-C99-based standards] (scalbl): Likewise.
63942         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63943         [non-C99-based standards] (FP_*): Do not allow.
63944         [C99-based standards] (FP_*): Change to
63945         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
63946         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63947         allow.
63948         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
63949         (SIG_ERR): Likewise.
63950         [X/Open-based standards] (SIG_HOLD): Likewise.
63951         (SIG_IGN): Likewise.
63952         (SIGABRT): Use macro-int-constant.  Specify type.  Require
63953         positive value.
63954         (SIGFPE): Likewise.
63955         (SIGILL): Likewise.
63956         (SIGINT): Likewise.
63957         (SIGSEGV): Likewise.
63958         (SIGTER): Likewise.
63959         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
63960         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
63961         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
63962         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
63963         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
63964         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
63965         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
63966         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
63967         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
63968         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
63969         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
63970         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
63971         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
63972         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
63973         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
63974         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
63975         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
63976         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
63977         [X/Open-based standards] (SIGTRAP): Likewise.
63978         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
63979         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
63980         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
63981         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
63982         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63983         allow.
63985 2012-05-08  Ian Wienand  <ianw@vmware.com>
63987         [BZ #14080]
63988         * time/tzset.c (__tzset_parse_tz): Update default rules for
63989         daylight time changes in the Energy Policy Act of 2005.
63991 2012-05-09  Andreas Jaeger  <aj@suse.de>
63993         [BZ #13983]
63994         * elf/ldconfig.c (parse_conf): Change string to make clear that
63995         ldconfig only issued a warning if ld.so.conf does not exist.
63997 2012-05-08  David S. Miller  <davem@davemloft.net>
63999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
64000         movxtod instead of popping the value on the stack.
64002         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64004 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
64006         * config.h.in: Add HAVE_ARM_PCS_VFP.
64008 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
64010         [BZ #13979]
64011         * include/features.h: Warn if user requests __FORTIFY_SOURCE
64012         checking but the checks are disabled for any reason.
64014 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
64016         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
64017         and ELF64_R_TYPE with ELFW(R_TYPE).
64019 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
64021         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
64022         (ulimit): Likewise.
64024         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
64025         (settimeofday): Likewise.
64027 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
64029         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
64030         a struct th_u2 inside the union, and move tu_block/tu_code into
64031         a new th_u3 union of tu_block/tu_code inside of that.  Move
64032         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
64033         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
64034         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
64035         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
64036         (th_stuff): Change to th_u1.tu_stuff.
64037         (th_data): Define.
64038         (th_msg): Change to th_u1.th_u2.tu_data.
64040 2012-05-07  David S. Miller  <davem@davemloft.net>
64042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64044         [BZ #14074]
64045         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
64046         (SETUP_PIC_REG): Use it.
64047         (SETUP_PIC_REG_LEAF): Use it.
64049 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
64051         [BZ #13885]
64052         [BZ #13923]
64053         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64054         USE_AS_EXPM1L.
64055         (EXPL_FINITE): Likewise.
64056         (FLDLOG): Likewise.
64057         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64058         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64059         e_expl.S.
64060         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64061         USE_AS_EXPM1L.
64062         (EXPL_FINITE): Likewise.
64063         (FLDLOG): Likewise.
64064         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64065         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64066         e_expl.S.
64067         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
64068         test of -max_value argument for long double.
64069         * sysdeps/i386/fpu/libm-test-ulps: Update.
64070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64072 2012-05-06  David S. Miller  <davem@davemloft.net>
64074         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
64075         quad soft-float symbols whose references which are compiler
64076         generated.
64077         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
64079 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
64081         [BZ #13884]
64082         [BZ #13914]
64083         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64084         USE_AS_EXP10L.
64085         (EXPL_FINITE): Likewise.
64086         (FLDLOG): Likewise.
64087         (c0): Likewise.
64088         (c1): Likewise.
64089         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
64090         Adjust comments for base varying.
64091         (__expl_finite): Change alias to EXPL_FINITE.
64092         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
64093         e_expl.S.
64094         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
64095         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
64096         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
64097         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
64098         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64099         USE_AS_EXP10L.
64100         (EXPL_FINITE): Likewise.
64101         (FLDLOG): Likewise.
64102         (c0): Likewise.
64103         (c1): Likewise.
64104         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
64105         Adjust comments for base varying.
64106         (__expl_finite): Change alias to EXPL_FINITE.
64107         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
64108         tests for bugs.
64109         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64111         [BZ #14064]
64112         * math/libm-test.inc (check_float_internal): Correct ulp
64113         calculation for subnormal expected results.
64115 2012-05-06  Andreas Jaeger  <aj@suse.de>
64117         * Makeconfig (+math-flags): New, set to -frounding-math.
64118         (+cflags): Add +math-flags so that all of glibc gets compiled with
64119         it.
64121         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
64123 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
64125         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
64126         Disable one test.
64128         [BZ #13787]
64129         [BZ #13922]
64130         [BZ #14036]
64131         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
64132         (__ieee754_expl): Allow for and saturate large arguments.
64133         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
64134         (u_threshold): Likewise.
64135         (__exp): Call __ieee754_exp before checking for overflow and
64136         underflow.
64137         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
64138         (u_threshold): Likewise.
64139         (__expf): Call __ieee754_expf before checking for overflow and
64140         underflow.
64141         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
64142         (u_threshold): Likewise.
64143         (__expl): Call __ieee754_expl before checking for overflow and
64144         underflow.
64145         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
64146         (__ieee754_expl): Allow for and saturate large arguments.
64147         * math/libm-test.inc (exp_test): Add another test.  Do not allow
64148         missing overflow exception on overflow.
64149         (expm1_test): Do not allow missing overflow exception on overflow.
64151         * sysdeps/i386/fpu/e_expl.c: Move to ...
64152         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
64153         rather than using inline asm.
64154         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
64155         * sysdeps/x86_64/fpu/e_expl.S: Copy from
64156         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
64158         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
64159         (nice): Likewise.
64160         (poll): Likewise.
64161         (signal): Likewise.
64162         (time): Likewise.
64163         (times): Likewise.
64165 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64167         * sysdeps/unix/syscalls.list (adjtime): Add entry from
64168         sysdeps/unix/common/syscalls.list.
64169         (fchmod): Likewise.
64170         (fchown): Likewise.
64171         (ftruncate): Likewise.
64172         (getrusage): Likewise.
64173         (gettimeofday): Likewise.
64174         (setpgid): Likewise.
64175         (setregid): Likewise.
64176         (setreuid): Likewise.
64177         (sigaction): Likewise.
64178         (truncate): Likewise.
64179         (vhangup): Likewise.
64180         * sysdeps/unix/common/syscalls.list: Remove file.
64181         * sysdeps/unix/bsd/Implies: Don't include unix/common.
64182         * sysdeps/unix/sysv/linux/Implies: Likewise.
64184 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
64186         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
64187         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
64188         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
64189         Moved to ...
64190         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
64191         Here.
64192         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
64193         to ...
64194         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
64195         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
64196         to ...
64197         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
64198         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
64199         to ...
64200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
64201         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
64202         to ...
64203         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
64204         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
64205         to ...
64206         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
64207         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
64208         to ...
64209         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
64210         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
64211         to ...
64212         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64213         Here.
64214         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
64215         to ...
64216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
64217         Here.
64218         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
64219         to ...
64220         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
64221         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
64222         Moved to ...
64223         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
64224         Here.
64225         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
64226         to ...
64227         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
64229 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64231         * sysdeps/unix/common/bits/dirent.h: Remove file.
64232         * sysdeps/unix/common/bits/fcntl.h: Likewise.
64234         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
64235         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
64236         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
64237         * sysdeps/unix/bsd/isatty.c: Likewise.
64238         * sysdeps/unix/bsd/tcdrain.c: Likewise.
64239         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
64240         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
64242 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64244         [BZ #13563]
64245         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
64246         long double comparison inaccuracies.
64247         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
64248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64250 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
64252         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
64253         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
64255 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64257         [BZ #14049]
64258         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
64259         nonzero digits before rounding a hex value.
64260         * stdlib/tst-strtod.c (tests): Add another test.
64262 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64264         * sysdeps/s390/fpu/libm-test-ulps: Update.
64266 2012-05-03  Andreas Jaeger  <aj@suse.de>
64268         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
64269         does not get optimized out.
64270         (malloc_opt_barrier): New.
64272 2012-05-03  Andreas Jaeger  <aj@suse.de>
64273             Roland McGrath  <roland@hack.frob.com>
64275         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
64276         intermediate file deletion.
64277         (generated): Add .symlist files.
64279 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
64281         [BZ #13775]
64282         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
64283         Redirect under this condition.
64284         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64285         [__USE_GNU] (__dprintf_chk): Not under this condition.
64286         [__USE_GNU] (__vdprintf_chk): Likewise.
64287         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
64288         under this condition.
64289         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64290         [__USE_XOPEN2K8] (dprintf): Define under this condition.
64291         [__USE_XOPEN2K8] (vdprintf): Likewise.
64292         [__USE_GNU] (__dprintf_chk): Not under this condition.
64293         [__USE_GNU] (__vdprintf_chk): Likewise.
64294         [__USE_GNU] (dprintf): Likewise.
64295         [__USE_GNU] (vdprintf): Likewise.
64297 2012-05-03  Roland McGrath  <roland@hack.frob.com>
64299         * elf/Makefile (common-generated): Set this instead of generated for
64300         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
64301         $(all-built-dso)-derived lists.
64303 2012-05-03  Andreas Jaeger  <aj@suse.de>
64305         * sysdeps/i386/fpu/libm-test-ulps: Update.
64307         * FAQ: Removed.
64308         * FAQ.in: Likewise.
64309         * scripts/gen-FAQ.pl: Likewise.
64310         * manual/install.texi (Installation): Point to online location of
64311         FAQ.
64312         * Makefile (files-for-dist): Remove FAQ.
64313         (FAQ): Remove.
64315 2012-05-02  Allan McRae  <allan@archlinux.org>
64317         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
64318         (LDFLAGS-reldepmod5.so): Likewise.
64319         (LDFLAGS-reldep6mod1.so): Likewise.
64320         (LDFLAGS-reldep6mod4.so): Likewise.
64321         (LDFLAGS-reldep8mod3.so): Likewise.
64322         (LDFLAGS-unload4mod1.so): Likewise.
64323         (LDFLAGS-unload4mod2.so): Likewise.
64324         (LDFLAGS-tst-initorder): Likewise.
64325         (LDFLAGS-tst-initordera2.so): Likewise.
64326         (LDFLAGS-tst-initordera3.so): Likewise.
64327         (LDFLAGS-tst-initordera4.so): Likewise.
64328         (LDFLAGS-tst-initorderb2.so): Likewise.
64329         (LDFLAGS-noload): Likewise.
64330         (LDFLAGS-next): Likewise.
64331         (LDFLAGS-order2mod1.so): Likewise.
64332         (LDFLAGS-order2mod2.so): Likewise.
64333         (LDFLAGS-tst-initorder2): Likewise.
64334         (LDFLAGS-tst-initorder2a.so): Likewise.
64335         (LDFLAGS-tst-initorder2b.so): Likewise.
64336         (LDFLAGS-tst-initorder2c.so): Likewise.
64337         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
64339 2012-05-02  David S. Miller  <davem@davemloft.net>
64341         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64343 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
64345         [BZ #14055]
64346         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
64348 2012-05-02  Andreas Jaeger  <aj@suse.de>
64350         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
64351         since we manipulate rounding mode.
64352         (CPPFLAGS-test-idouble.c): Likewise.
64353         (CPPFLAGS-test-ifloat.c): Likewise.
64354         (CFLAGS-test-ldouble.c): Likewise.
64355         (CFLAGS-test-double.c): Likewise.
64356         (CFLAGS-test-float.c): Likewise.
64357         (CFLAGS-test-misc.c): Likewise.
64358         (CFLAGS-test-test-fenv.c): Likewise.
64360 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64362         [BZ #2550]
64363         [BZ #2570]
64364         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
64365         comparisons to determine direction to adjust input.
64367 2012-05-01  Roland McGrath  <roland@hack.frob.com>
64369         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
64370         output to the target.
64372         * scripts/localplt.awk: New file.
64373         * elf/Makefile ($(objpfx)check-localplt): Target removed.
64374         (check-localplt-CFLAGS): Variable removed.
64375         ($(all-built-dso:=.jmprel)): New static pattern rule.
64376         (generated): Add those targets.
64377         (localplt-built-dso): New variable.
64378         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
64380         * elf/check-localplt.c: File removed.
64382         * scripts/check-execstack.awk: New file.
64383         * elf/Makefile ($(objpfx)check-execstack): Target removed.
64384         (check-execstack-CFLAGS): Variable removed.
64385         ($(objpfx)check-execstack.h): Target removed.
64386         ($(objpfx)execstack-default): New target.
64387         (generated): Add that instead of check-execstack.h.
64388         ($(all-built-dso:=.phdr)): New static pattern rule.
64389         (generated): Add those targets.
64390         * elf/check-execstack.c: File removed.
64392         * scripts/check-textrel.awk: New file.
64393         * elf/Makefile ($(objpfx)check-textrel): Target removed.
64394         (check-textrel-CFLAGS): Variable removed.
64395         (all-built-dso): Use := to define.o
64396         ($(all-built-dso:=.dyn)): New static pattern rule.
64397         (generated): Add those targets.
64398         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
64399         * config.make.in (READELF): New substituted variable.
64400         * elf/check-textrel.c: File removed.
64402 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
64404         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64405         allow.
64406         * conform/data/ctype.h-data [C99-based standards] (isblank):
64407         Expect function.
64408         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
64409         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
64410         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64411         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
64412         Specify type.  Require positive value.
64413         (EILSEQ): Likewise.
64414         (ERANGE): Likewise.
64415         [ISO || POSIX] (EILSEQ): Do not expect.
64416         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
64417         Specify type.  Require positive value.
64418         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
64419         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
64420         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
64421         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
64422         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
64423         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
64424         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
64425         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
64426         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
64427         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
64428         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
64429         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
64430         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
64431         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
64432         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
64433         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
64434         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
64435         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
64436         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
64437         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
64438         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
64439         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
64440         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
64441         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
64442         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
64443         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
64444         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
64445         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
64446         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
64447         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
64448         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
64449         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
64450         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
64451         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
64452         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
64453         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
64454         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
64455         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
64456         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
64457         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
64458         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
64459         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
64460         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
64461         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
64462         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
64463         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
64464         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
64465         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
64466         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
64467         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
64468         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
64469         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
64470         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
64471         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
64472         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
64473         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
64474         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
64475         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
64476         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
64477         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
64478         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
64479         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
64480         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
64481         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
64482         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
64483         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
64484         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
64485         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
64486         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
64487         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
64488         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
64489         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
64490         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
64491         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
64492         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
64493         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
64494         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
64495         Require >= 2.
64496         (FLT_ROUNDS): Expect as macro, not constant.
64497         (FLT_MANT_DIG): Use macro-int-constant.
64498         (DBL_MANT_DIG): Likewise.
64499         (LDBL_MANT_DIG): Likewise.
64500         (FLT_DIG): Likewise.
64501         (DBL_DIG): Likewise.
64502         (LDBL_DIG): Likewise.
64503         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
64504         (DBL_MIN_EXP): Likewise.
64505         (LDBL_MIN_EXP): Likewise.
64506         (FLT_MAX_EXP): Use macro-int-constant.
64507         (DBL_MAX_EXP): Likewise.
64508         (LDBL_MAX_EXP): Likewise.
64509         (FLT_MAX_10_EXP): Likewise.
64510         (DBL_MAX_10_EXP): Likewise.
64511         (LDBL_MAX_10_EXP): Likewise.
64512         (FLT_MAX): Use macro-constant.
64513         (DBL_MAX): Likewise.
64514         (LDBL_MAX): Likewise.
64515         (FLT_EPSILON): Use macro-constant.  Give upper bound.
64516         (DBL_EPSILON): Likewise.
64517         (LDBL_EPSILON): Likewise.
64518         (FLT_MIN): Likewise.
64519         (DBL_MIN): Likewise.
64520         (LDBL_MIN): Likewise.
64521         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
64522         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
64523         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
64524         [ISO11] (FLT_HAS_SUBNORM): Likewise.
64525         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
64526         [ISO11] (DBL_DECIMAL_DIG): Likewise.
64527         [ISO11] (FLT_DECIMAL_DIG): Likewise.
64528         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
64529         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
64530         [ISO11] (FLT_TRUE_MIN): Likewise.
64531         [ISO11] (LDBL_TRUE_MIN): Likewise.
64532         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64533         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
64534         (SCHAR_MIN): Use macro-int-constant.  Specify type.
64535         (SCHAR_MAX): Likewise.
64536         (UCHAR_MAX): Likewise.
64537         (CHAR_MIN): Likewise.
64538         (CHAR_MAX): Likewise.
64539         (MB_LEN_MAX): Use macro-int-constant.
64540         (SHRT_MIN): Use macro-int-constant.  Specify type.
64541         (SHRT_MAX): Likewise.
64542         (USHRT_MAX): Likewise.
64543         (INT_MAX): Likewise.
64544         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
64545         bound negative.
64546         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64547         bound with "U".
64548         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64549         bound with "L".
64550         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
64551         bound negative.  Suffix upper bound with "L".
64552         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64553         bound with "UL".
64554         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
64555         Specify type.
64556         [C99-based standards] (LLONG_MAX): Likewise.
64557         [C99-based standards] (ULLONG_MAX): Likewise.
64558         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
64559         == 0.
64560         [ISO11] (max_align_t): Require type.
64561         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64563         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
64564         from $CFLAGS, without defining away __attribute__ calls.
64565         (checknamespace): Use $CFLAGS_namespace.
64567         * conform/conformtest.pl (@keywords): Only include C99 keywords
64568         for standards based on C99 or C11.
64570         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
64571         Disable tests.
64572         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
64573         UNIX98]: Likewise.
64575         * conform/conformtest.pl: Handle "macro-int-constant" and test for
64576         usability of symbols in #if.
64578         * conform/conformtest.pl: If macro or constant types start
64579         "promoted:", expect the symbol to be of the following type
64580         promoted by the integer promotions.
64582         * conform/conformtest.pl: Parse all "constant" and "macro" lines
64583         in one place.  Also handle "macro-constant".
64585         * conform/conformtest.pl: Only accept expected macro values with
64586         "==".  Parse all "macro" lines in one place.
64587         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
64589         * conform/conformtest.pl: Handle braced types on "constant" lines
64590         instead of handling "typed-constant".
64591         * conform/data/signal.h-data: Use "constant" instead of
64592         "typed-constant".
64594         * conform/conformtest.pl: Handle "optional-" at start of lines in
64595         one place rather than duplicating several cases.  Handle each
64596         format of "macro" line with initial "optional-".
64598         * conform/conformtest.pl: Only accept expected constant or
64599         optional-constant values with "==".  Parse all "constant" lines in
64600         one place.  Parse all "optional-constant" lines in one place.
64601         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
64602         * conform/data/fmtmsg.h-data: Likewise.
64603         * conform/data/netinet/in.h-data: Likewise.
64604         * conform/data/tar.h-data: Likewise.
64605         * conform/data/limits.h-data: Use "==" form on "constant" and
64606         "optional-constant" lines.
64608         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
64609         Use -std=c99 for XOPEN2K.
64610         (@knownproblems): Remove.
64611         (newtoken): Don't check %isknown.
64613         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
64614         Do not expect macro.
64615         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
64616         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
64617         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
64618         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
64619         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
64620         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
64621         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
64622         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
64623         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
64624         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
64625         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
64626         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
64627         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
64628         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
64629         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
64630         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
64631         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
64632         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
64633         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
64634         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
64635         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
64636         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
64637         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
64638         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
64639         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
64640         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
64641         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
64642         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
64643         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
64644         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
64645         [XPG3] (acosh): Likewise.
64646         [XPG3] (asinh): Likewise.
64647         [XPG3] (atanh): Likewise.
64648         [XPG3] (cbrt): Likewise.
64649         [XPG3] (expm1): Likewise.
64650         [XPG3] (ilogb): Likewise.
64651         [XPG3] (log1p): Likewise.
64652         [XPG3] (logb): Likewise.
64653         [XPG3] (nextafter): Likewise.
64654         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
64655         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
64656         [XPG3] (remainder): Likewise.
64657         [XPG3] (rint): Likewise.
64658         [XPG3 || XPG4 || UNIX98] (round): Likewise.
64659         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
64660         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
64661         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
64662         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
64663         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
64664         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
64665         [UNIX98 || XOPEN2K] (scalb): Expect.
64666         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
64667         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
64668         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
64669         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
64670         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
64671         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
64672         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
64673         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
64674         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
64675         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
64676         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
64677         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
64678         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
64679         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
64680         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
64681         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
64682         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
64683         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
64684         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
64685         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
64686         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
64687         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
64688         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
64689         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
64690         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
64691         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
64692         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
64693         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
64694         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
64695         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
64696         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
64697         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
64698         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
64699         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
64700         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
64701         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
64702         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
64703         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
64704         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
64705         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
64706         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
64707         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
64708         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
64709         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
64710         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
64711         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
64712         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
64713         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
64714         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
64715         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
64716         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
64717         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
64718         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
64719         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
64720         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
64721         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
64722         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
64723         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
64724         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
64725         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
64726         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
64727         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
64728         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
64729         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
64730         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
64731         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
64732         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
64733         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
64734         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
64735         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
64736         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
64737         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
64738         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
64739         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
64740         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
64741         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
64742         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
64743         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
64744         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
64745         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
64746         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
64747         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
64748         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
64749         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
64750         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
64751         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
64752         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
64753         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
64754         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
64755         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
64756         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
64757         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
64758         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
64759         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
64760         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
64761         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
64762         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
64763         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
64764         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
64765         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
64766         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
64767         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
64768         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
64769         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
64770         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
64771         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
64772         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
64773         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
64774         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
64775         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
64776         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
64777         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
64778         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
64779         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
64780         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
64781         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
64782         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
64783         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
64784         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
64785         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
64786         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
64787         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
64788         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
64789         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
64790         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
64791         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
64792         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
64793         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
64794         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
64795         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
64796         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
64797         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
64798         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
64799         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
64800         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
64801         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
64802         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
64804         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
64805         _XOPEN_SOURCE_EXTENDED for XPG4.
64807         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
64809         * Makeconfig (localtime): Remove variable.
64810         (inst_localtime-file): Likewise.
64812 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
64814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
64815         Update.
64816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64817         Update.
64818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
64819         Update.
64820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64821         Update.
64822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
64823         Update.
64824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
64825         Update.
64826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64827         Update.
64828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
64829         Update.
64830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64831         Update.
64833 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
64835         [BZ #2550]
64836         [BZ #2570]
64837         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
64838         comparisons to determine direction to adjust input.
64839         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
64840         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
64841         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
64842         Likewise.
64843         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
64844         Likewise.
64845         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
64846         Likewise.
64847         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
64848         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
64849         Likewise.
64850         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
64851         Likewise.
64852         * math/libm-test.inc (nexttoward_test): Add more tests.
64854 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
64856         [BZ #14040]
64857         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
64858         in version GLIBC_2.1, not GLIBC_2.0.
64859         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
64860         Likewise.
64862 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
64864         [BZ #13942]
64865         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
64866         (1 - x) * (1 + x).
64867         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
64868         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
64869         * math/libm-test.inc (acos_test): Add more tests.
64870         (asin_test): Likewise.
64871         * sysdeps/i386/fpu/libm-test-ulps: Update.
64872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64874         [BZ #14034]
64875         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
64876         of square root.
64877         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
64878         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
64879         * math/libm-test.inc (acos_test_tonearest): New function.
64880         (acos_test_towardzero): Likewise.
64881         (acos_test_downward): Likewise.
64882         (acos_test_upward): Likewise.
64883         (asin_test_tonearest): Likewise.
64884         (asin_test_towardzero): Likewise.
64885         (asin_test_downward): Likewise.
64886         (asin_test_upward): Likewise.
64887         (main): Call the new functions.
64888         * sysdeps/i386/fpu/libm-test-ulps: Update.
64889         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64891         [BZ #13884]
64892         [BZ #13924]
64893         * math/e_exp10.c: Include <float.h>.
64894         (__ieee754_exp10): Handle underflow here rather than multiplying
64895         large negative argument by M_LN10.
64896         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
64897         of __ieee754_expf.
64898         * math/e_exp10l.c: Include <float.h>.
64899         (__ieee754_exp10l): Handle underflow here rather than multiplying
64900         large negative argument by M_LN10l.
64901         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
64902         spurious overflow exception on underflow.
64904 2012-04-29  Marek Polacek  <polacek@redhat.com>
64906         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
64907         (__fortify_function): New macro.
64908         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
64909         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
64910         __extern_always_inline.
64911         * libio/bits/stdio2.h: Likewise.
64912         * libio/bits/stdio.h: Likewise.
64913         * string/string.h: Likewise.
64914         * string/bits/string3.h: Likewise.
64915         * include/stdio.h: Likewise.
64916         * stdlib/bits/stdlib.h: Likewise.
64917         * stdlib/stdlib.h: Likewise.
64918         * rt/bits/mqueue2.h: Likewise.
64919         * rt/mqueue.h: Likewise.
64920         * posix/bits/unistd.h: Likewise.
64921         * posix/unistd.h: Likewise.
64922         * io/bits/poll2.h: Likewise.
64923         * io/bits/fcntl2.h: Likewise.
64924         * io/fcntl.h: Likewise.
64925         * io/sys/poll.h: Likewise.
64926         * misc/bits/syslog.h: Likewise.
64927         * misc/bits/syslog-ldbl.h: Likewise.
64928         * misc/sys/syslog.h: Likewise.
64929         * socket/bits/socket2.h: Likewise.
64930         * socket/sys/socket.h: Likewise.
64931         * debug/tst-chk1.c: Likewise.
64932         * wcsmbs/bits/wchar2.h: Likewise.
64933         * wcsmbs/bits/wchar-ldbl.h: Likewise.
64934         * wcsmbs/wchar.h: Likewise.
64936 2012-04-29  Andreas Jaeger  <aj@suse.de>
64938         * Makerules (tests): Remove enable-check-abi protection.
64939         (check-abi-warn): Remove.
64940         (check-abi-%): Remove check-abi-warn usage.
64942         * configure.in: Remove check-abi configure option.
64943         * configure: Regenerated.
64944         * config.make.in (enable-check-abi): Remove.
64946 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
64948         [BZ #14033]
64949         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
64950         double functions to double *_finite functions.
64952         [BZ #13941]
64953         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
64954         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
64955         LDBL_MIN_EXP.
64956         * stdio-common/Makefile (tests): Add tst-sprintf3.
64957         * stdio-common/tst-sprintf3.c: New file.
64959         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
64960         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
64962 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
64964         * conform/conformtest.pl: Remove duplicate typed-constant
64965         handling.
64967 2012-04-28  David S. Miller  <davem@davemloft.net>
64969         * Makerules (%.abilist): Add vpath on sysdep_dirs.
64970         (check-abi-%): Remove AWK script prerequisite and explicit
64971         abilist directory.
64972         (check-abi): Rewrite to just diff the symlist with the abilist.
64973         (config-tls, config-abi-config): Delete, no longer used.
64974         (update-abi-%): Remove AWK script and explicit abilist directory.
64975         (update-abi): Rewrite to simply compare and conditionally copy the
64976         symlist and the sysdep abilist file.  Remove update-abi-config
64977         checks.
64978         * abilist/ld.abilist: Remove.
64979         * abilist/libBrokenLocale.abilist: Remove.
64980         * abilist/libanl.abilist: Remove.
64981         * abilist/libcrypt.abilist: Remove.
64982         * abilist/libdl.abilist: Remove.
64983         * abilist/librt.abilist: Remove.
64984         * abilist/libthread_db.abilist: Remove.
64985         * abilist/libutil.abilist: Remove.
64986         * scripts/extract-abilist.awk: Remove.
64987         * scripts/merge-abilist.awk: Remove.
64988         * sysdeps/generic/libcidn.abilist: New file.
64989         * sysdeps/generic/libnss_compat.abilist: New file.
64990         * sysdeps/generic/libnss_db.abilist: New file.
64991         * sysdeps/generic/libnss_dns.abilist: New file.
64992         * sysdeps/generic/libnss_files.abilist: New file.
64993         * sysdeps/generic/libnss_hesiod.abilist: New file.
64994         * sysdeps/generic/libnss_nis.abilist: New file.
64995         * sysdeps/generic/libnss_nisplus.abilist: New file.
64996         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
64997         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
64998         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
64999         file.
65000         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
65001         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
65002         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
65003         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
65004         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
65005         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
65006         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
65007         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
65008         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
65009         file.
65010         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
65011         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
65012         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
65013         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
65014         file.
65015         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
65016         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
65017         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
65018         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
65019         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
65020         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
65021         file.
65022         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
65023         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
65024         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
65025         file.
65026         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
65027         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
65028         New file.
65029         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
65030         New file.
65031         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
65032         New file.
65033         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
65034         New file.
65035         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
65036         New file.
65037         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
65038         New file.
65039         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
65040         New file.
65041         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
65042         New file.
65043         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
65044         New file.
65045         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
65046         New file.
65047         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
65048         New file.
65049         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
65050         New file.
65051         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
65052         New file.
65053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
65054         file.
65055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
65056         New file.
65057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
65058         New file.
65059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
65060         file.
65061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
65062         New file.
65063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
65064         New file.
65065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
65066         file.
65067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
65068         New file.
65069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65070         New file.
65071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
65072         New file.
65073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
65074         New file.
65075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
65076         New file.
65077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
65078         New file.
65079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
65080         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
65081         file.
65082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
65083         New file.
65084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
65085         file.
65086         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
65087         file.
65088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
65089         file.
65090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
65091         file.
65092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
65093         file.
65094         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65095         New file.
65096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
65097         file.
65098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
65099         file.
65100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
65101         New file.
65102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
65103         file.
65104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
65105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
65106         file.
65107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
65108         New file.
65109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
65110         file.
65111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
65112         file.
65113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
65114         file.
65115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
65116         file.
65117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
65118         file.
65119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65120         New file.
65121         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
65122         file.
65123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
65124         file.
65125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
65126         New file.
65127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
65128         file.
65129         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
65130         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
65131         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
65132         file.
65133         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
65134         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
65135         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
65136         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
65137         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
65138         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
65139         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
65140         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
65141         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
65142         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
65143         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
65144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
65145         file.
65146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
65147         New file.
65148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
65149         file.
65150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
65151         file.
65152         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
65153         file.
65154         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
65155         file.
65156         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
65157         file.
65158         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
65159         New file.
65160         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
65161         New file.
65162         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
65163         file.
65164         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
65165         New file.
65166         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
65167         file.
65168         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
65169         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
65170         file.
65171         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
65172         New file.
65173         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
65174         file.
65175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
65176         file.
65177         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
65178         file.
65179         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
65180         file.
65181         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
65182         file.
65183         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
65184         New file.
65185         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
65186         New file.
65187         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
65188         file.
65189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
65190         New file.
65191         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
65192         file.
65194 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65196         * conform/conformtest.pl: Fix typo in handling typed-constant from
65197         allow-header.
65199 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65201         * README: Cut down references to pre-2.6 Linux kernels and
65202         Linuxthreads.  Update lists of configurations in libc and ports
65203         and sort alphabetically.  Say "or newer" with Linux kernel version
65204         requirements.
65206         * config.h.in [IS_IN_build]: Allow compiling without optimization.
65208 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65210         [BZ #887]
65211         * math/libm-test.inc (logb_test_downward): New test to expose
65212         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
65213         rounding mode.
65215 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65217         [BZ #14027]
65218         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
65219         to be done.
65220         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
65221         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
65223 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
65225         * sysdeps/unix/i386/brk.S: Remove file.
65226         * sysdeps/unix/i386/dl-brk.S: Likewise.
65227         * sysdeps/unix/i386/pipe.S: Likewise.
65228         * sysdeps/unix/i386/sigreturn.S: Likewise.
65229         * sysdeps/unix/i386/syscall.S: Likewise.
65230         * sysdeps/unix/i386/vfork.S: Likewise.
65231         * sysdeps/unix/i386/wait.S: Likewise.
65233         * sysdeps/unix/common/tcsendbrk.c: Move to ...
65234         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
65236         * configure.in (arm*-none*): Do not allow without
65237         --enable-hacker-mode.
65238         (netbsd*): Remove case setting base_os.
65239         (386bsd*): Likewise.
65240         (freebsd*): Likewise.
65241         (bsdi*): Likewise.
65242         (osf*): Likewise.
65243         (sunos*): Likewise.
65244         (ultrix*): Likewise.
65245         (newsos*): Likewise.
65246         (dynix*): Likewise.
65247         (*bsd*): Likewise.
65248         (sysv*): Likewise.
65249         (isc*): Likewise.
65250         (esix*): Likewise.
65251         (sco*): Likewise.
65252         (minix*): Likewise.
65253         (irix4*): Likewise.
65254         (irix6*): Likewise.
65255         (solaris[2-9]*): Likewise.
65256         (none): Likewise.
65257         * configure: Regenerated.
65259 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65261         [BZ #11521]
65262         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
65263         overflow or cancellation in calculating denominator.
65264         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
65265         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
65266         down expression to avoid unexpected rounding in newer GCCs.
65267         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
65269 2012-04-26  David S. Miller  <davem@davemloft.net>
65271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
65272         long-double compat symbols.
65273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
65275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
65276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
65277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
65278         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
65279         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
65280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
65281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
65282         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
65283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
65284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
65285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
65287 2012-04-25  David S. Miller  <davem@davemloft.net>
65289         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
65290         HWCAP_* values only after the memory barriers have been defined.
65291         (atomic_full_barrier): Define.
65292         (atomic_read_barrier): Define.
65293         (atomic_write_barrier): Define.
65295 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65297         * shlib-versions: Add libgcc_s version information.
65298         * sysdeps/generic/libgcc_s.h: Remove.
65299         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
65300         libgcc_s.h.
65301         * sysdeps/gnu/unwind-resume.c: Likewise.
65302         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
65304 2012-04-25  David S. Miller  <davem@davemloft.net>
65306         * sysdeps/unix/sparc/brk.S: Delete.
65307         * sysdeps/unix/sparc/dl-brk.S: Delete.
65308         * sysdeps/unix/sparc/pipe.S: Delete.
65309         * sysdeps/unix/sparc/sysdep.S: Delete.
65310         * sysdeps/unix/sparc/sysdep.h: Delete.
65311         * sysdeps/unix/sparc/vfork.S: Delete.
65312         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
65313         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
65314         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
65315         (ret_ERRVAL, r0, r1, MOVE): Define.
65316         (JUMPTARGET): Remove.
65317         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
65318         sysdeps/unix/sparc/sysdep.h
65319         (ENTRY, END): Remove.
65320         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65322 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
65324         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
65325         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
65326         -DIS_IN_build.
65328         * timezone/README: Update upstream location and email address for
65329         tzcode and tzdata.
65330         * timezone/zdump.c: Update from tzcode 2012b.
65331         * timezone/zic.c: Likewise.
65333         * configure.in (libc_cv_as_needed): Remove test.
65334         * configure: Regenerated.
65335         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
65336         conditional definition.
65337         [$(have-as-needed) != yes] (no-as-needed): Likewise.
65338         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
65339         * config.make.in (have-as-needed): Remove variable.
65341 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
65342             Paul Pluzhnikov  <ppluzhnikov@google.com>
65344         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
65345         strings correctly.
65347 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
65349         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
65350         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
65351         * sysdeps/sh/strlen.S: Likewise.
65353 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65355         * sysdeps/unix/fork.S: Remove file.
65356         * sysdeps/unix/i386/fork.S: Likewise.
65357         * sysdeps/unix/sparc/fork.S: Likewise.
65359         * sysdeps/unix/system.c: Remove file.
65360         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
65362         * sysdeps/unix/getegid.S: Remove file.
65363         * sysdeps/unix/geteuid.S: Likewise.
65365 2012-04-24  Roland McGrath  <roland@hack.frob.com>
65367         * scripts/check-localplt.awk: New file.
65368         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
65369         of diff.
65370         * scripts/data/localplt-generic.data: Add a comment.
65372         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
65373         NODE when __dir_mkfile failed.
65374         * sysdeps/mach/hurd/symlinkat.c: Likewise.
65375         Reported by Ludovic Courtès <ludo@gnu.org>.
65377 2012-04-24  Andreas Jaeger  <aj@suse.de>
65379         * Makerules (common-clean): Also remove gen-as-const-headers
65380         files.
65382 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65384         * Makerules (native-compile): Do not change working directory for
65385         build.  Use $(OUTPUT_OPTION) in command.
65386         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
65388 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65390         [BZ #13886]
65391         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
65392         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
65393         * math/libm-test.inc (floor_test): Add more tests.
65394         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
65396 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65398         * sysdeps/unix/getdents.c: Remove file.
65399         * sysdeps/unix/sysv/getdents.c: Likewise.
65400         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
65402         * sysdeps/unix/syscalls.list (madvise): Add syscall from
65403         sysdeps/unix/mman/syscalls.list.
65404         (mmap): Likewise.
65405         (mprotect): Likewise.
65406         (msync): Likewise.
65407         (munmap): Likewise.
65408         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
65409         * sysdeps/unix/mman/syscalls.list: Remove.
65410         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
65412         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
65413         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
65414         * configure: Regenerated.
65415         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
65416         $(libgcc_s_suffix).
65417         * config.make.in (libgcc_s_suffix): Remove variable.
65419 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
65421         * sysdeps/unix/sysv/gethostname.c: Move to ...
65422         * sysdeps/posix/gethostname.c: ... here.
65424         * sysdeps/unix/execve.S: Remove file.
65426         * sysdeps/unix/_exit.S: Remove file.
65428 2012-04-23  Andreas Jaeger  <aj@suse.de>
65430         [BZ #13739]
65431         * manual/Makefile: Remove make dist support, there's no
65432         need for a stand-alone documentation tar ball.
65433         (TEXI2DVI): Define always, it's not in Makeconfig.
65434         (dist): Removed.
65435         (tar-it): Removed.
65436         (edition): Removed.
65437         (glibc-doc-$(edition).tar): Removed
65438         (%.Z): Removed.
65439         (%.gz): Removed.
65440         (%.uu): Removed.
65441         (ETAGS): Remove, it's in Makeconfig.
65442         (move-if-change): Remove, it's in Makeconfig.
65444 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
65446         [BZ #13970]
65447         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
65448         (strtod, strtof, strtold, strtol, strtoul, strtoq)
65449         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
65450         (strtod_l, strtof_l, strtold_l): Remove __wur.
65451         It is not necessarily an error to ignore strtol's return value.
65452         One can reliably look at the stored endptr to decide whether
65453         the number had valid syntax.
65455 2012-04-21  Andreas Jaeger  <aj@suse.de>
65457         [BZ #13739]
65458         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
65460 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
65462         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
65463         * sysdeps/unix/sysv/Versions: Remove file.
65465 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
65467         [BZ #13927]
65468         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65470 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
65472         [BZ #7064]
65473         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
65474         version from __vm86.
65476 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
65478         * sysdeps/unix/common/lxstat.c: Remove file.
65479         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
65481         * sysdeps/unix/sysv/Makefile: Remove file.
65483         * sysdeps/unix/sysv/direct.h: Remove file.
65485         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
65486         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
65487         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
65488         * sysdeps/unix/sysv/bits/signum.h: Likewise.
65489         * sysdeps/unix/sysv/bits/stat.h: Likewise.
65490         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
65491         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
65493         * sysdeps/unix/sysv/setrlimit.c: Remove file.
65495         * sysdeps/unix/xmknod.c: Remove file.
65496         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
65498         * sysdeps/unix/sysv/settimeofday.c: Remove file.
65500         * sysdeps/unix/sysv/i386/time.S: Remove file.
65502         * sysdeps/unix/fxstat.c: Remove file.
65503         * sysdeps/unix/xstat.c: Likewise.
65504         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
65506         * sysdeps/unix/sysv/sigaction.c: Remove file.
65508         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
65509         (sysdep_headers): Remove variable.
65510         [termio.h not in sysdep_headers] (generated): Likewise.
65511         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
65512         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
65513         * sysdeps/unix/sysv/tcdrain.c: Likewise.
65514         * sysdeps/unix/sysv/tcflow.c: Likewise.
65515         * sysdeps/unix/sysv/tcflush.c: Likewise.
65516         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
65517         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
65518         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
65519         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
65520         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
65522         * sysdeps/unix/siglist.c: Remove file.
65524         * sysdeps/unix/getppid.S: Remove file.
65526         * sysdeps/unix/mkdir.c: Remove file.
65527         * sysdeps/unix/rmdir.c: Likewise.
65529 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
65531         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
65532         ERR_MAX value.
65533         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
65534         errlist-compat value.
65536 2012-04-18  David S. Miller  <davem@davemloft.net>
65538         * sysdeps/generic/memcopy.h (reg_char): Delete.
65539         * debug/strcat_chk.c: Use char, not reg_char.
65540         * debug/strcpy_chk.c: Likewise.
65541         * debug/strncat_chk.c: Likewise.
65542         * debug/strncpy_chk.c: Likewise.
65543         * string/memchr.c: Likewise.
65544         * string/memrchr.c: Likewise.
65545         * string/rawmemchr.c: Likewise.
65546         * string/strcat.c: Likewise.
65547         * string/strchr.c: Likewise.
65548         * string/strchrnul.c: Likewise.
65549         * string/strcmp.c: Likewise.
65550         * string/strcpy.c: Likewise.
65551         * string/strncat.c: Likewise.
65552         * string/strncmp.c: Likewise.
65553         * string/strncpy.c: Likewise.
65555 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65557         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
65558         __builtin_memcopy is called when src and dest ranges are known to not
65559         overlap.
65561 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65563         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
65564         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
65565         fwd_align_merge macro call.
65566         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
65567         bwd_align_merge macro call.
65568         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65570 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65572         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
65573         bwd_align_merge macros.
65574         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
65575         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
65576         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65578 2012-04-18  David S. Miller  <davem@davemloft.net>
65580         * sysdeps/sparc/sparc64/memcopy.h: Delete.
65582 2012-04-18  Andreas Jaeger  <aj@suse.de>
65584         [BZ# 6794]
65585         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
65586         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
65587         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65589         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
65590         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
65591         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65593         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
65594         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
65595         Adjust for changed ldbl-128 files.
65597         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
65598         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
65599         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65601 2012-04-17  David S. Miller  <davem@davemloft.net>
65603         * sysdeps/sparc/sparc32/memcopy.h: Delete.
65605 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
65607         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
65608         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
65609         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
65610         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
65611         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
65612         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
65614 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65616         [BZ #6794]
65617         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
65618         * math/libm-test.inc: Add ilogb errno and exception tests.
65619         * math/w_ilogb.c: New file: ilogb wrapper.
65620         * math/w_ilogbf.c: New file: ilogbf wrapper.
65621         * math/w_ilogbl.c: New file: ilogbl wrapper.
65622         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
65623         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
65624         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
65625         exception being thrown with 0.0 as argument.
65626         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
65627         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
65628         exception being thrown with 0.0 as argument.
65629         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
65630         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
65631         exception being thrown with 0.0 as argument.
65632         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
65633         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
65634         exception being thrown with 0.0 as argument.
65635         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
65636         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
65637         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
65638         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
65639         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
65640         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
65641         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
65642         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
65643         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
65645 2012-04-17  Petr Baudis  <pasky@ucw.cz>
65647         * include/sys/uio.h: Change __vector to __iovec to avoid clash
65648         with altivec.
65650 2012-04-16  Marek Polacek  <polacek@redhat.com>
65652         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
65654 2012-04-16  Marek Polacek  <polacek@redhat.com>
65656         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
65657         operands of fdivp instruction.
65659 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
65661         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
65662         * elf/tst-auditmod3b.c: Likewise.
65663         * elf/tst-auditmod4b.c: Likewise.
65664         * elf/tst-auditmod5b.c: Likewise.
65665         * elf/tst-auditmod6b.c: Likewise.
65666         * elf/tst-auditmod6c.c: Likewise.
65667         * elf/tst-auditmod7b.c: Likewise.
65668         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
65669         * sysdeps/x86_64/preconfigure.in: Likewise.
65670         * sysdeps/x86_64/preconfigure: Regenerated.
65672 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
65674         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
65675         __ILP32__.
65677 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
65679         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65680         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
65682 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
65684         [BZ #13973]
65685         * locale/iso-639.def: Fix gl language name. Spotted by
65686         Yaron Shahrabani.
65688 2012-04-12  Roland McGrath  <roland@hack.frob.com>
65690         [BZ #2074]
65691         * libio/libio.h (__io_write_fn): Update comment.
65693 2012-04-12  Petr Baudis  <pasky@ucw.cz>
65695         [BZ #2074]
65696         * stdio.texi (Hook Functions): The user provided writer function
65697         is not allowed to return -1.
65699 2012-04-11  David S. Miller  <davem@davemloft.net>
65701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65703 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
65705         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
65706         Add a leading slash to rtkaio.
65708 2012-04-11  Jim Meyering  <meyering@redhat.com>
65710         [BZ #11959]
65711         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
65712         It is not necessarily an error to ignore fwrite's return
65713         value.  One can reliably use ferror to test for errors after
65714         the fact.
65716 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
65718         * bits/types.h (__snseconds_t): New type.
65719         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
65721         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
65722         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65723         (__SNSECONDS_T_TYPE): Likewise.
65724         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65725         (__SNSECONDS_T_TYPE): Likewise.
65726         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65727         (__SNSECONDS_T_TYPE): Likewise.
65729 2012-04-10  Andreas Jaeger  <aj@suse.de>
65731         [BZ #2636]
65732         * manual/time.texi (Processor Time): Return type of times is
65733         elapsed real time since an arbitrary point in the past.
65734         (CPU Time): Move CLK_TCK from here...
65735         (Processor Time): ...to here.  Correct description.
65736         * manual/conf.texi (Constants for Sysconf): Correct description of
65737         _SC_CLK_TCK.
65739 2012-04-10  David S. Miller  <davem@davemloft.net>
65741         [BZ #13967]
65742         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
65743         where the is a gap between DT_REL(A) and DT_JMPREL.
65745 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
65747         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
65748         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
65749         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
65751 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65753         * elf/dl-support.c (_dl_inhibit_cache): New variable.
65754         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
65755         (dl_main): Handle --inhibit-cache.
65756         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
65757         _dl_inhibit_cache.
65758         * elf/dl-load.c (_dl_map_object): Use it.
65759         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
65761 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
65763         [BZ #13872]
65764         * sysdeps/i386/fpu/e_powl.S (p78): New object.
65765         (__ieee754_powl): Saturate large exponents rather than testing for
65766         overflow of y*log2(x).
65767         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65768         * math/libm-test.inc (pow_test): Do not permit spurious overflow
65769         exceptions.
65771         [BZ #11521]
65772         * math/s_ctan.c: Include <float.h>.
65773         (__ctan): Avoid internal overflow or cancellation in calculating
65774         denominator.
65775         * math/s_ctanf.c: Likewise.
65776         * math/s_ctanl.c: Likewise.
65777         * math/s_ctanh.c: Likewise.
65778         * math/s_ctanhf.c: Likewise.
65779         * math/s_ctanhl.c: Likewise.
65780         * math/libm-test.inc (ctan_test): Add more tests.
65781         (ctanh_test): Likewise.
65782         * sysdeps/i386/fpu/libm-test-ulps: Update.
65783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65785 2012-04-09  Andreas Jaeger  <aj@suse.de>
65787         [BZ #6894]
65788         * manual/filesys.texi (Directory Entries): Mention that d_namlen
65789         is an optional BSD extension.
65791         [BZ #10254]
65792         * manual/stdio.texi (Opening Streams): Document additional fopen
65793         parameters.
65795 2012-04-09  Roland McGrath  <roland@hack.frob.com>
65797         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
65798         %eax without telling the compiler.
65800 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
65802         [BZ # 13963]
65803         * manual/install.texi: Use sourceware.org.
65805 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
65807         [BZ #13873]
65808         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
65809         (__ieee754_pow): Generate overflow and underflow using huge*huge
65810         and tiny*tiny rather than just returning constant infinity or zero
65811         for large exponents.
65812         * math/libm-test.inc (pow_test): Require overflow exceptions for
65813         applicable cases of large exponents.
65815         [BZ #706]
65816         * sysdeps/i386/fpu/e_pow.S (p10): New object.
65817         (__ieee754_pow): Use iterative multiplication algorithm only for
65818         integer exponents with absolute value below 1024.  Check for odd
65819         integer exponents when using algorithm for real exponents.
65820         * math/libm-test.inc (pow_test): Add more tests.
65821         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65823 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
65825         [BZ #13705]
65826         * math/libm-test.inc (exp_test): Do not allow overflow exception
65827         on underflow test.
65829 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
65831         [BZ #13705]
65832         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
65833         instead of __kernel_standard_f.
65835 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
65837         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
65838         * sysdeps/x86_64/memset_chk.S: Likewise.
65840 2012-04-08  Andreas Jaeger  <aj@suse.de>
65842         [BZ #10153]
65843         * manual/startup.texi (Environment Access): Describe return value
65844         for putenv and setenv.
65846         [BZ #6895]
65847         * manual/filesys.texi (Directory Entries): Add description for
65848         DT_LNK.
65850         [BZ #6890]
65851         * manual/filesys.texi (Directory Entries): Clarify that it's file
65852         system not operating system in the description of DT_UNKNOWN.
65854         [BZ #6578]
65855         * manual/syslog.texi (closelog): Fix reference, it's openlog.
65857 2012-04-08  Stephen Compall  <s11@member.fsf.org>
65859         [BZ #6649]
65860         * manual/llio.texi (Opening and Closing Files): Add cross
65861         reference to explain mode argument.
65863 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
65865         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
65866         * sysdeps/x86_64/memset_chk.S: Likewise.
65868 2012-04-07  David S. Miller  <davem@davemloft.net>
65870         * elf/elf.h (R_SPARC_WDISP10): Define.
65871         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
65872         R_SPARC_SIZE32.
65873         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
65874         R_SPARC_SIZE64 and R_SPARC_H34.
65876 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
65878         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
65879         conditions and remove no longer applicable assertion.
65881 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
65883         * bits/byteswap.h: Include <features.h>.
65884         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
65885         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
65887 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
65889         * bits/byteswap.h (__bswap_16): Removed.
65890         Include <bits/byteswap-16.h> to get __bswap_16.
65891         * sysdeps/i386/bits/byteswap.h: Likewise.
65892         * sysdeps/s390/bits/byteswap.h: Likewise.
65893         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65894         * bits/byteswap-16.h: New file.
65895         * sysdeps/i386/bits/byteswap-16.h: Likewise.
65896         * sysdeps/s390/bits/byteswap-16.h: Likewise.
65897         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
65898         * string/Makefile (headers): Add bits/byteswap-16.h.
65900 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
65902         [BZ #13895]
65903         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
65904         extra indirection.
65905         * nss/Makefile (tests-static, tests): Add tst-nss-static.
65906         * nss/tst-nss-static.c: New.
65908 2012-04-06  Robert Millan  <rmh@gnu.org>
65910         [BZ #6486]
65911         * manual/llio.texi (File Position Primitive): lseek
65912         refers to WHENCE when it really means OFFSET.
65914 2012-04-06  Andreas Jaeger  <aj@suse.de>
65916         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
65917         strncmp declarations.
65919         * abilist/libc.abilist: Add __poll and __ppoll.
65921 2012-04-05  David S. Miller  <davem@davemloft.net>
65923         * scripts/check-local-headers.sh: Accept a host triplet in the
65924         path matched by the exclude regexp.
65926         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
65927         definition.
65928         * sysdeps/powerpc/powerpc32/dl-machine.h
65929         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
65930         * sysdeps/s390/s390-32/dl-machine.h
65931         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65932         * sysdeps/sparc/sparc32/dl-machine.h
65933         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65934         * sysdeps/sparc/sparc64/dl-machine.h
65935         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65937         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
65938         lazy binding.
65939         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
65940         undefined symbol errors.
65942         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
65943         DT_NEEDED entries.
65945 2012-04-05  Michael Matz  <matz@suse.de>
65947         [BZ #13592]
65948         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
65950 2012-04-05  Andreas Jaeger  <aj@suse.de>
65952         [BZ #13908]
65953         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
65954         comment.
65956 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65958         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
65959         which ROUND is no valid rounding mode.
65961 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65963         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
65964         read again.
65965         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
65967 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65969         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
65970         an exception using FPU order intentionally.
65972 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65974         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
65975         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
65976         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
65977         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
65979 2012-04-05  Simon Josefsson  <simon@josefsson.org>
65981         [BZ #12340]
65982         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
65983         EINVAL when BUFLEN is too smal.
65985 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
65987         [BZ #13553]
65988         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
65989         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
65991 2012-04-03  Andreas Jaeger  <aj@suse.de>
65993         [BZ #13938]
65994         * manual/setjmp.texi (System V contexts): Fix sentence.
65996         [BZ #13926]
65997         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
65998         New macro for this case.
65999         [!__GNUC__] (__bswap_64): New inline function for this case.
66000         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66001         * bits/byteswap.h: Likewise.
66002         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
66003         ull, guard with __GLIBC_HAVE_LONG_LONG.
66005         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
66006         __GLIBC_HAVE_LONG_LONG.
66008         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
66009         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
66011 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66013         [BZ #13691]
66014         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
66015         inptr and inend, rather than using last_ch.
66017 2012-04-02  David S. Miller  <davem@davemloft.net>
66019         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
66020         * stdio-common/printf-parse.h (read_int): Change return type to
66021         'int', return -1 on INT_MAX overflow.
66022         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
66023         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
66024         overflows INT_MAX.  Check for overflow of in-format-string precision
66025         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
66026         SIZE_MAX not INT_MAX for integer overflow test.
66027         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
66028         skip the construct in the format string but do not record anything.
66029         * stdio-common/bug22.c: Adjust to test both width/prevision
66030         INT_MAX overflow as well as total length INT_MAX overflow.  Check
66031         explicitly for proper errno values.
66033 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
66035         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
66036         CHAR_MAX.
66037         * string/test-strcmp.c [! WIDE]: Likewise.
66038         * time/tst-mktime2.c: Likewise for INT_MAX.
66039         * string/test-string.h: #include <sys/param.h> for MIN.
66041         * csu/init-first.c (__libc_init_first): Call __ctype_init.
66042         * sysdeps/i386/init-first.c (init): Likewise.
66043         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
66044         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
66045         * sysdeps/sh/init-first.c (init): Likewise.
66047 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
66049         * po/ru.po: Update from translation team.
66050         * po/vi.po: Likewise.
66052 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
66054         * resolv/nss_dns/dns-host.c: Merge copyright years.
66056 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66058         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66059         Optimize memcpy with prefetch if
66060         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
66061         src, dst pointers have unequal 16 byte alignments.
66063 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66065         [BZ #13928]
66066         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
66067         from a CNAME entry and return the minimum ttl for the query.
66068         (gaih_getanswer_slice): Likewise.
66070 2012-03-30  Jeff Law  <law@redhat.com>
66072         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
66073         due to long keys.
66074         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
66075         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
66077         * resolv/nss_dns/dns-host.c: Update copyright year.
66079 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
66081         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
66082         requests to save a system call.  Fix check that all bytes are sent.
66084         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
66085         comments for sendmmsg.
66087 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66089         [BZ #13691]
66090         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
66091         with only 1 character between 0x0041 and 0x01b0.
66092         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
66093         * wcsmbs/tst-mbsnrtowcs.c: New file.
66095 2012-03-29  David S. Miller  <davem@davemloft.net>
66097         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
66098         small copies by hand.
66100 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66102         [BZ #13761]
66103         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
66104         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
66105         group memberships.
66107 2012-03-28  David S. Miller  <davem@davemloft.net>
66109         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
66110         that branches into memcpy.
66111         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
66112         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
66113         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
66114         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
66115         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
66116         bits.
66117         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
66118         implementation too.
66119         * sysdeps/sparc/mempcpy.S: New file.
66121         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
66122         the IFUNC routine in the libc case.
66123         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
66125         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
66126         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
66127         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
66128         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
66129         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
66130         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
66131         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
66132         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
66134         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
66135         loop to 256 bytes instead of 64 bytes and fix test signedness.
66137         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
66138         * sysdeps/sparc/sparc32/Makefile: rather than here...
66139         * sysdeps/sparc/sparc64/Makefile: and here.
66141 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
66143         * malloc/mallocbug.c: Avoid warnings about unused variables.
66145 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
66147         [BZ #13760]
66148         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
66149         in the right place. Discard and retry query if response is
66150         larger than input buffer size.
66152 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
66154         [BZ #369]
66155         [BZ #2678]
66156         [BZ #3866]
66157         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
66158         x for large integer exponent.
66159         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
66160         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
66161         sign of result as needed afterwards.
66162         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
66163         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
66164         result for underflowing pow the same as for overflow.
66165         (__kernel_standard_l): Handle powl overflow and underflow here
66166         rather than calling __kernel_standard.
66167         * math/libm-test.inc (pow_test): Add more tests.
66169         [BZ #3868]
66170         [BZ #13879]
66171         [BZ #13910]
66172         [BZ #13911]
66173         [BZ #13912]
66174         [BZ #13913]
66175         [BZ #13915]
66176         [BZ #13916]
66177         [BZ #13917]
66178         [BZ #13918]
66179         [BZ #13919]
66180         [BZ #13920]
66181         [BZ #13921]
66182         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
66183         * sysdeps/ieee754/k_standard.c: Include <float.h>.
66184         (__kernel_standard_l): New function.
66185         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
66186         __kernel_standard.
66187         * math/w_acosl.c (__acosl): Likewise.
66188         * math/w_asinl.c (__asinl): Likewise.
66189         * math/w_atan2l.c (__atan2l): Likewise.
66190         * math/w_atanhl.c (__atanhl): Likewise.
66191         * math/w_coshl.c (__coshl): Likewise.
66192         * math/w_exp10l.c (__exp10l): Likewise.
66193         * math/w_exp2l.c (__exp2l): Likewise.
66194         * math/w_fmodl.c (__fmodl): Likewise.
66195         * math/w_hypotl.c (__hypotl): Likewise.
66196         * math/w_j0l.c (__j0l, __y0l): Likewise.
66197         * math/w_j1l.c (__j1l, __y1l): Likewise.
66198         * math/w_jnl.c (__jnl, __ynl): Likewise.
66199         * math/w_lgammal.c (__lgammal): Likewise.
66200         * math/w_log10l.c (__log10l): Likewise.
66201         * math/w_log2l.c (__log2l): Likewise.
66202         * math/w_logl.c (__logl): Likewise.
66203         * math/w_powl.c (__powl): Likewise.
66204         * math/w_remainderl.c (__remainderl): Likewise.
66205         * math/w_scalbl.c (sysv_scalbl): Likewise.
66206         * math/w_sinhl.c (__sinhl): Likewise.
66207         * math/w_sqrtl.c (__sqrtl): Likewise.
66208         * math/w_tgammal.c (__tgammal): Likewise.
66209         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
66210         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
66211         * math/libm-test.inc (acos_test): Add more tests.
66212         (acosh_test): Likewise.
66213         (asin_test): Likewise.
66214         (atanh_test): Likewise.
66215         (exp_test): Likewise.
66216         (exp10_test): Likewise.
66217         (exp2_test): Likewise.
66218         (expm1_test): Likewise.
66219         (lgamma_test): Likewise.
66220         (log_test): Likewise.
66221         (log10_test): Likewise.
66222         (log1p_test): Likewise.
66223         (log2_test): Likewise.
66224         (pow_test): Do not allow some spurious overflow exceptions.
66225         (sqrt_test): Add more tests.
66226         (tgamma_test): Likewise.
66227         (y0_test): Likewise.
66228         (y1_test): Likewise.
66229         (yn_test): Likewise.
66231 2012-03-27  Anton Blanchard  <anton@samba.org>
66233         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
66234         MAP_HUGETLB.
66235         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
66236         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
66237         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66239 2012-03-27  David S. Miller  <davem@davemloft.net>
66241         * conform/Makefile: Run run-conformtest.sh using $(BASH).
66243         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
66244         have-as-vis3 check.
66246 2012-03-27  Andreas Jaeger  <aj@suse.de>
66248         * sysdeps/x86_64/elf/configure.in: Moved to ...
66249         * sysdeps/x86_64/configure.in: ... here.
66250         * sysdeps/x86_64/elf/start.S: Moved to ...
66251         * sysdeps/x86_64/start.S: ... here.
66252         * sysdeps/x86_64/elf/configure: Delete.
66254         * sysdeps/x86_64/configure.in: Merge contents from
66255         sysdeps/i386/configure.in (without i686 check).
66257         * sysdeps/i386/elf/Versions: Merge into ...
66258         * sysdeps/i386/Versions: ... this.
66259         * sysdeps/i386/elf/Versions: Delete file.
66260         * sysdeps/i386/elf/start.S: Moved to ...
66261         * sysdeps/i386/start.S: ...here.
66262         * sysdeps/i386/elf/configure.in: Merge into...
66263         * sysdeps/i386/configure.in: ...here.
66264         * sysdeps/i386/elf/configure.in: Delete file.
66265         * sysdeps/i386/elf/configure: Delete file.
66267         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
66268         * debug/backtracesyms.c: ... here.
66269         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
66270         * debug/backtracesymsfd.c: ... here.
66271         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
66272         * sysdeps/generic/ifunc-sel.h: ... here.
66274         * sysdeps/unix/i386/start.c: Delete file.
66275         * sysdeps/unix/sparc/start.c: Delete file.
66276         * sysdeps/unix/start.c: Delete file.
66278         * sysdeps/sh/elf/configure.in: Moved to ...
66279         * sysdeps/sh/configure.in: ... here.
66280         * sysdeps/sh/elf/start.S: Moved to ...
66281         * sysdeps/sh/start.S: ... here.
66282         * sysdeps/sh/elf/configure: Delete file.
66284         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
66285         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
66286         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
66287         * sysdeps/powerpc/powerpc64/entry.h: ... here.
66288         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
66289         * sysdeps/powerpc/powerpc64/start.S: here.
66290         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
66291         * sysdeps/powerpc/powerpc64/Makefile: ... this.
66292         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
66293         * sysdeps/powerpc/powerpc64/configure.in: ... this.
66294         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
66296         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
66297         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
66298         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
66299         * sysdeps/powerpc/powerpc32/start.S: ... here.
66300         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
66301         * sysdeps/powerpc/powerpc32/configure.in: ... this.
66302         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
66304         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
66305         * sysdeps/powerpc/ifunc-sel.h: ... here.
66306         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
66307         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
66309         * sysdeps/sparc/elf/configure.in: Moved to ...
66310         * sysdeps/sparc/configure.in: ... here.
66311         * sysdeps/sparc/elf/configure: Delete file.
66312         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
66313         * sysdeps/sparc/sparc32/start.S: ... here.
66314         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
66315         * sysdeps/sparc/sparc64/start.S: ... here.
66316         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
66317         * sysdeps/sparc/sparc32/Makefile: ... this.
66318         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
66319         * sysdeps/sparc/sparc64/Makefile: ... this.
66321         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
66322         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
66323         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
66324         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
66325         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
66326         * sysdeps/s390/s390-32/setjmp.S: ... here.
66327         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
66328         * sysdeps/s390/s390-32/configure.in: ... here.
66329         * sysdeps/s390/s390-32/elf/configure: Delete file.
66330         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
66331         * sysdeps/s390/s390-32/start.S: ... here.
66333         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
66334         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
66335         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
66336         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
66337         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
66338         * sysdeps/s390/s390-64/setjmp.S: ... here.
66339         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
66340         * sysdeps/s390/s390-64/configure.in: ... here
66341         * sysdeps/s390/s390-64/elf/configure: Delete file.
66342         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
66343         * sysdeps/s390/s390-64/start.S: ... here.
66344         * sysdeps/s390/s390-64/elf/configure: Delete.
66346         * configure.in: Remove support for elf directories in sysdeps.
66348         * configure: Regenerated.
66349         * sysdeps/i386/configure: Regenerated.
66350         * sysdeps/powerpc/powerpc32/configure: Regenerated.
66351         * sysdeps/powerpc/powerpc64/configure: Regenerated.
66352         * sysdeps/s390/s390-32/configure: Regenerated.
66353         * sysdeps/s390/s390-64/configure: Regenerated.
66354         * sysdeps/sh/configure: Regenerated.
66355         * sysdeps/sparc/configure: Regenerated.
66356         * sysdeps/x86_64/configure: Regenerated.
66358 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
66360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66362         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
66363         denormal result into account.
66365 2012-03-25  Roland McGrath  <roland@hack.frob.com>
66367         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
66368         Reported by Allan McRae <allan@archlinux.org>.
66370 2012-03-23  Jeff Law  <law@redhat.com>
66372         * nss/getnssent.c (__nss_getent): Fix typo.
66374 2012-03-23  David S. Miller  <davem@davemloft.net>
66376         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66378 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
66380         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
66381         to pad to uint64_t for each field.
66382         (dl_tls_index): Replace unsigned long with uint64_t.
66384 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
66385         Paul Pluzhnikov  <ppluzhnikov@google.com>
66387         [BZ #6528]
66388         * grp/Makefile (otherlibs): Don't set it.
66389         * inet/Makefile (otherlibs): Likewise.
66390         * login/Makefile (otherlibs): Likewise.
66391         * nscd/Makefile (otherlibs): Likewise.
66392         * posix/Makefile (otherlibs): Likewise.
66393         * pwd/Makefile (otherlibs): Likewise.
66394         * rt/Makefile (otherlibs): Likewise.
66395         * sunrpc/Makefile (otherlibs): Likewise.
66396         * nss/Makefile (otherlibs): Likewise.
66397         Add libnss_files to routines and static-only-routines.
66398         ($(objpfx)getent): Remove rule.
66399         * resolv/Makefile: Add libnss_dns and libresolv to routines and
66400         static-only-routines.
66402 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
66404         [BZ #13892]
66405         * math/s_cexp.c: Include <float.h>.
66406         (__cexp): Handle exp result overflowing not necessarily
66407         overflowing both real and imaginary parts of result.
66408         * math/s_cexpf.c: Likewise.
66409         * math/s_cexpl.c: Likewise.
66410         * math/libm-test.inc (cexp_test): Add more tests.
66411         * sysdeps/i386/fpu/libm-test-ulps: Update.
66412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66414 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66416         * include/link.h (ELFW): New macro.
66417         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
66418         Replace ELF64_R_TYPE with ELFW(R_TYPE).
66420 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66422         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
66423         with uint64_t.
66425 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66427         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
66428         declaration.
66429         (struct La_x32_retval): Likewise.
66431 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66433         * sysdeps/x86_64/preconfigure.in: New file.
66434         * sysdeps/x86_64/preconfigure: New generated file.
66436 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
66438         [BZ #13824]
66439         * math/e_exp2l.c: Include <float.h>.
66440         (__ieee754_exp2l): Handle overflow and underflow cases
66441         separately.  Only pass fractional part of argument to
66442         __ieee754_expl.
66443         * math/libm-test.inc (exp2_test): Add more tests.
66445         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
66446         negating x to take absolute value.
66447         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
66448         Likewise.
66449         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
66450         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
66451         Likewise.
66452         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
66453         computing low part if x was negated.
66454         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
66456 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66458         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
66459         la_x32_gnu_pltexit.
66460         (pltexit): Cast int_retval to ptrdiff_t.
66461         * elf/tst-auditmod3b.c: Likewise.
66462         * elf/tst-auditmod4b.c: Likewise.
66463         * elf/tst-auditmod5b.c: Likewise.
66464         * elf/tst-auditmod6b.c: Likewise.
66465         * elf/tst-auditmod6c.c: Likewise.
66466         * elf/tst-auditmod7b.c: Likewise.
66468         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
66469         and x32_gnu_pltexit.
66471         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
66472         __ELF_NATIVE_CLASS.
66473         (La_x32_regs): New macro.
66474         (La_x32_retval): Likewise.
66475         (la_x32_gnu_pltenter): New function prototype.
66476         (la_x32_gnu_pltexit): Likewise.
66478 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
66480         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
66481         exponent.
66483         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66485         * configure.in (libc_cv_cc_nofma): Check for option to disable
66486         generation of FMA instructions.
66487         * configure: Regenerate.
66488         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
66489         * sysdeps/ieee754/dbl-64/Makefile: New file.
66490         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
66491         Remove brandred-fma4.
66492         (CFLAGS-brandred-fma4.c): Remove.
66493         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
66494         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
66495         define.
66496         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
66497         define.
66499 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66501         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
66502         LLONG_MAX != LONG_MAX.
66503         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66504         (_fitoa_word): Likewise.
66505         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
66506         LLONG_MAX != LONG_MAX.
66507         * stdio-common/_itowa.h: Include <_itoa.h>.
66508         (_itowa_word): Use _ITOA_WORD_TYPE on value.
66509         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
66510         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
66511         only if not defined.
66512         (_ITOA_WORD_TYPE): Likewise.
66513         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66514         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
66516 2012-03-21  David S. Miller  <davem@davemloft.net>
66518         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66520 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66522         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
66523         of x86_64 when setting libc_cv_slibdir, libdir and
66524         libc_cv_localedir.
66525         * sysdeps/unix/sysv/linux/configure: Regenerated.
66527 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66529         * manual/lang.texi (Old Varargs): Remove section.
66530         (How Variadic): Update menu.
66531         (va_start): Do not mention varargs.h.
66533 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66534             Joseph Myers  <joseph@codesourcery.com>
66536         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
66537         link test.
66538         * configure: Regenerated.
66540 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66542         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
66543         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
66544         conformtest.pl
66546 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66548         * NOTES: Remove.
66549         * Makefile (files-for-dist): Remove NOTES.
66550         (NOTES): Remove rule.
66551         * README: Don't refer to NOTES.
66552         * manual/creature.texi: Don't include macros.texi.
66553         * manual/intro.texi (creature.texi): Remove comment referring to
66554         NOTES.
66556         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
66557         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
66558         * configure: Regenerated.
66559         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
66560         LIBC_TRY_CC_OPTION.
66561         (libc_cv_as_i686): Likewise.
66562         (libc_cv_cc_avx): Likewise.
66563         (libc_cv_cc_sse2avx): Likewise.
66564         (libc_cv_cc_fma4): Likewise.
66565         (libc_cv_cc_novzeroupper): Likewise.
66566         * sysdeps/i386/configure: Regenerated.
66568         [BZ #13883]
66569         * sysdeps/i386/fpu/s_cexp.S: Remove.
66570         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
66571         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
66572         * math/libm-test.inc (cexp_test): Add more tests.
66573         * sysdeps/i386/fpu/libm-test-ulps: Update.
66574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66576 2012-03-21  Allan McRae  <allan@archlinux.org>
66578         * timezone/Makefile: Do not install iso3166.tab and zone.tab
66580 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66582         [BZ #13871]
66583         * math/w_exp2.c: Do not include <float.h>.
66584         (o_threshold, u_threshold): Remove.
66585         (__exp2): Calculate result before checking finiteness and calling
66586         __kernel_standard.
66587         * math/w_exp2f.c: Likewise.
66588         * math/w_exp2l.c: Likewise.
66589         * math/libm-test.inc (exp2_test): Require overflow exception for
66590         1e6 input.
66592         [BZ #3866]
66593         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
66594         range of signed 64-bit integers before using fistpll.  Remove
66595         checks for whether integers fit in mantissa bits.
66596         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
66597         the range of signed 32-bit integers before using fistpl.  Remove
66598         checks for whether integers fit in mantissa bits.
66599         * sysdeps/i386/fpu/e_powl.S (p64): New object.
66600         (__ieee754_powl): Test for y outside the range of signed 64-bit
66601         integers before using fistpll.  Reduce 64-bit values to 63-bit
66602         ones as needed.
66603         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
66604         divide-by-zero is raised for zero to large negative powers.
66605         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
66606         (__ieee754_powl): Test for y outside the range of signed 64-bit
66607         integers before using fistpll.  Reduce 64-bit values to 63-bit
66608         ones as needed.
66609         * math/libm-test.inc (pow_test): Add more tests.
66611 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66613         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
66614         <stdio-common/_itoa.h>.
66615         * debug/segfault.c: Likewise.
66616         * elf/dl-cache.c: Likewise.
66617         * elf/dl-minimal.c: Likewise.
66618         * elf/dl-misc.c: Likewise.
66619         * elf/dl-sysdep.c: Likewise.
66620         * elf/dl-version.c: Likewise.
66621         * elf/rtld.c: Likewise.
66622         * hurd/hurdsock.c: Likewise.
66623         * hurd/lookup-retry.c: Likewise.
66624         * malloc/malloc.c: Likewise.
66625         * malloc/mtrace.c: Likewise.
66626         * nscd/nscd_getgr_r.c: Likewise.
66627         * nscd/nscd_getpw_r.c: Likewise.
66628         * nscd/nscd_getserv_r.c: Likewise.
66629         * posix/getopt_init.c: Likewise.
66630         * posix/wordexp.c: Likewise.
66631         * stdio-common/_itoa.c: Likewise.
66632         * stdio-common/printf_fphex.c: Likewise.
66633         * stdio-common/vfprintf.c: Likewise.
66634         * string/_strerror.c: Likewise.
66635         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
66636         * sysdeps/i386/i686/hp-timing.h: Likewise.
66637         * sysdeps/mach/_strerror.c: Likewise.
66638         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
66639         * sysdeps/mach/hurd/sethostid.c: Likewise.
66640         * sysdeps/mach/hurd/xmknodat.c: Likewise.
66641         * sysdeps/mach/xpg-strerror.c: Likewise.
66642         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
66643         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
66644         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
66645         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
66646         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
66647         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
66648         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
66649         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
66650         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
66651         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
66652         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
66653         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
66654         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
66655         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
66656         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
66657         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
66658         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
66659         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
66660         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
66661         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
66662         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
66664         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
66666         * stdio-common/_itoa.h: Moved to ...
66667         * sysdeps/generic/_itoa.h: Here.
66669         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
66671         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
66672         instead of "_itoa.h" and "_itowa.h".
66673         * stdio-common/vfprintf.: Likewise.
66675 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66677         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
66678         <bits/wordsize.h>.
66679         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
66680         (__signbit): Likwise.
66681         (llrintf): Likwise.
66682         (llrint): Likwise.
66684 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66686         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
66687         __WORDSIZE != 64.
66689 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
66691         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
66692         OVERFLOW_EXCEPTION_OK.
66693         * math/libm-test.inc ("Philosophy"): Update comment about
66694         exception testing.
66695         (OVERFLOW_EXCEPTION): Define.
66696         (OVERFLOW_EXCEPTION_OK): Likewise.
66697         (INVALID_EXCEPTION_OK): Renumber.
66698         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66699         (IGNORE_ZERO_INF_SIGN): Likewise.
66700         (test_exceptions): Handle FE_OVERFLOW.
66701         (exp10_test): Expect overflow exceptions.
66702         (exp2_test): Likewise.
66703         (expm1_test): Likewise.
66704         (nextafter_test): Likewise.
66705         (pow_test): Likewise.
66706         (scalbn_test): Likewise.
66707         (scalbln_test): Likewise.
66709 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66711         * sysdeps/x86_64/bits/atomic.h
66712         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
66713         64bit integer.
66714         (atomic_exchange_acq): Likewise.
66715         (__arch_exchange_and_add_body): Likewise.
66716         (__arch_add_body): Likewise.
66717         (atomic_add_negative): Likewise.
66718         (atomic_add_zero): Likewise.
66720 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66722         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
66723         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
66725 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66727         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
66728         Check __x86_64__ instead of __WORDSIZE.
66730 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66732         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
66734 2012-03-19  David S. Miller  <davem@davemloft.net>
66736         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66738         * sysdeps/sparc/fpu/fenv_private.h: New file.
66739         * sysdeps/sparc/fpu/math_private.h: Use it.
66740         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
66741         Remove.
66742         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
66743         (libc_feholdexcept_setroundl): Remove.
66744         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
66745         Remove.
66746         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
66747         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
66749 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66751         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
66752         int64_t instead of long int.
66753         (INSERT_WORDS64): Likwise.
66755 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66757         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
66758         _Unwind_GetCFA return to _Unwind_Ptr first.
66760 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
66762         [BZ #13629]
66763         * math/s_clog.c: Include <float.h>.
66764         (__clog): Scale large or subnormal inputs.
66765         * math/s_clogf.c: Likewise.
66766         * math/s_clogl.c: Likewise.
66767         * math/s_clog10.c: Include <float.h>.
66768         (M_LOG10_2): Define.
66769         (__clog10): Scale large or subnormal inputs.
66770         * math/s_clog10f.c: Likewise.
66771         * math/s_clog10l.c: Likewise.
66772         * math/libm-test.inc (clog_test): Add more tests.
66773         (clog10_test): Likewise.
66774         * sysdeps/i386/fpu/libm-test-ulps: Update.
66775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66777         [BZ #11451]
66778         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
66779         x and y.
66780         * math/libm-test.inc (atan2_test): Add another test.
66782         * Makerules (common-objdir-compile): Remove.
66783         * sysdeps/unix/Makefile (config-generated): Do not add
66784         $(unix-generated) to variable.
66785         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
66786         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
66787         Remove rule.
66788         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
66789         Likewise.
66790         [generic bits/local_lim.h] (before-compile): Do not append to
66791         variable.
66792         [generic bits/local_lim.h] (common-generated): Likewise.
66793         [generic sys/param.h] (before-compile): Do not append to variable.
66794         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
66795         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
66796         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
66797         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
66798         include.
66799         [generic sys/param.h] (sys/param.h-includes): Remove variable.
66800         [generic sys/param.h] (sys/param.h-includes): Remove rule.
66801         [generic sys/param.h] ($(addprefix
66802         $(common-objpfx),$(sys/param.h-includes))): Likewise.
66803         [generic sys/param.h] (common-generated): Do not append to
66804         variable.
66805         [generic sys/param.h] (sysdep_headers): Likewise.
66806         [generic bits/errno.h] (before-compile): Do not append to
66807         variable.
66808         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
66809         rule.
66810         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
66811         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
66812         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
66813         [generic bits/errno.h] (common-generated): Do not append to
66814         variable.
66815         [generic bits/ioctls.h] (before-compile): Do not append to
66816         variable.
66817         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
66818         rule.
66819         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
66820         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
66821         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
66822         rule.
66823         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
66824         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
66825         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
66826         [generic bits/ioctls.h] (common-generated): Do not append to
66827         variable.
66828         [generic sys/syscall.h] (syscall.h): Remove variable.
66829         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
66830         rule.
66831         [generic sys/syscall.h] (before-compile): Do not append to
66832         variable.
66833         [generic sys/syscall.h] (common-generated): Likewise.
66834         * sysdeps/unix/errnos-tmpl.c: Remove file.
66835         * sysdeps/unix/errnos.awk: Likewise.
66836         * sysdeps/unix/ioctls-tmpl.c: Likewise.
66837         * sysdeps/unix/ioctls.awk: Likewise.
66838         * sysdeps/unix/mk-local_lim.c: Likewise.
66839         * sysdeps/unix/snarf-ioctls: Likewise.
66841 2012-03-19  Richard Henderson  <rth@twiddle.net>
66843         * sysdeps/i386/fpu/fenv_private.h: New file.
66844         * sysdeps/i386/fpu/math_private.h: Use it.
66845         (math_opt_barrier, math_force_eval): Remove.
66846         (libc_feholdexcept_setround_53bit): Remove.
66847         (libc_feupdateenv_53bit): Remove.
66848         * sysdeps/x86_64/fpu/math_private.h: Likewise.
66849         (math_opt_barrier, math_force_eval): Remove.
66850         (libc_feholdexcept): Remove.
66851         (libc_feholdexcept_setround): Remove.
66852         (libc_fetestexcept, libc_fesetenv): Remove.
66853         (libc_feupdateenv_test): Remove.
66854         (libc_feupdateenv, libc_feholdsetround): Remove.
66855         (libc_feresetround): Remove.
66857         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
66858         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
66860         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
66861         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
66862         (libc_feupdateenv_testl): New.
66863         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
66864         (libc_feupdateenv_testf): New.
66865         (libc_feupdateenv): Use libc_feupdateenv_test.
66866         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
66867         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
66869         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
66870         (libc_feholdsetroundf, libc_feholdsetroundl): New.
66871         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
66872         (libc_feresetround_noex): New.
66873         (libc_feresetround_noexf): New.
66874         (libc_feresetround_noexl): New.
66875         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
66876         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
66877         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
66878         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
66879         SET_RESTORE_ROUND.
66880         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
66881         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
66882         (__cos): Likewise.
66883         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
66884         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
66885         SET_RESTORE_ROUND_NOEX.
66886         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
66887         SET_RESTORE_ROUND_NOEXF.
66888         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
66889         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
66890         (libc_feholdsetroundf): New.
66891         (libc_feresetround, libc_feresetroundf): New.
66893         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
66894         (libc_feholdexcept_setround_53bit): Convert from macro to function.
66895         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
66897         * sysdeps/generic/math_private.h: Include <fenv.h>.
66898         (default_libc_feholdexcept): New.
66899         (default_libc_feholdexcept_setround): New.
66900         (default_libc_fesetenv, default_libc_feupdateenv): New.
66901         (libc_feholdexcept): Only define if undefined.
66902         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
66903         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
66904         (libc_feholdexcept_setroundl): Likewise.
66905         (libc_feholdexcept_setround_53bit): Likewise.
66906         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
66907         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
66908         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
66909         (libc_feupdateenv_53bit): Likewise.
66910         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
66911         (libc_feholdexcept): Convert from macro to inline function.
66912         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
66913         (libc_fesetenv, libc_feupdateenv): Likewise.
66915         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
66916         not previously defined.
66917         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
66918         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
66919         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
66920         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
66921         * sysdeps/ieee754/flt-32/math_private.h: New file.
66922         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
66923         math_private.h below SET_FLOAT_WORD.
66924         (__isnan, __isinf_ns, __finite): Remove.
66925         (__isnanf, __isinf_nsf, __finitef): Remove.
66927 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
66929         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66931 2012-03-17  David S. Miller  <davem@davemloft.net>
66933         [BZ #6471]
66934         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
66935         for 2.16.
66937 2012-03-16  David S. Miller  <davem@davemloft.net>
66939         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
66940         warnings.
66942         [BZ #6471]
66943         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
66944         properly.
66945         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
66946         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
66947         sysdep_routines when subdir is sysvipc.
66948         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
66949         __getshmlba helper.
66951         * sysdeps/sparc/fpu/libm-test/ulps: Update.
66953 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66955         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
66956         [__LP64__].
66958 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66960         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
66961         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
66962         (__lround): Renamed to ...
66963         (__llround): This.  Replace long int with long long int.
66964         Define lround functions as aliases of llround functions.
66965         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
66967 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66969         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
66970         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
66971         adresses to uintptr_t.  Replace "long int" and "unsigned long
66972         int" with "greg_t" on va_arg.
66974 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66976         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
66977         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
66979         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
66980         Move e_machine check before EI_CLASS check.  Handle x32
66981         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
66982         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
66983         SKIP_EM_IA_64 and include
66984         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
66986         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
66987         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
66988         (add_system_dir): New macro.
66990         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
66991         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
66993 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
66995         [BZ #2551]
66996         [BZ #2552]
66997         [BZ #2553]
66998         [BZ #2554]
66999         [BZ #2562]
67000         [BZ #2563]
67001         [BZ #2565]
67002         [BZ #2566]
67003         [BZ #2576]
67004         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
67005         (y0): Likewise.
67006         * math/w_j0f.c (j0f): Likewise.
67007         (y0f): Likewise.
67008         * math/w_j0l.c (__j0l): Likewise.
67009         (__y0l): Likewise.
67010         * math/w_j1.c (j1): Likewise.
67011         (y1): Likewise.
67012         * math/w_j1f.c (j1f): Likewise.
67013         (y1f): Likewise.
67014         * math/w_j1l.c (__j1l): Likewise.
67015         (__y1l): Likewise.
67016         * math/w_jn.c (jn): Likewise.
67017         (yn): Likewise.
67018         * math/w_jnf.c (jnf): Likewise.
67019         (ynf): Likewise.
67020         * math/w_jnl.c (__jnl): Likewise.
67021         (__ynl): Likewise.
67022         * math/libm-test.inc (j0_test): Add more tests.
67023         (j1_test): Likewise.
67024         (jn_test): Likewise.  Add trailing semicolon to existing test.
67025         (y0_test): Likewise.
67026         (y1_test): Likewise.
67027         * sysdeps/i386/fpu/libm-test-ulps: Update.
67028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67030         [BZ #13851]
67031         [BZ #13854]
67032         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
67033         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
67034         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
67035         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
67036         (__tanl): Set errno for infinite argument.
67037         * sysdeps/i386/fpu/mptan.c: Remove.
67038         * sysdeps/i386/fpu/s_tan.S: Likewise.
67039         * sysdeps/i386/fpu/s_tanl.S: Likewise.
67040         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
67041         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
67042         * math/libm-test.inc (tan_test): Add more tests and enable more
67043         tests for double and long double.
67044         * sysdeps/i386/fpu/libm-test-ulps: Update.
67045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67047 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
67049         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
67050         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
67052 2012-03-16  Roland McGrath  <roland@hack.frob.com>
67054         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
67055         * configure.in: Use it for both main tree and add-ons.
67056         * configure: Regenerated.
67058 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67060         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
67062 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
67064         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
67065         in comment.
67067         [BZ #13851]
67068         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
67069         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
67070         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
67071         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
67072         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
67073         infinite argument.
67074         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
67075         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
67076         != 0 for prec == 2.
67077         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
67078         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
67079         * sysdeps/i386/fpu/s_cosl.S: Likewise.
67080         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
67081         * sysdeps/i386/fpu/s_sinl.S: Likewise.
67082         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
67083         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
67084         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
67085         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
67086         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
67087         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
67088         * math/libm-test.inc (cos_test): Add more tests and enable more
67089         tests for long double.
67090         (sin_test): Likewise.
67091         (sincos_test): Likewise.
67092         * sysdeps/i386/fpu/libm-test-ulps: Update.
67093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67095 2012-03-16  David S. Miller  <davem@davemloft.net>
67097         * sysdeps/sparc/fpu/math_private.h: New file.
67099 2012-03-15  David S. Miller  <davem@davemloft.net>
67101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
67102         file.
67103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
67104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
67105         file.
67106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
67107         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
67108         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
67109         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
67110         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
67111         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
67112         sysdep routines.
67113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67115         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
67116         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
67118         * sysdeps/sparc/sparc-ifunc.h: New file.
67119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
67120         sparc-ifunc.h
67121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
67122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
67123         Likewise.
67124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
67125         Likewise.
67126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
67127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
67128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
67130         Likewise.
67131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
67133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
67135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
67136         Likewise.
67137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
67138         Likewise.
67139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
67141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
67142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
67143         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
67144         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
67145         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
67146         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
67147         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
67148         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
67149         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
67150         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
67151         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
67152         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
67153         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
67154         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
67155         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
67156         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
67157         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
67158         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
67159         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
67160         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
67161         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
67162         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
67164 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67166         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
67167         scaling.
67168         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67170 2012-03-15  Andreas Jaeger  <aj@suse.de>
67172         [BZ #13852]
67173         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
67174         ieee754/flt-32 implementation for sin, cos and sincos.
67175         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
67176         * sysdeps/i386/fpu/s_cosf.S: Likewise.
67177         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
67178         * sysdeps/i386/fpu/s_sinf.S: Likewise.
67179         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
67180         ieee754/flt-32 implementation for tan.
67182         * math/libm-test.inc (cos_test): Enable some large input tests for
67183         float as well
67184         (sin_test): Likewise.
67185         (sincos_test): Likewise.
67186         (tan_test): Add tests for large input.
67188         * sysdeps/i386/fpu/libm-test-ulps: Update.
67190 2012-03-15  Andreas Jaeger  <aj@suse.de>
67192         [BZ #13658]
67193         * math/libm-test.inc (cos_test): Add more test cases.
67194         (sin_test): Likewise.
67195         (sincos_test): Likewise.
67197 2012-03-15  Andreas Jaeger  <aj@suse.de>
67199         [BZ #13837]
67200         * math/libm-test.inc (cos_test): Add a test case for large input
67201         value.
67202         (sin_test): Likewise.
67203         (sincos_test): Likewise.
67205 2012-03-15  Andreas Jaeger  <aj@suse.de>
67206             Joseph Myers  <joseph@codesourcery.com>
67208         [BZ #13658]
67209         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
67210         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
67211         * sysdeps/i386/fpu/branred.c: Likewise.
67212         * sysdeps/i386/fpu/dosincos.c: Likewise.
67213         * sysdeps/i386/fpu/mpa.c: Likewise.
67214         * sysdeps/i386/fpu/s_cos.S: Likewise.
67215         * sysdeps/i386/fpu/s_sin.S: Likewise.
67216         * sysdeps/i386/fpu/s_sincos.S: Likewise.
67217         * sysdeps/i386/fpu/sincos32.c: Likewise.
67219         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
67220         Define.
67221         (libc_feupdateenv_53bit): Define.
67222         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
67223         Define.
67224         (libc_feupdateenv_53bit): Define.
67226         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
67227         53 bit (without extend i386 double precision).
67229         * math/libm-test.inc (sincos_test): Add tests for large input.
67230         (sin): Likewise.
67231         (cos): Likewise.
67233         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
67235 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67239 2012-03-15  David S. Miller  <davem@davemloft.net>
67241         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
67242         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
67243         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
67244         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
67245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
67246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
67247         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
67248         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
67249         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
67250         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
67251         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
67252         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
67253         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
67254         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
67255         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
67256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
67257         file.
67258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
67259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
67260         file.
67261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
67262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
67263         file.
67264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
67265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
67266         file.
67267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
67268         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
67269         fmin/fmax sysdep routines.
67270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67272 2012-03-14  David S. Miller  <davem@davemloft.net>
67274         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
67275         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
67276         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
67277         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
67278         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
67279         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
67280         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
67281         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
67282         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
67283         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
67284         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
67285         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
67286         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
67287         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
67288         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
67289         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
67290         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
67291         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
67292         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
67293         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
67294         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
67295         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
67296         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
67297         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
67298         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
67299         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
67300         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
67301         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
67302         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
67303         routines.
67304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
67305         file.
67306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
67307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
67308         file.
67309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
67310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
67311         file.
67312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
67313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
67314         file.
67315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
67316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
67317         file.
67318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
67319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
67320         file.
67321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
67322         file.
67323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
67324         file.
67325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
67326         file.
67327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
67328         New file.
67329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
67330         file.
67331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
67332         file.
67333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
67334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
67335         file.
67336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
67337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
67338         file.
67339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
67340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
67341         file.
67342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
67343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
67344         VIS3 routines.
67346         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
67347         New file.
67349         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67351         * sysdeps/sparc/configure.in: New file.
67352         * sysdeps/sparc/configure: Generate.
67353         * configure.in (libc_cv_sparc_as_vis3): Substitute.
67354         * configure: Regenerate.
67355         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
67356         * config.make.in (have-as-vis3): New.
67357         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
67358         available use -Av9d instead of -Av9a.
67359         * sysdeps/sparc/sparc64/Makefile: Likewise.
67360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
67361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
67362         New file.
67363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
67364         file.
67365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
67366         New file.
67367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
67368         file.
67369         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
67370         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
67371         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
67372         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
67373         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
67375         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
67376         fzeros/fnegs to load 0x80000000 into a float register instead of
67377         using the stack.
67378         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
67380 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
67382         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67383         bits/syscall.h.
67384         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
67385         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
67386         ($(inst_includedir)/bits/syscall.h): Remove rule.
67387         ($(objpfx)bits/syscall.d): Include instead of
67388         $(objpfx)syscall-list.d.
67389         (generated): Change syscall-list.h and syscall-list.d to
67390         bits/syscall.h and bits/syscall.d.
67392 2012-03-14  Roland McGrath  <roland@hack.frob.com>
67394         [BZ #13846]
67395         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
67397 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
67399         [BZ #13841]
67400         * math/s_csqrt.c: Include <float.h>.
67401         (__csqrt): Scale large or subnormal inputs.
67402         * math/s_csqrtf.c: Likewise.
67403         * math/s_csqrtl.c: Likewise.
67404         * math/libm-test.inc (csqrt_test): Add more tests.
67405         * sysdeps/i386/fpu/libm-test-ulps: Update.
67406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67408         [BZ #13840]
67409         * math/libm-test.inc (hypot_test): Add more tests.
67411 2012-03-13  David S. Miller  <davem@davemloft.net>
67413         [BZ #13840]
67414         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
67415         double-precision for the calculation instead of scaling.
67417 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
67419         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
67420         manipulate bits before adding and subtracting TWO52[sx].
67421         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
67422         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
67423         Likewise.
67424         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
67426 2012-03-13  David S. Miller  <davem@davemloft.net>
67428         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
67429         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
67430         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
67431         rtld-global-offsets.h
67432         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67434         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
67435         large parameters.
67437         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
67439         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
67440         'err' in the ifdef scope in which it is actually used.
67442         * nss/nss_db/db-init.c: Include string.h
67444 2012-03-12  David S. Miller  <davem@davemloft.net>
67446         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
67447         masking out of the most significant byte of random value used.
67448         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67449         Fix coding style in previous change.
67451         * sysdeps/unix/sysv/linux/kernel-features.h
67452         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
67453         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
67454         expression.
67455         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
67456         later.
67458 2012-03-11  David S. Miller  <davem@davemloft.net>
67460         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
67461         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
67462         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
67463         for 'resultvar' otherwise things get truncated on 64-bit.
67465         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67466         Fix masking out of the most significant byte of random value used.
67468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67470 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
67472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67474 2012-03-09  David S. Miller  <davem@davemloft.net>
67476         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
67477         variables with appropriate CPP guards.
67478         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
67479         from the frame pointer, not the stack pointer.  Correct layout
67480         comments.  Fix test on resulting framesize and the management of
67481         the outregs buffer for pltexit.  Preserve floating point return
67482         values across _dl_call_pltexit call.
67483         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
67484         framesize and the management of the outregs buffer for pltexit.
67485         Preserve floating point return values across _dl_call_pltexit
67486         call.
67487         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
67488         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
67489         (la_sparc64_gnu_pltexit): New functions.
67490         (print_exit): Fix format string for return register value.
67492 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
67494         * sunrpc/Makefile (others): Add rpcgen.
67495         ($(objpfx)rpcgen): Remove special build rule and dependency on
67496         libc.
67497         * sunrpc/rpcgen.c: New file.
67499 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
67501         [BZ #13673]
67502         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
67503         * stdio-common/bug-vfprintf-nargs.c: Likewise.
67504         * sysdeps/i386/crti.S: Likewise.
67505         * sysdeps/i386/crtn.S: Likewise.
67506         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
67507         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
67508         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
67509         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
67510         * sysdeps/sh/crti.S: Likewise.
67511         * sysdeps/sh/crtn.S: Likewise.
67512         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
67514         [BZ #13673]
67515         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
67516         with URL.
67517         * locale/programs/locfile-kw.gperf: Likewise.
67518         * locale/programs/charmap-kw.h: Regenerated.
67519         * locale/programs/locfile-kw.h: Likewise.
67521         [BZ #13673]
67522         * intl/plural.y: Replace FSF snail mail address with URL.
67523         * intl/plural.c: Regenerated.
67525 2012-03-09  Richard Henderson  <rth@twiddle.net>
67527         * include/math_private.h: Remove file.
67528         * math/math_private.h: Move file ...
67529         * sysdeps/generic/math_private.h: ... here.
67531         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
67532         * sysdeps/powerpc/fpu/math_private.h: Likewise.
67533         * sysdeps/x86_64/fpu/math_private.h: Likewise.
67535         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
67536         and <math_private.h>.
67537         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
67538         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
67539         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
67540         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
67541         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
67542         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
67543         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67544         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67545         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
67546         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67547         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67548         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67549         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
67550         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67551         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
67552         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
67553         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67554         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
67555         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
67556         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
67557         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67558         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
67559         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
67560         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67561         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
67562         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67563         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
67564         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67565         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67566         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
67567         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
67568         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67569         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
67570         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
67571         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
67572         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
67573         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
67574         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
67575         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
67576         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67577         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
67578         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
67579         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
67580         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
67581         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
67582         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
67583         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
67584         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
67585         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
67586         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
67587         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
67588         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
67589         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
67590         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
67591         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
67592         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
67593         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67594         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
67595         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
67596         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
67597         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67598         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
67599         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67600         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
67601         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
67602         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67603         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67604         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67605         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
67606         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
67607         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67608         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67609         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67610         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67611         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
67612         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
67613         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
67614         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67615         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
67616         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
67617         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67618         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
67619         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67620         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
67621         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67622         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
67623         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
67624         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
67625         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
67626         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67627         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67628         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
67629         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67630         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
67631         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
67632         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
67633         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67634         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
67635         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67636         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
67637         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
67638         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
67639         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
67640         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
67641         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
67642         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
67643         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
67644         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
67645         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
67646         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
67647         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
67648         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
67649         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
67650         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
67651         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
67652         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67653         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
67654         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
67655         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
67656         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
67657         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
67658         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
67659         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67660         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
67661         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
67662         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
67663         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
67664         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
67665         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
67666         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
67667         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
67668         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
67669         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
67670         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
67671         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
67672         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
67673         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
67674         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
67675         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
67676         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
67677         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67678         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
67679         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
67680         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
67681         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
67682         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
67683         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
67684         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
67685         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
67686         * sysdeps/ieee754/k_standard.c: Likewise.
67687         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
67688         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
67689         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67690         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
67691         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
67692         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
67693         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
67694         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
67695         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
67696         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
67697         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67698         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
67699         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
67700         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
67701         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
67702         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
67703         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
67704         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
67705         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
67706         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
67707         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
67708         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
67709         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
67710         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
67711         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
67712         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
67713         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
67714         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
67715         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
67716         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
67717         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
67718         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
67719         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
67720         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
67721         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
67722         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
67723         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
67724         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
67725         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
67726         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
67727         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
67728         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
67729         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
67730         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
67731         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
67732         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
67733         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
67734         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
67735         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
67736         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
67737         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
67738         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
67739         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
67740         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
67741         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
67742         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
67743         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
67744         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
67745         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
67746         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
67747         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
67748         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
67749         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
67750         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
67751         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67752         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67753         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
67754         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
67755         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
67756         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
67757         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
67758         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67759         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
67760         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
67761         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
67762         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
67763         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
67764         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
67765         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67766         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
67767         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
67768         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
67769         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
67770         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
67771         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
67772         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
67773         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
67774         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
67775         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
67776         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
67777         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
67778         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
67779         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
67780         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
67781         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
67782         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
67783         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
67784         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
67785         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
67786         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
67787         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
67788         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
67789         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
67790         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
67791         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
67792         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
67793         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
67794         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
67795         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
67796         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
67797         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
67798         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
67799         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
67800         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67801         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
67802         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67803         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
67804         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67805         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67806         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
67807         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67808         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
67809         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
67810         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
67811         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67812         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
67813         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
67814         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
67815         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
67816         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
67817         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
67818         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
67819         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
67820         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
67821         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
67822         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
67823         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
67824         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
67825         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
67826         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
67827         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
67828         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
67829         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
67830         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
67831         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
67832         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
67833         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
67834         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
67835         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
67836         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
67837         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
67838         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
67839         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
67840         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
67841         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
67842         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
67843         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
67844         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
67845         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
67846         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
67847         * sysdeps/ieee754/s_lib_version.c: Likewise.
67848         * sysdeps/ieee754/s_matherr.c: Likewise.
67849         * sysdeps/ieee754/s_signgam.c: Likewise.
67850         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67851         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67852         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
67853         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
67854         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
67855         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
67856         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
67857         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
67858         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
67859         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
67860         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
67861         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
67862         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
67863         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
67864         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
67865         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
67866         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
67867         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
67868         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
67869         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
67870         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
67872 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
67874         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
67875         * sunrpc/rpc_main.c: Likewise.
67876         * sunrpc/rpc_svcout.c: Likewise.
67878 2012-03-09  David S. Miller  <davem@davemloft.net>
67880         * include/math_private.h: New file.
67882 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
67884         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
67885         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
67886         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
67887         from <bits/socket_type.h>.
67888         (enum __socket_type): Don't define here.
67889         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
67890         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67891         bits/socket_type.h.
67893         [BZ #13566]
67894         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
67895         checking __USE_GNU.
67897         * Makerules ($(inst_includedir)/%.h): New rule.
67898         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
67899         (install-others): Remove variable setting.
67900         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
67902 2012-03-08  Richard Henderson  <rth@twiddle.net>
67904         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
67905         from macro to inline function; merge with the
67906         !__LIBC_INTERNAL_MATH_INLINES version.
67907         (__ieee754_sqrtf): Likewise.
67909         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
67910         to inline function.
67911         (__rintf, __floor, __floorf): Likewise.
67913         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
67914         macro to inline function.
67915         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
67917         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
67918         not <math/math_private.h>.
67920 2012-03-08  David S. Miller  <davem@davemloft.net>
67922         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
67923         copyright year.
67924         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
67926 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
67928         * resolv/gai_misc.c (handle_requests): Fix struct timespec
67929         normalization.
67930         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
67931         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
67933 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
67935         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
67936         be defined individually, they must be defined as a block.  Define
67937         S for printing a string instead of hidint the different by using a
67938         macro for adding the 'l'.
67939         * stdio-common/tst-fphex-wide.c: Adjust.
67941 2012-03-07  Marek Polacek  <polacek@redhat.com>
67943         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
67945 2012-03-08  Marek Polacek  <polacek@redhat.com>
67947         [BZ #13806]
67948         * stdio-common/Makefile (tests): Add tst-fphex-wide.
67949         * stdio-common/tst-fphex.c: Define a few macros to make the
67950         test reusable.  Use them.
67951         * stdio-common/tst-fphex-wide.c: New file.
67953 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
67955         [BZ #6911]
67956         * manual/macros.texi (gnusystems): New macro.
67957         (nongnusystems): Likewise.
67958         (gnulinuxhurdsystems): Likewise.
67959         (gnuhurdsystems): Likewise..
67960         (gnulinuxsystems): Likewise.
67961         * manual/charset.texi: Use new macros or @theglibc{} to refer to
67962         variants of the GNU system, not "GNU system".
67963         * manual/conf.texi: Likewise.
67964         * manual/errno.texi: Likewise.  Update example of errno macro
67965         expansion.
67966         * manual/filesys.texi: Likewise.
67967         (getumask): Document as specific to GNU/Hurd.
67968         * manual/install.texi: Likewise.  Reword some references to
67969         GNU/Linux.
67970         * manual/intro.texi: Likewise.
67971         * manual/io.texi: Likewise.
67972         (File Name Portability): Detail which constraints are inapplicable
67973         to all GNU systems and which are only inapplicable to GNU/Hurd.
67974         * manual/job.texi: Likewise.
67975         * manual/llio.texi: Likewise.
67976         (O_NOCTTY): Document as present on GNU/Linux.
67977         * manual/maint.texi: Likewise.
67978         * manual/memory.texi: Likewise.
67979         * manual/pattern.texi: Likewise.
67980         * manual/pipe.texi: Likewise.
67981         * manual/process.texi: Likewise.
67982         * manual/resource.texi: Likewise.
67983         (RUSAGE_CHILDREN): Remove statement about specifying a particular
67984         child on GNU/Hurd.
67985         * manual/setjmp.texi: Likewise.
67986         * manual/signal.texi: Likewise.
67987         * manual/startup.texi: Likewise.
67988         * manual/stdio.texi: Likewise.
67989         * manual/terminal.texi: Likewise.
67990         (ONLCR): Document as POSIX.
67991         (OXTABS): Document availability on GNU/Linux as XTABS.
67992         (ONOEOT): Document availability separately from other bits.
67993         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
67994         * manual/time.texi: Likewise.
67995         * manual/users.texi: Likewise.
67996         * INSTALL: Regenerated.
67997         * sysdeps/gnu/errlist.c: Regenerated.
67999         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
68000         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
68001         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
68002         puts.
68003         * configure: Regenerated.
68005 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
68007         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
68008         default includes instead of AC_HEADER_CHECK.
68009         * sysdeps/i386/configure: Regenerated.
68011         [BZ #10716]
68012         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
68013         * math/s_cacoshf.c (__cacoshf): Likewise.
68014         * math/s_cacoshl.c (__cacoshl): Likewise.
68015         * math/s_casinh.c (__casinh): Set signs of result from argument.
68016         * math/s_casinhf.c (__casinhf): Likewise.
68017         * math/s_casinhl.c (__casinhl): Likewise.
68018         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
68019         (casinh_test): Add more tests.
68020         * sysdeps/i386/fpu/libm-test-ulps: Update.
68021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68023 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
68025         * po/zh_TW.po: Update from translation team.
68027         * login/Makefile (distribute): Remove variable.
68028         * catgets/Makefile: Likewise.
68029         * mach/Makefile: Likewise.
68030         * malloc/Makefile: Likewise.
68031         * misc/Makefile: Likewise.
68032         * iconv/Makefile: Likewise.
68033         * nscd/Makefile: Likewise.
68034         * hurd/Makefile: Likewise.
68035         * manual/Makefile: Likewise.
68036         * locale/Makefile: Likewise.
68037         * intl/Makefile: Likewise.
68038         * conform/Makefile: Likewise.
68039         * nss/Makefile: Likewise.
68040         * time/Makefile: Likewise.
68041         * soft-fp/Makefile: Likewise.
68042         * dirent/Makefile: Likewise.
68043         * gmon/Makefile: Likewise.
68044         * po/Makefile: Likewise.
68045         * rt/Makefile: Likewise.
68046         * socket/Makefile: Likewise.
68047         * math/Makefile: Likewise.
68048         * signal/Makefile: Likewise.
68049         * debug/Makefile: Likewise.
68050         * elf/Makefile: Likewise.
68051         * timezone/Makefile: Likewise.
68052         * stdlib/Makefile: Likewise.
68053         * iconvdata/Makefile: Likewise.
68054         * sunrpc/Makefile: Likewise.
68055         * io/Makefile: Likewise.
68056         * argp/Makefile: Likewise.
68057         * inet/Makefile: Likewise.
68058         * hesiod/Makefile: Likewise.
68059         * grp/Makefile: Likewise.
68060         * csu/Makefile: Likewise.
68061         * wctype/Makefile: Likewise.
68062         * crypt/Makefile: Likewise.
68063         * libio/Makefile: Likewise.
68064         * string/Makefile: Likewise.
68065         * nis/Makefile: Likewise.
68066         * resolv/Makefile: Likewise.
68067         * stdio-common/Makefile: Likewise.
68068         * wcsmbs/Makefile: Likewise.
68069         * dlfcn/Makefile: Likewise.
68070         * posix/Makefile: Likewise.
68072         [BZ #6959]
68073         * timezone/Makefile: Don't install timezone files, just the programs
68074         and scripts.
68076 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
68078         * nss/databases.def: Add missing gshadow entry.
68080         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
68082 2012-03-06  Marek Polacek  <polacek@redhat.com>
68084         [BZ #13726]
68085         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
68086         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
68087         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
68088         * stdio-common/tst-long-dbl-fphex.c: New file.
68090 2012-03-06  David S. Miller  <davem@davemloft.net>
68092         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68093         (set_obp_int): New function.
68094         (get_obp_int): New function.
68095         (__get_clockfreq_via_dev_openprom): Likewise.
68096         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
68097         Avoid unused variable warnings on 'val' and use builtin_expect.
68098         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
68099         __builtin_expect.
68100         (INLINE_CLONE_SYSCALL): Likewise.
68102 2012-03-05  David S. Miller  <davem@davemloft.net>
68104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68106 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
68108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68110         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
68111         only for |x| >= 40.
68112         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68114 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
68116         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
68117         Replace gettimeofday with __vdso_gettimeofday.
68119         * sysdeps/unix/sysv/linux/x86_64/init-first.c
68120         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
68121         __vdso_clock_gettime and __vdso_getcpu.
68123         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
68124         time with __vdso_time.
68126 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
68128         * manual/lang.texi (size_t): Note types to which size_t may be
68129         equivalent with the GNU C Library, but do not describe when
68130         differences between them are significant.
68132 2012-03-05  Andreas Jaeger  <aj@suse.de>
68134         * sysdeps/i386/fpu/libm-test-ulps: Update.
68136 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
68138         [BZ #3976]
68139         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
68140         (__ieee754_pow): Save and restore rounding mode and use
68141         round-to-nearest for main computations.
68142         * math/libm-test.inc (pow_test_tonearest): New function.
68143         (pow_test_towardzero): Likewise.
68144         (pow_test_downward): Likewise.
68145         (pow_test_upward): Likewise.
68146         (main): Call the new functions.
68147         * sysdeps/i386/fpu/libm-test-ulps: Update.
68148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68150         [BZ #3976]
68151         * math/libm-test.inc (cosh_test_tonearest): New function.
68152         (cosh_test_towardzero): Likewise.
68153         (cosh_test_downward): Likewise.
68154         (cosh_test_upward): Likewise.
68155         (sinh_test_tonearest): Likewise.
68156         (sinh_test_towardzero): Likewise.
68157         (sinh_test_downward): Likewise.
68158         (sinh_test_upward): Likewise.
68159         (main): Call the new functions.
68160         * sysdeps/i386/fpu/libm-test-ulps: Update.
68161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68163 2012-03-05  Tom de Vries  <tom@codesourcery.com>
68165         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
68166         default stack guard is set in last bytes.
68167         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
68169 2012-03-05  Kees Cook  <keescook@chromium.org>
68171         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
68173         [BZ #13656]
68174         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
68175         possibly allocate from heap instead of stack.
68176         * stdio-common/bug-vfprintf-nargs.c: New file.
68177         * stdio-common/Makefile (tests): Add nargs overflow test.
68179 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
68181         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68183 2012-03-03  Marek Polacek  <polacek@redhat.com>
68185         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
68186         * math/math_private.h: Likewise.
68187         * stdlib/tst-strtod.c: Likewise.
68188         * sysdeps/i386/i486/bits/atomic.h: Likewise.
68189         * sysdeps/x86_64/bits/atomic.h: Likewise.
68191 2012-03-02  David S. Miller  <davem@davemloft.net>
68193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
68194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
68195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
68196         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
68197         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
68198         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
68199         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
68200         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
68202 2012-03-02  Roland McGrath  <roland@hack.frob.com>
68204         [BZ #13792]
68205         * manual/examples/README: New file, says the example source files
68206         can be used under GPL>=2.
68207         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
68208         line containing just "*/".
68209         * manual/examples/add.c: Add copyright header (GPL>=2).
68210         * manual/examples/argp-ex1.c: Likewise.
68211         * manual/examples/argp-ex2.c: Likewise.
68212         * manual/examples/argp-ex3.c: Likewise.
68213         * manual/examples/argp-ex4.c: Likewise.
68214         * manual/examples/atexit.c: Likewise.
68215         * manual/examples/db.c: Likewise.
68216         * manual/examples/dir.c: Likewise.
68217         * manual/examples/dir2.c: Likewise.
68218         * manual/examples/execinfo.c: Likewise.
68219         * manual/examples/filecli.c: Likewise.
68220         * manual/examples/filesrv.c: Likewise.
68221         * manual/examples/fmtmsgexpl.c: Likewise.
68222         * manual/examples/genpass.c: Likewise.
68223         * manual/examples/inetcli.c: Likewise.
68224         * manual/examples/inetsrv.c: Likewise.
68225         * manual/examples/isockad.c: Likewise.
68226         * manual/examples/longopt.c: Likewise.
68227         * manual/examples/memopen.c: Likewise.
68228         * manual/examples/memstrm.c: Likewise.
68229         * manual/examples/mkfsock.c: Likewise.
68230         * manual/examples/mkisock.c: Likewise.
68231         * manual/examples/mygetpass.c: Likewise.
68232         * manual/examples/pipe.c: Likewise.
68233         * manual/examples/popen.c: Likewise.
68234         * manual/examples/rprintf.c: Likewise.
68235         * manual/examples/search.c: Likewise.
68236         * manual/examples/select.c: Likewise.
68237         * manual/examples/setjmp.c: Likewise.
68238         * manual/examples/sigh1.c: Likewise.
68239         * manual/examples/sigusr.c: Likewise.
68240         * manual/examples/stpcpy.c: Likewise.
68241         * manual/examples/strdupa.c: Likewise.
68242         * manual/examples/strftim.c: Likewise.
68243         * manual/examples/strncat.c: Likewise.
68244         * manual/examples/subopt.c: Likewise.
68245         * manual/examples/swapcontext.c: Likewise.
68246         * manual/examples/termios.c: Likewise.
68247         * manual/examples/testopt.c: Likewise.
68248         * manual/examples/testpass.c: Likewise.
68249         * manual/examples/timeval_subtract.c: Likewise.
68251         [BZ #13792]
68252         * manual/time.texi (Elapsed Time): Move timeval_subtract example
68253         function to ...
68254         * manual/timeval_subtract.c.texi: ... here, new file.
68256 2012-03-02  David S. Miller  <davem@davemloft.net>
68258         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
68260 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
68262         [BZ #3976]
68263         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
68264         (__sin): Save and restore rounding mode and use round-to-nearest
68265         for all computations.
68266         (__cos): Save and restore rounding mode and use round-to-nearest
68267         for all computations.
68268         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
68269         <fenv.h>.
68270         (tan): Save and restore rounding mode and use round-to-nearest for
68271         all computations.
68272         * math/libm-test.inc (cos_test_tonearest): New function.
68273         (cos_test_towardzero): Likewise.
68274         (cos_test_downward): Likewise.
68275         (cos_test_upward): Likewise.
68276         (sin_test_tonearest): Likewise.
68277         (sin_test_towardzero): Likewise.
68278         (sin_test_downward): Likewise.
68279         (sin_test_upward): Likewise.
68280         (tan_test_tonearest): Likewise.
68281         (tan_test_towardzero): Likewise.
68282         (tan_test_downward): Likewise.
68283         (tan_test_upward): Likewise.
68284         (main): Call the new functions.
68285         * sysdeps/i386/fpu/libm-test-ulps: Update.
68286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68288         [BZ #10135]
68289         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
68290         small n, then large n, before computing and testing k+n.
68291         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
68292         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
68293         Likewise.
68294         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
68295         Likewise.
68296         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
68297         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
68298         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
68299         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
68300         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
68301         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
68302         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
68303         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
68304         * math/libm-test.inc (scalbn_test): Add more tests.
68305         (scalbln_test): Likewise.
68307         * manual/filesys.texi (mode_t): Describe constraints on size and
68308         signedness, not exact equivalence to a particular type.
68309         (ino_t): Likewise.
68310         (ino64_t): Likewise.
68311         (dev_t): Likewise.
68312         (nlink_t): Likewise.
68313         (blkcnt_t): Likewise.
68314         (blkcnt64_t): Likewise.
68315         * manual/llio.texi (off_t): Likewise.
68317         [BZ #3976]
68318         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
68319         (__ieee754_exp): Save and restore rounding mode and use
68320         round-to-nearest for all computations.
68321         * math/libm-test.inc (exp_test_tonearest): New function.
68322         (exp_test_towardzero): Likewise.
68323         (exp_test_downward): Likewise.
68324         (exp_test_upward): Likewise.
68325         (main): Call the new functions.
68326         * sysdeps/i386/fpu/libm-test-ulps: Update.
68327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68329 2012-03-01  Chris Demetriou  <cgd@google.com>
68331         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
68332         have predictable order.
68334 2012-03-01  David S. Miller  <davem@davemloft.net>
68336         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
68338         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
68339         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
68340         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
68341         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
68343         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
68344         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
68345         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
68346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
68347         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
68348         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
68349         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
68350         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
68351         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
68353         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68355         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
68356         * sysdeps/sparc/fpu/libm-test-ulps: to here.
68357         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
68359         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
68360         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68361         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68362         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
68363         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
68364         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
68365         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
68366         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68367         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68368         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
68369         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
68370         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68371         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68372         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68373         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68374         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68375         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
68376         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
68377         * sysdeps/sparc/elf/configure: Regenerated.
68379 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
68381         * configure.in (AS, LD): Require binutils 2.20 or later.
68382         * configure: Regenerated.
68383         * manual/install.texi (Tools for Compilation): Give binutils 2.20
68384         as required minimum version.
68385         * INSTALL: Regenerated.
68387         [BZ #2541]
68388         [BZ #4108]
68389         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
68390         before squaring exponent.
68391         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
68392         bottom long double and 27 bits of top long double before squaring
68393         exponent.
68394         * math/libm-test.inc (erfc_test): Add more tests.
68395         * sysdeps/i386/fpu/libm-test-ulps: Update.
68396         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68399 2012-03-01  Kai Tietz  <ktietz@redhat.com>
68401         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
68402         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
68403         containing bit-fields.
68404         * soft-fp/extended.h (_FP_UNION_E): Likewise.
68405         * soft-fp/single.h (_FP_UNION_S): Likewise.
68406         * soft-fp/double.h (_FP_UNION_D): Likewise.
68408 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
68410         [BZ #13786]
68411         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
68412         not include ../strcmp.S.
68413         [USE_AS_STRNCASECMP_L]: Likewise.
68414         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
68415         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
68416         * sysdeps/i386/i686/multiarch/strncase_l-c.c
68417         (__strncasecmp_l_ia32): Define as alias to
68418         __strncasecmp_l_nonascii.
68420         [BZ #5794]
68421         * math/libm-test.inc (expm1_test): Add test for bug 5794.
68422         * sysdeps/i386/fpu/libm-test-ulps: Update.
68423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68425         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
68426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68428 2012-02-29  Jeff Law  <law@redhat.com>
68430         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
68431         out of bounds read.
68433 2012-02-29  Marek Polacek  <polacek@redhat.com>
68435         [BZ #13706]
68436         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
68437         * elf/Makefile: Add rules to run tst-unused-dep.out.
68439 2012-02-28  David S. Miller  <davem@davemloft.net>
68441         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
68442         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
68443         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
68444         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
68445         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
68446         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
68448 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
68450         * math/libm-test.inc (llround_test): Move one test from
68451         lround_test.  Use TEST_f_L in moved test.
68452         (lround_test): Move misplaced test to llround_test.  Add testcase
68453         from bug 2561.
68455 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
68457         * sysdeps/x86_64/fpu/e_expf.S: New file.
68458         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
68460 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
68462         [BZ #13637]
68463         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
68464         of remain_len that may cause incomplete multi-byte character and
68465         false match.
68466         * posix/bug-regex33.c: New file.
68467         * posix/Makefile (tests): Add bug-regex33.
68469 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
68471         * manual/macros.texi: New file.
68472         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
68473         * manual/libc.texinfo: Include macros.texi.
68474         * manual/creatute.texi: Likewise.
68475         * manual/install.texi: Likewise.
68476         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
68477         @glibcadj{} in references to the GNU C Library.
68478         * manual/charset.texi: Likewise.
68479         * manual/conf.texi: Likewise.
68480         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
68481         when not using those macros.
68482         * manual/creature.texi: Likewise.
68483         * manual/crypt.texi: Likewise.
68484         * manual/errno.texi: Likewise.
68485         * manual/filesys.texi: Likewise.
68486         * manual/header.texi: Likewise.
68487         * manual/install.texi: Likewise.
68488         * manual/intro.texi: Likewise.
68489         * manual/io.texi: Likewise.
68490         * manual/job.texi: Likewise.
68491         * manual/lang.texi: Likewise.
68492         * manual/libc.texiinfo: Likewise.
68493         * manual/llio.texi: Likewise.
68494         * manual/locale.texi: Likewise.
68495         * manual/maint.texi: Likewise.
68496         * manual/math.texi: Likewise.
68497         * manual/memory.texi: Likewise.
68498         * manual/message.texi: Likewise.
68499         * manual/nss.texi: Likewise.
68500         * manual/pattern.texi: Likewise.
68501         * manual/process.texi: Likewise.
68502         * manual/resource.texi: Likewise.
68503         * manual/search.texi: Likewise.
68504         * manual/setjmp.texi: Likewise.
68505         * manual/signal.texi: Likewise.
68506         * manual/socket.texi: Likewise.
68507         * manual/startup.texi: Likewise.
68508         * manual/stdio.texi: Likewise.
68509         * manual/string.texi: Likewise.
68510         * manual/sysinfo.texi: Likewise.
68511         * manual/syslog.texi: Likewise.
68512         * manual/terminal.texi: Likewise.
68513         * manual/time.texi: Likewise.
68514         * manual/users.texi: Likewise.
68515         * INSTALL: Regenerated.
68516         * NOTES: Regenerated.
68517         * sysdeps/gnu/errlist.c: Regenerated.
68519 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
68521         * include/dirent.h: Include <dirstream.h> before
68522         <dirent/dirent.h>.
68524 2012-02-28  David S. Miller  <davem@davemloft.net>
68526         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
68527         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
68528         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
68529         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
68531 2012-02-27  David S. Miller  <davem@davemloft.net>
68533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
68534         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
68535         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
68536         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
68538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
68539         frame pointer instead of stack pointer relative arg slot.
68540         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68541         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68542         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68544 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
68546         [BZ #3992]
68547         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
68549 2012-02-27  David S. Miller  <davem@davemloft.net>
68551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
68552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
68555         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68556         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68557         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
68558         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
68560 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
68562         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
68563         later.  Allow versions 5-9.
68564         * configure: Regenerated.
68565         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
68566         required minimum version and 4.6 as recommended version.  Do not
68567         mention bugs in GCC 2.7 and 2.8.
68568         * INSTALL: Regenerated.
68570 2012-02-27  David S. Miller  <davem@davemloft.net>
68572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
68573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
68574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
68575         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
68576         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
68577         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
68578         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
68579         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
68581         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
68582         manipulate bits before adding and subtracting TWO112[sx].
68583         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
68585 2012-02-27  Roland McGrath  <roland@hack.frob.com>
68587         [BZ #13775]
68588         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
68589         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
68590         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
68591         being in POSIX, because they are in 1003.1-2008.
68593         * rt/tst-aio.c: Include <fcntl.h>.
68594         * rt/tst-aio7.c: Likewise.
68595         * rt/tst-aio64.c: Likewise.
68597         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
68599 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
68601         * manual/install.texi (--with-headers): Describe headers as
68602         interface headers, not private headers.
68603         (Specific advice for GNU/Linux systems): Describe use of headers
68604         from "make headers_install", not private headers from older
68605         kernels.
68606         * INSTALL: Regenerated.
68607         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
68608         Change to 2.6.19.
68609         * sysdeps/unix/sysv/linux/configure: Regenerated.
68611         * manual/llio.texi (fclean): Remove documentation.
68613         * manual/Makefile (libc-texi-generated): New variable.  Include
68614         version.texi.
68615         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
68616         $(libc-texi-generated), not duplicated list of files.
68617         (version.texi, stamp-version): New rules.
68618         (realclean): Remove $(libc-texi-generated), not individual files
68619         from that list.  Do not remove dir-add.texinfo.
68620         * manual/libc.texinfo: Comment out uses of edition numbers and
68621         references to printed manual.  Remove last-updated dates.
68622         (EDITION): Comment out.
68623         (ISBN): Likewise.
68624         (VERSION, UPDATED): Remove.
68625         (version.texi): Include.
68627 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
68629         * sysdeps/posix/spawni.c: Include <signal.h>.
68630         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
68631         * sysdeps/pthread/aio_fsync.c: Likewise.
68633 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
68635         * conform/Makefile (tests): Run only when not cross-compiling and
68636         when fast-check is not defined.
68638         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
68639         * conform/data/limits.h-data: Fixes for POSIX2008.
68640         * conform/run-conformtest.sh: Run all tests.
68641         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
68642         headers.
68643         * include/bits/dlfcn.h: Likewise.
68644         * include/langinfo.h: Likewise.
68645         * include/monetary.h: Likewise.
68646         * include/sys/poll.h: Likewise.
68648         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
68649         for __USE_GNU.
68650         * posix/spawn.h: Define __need_sigset_t.
68651         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
68652         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
68653         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
68654         to get sigevent_t only.
68655         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
68656         only for __USE_GNU.
68657         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68658         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
68659         process_vm_writev only for __USE_GNU.
68660         * termios/termios.h: Declare tcgetsid also for POSIX2008.
68662         * conform/Makefile: For now ignore errors from run-conformtest.
68663         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
68664         POSIX to avoid namespace pollution.  Don't prepend headers.
68665         * conform/data/aio.h-data: Fixes for POSIX testing.
68666         * conform/data/fcntl.h-data: Likewise.
68667         * conform/data/glob.h-data: Likewise.
68668         * conform/data/grp.h-data: Likewise.
68669         * conform/data/pthread.h-data: Likewise.
68670         * conform/data/pwd.h-data: Likewise.
68671         * conform/data/signal.h-data: Likewise.
68672         * conform/data/spawn.h-data: Likewise.
68673         * conform/data/stdio.h-data: Likewise.
68674         * conform/data/stdlib.h-data: Likewise.
68675         * conform/data/stropts.h-data: Likewise.
68676         * conform/data/sys/mman.h-data: Likewise.
68677         * conform/data/sys/stat.h-data: Likewise.
68678         * conform/data/sys/types.h-data: Likewise.
68679         * conform/data/sys/wait.h-data: Likewise.
68680         * conform/data/time.h-data: Likewise.
68681         * conform/data/unistd.h-data: Likewise.
68682         * conform/data/utime.h-data: Likewise.
68684         * io/sys/stat.h: fchmod was always in POSIX.
68685         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
68686         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
68687         * rt/aio.h: Define __need_timespec before including <time.h>.
68688         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
68689         struct.  Add forward declaration of pthread_attr_t and use it in
68690         sigevent.
68691         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
68692         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
68693         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
68694         always remove CLK_TCK definition.
68696 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
68698         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
68700 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
68702         * conform/run-conformtest.sh: New file.
68703         * conform/Makefile: Run run-conformtest for tests.
68704         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
68705         support.
68707         * conform/data/uchar.h-data: New file.
68708         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
68709         * conform/data/arpa/inet.h-data: Likewise.
68710         * conform/data/assert.h-data: Likewise.
68711         * conform/data/complex.h-data: Likewise.
68712         * conform/data/cpio.h-data: Likewise.
68713         * conform/data/ctype.h-data: Likewise.
68714         * conform/data/dirent.h-data: Likewise.
68715         * conform/data/dlfcn.h-data: Likewise.
68716         * conform/data/errno.h-data: Likewise.
68717         * conform/data/fcntl.h-data: Likewise.
68718         * conform/data/float.h-data: Likewise.
68719         * conform/data/fmtmsg.h-data: Likewise.
68720         * conform/data/fnmatch.h-data: Likewise.
68721         * conform/data/ftw.h-data: Likewise.
68722         * conform/data/glob.h-data: Likewise.
68723         * conform/data/grp.h-data: Likewise.
68724         * conform/data/iconv.h-data: Likewise.
68725         * conform/data/inttypes.h-data: Likewise.
68726         * conform/data/langinfo.h-data: Likewise.
68727         * conform/data/libgen.h-data: Likewise.
68728         * conform/data/limits.h-data: Likewise.
68729         * conform/data/locale.h-data: Likewise.
68730         * conform/data/math.h-data: Likewise.
68731         * conform/data/monetary.h-data: Likewise.
68732         * conform/data/mqueue.h-data: Likewise.
68733         * conform/data/ndbm.h-data: Likewise.
68734         * conform/data/net/if.h-data: Likewise.
68735         * conform/data/netdb.h-data: Likewise.
68736         * conform/data/netinet/in.h-data: Likewise.
68737         * conform/data/nl_types.h-data: Likewise.
68738         * conform/data/poll.h-data: Likewise.
68739         * conform/data/pthread.h-data: Likewise.
68740         * conform/data/pwd.h-data: Likewise.
68741         * conform/data/regex.h-data: Likewise.
68742         * conform/data/sched.h-data: Likewise.
68743         * conform/data/search.h-data: Likewise.
68744         * conform/data/semaphore.h-data: Likewise.
68745         * conform/data/setjmp.h-data: Likewise.
68746         * conform/data/signal.h-data: Likewise.
68747         * conform/data/spawn.h-data: Likewise.
68748         * conform/data/stdarg.h-data: Likewise.
68749         * conform/data/stdio.h-data: Likewise.
68750         * conform/data/stdlib.h-data: Likewise.
68751         * conform/data/string.h-data: Likewise.
68752         * conform/data/strings.h-data: Likewise.
68753         * conform/data/stropts.h-data: Likewise.
68754         * conform/data/sys/ipc.h-data: Likewise.
68755         * conform/data/sys/mman.h-data: Likewise.
68756         * conform/data/sys/msg.h-data: Likewise.
68757         * conform/data/sys/resource.h-data: Likewise.
68758         * conform/data/sys/select.h-data: Likewise.
68759         * conform/data/sys/sem.h-data: Likewise.
68760         * conform/data/sys/shm.h-data: Likewise.
68761         * conform/data/sys/socket.h-data: Likewise.
68762         * conform/data/sys/stat.h-data: Likewise.
68763         * conform/data/sys/statvfs.h-data: Likewise.
68764         * conform/data/sys/time.h-data: Likewise.
68765         * conform/data/sys/timeb.h-data: Likewise.
68766         * conform/data/sys/times.h-data: Likewise.
68767         * conform/data/sys/types.h-data: Likewise.
68768         * conform/data/sys/uio.h-data: Likewise.
68769         * conform/data/sys/un.h-data: Likewise.
68770         * conform/data/sys/utsname.h-data: Likewise.
68771         * conform/data/sys/wait.h-data: Likewise.
68772         * conform/data/syslog.h-data: Likewise.
68773         * conform/data/tar.h-data: Likewise.
68774         * conform/data/termios.h-data: Likewise.
68775         * conform/data/utime.h-data: Likewise.
68776         * conform/data/utmpx.h-data: Likewise.
68777         * conform/data/varargs.h-data: Likewise.
68778         * conform/data/wchar.h-data: Likewise.
68779         * conform/data/wctype.h-data: Likewise.
68780         * conform/data/wordexp.h-data: Likewise.
68782         * include/stropts.h: New file.
68783         * include/uchar.h: New file.
68784         * include/aio.h: Changes to allow conformtest.pl to use the headers.
68785         * include/assert.h: Likewise.
68786         * include/ctype.h: Likewise.
68787         * include/dirent.h: Likewise.
68788         * include/dlfcn.h: Likewise.
68789         * include/fcntl.h: Likewise.
68790         * include/fnmatch.h: Likewise.
68791         * include/glob.h: Likewise.
68792         * include/grp.h: Likewise.
68793         * include/libio.h: Likewise.
68794         * include/locale.h: Likewise.
68795         * include/math.h: Likewise.
68796         * include/net/if.h: Likewise.
68797         * include/netdb.h: Likewise.
68798         * include/netinet/in.h: Likewise.
68799         * include/pthread.h: Likewise.
68800         * include/pwd.h: Likewise.
68801         * include/regex.h: Likewise.
68802         * include/sched.h: Likewise.
68803         * include/search.h: Likewise.
68804         * include/setjmp.h: Likewise.
68805         * include/signal.h: Likewise.
68806         * include/stdio.h: Likewise.
68807         * include/stdlib.h: Likewise.
68808         * include/string.h: Likewise.
68809         * include/sys/cdefs.h: Likewise.
68810         * include/sys/mman.h: Likewise.
68811         * include/sys/msg.h: Likewise.
68812         * include/sys/resource.h: Likewise.
68813         * include/sys/select.h: Likewise.
68814         * include/sys/socket.h: Likewise.
68815         * include/sys/stat.h: Likewise.
68816         * include/sys/statvfs.h: Likewise.
68817         * include/sys/time.h: Likewise.
68818         * include/sys/times.h: Likewise.
68819         * include/sys/uio.h: Likewise.
68820         * include/sys/utsname.h: Likewise.
68821         * include/sys/wait.h: Likewise.
68822         * include/termios.h: Likewise.
68823         * include/time.h: Likewise.
68824         * include/ulimit.h: Likewise.
68825         * include/unistd.h: Likewise.
68826         * include/utime.h: Likewise.
68827         * include/wchar.h: Likewise.
68828         * include/wctype.h: Likewise.
68829         * include/wordexp.h: Likewise.
68831         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
68833         * time/time.h: TIME_UTC must be a macro.
68834         Make timespec_get available for ISO C11 only as well.
68836 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
68838         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
68839         Reported by Peng Haitao <penght@cn.fujitsu.com>.
68841 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68843         * configure.in: Use -o not -a in test for unsupported multi-arch.
68845 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68847         * manual/texinfo.tex: Update to version 2012-01-19.16.
68849 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68851         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
68853 2012-02-24  Roland McGrath  <roland@hack.frob.com>
68855         [BZ #13738]
68856         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
68857         * manual/fdl-1.3.texi: New file.
68858         * manual/fdl-1.1.texi: File removed.
68860         [BZ #13738]
68861         * manual/libc.texinfo (FDL_VERSION): New @set.
68862         Use it for mention of FDL in cover text.
68863         (Documentation License): Use it in @include file name.
68865 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68866             Roland McGrath  <roland@hack.frob.com>
68868         [BZ #5461]
68869         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
68870         (not LONG_LONG_MAX and LONG_LONG_MIN.
68871         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
68872         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
68873         name.
68874         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
68876 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68878         [BZ #2547]
68879         [BZ #11365]
68880         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
68881         manipulate bits before adding and subtracting TWO23[sx].
68882         * math/libm-test.inc (nearbyint_test): Add more tests.
68884 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68886         [BZ #2548]
68887         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
68888         bits before adding and subtracting TWO23[sx].
68889         * math/libm-test.inc (rint_test): Add more tests.
68890         (rint_test_tonearest): Likewise.
68891         (rint_test_towardzero): Likewise.
68892         (rint_test_downward): Likewise.
68893         (rint_test_upward: Likewise.
68895 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68897         [BZ #10110]
68898         * include/stdc-predef.h: New file.  Extracted from features.h.
68899         * include/features.h: Include stdc-predef.h.
68900         * Makefile (headers): Add stdc-predef.h.
68901         * CONFORMANCE (Compiler limitations): Update.
68903 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68905         * manual/libc.texinfo (VERSION, UPDATED): Revert.
68907 2012-02-21  David S. Miller  <davem@davemloft.net>
68909         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
68910         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
68912 2012-02-20  David S. Miller  <davem@davemloft.net>
68914         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
68915         using a normal save/restore sequence, rather than allocating a
68916         dummy stack frame just to store a frame pointer and restore.
68917         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68919 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68921         * manual/install.texi: Fix stray word in line-wrapped comment.
68923 2012-02-20  David S. Miller  <davem@davemloft.net>
68925         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
68926         both binutils and gcc support GOTDATA.
68928         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
68929         "rd %pc" in the PIC register setup sequences.
68931         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
68932         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
68933         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68934         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
68935         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68936         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
68937         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68938         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68939         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
68940         (SYSCALL_ERROR_HANDLER): Likewise.
68941         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68942         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68943         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
68944         (SYSCALL_ERROR_HANDLER): Likewise.
68946         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
68947         (HAVE_GCC_GOTDATA): New.
68948         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
68949         relocation support in both binutils and gcc.
68950         * sysdeps/sparc/elf/configure: Regenerate.
68952         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
68953         * sysdeps/sparc/sparc32/elf/configure: Delete.
68954         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
68955         * sysdeps/sparc/sparc64/elf/configure: Delete.
68956         * sysdeps/sparc/elf/configure.in: New file.
68957         * sysdeps/sparc/elf/configure: Generate.
68959         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
68960         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
68961         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
68962         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
68963         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
68965 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68967         * manual/install.texi: Do not mention specific glibc version
68968         numbers.
68969         * manual/libc.texinfo (VERSION, UPDATED): Update.
68970         (@copying): Use @copyright{} and range of years.
68972 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68974         [BZ #13695]
68975         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
68976         [crti.S not in sysdirs] (generated): Do not append.
68977         [crti.S not in sysdirs] (omit-deps): Likewise.
68978         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
68979         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
68980         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
68981         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
68982         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
68983         Likewise.
68984         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
68985         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
68986         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
68987         * csu/defs.awk: Remove file.
68988         * sysdeps/generic/initfini.c: Likewise.
68989         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
68990         variable.
68991         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
68992         Likewise.
68994 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68996         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
68997         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
68998         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
68999         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
69000         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69001         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
69002         <bits/epoll.h>.
69003         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
69004         (__EPOLL_PACKED): Define to empty if not defined by
69005         <bits/epoll.h>.
69006         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
69007         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69008         bits/epoll.h.
69010 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69012         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
69013         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
69014         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
69015         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
69016         <bits/timerfd.h>.
69017         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
69018         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69019         bits/timerfd.h.
69021 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69023         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
69024         in C locale.
69025         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69026         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
69027         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
69028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69030 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
69032         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69033         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69035 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
69037         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
69038         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
69039         defined.
69040         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
69041         Likewise.
69042         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
69043         entry for 2.16.
69045 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
69047         * math/w_acos.c: Use non-signaling floating-point comparisons.
69048         * math/w_acosf.c: Likewise.
69049         * math/w_acosh.c: Likewise.
69050         * math/w_acoshf.c: Likewise.
69051         * math/w_acoshl.c: Likewise.
69052         * math/w_acosl.c: Likewise.
69053         * math/w_asin.c: Likewise.
69054         * math/w_asinf.c: Likewise.
69055         * math/w_asinl.c: Likewise.
69056         * math/w_atanh.c: Likewise.
69057         * math/w_atanhf.c: Likewise.
69058         * math/w_atanhl.c: Likewise.
69059         * math/w_exp2.c: Likewise.
69060         * math/w_exp2f.c: Likewise.
69061         * math/w_exp2l.c: Likewise.
69062         * math/w_j0.c: Likewise.
69063         * math/w_j0f.c: Likewise.
69064         * math/w_j0l.c: Likewise.
69065         * math/w_j1.c: Likewise.
69066         * math/w_j1f.c: Likewise.
69067         * math/w_j1l.c: Likewise.
69068         * math/w_jn.c: Likewise.
69069         * math/w_jnf.c: Likewise.
69070         * math/w_log.c: Likewise.
69071         * math/w_log10.c: Likewise.
69072         * math/w_log10f.c: Likewise.
69073         * math/w_log10l.c: Likewise.
69074         * math/w_log2.c: Likewise.
69075         * math/w_log2f.c: Likewise.
69076         * math/w_log2l.c: Likewise.
69077         * math/w_logf.c: Likewise.
69078         * math/w_logl.c: Likewise.
69079         * math/w_sqrt.c: Likewise.
69080         * math/w_sqrtf.c: Likewise.
69081         * math/w_sqrtl.c: Likewise.
69082         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69083         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
69084         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69085         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
69086         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
69088 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69090         [BZ #9739]
69091         * manual/string.texi (strnlen): Use correct parameter name in
69092         equivalent expression.
69094 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69096         [BZ #11174]
69097         * manual/users.texi (seteuid): Consistently use neweuid for
69098         argument name.
69100 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69102         [BZ #13704]
69103         * manual/nss.texi (Services in the NSS configuration): Correct
69104         list of services in example configuration file.
69106 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
69108         [BZ #11322]
69109         * manual/arith.texi: Remove statements about negative zero
69110         behaving identically to zero.
69112 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
69114         [BZ #5993]
69115         * manual/install.texi: Do not document upgrading from libc5.
69117 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
69119         [BZ #4596]
69120         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
69122 2012-02-18  David S. Miller  <davem@davemloft.net>
69124         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
69125         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
69126         %o7 across the call.
69127         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
69128         instead.
69129         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
69130         SETUP_PIC_REG_LEAF.
69131         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69132         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
69133         * sysdeps/sparc/crtn.S: Likewise.
69135 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
69137         * aout/Makefile: Remove.
69139 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
69141         [BZ #13058]
69142         * manual/examples/argp-ex1.c (main): Format definition in GNU
69143         style.
69144         * manual/examples/argp-ex2.c (main): Likewise.
69145         * manual/examples/argp-ex3.c (main): Likewise.
69146         * manual/examples/argp-ex4.c (main): Likewise.
69147         * manual/examples/longopt.c (main): Use new-style prototype
69148         definition.
69149         * manual/examples/strncat.c (main): Specify return type and use
69150         (void) for arguments.
69151         * manual/examples/subopt.c (main): Use char **argv argument.
69153 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69155         [BZ #5077]
69156         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
69157         rounding modes.
69159 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
69161         [BZ #6907]
69162         * manual/string.texi (strchr): Change when strchrnul is
69163         recommended.
69165 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
69167         [BZ #174]
69168         * manual/locale.texi (setlocale): Document LOCPATH.
69170 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69172         [BZ #10210]
69173         * manual/process.texi (execle): Move @dots{} before last argument.
69175 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
69177         [BZ #12047]
69178         * manual/charset.texi (Generic Charset Conversion): Fix typo
69179         (LC_TYPE -> LC_CTYPE).
69181 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
69183         [BZ #5805]
69184         * manual/arith.texi (scalbn): Use @var{} on parameter names.
69185         (scalbnf): Likewise.
69186         (scalbnl): Likewise.
69187         (scalbln): Likewise.
69188         (scalblnf): Likewise.
69189         (scalblnl): Likewise.
69190         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
69191         (vwarnx): Likewise.
69192         (verr): Likewise.
69193         (verrx): Likewise.
69194         * manual/filesys.texi (telldir): Use braces around return type.
69195         * manual/llio.texi (mmap): Add space after comma.
69196         (mmap64): Likewise.
69197         * manual/math.texi (jn): Use @var{} on parameter names.
69198         (jnf): Likewise.
69199         (jnl): Likewise.
69200         (yn): Likewise.
69201         (ynf): Likewise.
69202         (ynl): Likewise.
69203         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
69204         line.
69205         * manual/resource.texi (ulimit): Use @dots{} instead of literal
69206         "...".
69207         (sched_get_priority_min): Remove semicolon on @deftypefun line.
69208         (sched_get_priority_max): Likewise.
69209         * manual/signal.texi (sigvec): Add space after comma.
69210         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
69211         names.
69212         (if_indextoname): Likewise.
69213         (if_freenameindex): Likewise.
69214         (sendto): Use ',' instead of '.' in prototype.
69215         * manual/startup.texi (syscall): Use @dots{} instead of literal
69216         "...".
69217         * manual/stdio.texi (__fpending): Separate initial words of
69218         paragraph from @deftypefun line.
69219         * manual/syslog.texi (syslog): Use @dots{} instead of literal
69220         "...".
69221         (vsyslog): Use @var{} on parameter names.
69222         * manual/terminal.texi (stty): Use @var{} on parameter names.
69223         * manual/users.texi (getutmp): Use @var{} on parameter names.
69224         (getutmpx): Likewise.
69226 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69228         [BZ #6884]
69229         * manual/stdio.texi (fopen): Fix typos in description of
69230         ",ccs=STRING".
69232 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
69234         [BZ #4026]
69235         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
69236         get clock_id definition.
69238 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
69240         [BZ #4822]
69241         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
69242         (madvise): Cast every argument to void on its own.
69244 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69246         [BZ #9902]
69247         * manual/startup.texi (Exit Status): Fix typo.
69249 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69251         [BZ #10140]
69252         * manual/examples/argp-ex1.c: Include <stdlib.h>.
69253         * manual/examples/argp-ex2.c: Likewise.
69254         * manual/examples/argp-ex3.c: Likewise.
69256 2012-02-16  Richard Henderson  <rth@redhat.com>
69258         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
69259         * sysdeps/s390/s390-32/initfini.c: Remove.
69260         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
69261         * sysdeps/s390/s390-64/initfini.c: Remove.
69263 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69265         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
69266         compiler output for sysdeps/generic/initfini.c.
69267         * sysdeps/sh/elf/initfini.c: Remove file.
69269 2012-02-16  David S. Miller  <davem@davemloft.net>
69271         [BZ #11494]
69272         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
69274         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
69275         * sysdeps/sparc/crti.S: New file.
69276         * sysdeps/sparc/crtn.S: New file.
69277         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
69278         * sysdeps/sparc/sparc64/Makefile: Likewise.
69280 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
69282         [BZ #3335]
69283         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
69285 2012-02-15  Roland McGrath  <roland@hack.frob.com>
69287         [BZ #4822]
69288         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
69290         * mach/devstream.c (cookie_io_functions_t): Macro removed.
69291         (write, read, close): Likewise.
69292         Patch by Aurelien Jarno <aurelien@aurel32.net>.
69294 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
69296         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
69297         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
69298         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
69299         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
69300         <bits/signalfd.h>.
69301         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
69302         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69303         bits/signalfd.h.
69305 2012-02-14  Marek Polacek  <polacek@redhat.com>
69307         * sysdeps/x86_64/crti.S: New file.
69308         * sysdeps/x86_64/crtn.S: New file.
69309         * sysdeps/x86_64/elf/initfini.c: Remove file.
69311 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
69313         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
69314         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
69315         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
69316         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
69317         <bits/inotify.h>.
69318         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
69319         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69320         bits/inotify.h.
69322 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
69324         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
69325         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
69326         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
69327         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
69328         <bits/eventfd.h>.
69329         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
69330         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69331         bits/eventfd.h.
69333 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
69335         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
69336         __feraiseexcept instead of feraiseexcept.
69338         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
69339         nanosleep invocations.
69340         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
69341         strings, and add error checking for a nanosleep invocations.
69343 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
69345         Replace FSF snail mail address with URLs, as per GNU coding standards.
69346         Most of the snail mail addresses were wrong anyway, and omitting
69347         them makes the source code easier to maintain.  Almost all of the
69348         changes are to license notices and to locale LC_IDENTIFICATION
69349         addresses, except for this one:
69350         * manual/libc.texinfo: In "Published by", give the FSF's URL,
69351         not its snail mail address.
69353 2012-02-09  Richard Henderson  <rth@twiddle.net>
69355         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
69356         of kernel-features.h.
69358         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
69360 2012-02-08  Marek Polacek  <polacek@redhat.com>
69362         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
69363         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
69364         * sysdeps/gnu/_G_config.h: Likewise.
69365         * sysdeps/generic/_G_config.h: Likewise.
69367 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
69369         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
69370         tests.
69371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69373         * sysdeps/powerpc/powerpc32/crti.S: New file.
69374         * sysdeps/powerpc/powerpc32/crtn.S: New file.
69375         * sysdeps/powerpc/powerpc64/crti.S: New file.
69376         * sysdeps/powerpc/powerpc64/crtn.S: New file.
69378         * Makeconfig (have-initfini): Don't set.
69379         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
69380         * configure.in (nopic_initfini): Don't substitute.
69381         * config.h.in (HAVE_INITFINI): Don't #undef.
69382         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
69383         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
69385 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
69387         Support crti.S and crtn.S provided directly by architectures.
69388         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
69389         [crti.S in sysdirs] (omit-deps): Likewise.
69390         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
69391         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
69392         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
69393         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
69394         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
69395         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
69396         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
69397         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
69398         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
69399         compiler output for sysdeps/generic/initfini.c.
69400         * sysdeps/i386/elf/Makefile: Remove file.
69401         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
69403 2012-02-07  Marek Polacek  <polacek@redhat.com>
69405         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
69406         * sysdeps/gnu/_G_config.h: Likewise.
69407         * sysdeps/mach/hurd/_G_config.h: Likewise.
69409 2012-02-07  Marek Polacek  <polacek@redhat.com>
69411         * math/Makefile (tests): Add tst-CMPLX2.
69412         * math/tst-CMPLX2.c: New file.
69414 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
69416         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69418         * math/libm-test.inc (jn_test): Add missing L suffix.
69420 2012-02-06  Marek Polacek  <polacek@redhat.com>
69422         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
69423         * sysdeps/i386/fpu/e_powf.S: Likewise.
69424         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69425         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69426         * sysdeps/i386/fpu/e_acosh.S: Likewise.
69427         * sysdeps/i386/fpu/e_pow.S: Likewise.
69428         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
69429         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69430         * sysdeps/i386/fpu/s_expm1.S: Likewise.
69431         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
69432         * sysdeps/i386/fpu/e_log2.S: Likewise.
69433         * sysdeps/i386/fpu/e_log2l.S: Likewise.
69434         * sysdeps/i386/fpu/e_scalb.S: Likewise.
69435         * sysdeps/i386/fpu/e_powl.S: Likewise.
69436         * sysdeps/i386/fpu/s_log1p.S: Likewise.
69437         * sysdeps/i386/fpu/e_log10f.S: Likewise.
69438         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
69439         * sysdeps/i386/fpu/e_logl.S: Likewise.
69440         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
69441         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
69442         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
69443         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
69444         * sysdeps/i386/fpu/e_log2f.S: Likewise.
69445         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69446         * sysdeps/i386/fpu/e_log.S: Likewise.
69447         * sysdeps/i386/fpu/s_cexp.S: Likewise.
69448         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69449         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
69450         * sysdeps/i386/fpu/e_logf.S: Likewise.
69451         * sysdeps/i386/fpu/e_log10l.S: Likewise.
69452         * sysdeps/i386/fpu/e_atanh.S: Likewise.
69453         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
69454         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
69455         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69456         * sysdeps/i386/fpu/e_log10.S: Likewise.
69457         * sysdeps/i386/fpu/s_frexp.S: Likewise.
69458         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69459         * sysdeps/i386/fpu/s_asinh.S: Likewise.
69460         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
69461         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69462         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
69463         * sysdeps/i386/asm-syntax.h: Likewise.
69464         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69465         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69466         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
69467         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
69468         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
69469         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
69470         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
69471         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
69472         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
69473         * sysdeps/powerpc/sysdep.h: Likewise.
69474         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
69475         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69477 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
69479         [BZ #411]
69480         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
69482 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
69484         * sysdeps/i386/sysdep.h: Include <features.h>.
69485         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
69486         version.
69488 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
69490         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
69491         Define.
69492         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
69493         LOAD_PIC_REG_STR.
69495 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69497         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
69498         (SETUP_PIC_REG): Use GET_PC_THUNK.
69499         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
69500         macro.
69502 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69504         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
69505         for non-PIC compilation.
69506         (SETUP_PIC_REG): Add .p2align directive.
69507         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
69508         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
69509         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
69510         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
69511         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
69512         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
69513         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
69514         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
69515         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
69516         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
69517         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
69518         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
69519         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
69520         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
69521         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
69522         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
69523         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
69524         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
69525         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
69526         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
69527         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
69528         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
69529         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
69530         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
69531         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
69532         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
69533         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69534         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
69535         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
69536         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
69537         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
69538         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69539         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
69540         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
69541         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
69542         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
69543         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
69544         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
69545         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
69546         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
69547         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
69549 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69551         * math/tst-CMPLX.c: Include <stdio.h>.
69553 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
69555         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
69556         float.
69557         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69558         * sysdeps/sparc/bits/mathdef.h: Likewise.
69560 2012-01-31  Marek Polacek  <polacek@redhat.com>
69562         * libio/libio.h: Don't define _PARAMS.
69563         * locale/programs/config.h: Don't define PARAMS.
69564         * stdlib/strtol_l.c: Likewise.
69565         (__strtol_l): Remove PARAMS from the prototype.
69567 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
69569         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
69570         names.  Just use the correct names.  Remove unnecessary wrapper
69571         functions.
69572         * malloc/arena.c: Likewise.
69573         * malloc/hooks.c: Likewise.
69575         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
69576         ARENA_TEST says not to.  Simplify test for creation of a new arena.
69577         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
69579 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
69581         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
69582         into tail calls.
69583         (update_get_addr): New function.
69584         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
69585         GET_ADDR_MODULE parameter.
69587 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
69589         * crypt/cert.c: Remove __STDC__ conditionals.
69590         * crypt/crypt-entry.c: Likewise.
69591         * crypt/crypt_util.c: Likewise.
69592         * libio/filedoalloc.c: Likewise.
69593         * libio/fileops.c: Likewise.
69594         * libio/genops.c: Likewise.
69595         * libio/iofclose.c: Likewise.
69596         * libio/iofdopen.c: Likewise.
69597         * libio/iofopen.c: Likewise.
69598         * libio/iofopen64.c: Likewise.
69599         * libio/iogetdelim.c: Likewise.
69600         * libio/iopopen.c: Likewise.
69601         * libio/obprintf.c: Likewise.
69602         * libio/oldfileops.c: Likewise.
69603         * libio/oldiofclose.c: Likewise.
69604         * libio/oldiofdopen.c: Likewise.
69605         * libio/oldiofopen.c: Likewise.
69606         * libio/oldiopopen.c: Likewise.
69607         * libio/wfiledoalloc.c: Likewise.
69608         * libio/wgenops.c: Likewise.
69609         * locale/programs/xmalloc.c: Likewise.
69610         * misc/syslog.c: Likewise.
69611         * stdio-common/xbug.c: Likewise.
69612         * string/memchr.c: Likewise.
69613         * string/memcmp.c: Likewise.
69614         * string/memrchr.c: Likewise.
69615         * string/rawmemchr.c: Likewise.
69616         * sysdeps/posix/getcwd.c: Likewise.
69617         * time/strftime_l.c: Likewise.
69619 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
69621         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
69622         * config.make.in (config-cflags-sse2avx): Define.
69623         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
69624         Fix typo.
69626 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
69628         * scripts/config.guess: Update from upstream config git repository.
69629         * scripts/config.sub: Likewise.
69631 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
69633         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
69634         (EM_NUM): Update.
69635         (R_TILEPRO_*, R_TILEGX_*): New macros.
69637         * scripts/firstversions.awk: Fix bug in version range handling.
69639         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
69641         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
69643         * include/sys/epoll.h: New file.
69644         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
69645         libc_hidden_def.
69647 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
69649         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
69650         Avoid unnecessary __WORDSIZE == 64 test.
69651         (fmaxf): Use VEX format if possible.
69652         (fmax): Likewise.
69653         (fminf): Likewise.
69654         (fmin): Likewise.
69656         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
69657         * math/math_private.h: Remove libc_fegetround* and
69658         libc_fesetround*.
69659         * sysdeps/i386/configure.in: Check for -msse2avx.
69660         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
69661         also if SSE2AVX is defined.
69662         Remove libc_fegetround* and libc_fesetround*.
69663         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
69664         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
69665         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
69666         of HAS_YMM_USABLE.
69667         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69668         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69669         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69670         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69671         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69673         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
69675 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69677         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
69678         size is not set.
69679         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
69681 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
69683         [BZ #13618]
69684         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
69685         relocation.
69686         * Makeconfig (libm): Define.
69687         * elf/Makefile: Add rules to build and run tst-relsort1.
69688         * elf/tst-relsort1.c: New file.
69689         * elf/tst-relsort1mod1.c: New file.
69690         * elf/tst-relsort1mod2.c: New file.
69692 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
69694         * math/s_ldexp.c: Remove __STDC__ conditionals.
69695         * math/s_ldexpf.c: Likewise.
69696         * math/s_ldexpl.c: Likewise.
69697         * math/s_nextafter.c: Likewise.
69698         * math/s_nexttowardf.c: Likewise.
69699         * math/s_significand.c: Likewise.
69700         * math/s_significandf.c: Likewise.
69701         * math/s_significandl.c: Likewise.
69702         * math/w_jnl.c: Likewise.
69703         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
69704         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
69705         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
69706         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
69707         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
69708         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
69709         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
69710         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
69711         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
69712         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
69713         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
69714         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69715         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
69716         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
69717         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
69718         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
69719         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
69720         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
69721         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
69722         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69723         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69724         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
69725         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
69726         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
69727         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
69728         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
69729         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
69730         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
69731         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
69732         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
69733         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
69734         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
69735         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
69736         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
69737         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
69738         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
69739         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
69740         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
69741         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
69742         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
69743         * sysdeps/ieee754/k_standard.c: Likewise.
69744         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69745         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
69746         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
69747         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
69748         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
69749         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
69750         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
69751         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
69752         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
69753         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
69754         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
69755         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
69756         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
69757         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
69758         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
69759         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
69760         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
69761         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
69762         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
69763         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
69764         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
69765         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
69766         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
69767         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
69768         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
69769         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
69770         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69771         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69772         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69773         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
69774         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
69775         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
69776         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
69777         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
69778         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
69779         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
69780         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
69781         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
69782         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
69783         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
69784         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
69785         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
69786         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
69787         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
69788         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
69789         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
69790         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
69791         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
69792         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
69793         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
69794         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
69795         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
69796         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
69797         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
69798         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
69799         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
69800         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
69801         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69802         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69803         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69804         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
69805         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
69806         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
69807         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
69808         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
69809         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
69810         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
69811         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
69812         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
69813         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
69814         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
69815         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
69816         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
69817         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
69818         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
69819         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
69820         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
69821         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
69822         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
69823         * sysdeps/ieee754/s_matherr.c: Likewise.
69824         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
69825         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
69826         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
69827         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
69829 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
69831         * crypt/md5.h: Remove __STDC__ conditionals.
69832         * libio/libioP.h: Likewise.
69833         * locale/programs/config.h: Likewise.
69834         * sysdeps/generic/sysdep.h: Likewise.
69835         * sysdeps/i386/asm-syntax.h: Likewise.
69836         * sysdeps/s390/asm-syntax.h: Likewise.
69837         * sysdeps/unix/sysdep.h: Likewise.
69838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
69839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
69841 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
69843         * libio/libio.h: Remove __STDC__ conditionals.
69844         * malloc/obstack.h: Likewise.
69845         * math/complex.h: Likewise.
69846         * math/math.h: Likewise.
69847         * sysdeps/generic/_G_config.h: Likewise.
69848         * sysdeps/gnu/_G_config.h: Likewise.
69849         * sysdeps/mach/hurd/_G_config.h: Likewise.
69850         * sysdeps/powerpc/bits/mathdef.h: Likewise.
69851         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69852         * sysdeps/sparc/bits/mathdef.h: Likewise.
69854 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
69856         [BZ #13583]
69857         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
69858         Clean up HAS_* macros.
69859         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
69860         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
69861         possible.
69862         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
69863         HAS_AVX.
69864         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69865         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69866         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69867         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69868         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69870 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
69872         * elf/tst-unique3.cc (gets): Remove declaration.
69873         * elf/tst-unique3lib.cc (gets): Likewise.
69874         * elf/tst-unique3lib2.cc (gets): Likewise.
69875         * elf/tst-unique4.cc (gets): Likewise.
69877 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
69879         * include/stdio.h: Add C++ protection.  Add gets declarations and
69880         definitions.
69881         * debug/tst-chk1.c: Don't declare gets here.
69882         * stdio-common/tst-gets.c: Likewise.
69884 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
69886         * posix/glob: Remove directory.
69888 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
69890         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
69892 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
69894         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
69895         of the non-standard EPFNOSUPPORT.
69897 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69899         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
69900         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
69901         ANYWHERE set to 1 only on KERN_NO_SPACE error.
69903 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
69905         * wcsmbs/uchar.h: Test __STDC_VERSION__.
69907 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
69909         * nscd/aicache.c (addhstaiX): Do not cache negative results of
69910         transient errors.
69911         * nscd/grpcache.c (cache_addgr): Likewise.
69912         * nscd/hstcache.c (cache_addhst): Likewise.
69913         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69914         * nscd/pwdcache.c (cache_addpw): Likewise.
69915         * nscd/servicescache.c (cache_addserv): Likewise.
69917 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
69919         * malloc/malloc.c: Various cleanups.
69920         * malloc/hooks.c: Likewise.
69922         * stdlib/Makefile (tests): Add bug-fmtmsg1.
69923         * stdlib/bug-fmtmsg1.c: New file.
69925         * stdlib/fmtmsg.c (init): Add missing unlock.
69926         Patch by Peng Haitao <penght@cn.fujitsu.com>.
69928 2012-01-12  Marek Polacek  <polacek@redhat.com>
69930         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
69931         and _GNU_SOURCE.
69933 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
69935         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
69936         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
69937         macro to ensure uniqueness of label name.
69938         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
69939         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
69941 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
69943         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
69945         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
69946         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
69947         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
69948         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
69950 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
69952         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
69954         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
69955         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
69956         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
69958         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
69960         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
69961         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
69962         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
69963         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
69965         * math/bits/math-finite.h: Add ldexp support.
69967 2012-01-10  Marek Polacek  <polacek@redhat.com>
69969         * locale/programs/localedef.h (show_archive_content): Add noreturn
69970         attribute.
69972 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
69974         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
69976 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69978         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
69980         * io/Makefile (headers): Add bits/poll2.h.
69982 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
69984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
69985         typo #include statement.
69987 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69989         * include/sys/cdefs.h: Define __attribute_alloc_size.
69990         * catgets/gencat.c: Add alloc_size attribute and apply consistently
69991         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
69992         * elf/pldd.c: Likewise.
69993         * iconv/iconv_charmap.c: Likewise.
69994         * iconv/iconvconfig.c: Likewise.
69995         * iconv/strtab.c: Likewise.
69996         * locale/programs/locale.c: Likewise.
69997         * locale/programs/localedef.h: Likewise.
69998         * locale/programs/simple-hash.c: Likewise.
69999         * nscd/nscd.h: Likewise.
70000         * nss/makedb.c: Likewise.
70001         * sysdeps/generic/ldconfig.h: Likewise.
70002         * locale/programs/localedef.c: Remove xmalloc prototype.
70003         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
70005 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
70007         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
70008         appropriate.
70010 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70012         * math/Makefile (tests): Add tst-CMPLX.
70013         * math/tst-CMPLX.c: New file.
70015         * math/complex.h (CMPLXL): Fix typo.
70017         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
70018         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
70019         GLIBC_2.16.
70020         * debug/tst-chk1.c: Add poll and ppoll tests.
70021         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
70022         * include/sys/poll.h: Add hidden proto for ppoll.
70023         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
70024         * sysdeps/mach/hurd/ppoll.c: Likewise.
70025         * io/ppoll.c: Likewise.
70026         * debug/poll_chk.c: New file.
70027         * debug/ppoll_chk.c: New file.
70028         * include/bits/poll2.h: New file.
70029         * io/bits/poll2.h: New file.
70031         [BZ #1350]
70032         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
70034         * configure.in: static is always set to yes.  Remove.
70035         * config.make.in: Don't set build-static.
70036         * Makeconfig: Remove use of build-static.
70037         * dlfcn/Makefile: Likewise.
70038         * elf/Makefile: Likewise.
70039         * math/Makefile: Likewise.
70040         * misc/Makefile: Likewise.
70041         * nptl/Makefile: Likewise.
70042         * sysdeps/mach/hurd/Makefile: Likewise.
70044         * configure.in: PWD_P is not used anymore.
70045         * config.make.in: Remove PWD_P entry.
70047         * configure.in: Remove last remnants of RANLIB.
70048         No need to check for signed size_t anymore.
70049         Don't set libc_commonpagesize and libc_relro_required here for Alpha
70050         and IA-64.
70051         Remove __builtin_expect test because we require at least gcc 3.4.
70052         * aclocal.m4: Likewise.
70054         * wcsmbs/mbrtoc16.c: Implement using towc function.
70055         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
70056         * wcsmbs/wcsmbsload.c: Likewise.
70057         * iconv/gconv_simple.c: Likewise.
70058         * iconv/gconv_int.h: Likewise.
70059         * iconv/gconv_builtin.h: Likewise.
70060         * iconv/iconv_prog.c: Remove CHAR16 handling.
70062         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
70064         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
70066         * configure.in: Remove --with-elf and --enable-bounded options.
70067         Dont set base_machine for ia64.  More non-ELF conditions removed.
70068         Remove testing and setting of leading underscore information.
70069         * config.make.in (build-bounded): Set to no.
70070         * config.h.in: Remove NO_UNDERSCORES entry.
70071         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
70072         them.
70073         * csu/start.c: Remove !NO_UNDERSCORE code.
70074         * locale/localeinfo.h: Likewise.
70075         * sysdeps/generic/machine-gmon.h: Likewise.
70076         * sysdeps/generic/sysdep.h: Likewise.
70077         * sysdeps/i386/sysdep.h: Likewise.
70078         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70079         * sysdeps/mach/sysdep.h: Likewise.
70080         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70081         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70082         * sysdeps/sh/sysdep.h: Likewise.
70083         * sysdeps/sparc/sparc32/alloca.S: Likewise.
70084         * sysdeps/unix/i386/sysdep.S: Likewise.
70085         * sysdeps/unix/sparc/start.c: Likewise.
70086         * sysdeps/unix/sparc/sysdep.S: Likewise.
70087         * sysdeps/unix/sparc/sysdep.h: Likewise.
70088         * sysdeps/unix/start.c: Likewise.
70089         * sysdeps/unix/x86_64/sysdep.S: Likewise.
70090         * sysdeps/x86_64/sysdep.h: Likewise.
70092 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
70094         [BZ #13553]
70095         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
70096         for non-gcc.
70097         * argp/argp-fmtstream.h: Use const instead __const.
70098         * argp/argp.h: Likewise.
70099         * assert/assert.h: Likewise.
70100         * bits/fenv.h: Likewise.
70101         * bits/sched.h: Likewise.
70102         * bits/sigset.h: Likewise.
70103         * bits/sigthread.h: Likewise.
70104         * catgets/nl_types.h: Likewise.
70105         * conform/data/pthread.h-data: Likewise.
70106         * crypt/crypt-private.h: Likewise.
70107         * crypt/crypt.h: Likewise.
70108         * crypt/crypt_util.c: Likewise.
70109         * ctype/ctype.h: Likewise.
70110         * debug/execinfo.h: Likewise.
70111         * debug/mbsnrtowcs_chk.c: Likewise.
70112         * debug/mbsrtowcs_chk.c: Likewise.
70113         * debug/wcsnrtombs_chk.c: Likewise.
70114         * debug/wcsrtombs_chk.c: Likewise.
70115         * debug/wcstombs_chk.c: Likewise.
70116         * dirent/dirent.h: Likewise.
70117         * dlfcn/dlfcn.h: Likewise.
70118         * elf/neededtest4.c: Likewise.
70119         * grp/grp.h: Likewise.
70120         * gshadow/gshadow.h: Likewise.
70121         * iconv/gconv.h: Likewise.
70122         * iconv/gconv_int.h: Likewise.
70123         * iconv/gconv_simple.c: Likewise.
70124         * iconv/iconv.h: Likewise.
70125         * iconv/loop.c: Likewise.
70126         * iconv/skeleton.c: Likewise.
70127         * include/aio.h: Likewise.
70128         * include/aliases.h: Likewise.
70129         * include/argz.h: Likewise.
70130         * include/arpa/inet.h: Likewise.
70131         * include/assert.h: Likewise.
70132         * include/dirent.h: Likewise.
70133         * include/dlfcn.h: Likewise.
70134         * include/execinfo.h: Likewise.
70135         * include/fcntl.h: Likewise.
70136         * include/fenv.h: Likewise.
70137         * include/glob.h: Likewise.
70138         * include/grp.h: Likewise.
70139         * include/libintl.h: Likewise.
70140         * include/mntent.h: Likewise.
70141         * include/netdb.h: Likewise.
70142         * include/pwd.h: Likewise.
70143         * include/rpc/netdb.h: Likewise.
70144         * include/sched.h: Likewise.
70145         * include/search.h: Likewise.
70146         * include/shadow.h: Likewise.
70147         * include/signal.h: Likewise.
70148         * include/stdio.h: Likewise.
70149         * include/stdlib.h: Likewise.
70150         * include/string.h: Likewise.
70151         * include/sys/socket.h: Likewise.
70152         * include/sys/stat.h: Likewise.
70153         * include/sys/statfs.h: Likewise.
70154         * include/sys/statvfs.h: Likewise.
70155         * include/sys/syslog.h: Likewise.
70156         * include/sys/time.h: Likewise.
70157         * include/sys/uio.h: Likewise.
70158         * include/time.h: Likewise.
70159         * include/unistd.h: Likewise.
70160         * include/utmp.h: Likewise.
70161         * include/wchar.h: Likewise.
70162         * include/wctype.h: Likewise.
70163         * inet/aliases.h: Likewise.
70164         * inet/arpa/inet.h: Likewise.
70165         * inet/netinet/ether.h: Likewise.
70166         * inet/netinet/in.h: Likewise.
70167         * intl/libintl.h: Likewise.
70168         * io/bits/fcntl2.h: Likewise.
70169         * io/fcntl.h: Likewise.
70170         * io/ftw.h: Likewise.
70171         * io/sys/poll.h: Likewise.
70172         * io/sys/stat.h: Likewise.
70173         * io/sys/statfs.h: Likewise.
70174         * io/sys/statvfs.h: Likewise.
70175         * io/utime.h: Likewise.
70176         * libio/bits/stdio.h: Likewise.
70177         * libio/bits/stdio2.h: Likewise.
70178         * libio/libio.h: Likewise.
70179         * libio/libioP.h: Likewise.
70180         * libio/stdio.h: Likewise.
70181         * locale/lc-ctype.c: Likewise.
70182         * locale/locale.h: Likewise.
70183         * login/utmp.h: Likewise.
70184         * malloc/arena.c: Likewise.
70185         * malloc/malloc.c: Likewise.
70186         * malloc/malloc.h: Likewise.
70187         * malloc/mcheck.c: Likewise.
70188         * malloc/mtrace.c: Likewise.
70189         * math/bits/mathcalls.h: Likewise.
70190         * math/fenv.h: Likewise.
70191         * math/math_private.h: Likewise.
70192         * misc/bits/error.h: Likewise.
70193         * misc/bits/syslog.h: Likewise.
70194         * misc/err.h: Likewise.
70195         * misc/error.h: Likewise.
70196         * misc/fstab.h: Likewise.
70197         * misc/mntent.h: Likewise.
70198         * misc/regexp.h: Likewise.
70199         * misc/search.h: Likewise.
70200         * misc/sgtty.h: Likewise.
70201         * misc/sys/mman.h: Likewise.
70202         * misc/sys/syslog.h: Likewise.
70203         * misc/sys/uio.h: Likewise.
70204         * misc/sys/xattr.h: Likewise.
70205         * misc/ttyent.h: Likewise.
70206         * nis/rpcsvc/ypclnt.h: Likewise.
70207         * nss/nss.h: Likewise.
70208         * posix/bits/unistd.h: Likewise.
70209         * posix/fnmatch.h: Likewise.
70210         * posix/glob.h: Likewise.
70211         * posix/sched.h: Likewise.
70212         * posix/spawn.h: Likewise.
70213         * posix/sys/wait.h: Likewise.
70214         * posix/unistd.h: Likewise.
70215         * posix/wordexp.h: Likewise.
70216         * pwd/pwd.h: Likewise.
70217         * resolv/netdb.h: Likewise.
70218         * resource/sys/resource.h: Likewise.
70219         * rt/aio.h: Likewise.
70220         * rt/bits/mqueue2.h: Likewise.
70221         * rt/mqueue.h: Likewise.
70222         * shadow/shadow.h: Likewise.
70223         * signal/signal.h: Likewise.
70224         * socket/send.c: Likewise.
70225         * socket/sendto.c: Likewise.
70226         * socket/sys/socket.h: Likewise.
70227         * stdio-common/printf.h: Likewise.
70228         * stdlib/bits/stdlib.h: Likewise.
70229         * stdlib/fmtmsg.h: Likewise.
70230         * stdlib/monetary.h: Likewise.
70231         * stdlib/stdlib.h: Likewise.
70232         * stdlib/ucontext.h: Likewise.
70233         * streams/stropts.h: Likewise.
70234         * string/argz.h: Likewise.
70235         * string/bits/string2.h: Likewise.
70236         * string/string.h: Likewise.
70237         * string/strings.h: Likewise.
70238         * sunrpc/rpc/auth.h: Likewise.
70239         * sunrpc/rpc/auth_des.h: Likewise.
70240         * sunrpc/rpc/clnt.h: Likewise.
70241         * sunrpc/rpc/netdb.h: Likewise.
70242         * sunrpc/rpc/pmap_clnt.h: Likewise.
70243         * sunrpc/rpc/xdr.h: Likewise.
70244         * sysdeps/generic/inttypes.h: Likewise.
70245         * sysdeps/generic/net/if.h: Likewise.
70246         * sysdeps/generic/sys/swap.h: Likewise.
70247         * sysdeps/gnu/net/if.h: Likewise.
70248         * sysdeps/gnu/utmpx.h: Likewise.
70249         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
70250         * sysdeps/i386/i486/bits/string.h: Likewise.
70251         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
70252         * sysdeps/s390/bits/string.h: Likewise.
70253         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
70254         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
70255         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
70256         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
70257         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
70258         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
70259         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
70260         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
70261         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
70262         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
70263         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
70264         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
70265         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
70266         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
70267         * sysdeps/unix/sysv/linux/readv.c: Likewise.
70268         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
70269         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
70270         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70271         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
70272         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
70273         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70274         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
70275         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
70276         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
70277         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
70278         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
70279         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
70280         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70281         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
70282         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
70283         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
70284         * sysvipc/sys/ipc.h: Likewise.
70285         * sysvipc/sys/msg.h: Likewise.
70286         * sysvipc/sys/sem.h: Likewise.
70287         * sysvipc/sys/shm.h: Likewise.
70288         * termios/termios.h: Likewise.
70289         * time/sys/time.h: Likewise.
70290         * time/time.h: Likewise.
70291         * wcsmbs/bits/wchar2.h: Likewise.
70292         * wcsmbs/uchar.h: Likewise.
70293         * wcsmbs/wchar.h: Likewise.
70294         * wctype/wctype.h: Likewise.
70296         [BZ #13551]
70297         * Makeconfig: Remove all but ELF support including AIX support.
70298         * Makerules: Likewise.
70299         * config.h.in: Likewise.
70300         * config.make.in: Likewise.
70301         * configure: Likewise.
70302         * configure.in: Likewise.
70303         * csu/Makefile: Likewise.
70304         * csu/version.c: Likewise.
70305         * debug/Makefile: Likewise.
70306         * dlfcn/Makefile: Likewise.
70307         * elf/Makefile: Likewise.
70308         * extra-lib.mk: Likewise.
70309         * iconv/Makefile: Likewise.
70310         * include/libc-symbols.h: Likewise.
70311         * include/shlib-compat.h: Likewise.
70312         * resolv/Makefile: Likewise.
70313         * resolv/res_libc.c: Likewise.
70314         * rt/Makefile: Likewise.
70315         * sysdeps/i386/asm-syntax.h: Likewise.
70316         * sysdeps/i386/sysdep.h: Likewise.
70317         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70318         * sysdeps/mach/sysdep.h: Likewise.
70319         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
70320         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
70321         * sysdeps/s390/asm-syntax.h: Likewise.
70322         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70323         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70324         * sysdeps/sh/sysdep.h: Likewise.
70325         * sysdeps/unix/sparc/sysdep.h: Likewise.
70326         * sysdeps/wordsize-32/divdi3.c: Likewise.
70327         * sysdeps/x86_64/sysdep.h: Likewise.
70329         * argp/Versions: Remove _argp_unlock_xxx.
70331         [BZ #13559]
70332         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
70333         * abilist/libBrokenLocale.abilist: Likewise.
70334         * abilist/libanl.abilist: Likewise.
70335         * abilist/libc.abilist: Likewise.
70336         * abilist/libcrypt.abilist: Likewise.
70337         * abilist/libdl.abilist: Likewise.
70338         * abilist/libm.abilist: Likewise.
70339         * abilist/libnsl.abilist: Likewise.
70340         * abilist/libpthread.abilist: Likewise.
70341         * abilist/libresolv.abilist: Likewise.
70342         * abilist/librt.abilist: Likewise.
70343         * abilist/libthread_db.abilist: Likewise.
70344         * abilist/libutil.abilist: Likewise.
70345         * abilist/libnss_db.abilist: New file.
70347         * scripts/abilist.awk: Add support for indirect functions.
70349         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
70351         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
70353         * shlib-versions: Remove entries for ports architectures.
70355         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
70356         files in ports.
70357         * elf/stackguard-macros.h: Remove support for IA-64.
70358         * elf/tst-auditmod1.c: Likewise.
70359         * sysdeps/generic/ldsodefs.h: Likewise.
70361         * sysdeps/unix/sysv/linux/configure.in: Ports should define
70362         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
70363         configure files.
70365         [BZ #13552]
70366         * configure.in: Remove --enable-omitfp support.
70367         * FAQ.in: Adjust.
70368         * config.make.in: Likewise.
70369         * Makeconfig: Likewise.
70370         * manual/install.texi: Likewise.
70372         In case anyone cares, the IA-64 architecture could move to ports.
70373         * sysdeps/ia64/*: Removed.
70374         * sysdeps/unix/sysv/linux/ia64/*: Removed.
70375         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
70377         [BZ #13555]
70378         * configure.in: Remove entries for unsupported architectures.
70380         [BZ #13533]
70381         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
70382         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
70383         routines.
70384         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
70385         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
70386         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
70387         fall back to using wcrtomb.
70388         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
70389         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
70390         renaming.
70391         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
70392         * wcsmbs/tst-c16c32-1.c: New file.
70394         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
70395         local variable.
70397         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
70399         * elf/tst-unique3.cc: Add explicit declaration of gets.
70400         * elf/tst-unique3lib.cc: Likewise.
70401         * elf/tst-unique3lib2.cc: Likewise.
70402         * elf/tst-unique4.cc: Likewise.
70404         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
70406 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
70408         [BZ #13566]
70409         * assert/assert.h (static_assert): Don't define for C++.
70410         * libio/stdio.h (gets): Do declare for C++ <= C++11.
70411         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
70413 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
70415         * iconv/loop.c (single loop): Fix assertion in storing of
70416         remaining bytes.
70418         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
70420 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
70422         * posix/getconf.c: Update copyright year.
70423         * nss/getent.c: Likewise.
70424         * nss/makedb.c: Likewise.
70425         * iconv/iconvconfig.c: Likewise.
70426         * iconv/iconv_prog.c: Likewise.
70427         * elf/ldconfig.c: Likewise.
70428         * elf/pldd.c: Likewise.
70429         * elf/sotruss.ksh: Likewise.
70430         * catgets/gencat.c: Likewise.
70431         * csu/version.c: Likewise.
70432         * elf/ldd.bash.in: Likewise.
70433         * elf/sprof.c (print_version): Likewise.
70434         * locale/programs/locale.c: Likewise.
70435         * locale/programs/localedef.c: Likewise.
70436         * login/programs/pt_chown.c: Likewise.
70437         * nscd/nscd.c (print_version): Likewise.
70438         * debug/xtrace.sh: Likewise.
70439         * malloc/memusage.sh: Likewise.
70440         * malloc/mtrace.pl: Likewise.
70441         * debug/catchsegv.sh: Likewise.
70443 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
70445         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
70446         pure attribute.
70448 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
70450         [BZ #13533]
70451         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
70452         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
70453         transformations.
70454         * iconv/gconv_int.h: Likewise.
70455         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
70456         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
70457         from libc for GLIBC_2.16.
70458         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
70459         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
70460         * wcsmbs/uchar.h: Really define mbstate_t.
70461         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
70462         * wcsmbs/c16rtomb.c: New file.
70463         * wcsmbs/mbrtoc16.c: New file.
70464         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
70465         for C/POSIX locale.
70466         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
70467         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
70469         * wcsmbs/wchar.h: Add missing __restrict.
70471 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
70473         [BZ #13532]
70474         * time/Makefile (routines): Add timespec_get.
70475         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
70476         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
70477         timespec for ISO C11.
70478         * time/timespec_get.c: New file.
70479         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
70480         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
70482         [BZ #13531]
70483         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
70484         * stdlib/stdlib.h: Declare aligned_alloc.
70485         * Versions.def: Add GLIBC_2.16 for libc.
70486         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
70488         [BZ 13527]
70489         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
70490         ISO C11.
70492         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
70493         code.
70495         [BZ #13528]
70496         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
70498         [BZ #13529]
70499         * assert/assert.h (static_assert): Define.
70501         * version.h: Update for 2.16 development version.
70503         [BZ #13526]
70504         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
70505         _ISOC11_SOURCE.
70507         * version.h (RELEASE): Bump for 2.15 release.
70508         * include/features.h (__GLIBC_MINOR__): Bump to 15.
70510         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
70511         Patch by Marek Polacek <mpolacek@redhat.com>.
70513         * bits/byteswap.h: Protect long long constants with __extension__.
70514         * sysdeps/i386/bits/byteswap.h: Likewise.
70515         * sysdeps/ia64/bits/byteswap.h: Likewise.
70516         * sysdeps/s390/bits/byteswap.h: Likewise.
70517         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70519 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70521         [BZ #13540]
70522         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
70523         destination buffer.
70524         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
70526 2011-12-23  Marek Polacek  <polacek@redhat.com>
70528         * elf/dl-addr.c (determine_info): Add inline keyword.
70529         * elf/tst-auditmod4b.c (check_avx): Likewise.
70530         * elf/tst-auditmod6b.c (check_avx): Likewise.
70531         * elf/tst-auditmod6c.c (check_avx): Likewise.
70532         * elf/tst-auditmod7b.c (check_avx): Likewise.
70534 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
70536         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
70537         !__SSE_MATH__.
70539 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70541         [BZ #13540]
70542         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
70543         processing for last bytes.
70545 2011-08-06  Bruno Haible  <bruno@clisp.org>
70547         [BZ #13061]
70548         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
70549         U+0385, not to U+1FEE.
70551         [BZ #13062]
70552         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
70553         entry for U+00A5 U+0301.
70555 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
70557         [BZ #13166]
70558         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
70559         buffer for the output is too small.
70561         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
70562         optimization.
70564         [BZ #13185]
70565         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
70566         SSE flags if possible.
70568 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70570         [BZ #13540]
70571         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
70572         processing for last bytes.
70574 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
70576         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
70577         (syscall-list-default-options, syscall-list-default-condition)
70578         (syscall-list-includes): Define.
70579         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
70580         list of ABIs and options and #if conditions for each ABI.  Do not
70581         handle common syscalls between ABIs specially.
70582         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
70583         Remove.
70584         (syscall-list-variants, syscall-list-32bit-options)
70585         (syscall-list-32bit-condition, syscall-list-64bit-options)
70586         (syscall-list-64bit-condition): Define.
70587         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
70588         (syscall-list-variants, syscall-list-32bit-options)
70589         (syscall-list-32bit-condition, syscall-list-64bit-options)
70590         (syscall-list-64bit-condition): Define.
70591         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
70592         Remove.
70593         (syscall-list-variants, syscall-list-32bit-options)
70594         (syscall-list-32bit-condition, syscall-list-64bit-options)
70595         (syscall-list-64bit-condition): Define.
70596         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
70597         Remove.
70598         (syscall-list-variants, syscall-list-32bit-options)
70599         (syscall-list-32bit-condition, syscall-list-64bit-options)
70600         (syscall-list-64bit-condition): Define.
70602 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
70604         * locale/iso-639.def: Add brx entry.
70606         [BZ #13328]
70607         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
70608         Proposed by Mariusz_Cukr <marcukr@op.pl>.
70610         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
70611         __feraiseexcept_renamed.
70613 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
70615         [BZ #13538]
70616         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
70617         EPOLLET with unsigned values.
70618         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70619         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70621         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
70622         to large cancellation.
70623         * math/s_cacoshf.c: Likewise.
70624         * math/s_cacoshl.c: Likewise.
70626 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
70628         [BZ #13305]
70629         [BZ #12786]
70630         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
70631         * math/s_cacoshf.c: Likewise.
70632         * math/s_cacoshl.c: Likewise.
70634 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
70636         [BZ #13439]
70637         * iconv/gconv.h: Define __GCONV_SWAP.
70638         * iconvdata/unicode.c: The swap bit must be stored in __flags.
70639         * iconvdata/utf-16.c: Likewise.
70640         * iconvdata/utf-32.c: Likewise.
70642 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
70644         [BZ #13524]
70645         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
70646         numerator after shifting it by one limb.
70648 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
70650         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
70651         under [__USE_EXTERN_INLINES].
70653 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
70655         [BZ #13446]
70656         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
70658 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70660         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
70661         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
70662         optimized code.
70663         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
70664         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
70665         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
70666         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
70667         for strncasecmp/strncasecmp_l compilation.
70668         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
70669         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
70671 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
70673         [BZ #13484]
70674         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
70675         of __asm__.
70677 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
70679         [BZ #13506]
70680         * time/tzfile.c (__tzfile_read): Check values from file header.
70682 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
70684         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
70685         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
70686         * powerpc/powerpc32/dl-start.S: Likewise.
70687         * powerpc/powerpc32/elf/start.S: Likewise.
70688         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
70689         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
70690         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
70691         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
70692         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
70693         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
70694         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
70695         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
70696         * powerpc/powerpc32/fpu/s_round.S: Likewise.
70697         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
70698         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
70699         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
70700         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
70701         * powerpc/powerpc32/memset.S: Likewise.
70702         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
70703         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
70704         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
70705         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
70706         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
70707         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
70708         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
70709         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
70710         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
70711         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
70712         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
70713         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70714         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70716 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70718         * math/libm-test.inc: Added more nearbyint tests.
70719         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
70720         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
70721         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
70722         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
70724 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
70726         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
70727         FD_CLOEXEC.
70729 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70731         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
70732         Add wcscpy-ssse3 wcscpy-c.
70733         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
70734         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
70735         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
70736         * sysdeps/x86_64/wcschr.S: New file.
70737         * sysdeps/x86_64/wcsrchr.S: New file.
70738         * string/test-strcmp.c: Remove checking of wcscmp function for
70739         wrong alignments.
70740         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
70741         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
70742         wcsrchr-sse2 wcsrchr-c.
70743         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
70744         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
70745         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
70746         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
70747         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
70748         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
70749         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
70750         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
70751         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
70752         * wcsmbc/wcschr.c (WCSCHR): New macro.
70754 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70756         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
70757         * wcsmbs/test-wcsrchr.c: New file.
70758         * string/test-strrchr.c: Add wcsrchr support.
70759         (WIDE): New macro.
70760         * wcsmbs/test-wcscpy.c: New file.
70761         * string/test-strcpy.c: Add wcscpy support.
70762         (WIDE): New macro.
70764 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
70766         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
70767         the inner loop.
70769 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
70771         [BZ #13472]
70772         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
70774 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
70776         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
70777         Minor optimizations.
70779         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
70780         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
70781         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
70783 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
70785         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
70786         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
70787         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
70788         for gcc to avoid warnings.
70789         * inet/Makefile (tests): Add tst-checks.
70790         * inet/tst-checks.c: New file.
70792         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
70793         warning.
70795         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
70796         __wmemcmp_sse2.
70798         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
70799         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
70801         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
70803 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
70805         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
70806         problem.
70808         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
70810 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
70812         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
70813         conditional on GCC version.
70814         (__arch_compare_and_exchange_val_8_acq)
70815         (__arch_compare_and_exchange_val_16_acq)
70816         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
70817         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
70818         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
70820 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
70822         * sysdeps/sh/backtrace.c: New file.
70824 2011-12-02  Andreas Schwab  <schwab@redhat.com>
70826         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
70827         parenthesis.
70829 2011-12-01  Andreas Schwab  <schwab@redhat.com>
70831         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
70832         falling back to utime.
70834 2011-11-30  Andreas Schwab  <schwab@redhat.com>
70836         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
70837         expectations for float.
70839 2011-11-29  Andreas Schwab  <schwab@redhat.com>
70841         * locale/weight.h (findidx): Add parameter len.
70842         * locale/weightwc.h (findidx): Likewise.
70843         * posix/fnmatch_loop.c (FCT): Adjust caller.
70844         * posix/regcomp.c (build_equiv_class): Likewise.
70845         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
70846         * posix/regexec.c (check_node_accept_bytes): Likewise.
70847         * string/strcoll_l.c (STRCOLL): Likewise.
70848         * string/strxfrm_l.c (STRXFRM): Likewise.
70850 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
70852         * Makefile.in: Remove CVSOPT handling.
70853         * configure.in: Remove use of AC_REVISION.
70854         * iconvdata/Makefile (distribute): No need to filter out CVS.
70855         * scripts/list-sources.sh: Remove CVS, subversion and monotone
70856         handling.
70858 2011-11-16  Andreas Schwab  <schwab@redhat.com>
70860         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
70861         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
70862         [USE_AS_STRNCASECMP_L]: Likewise.
70863         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
70864         NO_TLS_DIRECT_SEG_REFS.
70865         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
70866         Fix argument offsets for non-PIC.
70867         [USE_AS_STRNCASECMP_L]: Likewise.
70868         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
70869         NO_TLS_DIRECT_SEG_REFS.
70871 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
70873         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
70874         O_CLOEXEC.
70875         * locale/loadlocale.c (_nl_load_locale): Likewise.
70877 2011-11-15  Andreas Schwab  <schwab@redhat.com>
70879         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
70880         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
70881         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
70882         (SYSCALL_GETTIME): Set errno on error.
70884         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
70885         count references to noai6ai_cached.
70887 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
70889         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
70891         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
70892         FD_CLOEXEC for /proc/self/maps.
70894         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
70895         FD_CLOEXEC for /proc/meminfo.
70897         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
70898         gai.conf.
70900         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
70901         FD_CLOEXEC for given file.
70903         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
70905         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
70906         FD_CLOEXEC for /etc/hosts.
70907         (_gethtent): Likewise.
70909         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
70911         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
70912         cancellation and set FD_CLOEXEC for /etc/netgroup.
70914         * nss/nss_files/files-key.c (search): Don't allow cancellation when
70915         reading /etc/publickey.
70917         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
70918         allow cancellation when reading /etc/group.
70920         * nss/nss_files/files-alias.c (internal_setent): Don't allow
70921         cancellation.
70922         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
70924         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
70925         when using data file.
70927         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
70929         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
70930         (write_nis_obj): Use "c" and "e" in fopen.
70932         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
70934         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
70936         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
70938         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
70940         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
70941         locale.alias.
70943         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
70945         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
70947         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
70949         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
70950         file parsing and set FD_CLOEXEC.
70952 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
70954         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
70956 2011-11-14  Andreas Schwab  <schwab@redhat.com>
70958         * malloc/arena.c (arena_get2): Don't call reused_arena when
70959         _int_new_arena failed.
70961 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
70963         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
70964         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
70965         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
70966         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70967         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70968         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
70969         to compile strcasecmp and strncasecmp.
70970         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
70971         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
70973         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
70975 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
70977         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
70978         locale-defines.sym to gen-as-const-headers.
70979         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
70980         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
70981         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
70982         to compile strcasecmp and strncasecmp.
70983         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
70984         strcasecmp_l and strncasecmp_l.
70985         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
70986         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
70987         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
70988         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
70989         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
70990         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
70991         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
70992         * sysdeps/i386/i686/multiarch/strncase.S: New file.
70993         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
70994         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
70995         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
70997 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
70999         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
71000         result of SYSDEP_GETTIME_CPU to retval.
71001         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
71002         parameter list to macro.  Remove trailing semicolon.  Adjust users.
71004         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
71005         variable.
71007         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
71008         mantissa words.
71009         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
71011         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
71012         from unused variable.
71014         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
71015         DWARF definitions.
71016         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
71017         for assembling.
71019         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
71020         over namespaces.
71022         * sunrpc/rpc_prot.c (rejected): Fix case value.
71024         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
71025         unsigned long long int to avoid warnings in shift.
71027         * posix/regex_internal.c (re_string_reconstruct): Actually use result
71028         of use of trans.
71029         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
71030         variable tmp.
71032         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
71033         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
71034         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
71036         * nis/nis_table.c (nis_list): Use variable of correct type for
71037         result of __follow_path call.
71039 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71041         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
71042         of math functions ceil, trunc, floor, round, and sqrt, when
71043         avaliable on the platform.
71044         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
71045         name clash.
71046         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71047         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71048         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71050 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
71052         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
71053         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71055 2011-11-11  Roland McGrath  <roland@hack.frob.com>
71057         * include/unistd.h: Fix __readlink return type.
71058         Reported by Chris Metcalf <cmetcalf@tilera.com>.
71060 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
71062         * stdlib/ucontext.h: Undo last change for makecontext.
71064 2011-11-11  Andreas Schwab  <schwab@redhat.com>
71066         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
71068         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
71069         * setjmp/setjmp.h: Mark functions as non-leaf.
71070         * setjmp/bits/setjmp2.h: Likewise.
71071         * stdlib/ucontext.h: Likewise.
71073 2011-11-10  Andreas Schwab  <schwab@redhat.com>
71075         * malloc/arena.c (_int_new_arena): Don't increment narenas.
71076         (reused_arena): Don't check arena limit.
71077         (arena_get2): Atomically check arena limit.
71079 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
71081         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
71082         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
71084         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
71085         instructions.
71087 2011-11-07  Andreas Schwab  <schwab@redhat.com>
71089         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
71090         handler when locking.
71092         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71093         Fix size of allocated buffer.
71095 2011-11-04  Andreas Schwab  <schwab@redhat.com>
71097         [BZ #10103]
71098         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
71099         declarations for long double functions.
71100         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
71102         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
71104 2011-11-03  Andreas Schwab  <schwab@redhat.com>
71106         * nscd/nscd.c (main): Don't start AVC thread until credentials are
71107         installed.
71109         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
71110         is disabled.
71112 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71114         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
71116 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71118         * include/alloca.h (stackinfo_alloca_round): Define.
71119         (extend_alloca): Use it.
71120         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
71121         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
71122         here.
71124         * scripts/check-local-headers.sh: Ignore libaudit.h.
71126         * nscd/Makefile (extra-objs): Make recursively expanded.
71128 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
71130         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
71131         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
71133         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
71134         * posix/tst-rfc3484-2.c: Likewise.
71135         * posix/tst-rfc3484-3.c: Likewise.
71137         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71138         process_vm_writev.
71139         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
71140         process_vm_writev.
71141         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
71142         process_vm_writev from libc using GLIBC_2.15 version.
71144         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
71146 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
71148         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
71149         stack usage.
71151 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
71153         [BZ #13367]
71154         * nss/getent.c (initgroups_keys): Show error message in case no group
71155         names are given.
71157         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
71158         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
71159         __bump_nl_timestamp.
71160         * nscd/connections (nscd_init): When host database is served open
71161         netlink socket and request notification about configuration changes.
71162         (main_loop_poll): Track netlink file descriptor and bump timestamp
71163         in case data becomes available.
71164         (main_loop_epoll): Likewise.
71165         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
71166         (database_pers_head): Add extra_data fileds.
71167         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
71168         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
71169         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
71170         Adjust caller.
71171         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
71172         in6ai data, call __free_in6ai.
71173         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
71174         Add -DHAVE_NETLINK.
71175         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
71176         interface information.  Reuse previous data if netlink timestamp
71177         is not changed.
71178         (__bump_nl_timestamp): New function.
71179         (__free_in6ai): New function.
71181 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
71183         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
71184         close_not_cancel_no_status here.
71185         (__check_pf): Reorganize code a bit to not call close twice if OOM.
71187 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71189         [BZ #13276]
71190         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
71191         return value.
71193         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
71194         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
71195         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
71197 2011-07-03  Andreas Jaeger  <aj@suse.de>
71199         [BZ #10709]
71200         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
71201         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
71202         * math/libm-test.inc (sin_test): Add test case.
71204 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71206         [BZ #13337]
71207         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
71208         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71210         * elf/chroot_canon.c (chroot_canon): Cleanups.
71212         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
71214         [BZ #13335]
71215         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
71216         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71218         * string/test-strchr.c: Make usable for strchrnul testing.
71219         * string/test-strchrnul.c: New file.
71220         * string/Makefile (strop-tests): Add strchrnul.
71222         * po/it.po: Update from translation team.
71223         * po/es.po: Likewise.
71225 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
71227         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
71228         the three constants needed as parameters.  Drop the others.
71229         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
71230         __m128i_strloadu_tolower.
71231         Create and initialize variable zero and use it in all the places
71232         where _mm_setzero_si128 was used.
71234         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
71235         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
71236         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
71237         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
71238         anymore.
71239         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
71240         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
71241         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
71242         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
71243         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
71244         __mpranred, __mptan.
71245         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
71246         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
71247         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
71248         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
71249         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
71250         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
71251         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
71252         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
71253         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
71255 2011-10-28  Andreas Schwab  <schwab@redhat.com>
71257         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
71258         redefine if SHARED.
71259         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
71261         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
71262         wide char related routines to wcsmbs subdir.
71264 2011-10-27  Andreas Schwab  <schwab@redhat.com>
71266         [BZ #13344]
71267         * misc/sys/cdefs.h (__THROWNL): Define.
71268         * posix/unistd.h: Use __THREADNL instead of __THREAD
71269         for memory synchronization functions.
71271 2011-10-26  Roland McGrath  <roland@hack.frob.com>
71273         [BZ #13349]
71274         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
71275         doesn't exist.
71276         * manual/stdio.texi (Obstack Streams): Node removed.
71278 2011-10-26  Andreas Schwab  <schwab@redhat.com>
71280         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
71281         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71282         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71284         * math/math_private.h (math_force_eval): Allow non-addressable
71285         arguments.
71286         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
71288 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71290         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
71291         file is not needed.
71293         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
71294         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
71295         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71296         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71297         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71298         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71299         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71300         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
71301         Add AVX variants.
71302         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
71303         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
71304         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
71305         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
71306         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
71307         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
71308         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
71309         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
71310         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
71311         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
71312         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
71313         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
71314         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
71315         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
71316         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
71317         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
71318         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
71319         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
71320         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
71322         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
71323         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
71325         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
71326         place.  Use VEX encoding when compiling for AVX.
71328 2011-10-25  Andreas Schwab  <schwab@redhat.com>
71330         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
71331         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
71333         * string/test-strchr.c (do_test): Don't generate NUL bytes.
71335 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71337         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
71338         useless if() expression.
71339         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71340         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71341         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71342         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71343         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71344         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71345         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71346         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71347         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71348         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71349         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71350         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71351         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71352         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71353         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71354         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71355         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71356         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71357         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71359         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
71361 2011-10-25  Andreas Schwab  <schwab@redhat.com>
71363         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
71364         condition.
71365         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71367 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71369         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
71370         .text section.  Avoid duplicate constants.
71371         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71372         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71373         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71374         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71375         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71376         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71377         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71378         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71379         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
71380         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
71381         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
71382         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71383         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
71384         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
71385         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
71386         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
71387         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
71388         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
71389         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71390         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71391         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71392         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71393         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71394         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
71395         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
71396         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
71397         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
71398         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
71399         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
71400         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
71401         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
71402         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
71403         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71404         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
71405         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
71406         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
71407         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
71408         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
71409         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
71410         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
71411         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
71412         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
71413         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
71414         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
71415         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
71417 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
71419         * sysdeps/x86_64/dla.h: Move to ...
71420         * sysdeps/x86_64/fpu/dla.h: ...here.
71421         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
71422         situations.  Use __builtin_fma only for gcc 4.6 and up.
71424         * config.make.in: Add have-mfma4 entry.
71425         * configure.in: Substitute libc_cv_cc_fma4.
71426         * math/Makefile (dbl-only-routines): Add sincostab.
71427         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
71428         Use __sincostab not sincos.
71429         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
71430         name is a macro.
71431         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71432         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71433         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71434         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
71435         using __copysign.
71436         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
71437         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
71438         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
71439         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
71440         and __inv.
71441         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
71442         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
71443         __copysign.
71444         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
71445         define aliases when function name is a macro.
71446         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
71447         sysdeps/ieee754/dbl-64/sincos.tbl.
71448         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
71449         fma4-enabled routines.
71450         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
71451         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
71452         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
71453         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
71454         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
71455         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
71456         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
71457         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
71458         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
71459         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
71460         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
71461         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
71462         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
71463         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
71464         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
71465         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
71466         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
71467         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
71468         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
71469         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
71470         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
71471         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
71472         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
71473         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
71474         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
71475         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
71476         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
71477         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
71478         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
71479         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
71481         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
71482         rename.
71483         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71484         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71485         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71486         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71487         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71488         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71489         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71490         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71492 2011-10-24  Andreas Schwab  <schwab@redhat.com>
71494         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
71496 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71498         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
71500         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
71501         prediction.
71502         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
71504         * string/strnlen.c: Don't define STRNLEN, reverse logic.
71505         Remove unused variable magic_bits.
71506         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
71508         * string/strnlen.c: Define and use STRNLEN macro.
71509         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
71510         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
71511         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
71512         * wcsmbs/wcslen.c: Define and use WCSLEN.
71513         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
71514         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
71515         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
71516         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
71517         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
71518         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
71519         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
71521 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71523         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71524         strnlen-sse2-no-bsf.
71525         Rename strlen-no-bsf to strlen-sse2-no-bsf.
71526         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
71527         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
71528         Add strnlen support.
71529         (USE_AS_STRNLEN): New macro.
71530         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
71531         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
71532         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
71533         * sysdeps/x86_64/wcslen.S: New file.
71535 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
71537         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
71538         XMM-moves are used for copying on small sizes.
71540 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71542         * wcsmbs/Makefile (strop-tests): Add wcschr.
71543         * wcsmbs/test-wcschr.c: New file.
71544         * string/test-strchr.c: Update.
71545         Add wcschr support.
71546         (WIDE): New macro.
71548 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71550         * wcsmbs/Makefile (strop-tests): Add wcslen.
71551         * wcsmbs/test-wcslen.c: New file.
71552         * string/test-strlen.c: Update.
71553         Add wcslen support.
71554         (WIDE): New macro.
71556 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71558         * po/it.po: Update from translation team.
71560 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71562         * sysdeps/x86_64/wcscmp.S: Update.
71563         Fix wrong comparison semantics.
71564         wcscmp shall use signed comparison not unsigned.
71565         Don't use substraction to avoid overflow bug.
71566         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
71567         * wcsmbc/wcscmp.c: Likewise.
71568         * string/test-strcmp.c: Likewise.
71569         Add new tests to check cases with negative values.
71571 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71573         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
71574         * sysdeps/x86_64/dla.h: ...here.  New file.
71575         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
71576         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71577         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71578         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71579         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71580         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71581         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71582         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71583         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71585 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
71587         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
71588         __ynl_finite aliases.
71590 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
71592         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71594         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
71595         define DLA_FMA.
71596         [DLA_FMA] (EMULV): Use DLA_FMA.
71597         [DLA_FMA] (MUL12): Use EMULV.
71598         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
71599         that are not needed.
71600         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71601         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71602         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71603         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71604         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71605         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71606         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71608 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
71610         * math/s_nan.c: Undef __nan.
71611         * math/s_nanf.c: Undef __nanf.
71612         * math/s_nanl.c: Undef __nanl.
71613         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
71614         "math_private.h".
71616 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
71618         * math/s_catan.c: Add branch predictions.
71619         * math/s_catanf.c: Likewise.
71620         * math/s_catanh.c: Likewise.
71621         * math/s_catanhf.c: Likewise.
71622         * math/s_catanhl.c: Likewise.
71623         * math/s_catanl.c: Likewise.
71624         * math/s_cexp.c: Likewise.
71625         * math/s_cexpf.c: Likewise.
71626         * math/s_cexpl.c: Likewise.
71627         * math/s_clog.c: Likewise.
71628         * math/s_clog10.c: Likewise.
71629         * math/s_clog10f.c: Likewise.
71630         * math/s_clog10l.c: Likewise.
71631         * math/s_clogf.c: Likewise.
71632         * math/s_clogl.c: Likewise.
71633         * math/s_csqrt.c: Likewise.
71634         * math/s_csqrtf.c: Likewise.
71635         * math/s_csqrtl.c: Likewise.
71636         * math/s_ctanf.c: Likewise.
71637         * math/s_ctanh.c: Likewise.
71638         * math/s_ctanhf.c: Likewise.
71639         * math/s_ctanhl.c: Likewise.
71640         * math/s_ctanl.c: Likewise.
71642         * math/math_private.h: Define __nan, __nanf, __nanl.
71643         * math/s_cacosh.c: Include <math_private.h>.
71644         * math/s_cacoshl.c: Likewise.
71645         * math/s_casinh.c: Likewise.
71646         * math/s_casinhf.c: Likewise.
71647         * math/s_casinhl.c: Likewise.
71648         * math/s_ccos.c: Rely entire on ccosh.
71649         * math/s_ccosf.c: Rely entire on ccoshf.
71650         * math/s_ccosl.c: Rely entirely on ccoshl.
71651         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
71652         Remove tests for FE_INVALID.
71653         * math/s_ccoshf.c: Likewise.
71654         * math/s_ccoshl.c: Likewise.
71655         * math/s_csin.c: Likewise.
71656         * math/s_csinf.c: Likewise.
71657         * math/s_csinh.c Likewise.
71658         * math/s_csinhf.c: Likewise.
71659         * math/s_csinhl.c: Likewise.
71660         * math/s_csinl.c: Likewise.
71661         * math/s_ctan.c: Likewise.
71662         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
71663         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
71664         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
71666 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
71668         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
71669         compilation problems.
71671         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
71672         __builtin_expect.
71674 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
71676         * sysdeps/i386/configure.in: Test for -mfma4 option.
71677         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
71678         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
71679         COMMON_CPUID_INDEX_80000001.
71680         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
71681         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
71682         use it if FMA3 is not supported.
71683         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
71685         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
71686         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
71688 2011-10-20  Andreas Schwab  <schwab@redhat.com>
71690         [BZ #12892]
71691         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
71692         it would create a cycle with a link time dependency.
71694 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
71696         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
71697         instruction.
71698         * string/Makefile (strop-tests): Add rawmemchr.
71699         * string/test-rawmemchr.c: New file.
71701         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
71702         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
71703         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
71704         when compiling str{,n}casecmp and when AVX is available.  Hook up
71705         new optimized code in initializers.
71707 2011-10-19  Andreas Schwab  <schwab@redhat.com>
71709         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
71710         __feraiseexcept instead of feraiseexcept.
71712 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
71714         * math/math_private.h: Define defaults for libc_fetestexcept and
71715         libc_feupdateenv.
71716         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
71717         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
71718         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
71719         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
71720         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71721         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71722         libc_fetestexcept and libc_feupdateenv.
71724         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
71725         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
71726         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
71727         * sysdeps/x86_64/fpu/math_private.h: Define special version of
71728         libc_feholdexcept_setround.
71730         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
71731         Add s_nearbyint-c and s_nearbyintf-c.
71732         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
71733         nearbyintf inlines.
71734         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
71735         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
71736         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
71737         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
71739         * math/math_private.h: Define defaults for libc_fegetround,
71740         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
71741         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
71742         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
71743         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
71744         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
71745         standard functions.
71746         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
71747         Remove comments and hacks for old compiler versions.
71748         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71749         libc_fegetround, libc_fesetround, libc_feholdexcept, and
71750         libc_feholdexceptl.
71752 2011-10-18  Andreas Schwab  <schwab@redhat.com>
71754         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
71755         (__feraiseexcept_renamed): Add __NTH.
71756         (feraiseexcept): Add __NTH.  Rename local variables to fix
71757         namespace violations.
71759 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
71761         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
71763         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
71765         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
71766         recently added interfaces.
71767         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
71769         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
71770         about macro parameter expansion.
71772         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
71773         __NO_MATH_INLINES is defined.  Cleanups.
71775         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
71776         and __floorf is target has SSE4.1.
71777         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
71778         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
71779         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
71780         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
71782         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
71783         name.
71784         (floorf): Likewise.
71786         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
71788 2011-10-17  Andreas Schwab  <schwab@redhat.com>
71790         * misc/sys/cdefs.h: Fix last change.
71792         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
71793         database lookup.
71795 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
71797         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
71799         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
71800         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71801         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71802         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71803         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71804         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71805         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71806         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71807         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71808         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
71809         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
71810         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
71811         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
71812         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
71813         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
71814         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
71815         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
71816         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
71817         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
71818         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
71819         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
71820         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
71822         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
71823         ceil, ceilf, floor, floorf.
71825         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
71826         Perform IRELATIVE relocations last.
71828         * elf/do-rel.h: Add another parameter nrelative, replacing the
71829         local variable with the same name.  Change name of the function
71830         to end in Rel or Rela (uppercase).
71831         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
71832         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
71833         elf_dynamic_do_##reloc function.
71835 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
71837         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
71838         is sufficient, at least on modern CPUs.
71840         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
71842         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
71843         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
71845         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
71846         __expl_finite.
71847         * math/bits/math-finite.h: Add entries for exp.
71848         * math/e_expl.c: Add __*_finite alias.
71849         * sysdeps/i386/fpu/e_exp.S: Likewise.
71850         * sysdeps/i386/fpu/e_expf.S: Likewise.
71851         * sysdeps/i386/fpu/e_expl.c: Likewise.
71852         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71853         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
71854         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
71855         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
71856         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
71857         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71858         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71860         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
71861         is sufficient, at least on modern CPUs.
71863         * ctype/ctype-info.c (__ctype_init): Define.
71864         * include/ctype.h (__ctype_init): Declare.
71865         (__ctype_b_loc): The variable is always initialized.
71866         (__ctype_toupper_loc): Likewise.
71867         (__ctype_tolower_loc): Likewise.
71868         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
71869         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
71871 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
71873         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
71875         * configure.in: Also look in $cxxmachine/include for C++ system
71876         headers.
71878 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71880         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
71881         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
71882         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
71883         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
71884         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
71885         (USE_AS_WMEMCMP): New macro.
71886         Fixing indents.
71887         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
71888         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
71889         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
71890         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
71891         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71892         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
71893         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
71894         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
71895         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
71896         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
71897         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
71898         (USE_AS_WMEMCMP): New macro.
71899         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
71900         * sysdeps/string/test-memcmp.c: Update.
71901         Fix simple_wmemcmp.
71902         Add new tests.
71903         * wcsmbs/wmemcmp.c: Update.
71904         (WMEMCMP): New macro.
71905         Fix overflow bug.
71907 2011-10-12  Andreas Jaeger  <aj@suse.de>
71909         [BZ #13268]
71910         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
71912 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
71914         * libio/iofwide.c (do_length): Avoid warning.
71916         * ctype/ctype.h (__isctype_f): Add missing __THROW.
71918 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
71920         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
71922         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
71923         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
71924         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
71925         * sysdeps/i386/i686/fpu/e_log.S: New file.
71926         * sysdeps/i386/i686/fpu/e_logf.S: New file.
71927         * sysdeps/i386/i686/fpu/e_logl.S: New file.
71929         * ctype/ctype.h: Add support for inlined isXXX functions when
71930         compiling C++ code.
71932 2011-10-14  Andreas Schwab  <schwab@redhat.com>
71934         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71936         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
71938 2011-10-13  Roland McGrath  <roland@hack.frob.com>
71940         [BZ #13291]
71941         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
71943 2011-10-13  Andreas Schwab  <schwab@redhat.com>
71945         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
71946         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
71947         feraiseexcept.
71949         * sysdeps/x86_64/memrchr.S: Check for zero size.
71951         * string/stratcliff.c: Add memrchr tests.
71953 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71955         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71956         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
71957         rawmemchr-sse2 rawmemchr-sse2-bsf.
71958         * sysdeps/i386/i686/multiarch/memchr.S: New file.
71959         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
71960         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
71961         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
71962         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
71963         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
71964         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
71965         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
71966         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
71967         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
71968         * string/memrchr.c (MEMRCHR): New macro.
71970 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
71972         Add integration with gcc's -ffinite-math-only and optimize wrapper
71973         functions in libm.
71974         * Versions.def: Define GLIBC_2.15 version for libm.
71975         * math/Makefile (headers): Add bits/math-finite.h.
71976         * math/bits/math-finite.h: New file.
71977         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
71978         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
71979         * math/e_acoshl.c: Add __*_finite alias.
71980         * math/e_acosl.c: Likewise.
71981         * math/e_asinl.c: Likewise.
71982         * math/e_atan2l.c: Likewise.
71983         * math/e_atanhl.c: Likewise.
71984         * math/e_coshl.c: Likewise.
71985         * math/e_exp10.c: Likewise.
71986         * math/e_exp10f.c: Likewise.
71987         * math/e_exp10l.c: Likewise.
71988         * math/e_exp2l.c: Likewise.
71989         * math/e_fmodl.c: Likewise.
71990         * math/e_gammal_r.c: Likewise.
71991         * math/e_hypotl.c: Likewise.
71992         * math/e_j0l.c: Likewise.
71993         * math/e_j1l.c: Likewise.
71994         * math/e_jnl.c: Likewise.
71995         * math/e_lgammal_r.c: Likewise.
71996         * math/e_log10l.c: Likewise.
71997         * math/e_log2l.c: Likewise.
71998         * math/e_logl.c: Likewise.
71999         * math/e_powl.c: Likewise.
72000         * math/e_sinhl.c: Likewise.
72001         * math/e_sqrtl.c: Likewise.
72002         * math/e_scalb.c: Completely rewritten and optimized.
72003         * math/e_scalbf.c: Likewise.
72004         * math/e_scalbl.c: Likewise.
72005         * math/w_acos.c: Likewise.
72006         * math/w_acosf.c: Likewise.
72007         * math/w_acosl.c: Likewise.
72008         * math/w_acosh.c: Likewise.
72009         * math/w_acoshf.c: Likewise.
72010         * math/w_acoshl.c: Likewise.
72011         * math/w_asin.c: Likewise.
72012         * math/w_asinf.c: Likewise.
72013         * math/w_asinl.c: Likewise.
72014         * math/w_atan2.c: Likewise.
72015         * math/w_atan2f.c: Likewise.
72016         * math/w_atan2l.c: Likewise.
72017         * math/w_atanh.c: Likewise.
72018         * math/w_atanhf.c: Likewise.
72019         * math/w_atanhl.c: Likewise.
72020         * math/w_exp10.c: Likewise.
72021         * math/w_exp10f.c: Likewise.
72022         * math/w_exp10l.c: Likewise.
72023         * math/w_fmod.c: Likewise.
72024         * math/w_fmodf.c: Likewise.
72025         * math/w_fmodl.c: Likewise.
72026         * math/w_j0.c: Likewise.
72027         * math/w_j0f.c: Likewise.
72028         * math/w_j0l.c: Likewise.
72029         * math/w_j1.c: Likewise.
72030         * math/w_j1f.c: Likewise.
72031         * math/w_j1l.c: Likewise.
72032         * math/w_jn.c: Likewise.
72033         * math/w_jnf.c: Likewise.
72034         * math/w_log.c: Likewise.
72035         * math/w_logf.c: Likewise.
72036         * math/w_logl.c: Likewise.
72037         * math/w_log10.c: Likewise.
72038         * math/w_log10f.c: Likewise.
72039         * math/w_log10l.c: Likewise.
72040         * math/w_log2.c: Likewise.
72041         * math/w_log2f.c: Likewise.
72042         * math/w_log2l.c: Likewise.
72043         * math/w_pow.c: Likewise.
72044         * math/w_powf.c: Likewise.
72045         * math/w_powl.c: Likewise.
72046         * math/w_remainder.c: Likewise.
72047         * math/w_remainderf.c: Likewise.
72048         * math/w_remainderl.c: Likewise.
72049         * math/w_scalb.c: Likewise.
72050         * math/w_scalbf.c: Likewise.
72051         * math/w_scalbl.c: Likewise.
72052         * math/w_sqrt.c: Likewise.
72053         * math/w_sqrtf.c: Likewise.
72054         * math/w_sqrtl.c: Likewise.
72055         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
72056         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
72057         used.
72058         * math/math_private.h: Declare __kernel_standard_f.
72059         * math/w_cosh.c: Remove cruft and optimize a bit.
72060         * math/w_coshf.c: Likewise.
72061         * math/w_coshl.c: Likewise.
72062         * math/w_exp2.c: Likewise.
72063         * math/w_exp2f.c: Likewise.
72064         * math/w_exp2l.c: Likewise.
72065         * math/w_hypot.c: Likewise.
72066         * math/w_hypotf.c: Likewise.
72067         * math/w_hypotl.c: Likewise.
72068         * math/w_lgamma.c: Likewise.
72069         * math/w_lgamma_r.c: Likewise.
72070         * math/w_lgammaf.c: Likewise.
72071         * math/w_lgammaf_r.c: Likewise.
72072         * math/w_lgammal.c: Likewise.
72073         * math/w_lgammal_r.c: Likewise.
72074         * math/w_sinh.c: Likewise.
72075         * math/w_sinhf.c: Likewise.
72076         * math/w_sinhl.c: Likewise.
72077         * math/w_tgamma.c: Likewise.
72078         * math/w_tgammaf.c: Likewise.
72079         * math/w_tgammal.c: Likewise.
72080         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72081         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72082         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
72083         Minor optimizations.  Pretty printing.  Remove cruft.
72084         * sysdeps/i386/fpu/e_acosf.S: Likewise.
72085         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72086         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72087         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72088         * sysdeps/i386/fpu/e_acosl.c: Likewise.
72089         * sysdeps/i386/fpu/e_asin.S: Likewise.
72090         * sysdeps/i386/fpu/e_asinf.S: Likewise.
72091         * sysdeps/i386/fpu/e_atan2.S: Likewise.
72092         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
72093         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
72094         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72095         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72096         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72097         * sysdeps/i386/fpu/e_exp10.S: Likewise.
72098         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
72099         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
72100         * sysdeps/i386/fpu/e_exp2.S: Likewise.
72101         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
72102         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
72103         * sysdeps/i386/fpu/e_fmod.S: Likewise.
72104         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
72105         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
72106         * sysdeps/i386/fpu/e_hypot.S: Likewise.
72107         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
72108         * sysdeps/i386/fpu/e_log.S: Likewise.
72109         * sysdeps/i386/fpu/e_log10.S: Likewise.
72110         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72111         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72112         * sysdeps/i386/fpu/e_log2.S: Likewise.
72113         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72114         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72115         * sysdeps/i386/fpu/e_logf.S: Likewise.
72116         * sysdeps/i386/fpu/e_logl.S: Likewise.
72117         * sysdeps/i386/fpu/e_pow.S: Likewise.
72118         * sysdeps/i386/fpu/e_powf.S: Likewise.
72119         * sysdeps/i386/fpu/e_powl.S: Likewise.
72120         * sysdeps/i386/fpu/e_remainder.S: Likewise.
72121         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
72122         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
72123         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72124         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72125         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72126         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
72127         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
72128         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
72129         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
72130         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72131         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72132         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72133         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72134         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72135         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
72136         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72137         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72138         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72139         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72140         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72141         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72142         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72143         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72144         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72145         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72146         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72147         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72148         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72149         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72150         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
72151         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72152         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72153         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
72154         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
72155         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72156         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
72157         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
72158         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
72159         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72160         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
72161         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72162         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72163         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72164         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72165         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72166         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72167         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72168         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72169         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72170         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72171         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
72172         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
72173         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72174         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
72175         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
72176         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
72177         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
72178         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
72179         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
72180         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
72181         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
72182         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72183         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
72184         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
72185         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
72186         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
72187         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
72188         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
72189         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
72190         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
72191         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72192         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72193         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
72194         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
72195         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
72196         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
72197         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
72198         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
72199         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
72200         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
72201         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
72202         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
72203         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
72204         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72205         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72206         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
72207         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72208         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
72209         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72210         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
72211         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
72212         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72213         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72214         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
72215         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72216         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
72217         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
72218         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
72219         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72220         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
72221         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
72222         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
72223         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
72224         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
72225         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
72226         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
72227         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
72228         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
72229         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
72230         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
72231         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
72232         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
72233         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72234         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72235         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72236         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72237         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
72238         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72239         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
72240         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
72241         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
72242         (__isnanf): Likewise.
72243         (__isinf_ns): Likewise.
72244         (__isinf_nsf): Likewise.
72245         (__finite): Likewise.
72246         (__finitef): Likewise.
72247         (__ieee754_sqrt): Define as macro.
72248         (__ieee754_sqrtf): Define as macro.
72249         (__ieee754_sqrtl): Define as macro.
72250         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
72251         inlined copy.
72252         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
72253         __FINITE_MATH_ONLY__ consistent.
72254         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
72256 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
72258         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
72259         of rawmemchr.
72261         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
72263 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
72265         * po/ja.po: Update from translation team.
72267 2011-10-08  Roland McGrath  <roland@hack.frob.com>
72269         * locale/programs/locarchive.c (prepare_address_space): New function.
72270         (create_archive, enlarge_archive, open_archive): Use it.
72272         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
72273         inside [SHARED], where it is used.
72275         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
72277         * nss/getent.c (netgroup_keys): Remove unused variable.
72278         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
72280 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
72282         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
72283         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
72284         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
72285         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
72286         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
72287         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
72288         * math/Makefile (libm-calls): Add s_isinf_ns.
72289         * math/divtc3.c: Use __isinf_nsl instead of isinf.
72290         * math/multc3.c: Likewise.
72291         * math/s_casin.c: Likewise.
72292         * math/s_casinf.c: Likewise.
72293         * math/s_casinl.c: Likewise.
72294         * math/s_ccos.c: Likewise.
72295         * math/s_ccosf.c: Likewise.
72296         * math/s_ccosl.c: Likewise.
72297         * math/s_ctan.c: Likewise.
72298         * math/s_ctanf.c: Likewise.
72299         * math/s_ctanh.c: Likewise.
72300         * math/s_ctanhf.c: Likewise.
72301         * math/s_ctanhl.c: Likewise.
72302         * math/s_ctanl.c: Likewise.
72303         * math/w_fmod.c: Likewise.
72304         * math/w_fmodf.c: Likewise.
72305         * math/w_fmodl.c: Likewise.
72306         * math/w_remainder.c: Likewise.
72307         * math/w_remainderf.c: Likewise.
72308         * math/w_remainderl.c: Likewise.
72309         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
72310         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
72311         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
72312         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
72313         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
72314         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
72315         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
72316         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
72318         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
72319         of the number.
72320         * stdio-common/printf_fphex.c: Likewise.
72321         * stdio-common/printf_size.c: Likewise.
72323         * math/e_exp10.c: Include math_private.h using <...> not "...".
72324         * math/e_exp10f.c: Likewise.
72325         * math/e_exp10l.c: Likewise.
72326         * math/e_exp2l.c: Likewise.
72327         * math/e_j0l.c: Likewise.
72328         * math/e_j1l.c: Likewise.
72329         * math/e_jnl.c: Likewise.
72330         * math/e_lgammal_r.c: Likewise.
72331         * math/e_rem_pio2l.c: Likewise.
72332         * math/e_scalb.c: Likewise.
72333         * math/e_scalbf.c: Likewise.
72334         * math/e_scalbl.c: Likewise.
72335         * math/k_cosl.c: Likewise.
72336         * math/k_sinl.c: Likewise.
72337         * math/k_tanl.c: Likewise.
72338         * math/s_cacoshf.c: Likewise.
72339         * math/s_catan.c: Likewise.
72340         * math/s_catanf.c: Likewise.
72341         * math/s_catanh.c: Likewise.
72342         * math/s_catanhf.c: Likewise.
72343         * math/s_catanhl.c: Likewise.
72344         * math/s_catanl.c: Likewise.
72345         * math/s_ccosh.c: Likewise.
72346         * math/s_ccoshf.c: Likewise.
72347         * math/s_ccoshl.c: Likewise.
72348         * math/s_cexp.c: Likewise.
72349         * math/s_cexpf.c: Likewise.
72350         * math/s_cexpl.c: Likewise.
72351         * math/s_clog.c: Likewise.
72352         * math/s_clog10.c: Likewise.
72353         * math/s_clog10f.c: Likewise.
72354         * math/s_clog10l.c: Likewise.
72355         * math/s_clogf.c: Likewise.
72356         * math/s_clogl.c: Likewise.
72357         * math/s_csin.c: Likewise.
72358         * math/s_csinf.c: Likewise.
72359         * math/s_csinh.c: Likewise.
72360         * math/s_csinhf.c: Likewise.
72361         * math/s_csinhl.c: Likewise.
72362         * math/s_csinl.c: Likewise.
72363         * math/s_csqrt.c: Likewise.
72364         * math/s_csqrtf.c: Likewise.
72365         * math/s_csqrtl.c: Likewise.
72366         * math/s_ctan.c: Likewise.
72367         * math/s_ctanf.c: Likewise.
72368         * math/s_ctanh.c: Likewise.
72369         * math/s_ctanhf.c: Likewise.
72370         * math/s_ctanhl.c: Likewise.
72371         * math/s_ctanl.c: Likewise.
72372         * math/s_ldexp.c: Likewise.
72373         * math/s_ldexpf.c: Likewise.
72374         * math/s_ldexpl.c: Likewise.
72375         * math/s_significand.c: Likewise.
72376         * math/s_significandf.c: Likewise.
72377         * math/s_significandl.c: Likewise.
72378         * math/w_acos.c: Likewise.
72379         * math/w_acosf.c: Likewise.
72380         * math/w_acosh.c: Likewise.
72381         * math/w_acoshf.c: Likewise.
72382         * math/w_acoshl.c: Likewise.
72383         * math/w_acosl.c: Likewise.
72384         * math/w_asin.c: Likewise.
72385         * math/w_asinf.c: Likewise.
72386         * math/w_asinl.c: Likewise.
72387         * math/w_atan2.c: Likewise.
72388         * math/w_atan2f.c: Likewise.
72389         * math/w_atan2l.c: Likewise.
72390         * math/w_atanh.c: Likewise.
72391         * math/w_atanhf.c: Likewise.
72392         * math/w_atanhl.c: Likewise.
72393         * math/w_cosh.c: Likewise.
72394         * math/w_coshf.c: Likewise.
72395         * math/w_coshl.c: Likewise.
72396         * math/w_dremf.c: Likewise.
72397         * math/w_exp10.c: Likewise.
72398         * math/w_exp10f.c: Likewise.
72399         * math/w_exp10l.c: Likewise.
72400         * math/w_exp2.c: Likewise.
72401         * math/w_exp2f.c: Likewise.
72402         * math/w_fmod.c: Likewise.
72403         * math/w_fmodf.c: Likewise.
72404         * math/w_fmodl.c: Likewise.
72405         * math/w_hypot.c: Likewise.
72406         * math/w_hypotf.c: Likewise.
72407         * math/w_hypotl.c: Likewise.
72408         * math/w_j0.c: Likewise.
72409         * math/w_j0f.c: Likewise.
72410         * math/w_j0l.c: Likewise.
72411         * math/w_j1.c: Likewise.
72412         * math/w_j1f.c: Likewise.
72413         * math/w_j1l.c: Likewise.
72414         * math/w_jn.c: Likewise.
72415         * math/w_jnf.c: Likewise.
72416         * math/w_jnl.c: Likewise.
72417         * math/w_lgamma.c: Likewise.
72418         * math/w_lgamma_r.c: Likewise.
72419         * math/w_lgammaf.c: Likewise.
72420         * math/w_lgammaf_r.c: Likewise.
72421         * math/w_lgammal.c: Likewise.
72422         * math/w_lgammal_r.c: Likewise.
72423         * math/w_log.c: Likewise.
72424         * math/w_log10.c: Likewise.
72425         * math/w_log10f.c: Likewise.
72426         * math/w_log10l.c: Likewise.
72427         * math/w_log2.c: Likewise.
72428         * math/w_log2f.c: Likewise.
72429         * math/w_log2l.c: Likewise.
72430         * math/w_logf.c: Likewise.
72431         * math/w_logl.c: Likewise.
72432         * math/w_pow.c: Likewise.
72433         * math/w_powf.c: Likewise.
72434         * math/w_powl.c: Likewise.
72435         * math/w_remainder.c: Likewise.
72436         * math/w_remainderf.c: Likewise.
72437         * math/w_remainderl.c: Likewise.
72438         * math/w_scalb.c: Likewise.
72439         * math/w_scalbf.c: Likewise.
72440         * math/w_scalbl.c: Likewise.
72441         * math/w_sinh.c: Likewise.
72442         * math/w_sinhf.c: Likewise.
72443         * math/w_sinhl.c: Likewise.
72444         * math/w_sqrt.c: Likewise.
72445         * math/w_sqrtf.c: Likewise.
72446         * math/w_sqrtl.c: Likewise.
72447         * math/w_tgamma.c: Likewise.
72448         * math/w_tgammaf.c: Likewise.
72449         * math/w_tgammal.c: Likewise.
72451         * po/ja.po: Update from translation team.
72453 2011-09-29  Andreas Jaeger  <aj@suse.de>
72455         [BZ #13179]
72456         * sunrpc/netname.c (netname2host): Fix logic.
72458         [BZ #6779]
72459         [BZ #6783]
72460         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
72461         correctly.
72462         * math/w_remainder.c (__remainder): Likewise.
72463         * math/w_remainderf.c (__remainderf): Likewise.
72464         * math/libm-test.inc (remainder_test): Add test cases.
72466 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72468         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
72469         sdiv_qrnnd.
72471 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
72473         * string/test-memcmp.c: Avoid unncessary #defines.
72474         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72476 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72478         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
72479         Use new sse2 version for core i3 - i7 as it's faster
72480         than sse42 version.
72481         (bit_Prefer_PMINUB_for_stringop): New.
72482         * sysdeps/x86_64/rawmemchr.S: Update.
72483         Replace with faster SSE2 version.
72484         * sysdeps/x86_64/memrchr.S: New file.
72485         * sysdeps/x86_64/memchr.S: Update.
72486         Replace with faster SSE2 version.
72488 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
72490         * elf/dl-load.c (lose): Add cast to avoid warning.
72492 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
72494         * po/ca.po: Update from translation team.
72496         * inet/getnetgrent_r.c: Hook up nscd.
72497         * nscd/Makefile (routines): Add nscd_netgroup.
72498         (nscd-modules): Add netgroupcache.
72499         (CFLAGS-netgroupcache.c): Define.
72500         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
72501         (cache_search): Add const to second parameter.
72502         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
72503         INNETGR.
72504         (dbs): Add netgrdb entry.
72505         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
72506         (verify_persistent_db): Handle netgrdb.
72507         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
72508         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
72509         GETFDNETGR.
72510         (netgroup_response_header): Define.
72511         (innetgroup_response_header): Define.
72512         (datahead): Add netgroup_response_header and innetgroup_response_header
72513         elements.
72514         * nscd/nscd.conf: Add entries for netgroup cache.
72515         * nscd/nscd.h (dbtype): Add netgrdb.
72516         (_PATH_NSCD_NETGROUP_DB): Define.
72517         (netgroup_iov_disabled): Declare.
72518         (xmalloc, xcalloc, xrealloc): Move declarations here.
72519         (cache_search): Adjust prototype.
72520         Add netgroup-related prototypes.
72521         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
72522         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
72523         (__nscd_innetgr): Declare.
72524         * nscd/selinux.c (perms): Use access_vector_t as element type and
72525         add netgroup-related initializers.
72526         * nscd/netgroupcache.c: New file.
72527         * nscd/nscd_netgroup.c: New file.
72528         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
72529         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
72530         For four parameters use innetgr.
72531         * nss/nss_files/files-init.c: Add definition and callback for netgr.
72532         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
72533         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
72534         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
72536         * nscd/connections.c (register_traced_file): Don't register file
72537         for disabled databases.
72539 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
72541         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
72543         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
72544         from tree and freeing node.
72546 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
72548         * nss/nsswitch.c (__nss_database_lookup): Handle
72549         nss_parse_service_list out of memory case.
72551 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
72553         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
72554         out of memory case.
72556 2011-10-04  Andreas Schwab  <schwab@redhat.com>
72558         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
72559         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
72560         pass it down.
72561         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
72562         elf_machine_rela, elf_machine_lazy_rel.
72563         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
72564         (ELF_DYNAMIC_DO_REL): Likewise.
72565         (ELF_DYNAMIC_DO_RELA): Likewise.
72566         (ELF_DYNAMIC_RELOCATE): Likewise.
72567         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
72568         to ELF_DYNAMIC_DO_REL.
72569         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
72570         (dl_main): In trace mode always set __RTLD_NOIFUNC.
72571         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
72572         elf_machine_rela.
72573         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
72574         skip_ifunc, don't call ifunc function if non-zero.
72575         (elf_machine_rela): Likewise.
72576         (elf_machine_lazy_rel): Likewise.
72577         (elf_machine_lazy_rela): Likewise.
72578         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
72579         (elf_machine_lazy_rel): Likewise.
72580         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
72581         Likewise.
72582         (elf_machine_lazy_rel): Likewise.
72583         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72584         Likewise.
72585         (elf_machine_lazy_rel): Likewise.
72586         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
72587         (elf_machine_lazy_rel): Likewise.
72588         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
72589         (elf_machine_lazy_rel): Likewise.
72590         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
72591         (elf_machine_lazy_rel): Likewise.
72592         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
72593         (elf_machine_lazy_rel): Likewise.
72594         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
72595         (elf_machine_lazy_rel): Likewise.
72596         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
72597         (elf_machine_lazy_rel): Likewise.
72599 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
72601         * nss/nss_files/files-init.c (_nss_files_init): Use static
72602         initialization for all the *_traced_file variables.
72604 2011-09-28  Andreas Schwab  <schwab@redhat.com>
72606         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72608 2011-09-27  Roland McGrath  <roland@hack.frob.com>
72610         [BZ #13226]
72611         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
72613 2011-09-27  Andreas Schwab  <schwab@redhat.com>
72615         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
72616         Reread the line before reparsing it.
72618 2011-09-26  Andreas Schwab  <schwab@redhat.com>
72620         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
72622 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
72623             Maxim Kuvyrkov  <maxim@codesourcery.com>
72624             Joseph Myers  <joseph@codesourcery.com>
72626         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
72627         if needed for __stack_chk_guard.
72629 2011-09-19  Roland McGrath  <roland@hack.frob.com>
72631         * sysdeps/posix/spawni.c (script_execute): Always define it.
72632         It will be optimized away if unused.
72633         (maybe_script_execute): New function.
72634         (__spawni): Call it.
72636         * Makerules: Don't include tls.make.
72637         (config-tls): Always set to thread.
72638         * tls.make.c: File removed.
72640 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
72642         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
72643         * config.make.in (CPPFLAGS-config): New substituted variable.
72645 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
72647         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
72649         [BZ #13192]
72650         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
72651         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
72653 2011-09-15  Roland McGrath  <roland@hack.frob.com>
72655         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
72656         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
72657         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
72658         (CALL_FAIL): Likewise.
72659         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
72660         (CALL_FAIL): Macro removed.
72661         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
72663 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
72665         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
72666         for __FINITE_MATH_ONLY__ == 1.
72668 2011-09-15  Andreas Schwab  <schwab@redhat.com>
72670         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
72671         __ieee754_sqrt instead of sqrt.
72672         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
72673         __ieee754_sqrtf instead of sqrtf.
72674         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
72675         __floorf instead of floorf.
72676         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
72677         __floorf, __truncf instead of floorf, truncf.
72679 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
72681         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
72683         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
72684         __extern_always_inline.
72685         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
72686         32-bit.
72688 2011-09-14  Andreas Schwab  <schwab@redhat.com>
72690         * elf/rtld.c (dl_main): Also relocate in dependency order when
72691         doing symbol dependency testing.
72693 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
72695         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72696         Always define `refsym'.
72698 2011-09-13  Andreas Schwab  <schwab@redhat.com>
72700         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
72701         (__FD_ELT): Renamed from __FDELT.
72702         * misc/bits/select2.h (__FD_ELT): Likewise.
72703         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
72704         __FD_MASK instead of __FDELT, __FDMASK.
72705         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72706         Likewise.
72707         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72708         Likewise.
72710         * elf/Makefile (gen-ldd): Fix pattern.
72712         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
72713         (init_tls): Likewise.
72715 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
72717         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
72719 2011-09-12  Andreas Schwab  <schwab@redhat.com>
72721         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
72722         `struct cmsghdr *' instead of `void *'.
72723         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
72724         Likewise.
72726 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
72728         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
72729         if non-absolute.
72730         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
72731         ldd_rewrite_script.
72733 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
72735         * configure.in: Remove --with-tls option.
72736         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
72737         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
72738         out in case it is missing.
72739         * sysdeps/ia64/elf/configure.in: Likewise.
72740         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
72741         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
72742         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
72743         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
72744         * sysdeps/sh/elf/configure.in: Likewise.
72745         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
72746         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72747         * sysdeps/x86_64/elf/configure.in: Likewise.
72748         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
72749         * sysdeps/mach/hurd/tls.h: Likewise.
72751         [BZ #13067]
72752         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
72754         [BZ #13090]
72755         * configure.in: Fix use of AC_INIT.
72757         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
72759 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
72761         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
72762         __set_errno.
72763         * malloc/hooks.c: Likewise.
72765         [BZ #11929]
72766         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
72767         variables statically.
72768         (narenas): Initialize.
72769         (list_lock): Initialize.
72770         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
72771         initializtion of main_arena and list_lock.  Small cleanups.
72772         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
72773         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
72774         Add initializers to main_arena and mp_.
72775         (malloc_state): Remove pagesize member.  Change all users to use
72776         GLRO(dl_pagesize).
72778         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
72779         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
72780         is always initialized.
72782         * malloc/malloc.c: Removed unused configurations and dead code.
72783         * malloc/arena.c: Likewise.
72784         * malloc/hooks.c: Likewise.
72785         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
72787         * include/tls.h: Removed.  USE___THREAD must always be defined.
72788         * bits/libc-tsd.h: Don't handle !USE___THREAD.
72789         * elf/dl-libc.c: Likewise.
72790         * elf/dl-tsd.c: Likewise.
72791         * include/errno.h: Likewise.
72792         * include/netdb.h: Likewise.
72793         * include/resolv.h: Likewise.
72794         * inet/herrno-loc.c: Likewise.
72795         * inet/herrno.c: Likewise.
72796         * malloc/arena.c: Likewise.
72797         * malloc/hooks.c: Likewise.
72798         * malloc/malloc.c: Likewise.
72799         * resolv/res-state.c: Likewise.
72800         * resolv/res_libc.c: Likewise.
72801         * sysdeps/i386/dl-machine.h: Likewise.
72802         * sysdeps/ia64/dl-machine.h: Likewise.
72803         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
72804         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72805         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
72806         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
72807         * sysdeps/sh/dl-machine.h: Likewise.
72808         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72809         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72810         * sysdeps/unix/i386/sysdep.S: Likewise.
72811         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
72812         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
72813         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
72814         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
72815         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
72816         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
72817         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
72818         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
72819         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72820         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
72821         * sysdeps/unix/x86_64/sysdep.S: Likewise.
72822         * sysdeps/x86_64/dl-machine.h: Likewise.
72823         * tls.make.c: Likewise.
72825         * configure.in: Remove --with-__thread option.  Make tests for
72826         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
72827         tls_model attribute fail if no support is available.  Remove
72828         USE_IN_LIBIO.
72829         * Makeconfig: Adjust for dropped configure option.  All features are
72830         now mandatory.
72831         * Makerules: Likewise.
72832         * Versions.def: Likewise.
72833         * argp/argp-fmtstream.c: Likewise.
72834         * argp/argp-fmtstream.h: Likewise.
72835         * argp/argp-help.c: Likewise.
72836         * assert/assert.c: Likewise.
72837         * config.h.in: Likewise.
72838         * config.make.in: Likewise.
72839         * configure: Likewise.
72840         * configure.in: Likewise.
72841         * csu/Versions: Likewise.
72842         * csu/init.c: Likewise.
72843         * elf/tst-audit2.c: Likewise.
72844         * elf/tst-tls10.c: Likewise.
72845         * elf/tst-tls10.h: Likewise.
72846         * elf/tst-tls11.c: Likewise.
72847         * elf/tst-tls12.c: Likewise.
72848         * elf/tst-tls14.c: Likewise.
72849         * elf/tst-tlsmod11.c: Likewise.
72850         * elf/tst-tlsmod12.c: Likewise.
72851         * elf/tst-tlsmod13.c: Likewise.
72852         * elf/tst-tlsmod13a.c: Likewise.
72853         * elf/tst-tlsmod14a.c: Likewise.
72854         * elf/tst-tlsmod15b.c: Likewise.
72855         * elf/tst-tlsmod16a.c: Likewise.
72856         * elf/tst-tlsmod16b.c: Likewise.
72857         * elf/tst-tlsmod7.c: Likewise.
72858         * elf/tst-tlsmod8.c: Likewise.
72859         * elf/tst-tlsmod9.c: Likewise.
72860         * gmon/gmon.c: Likewise.
72861         * grp/fgetgrent_r.c: Likewise.
72862         * grp/putgrent.c: Likewise.
72863         * hurd/fopenport.c: Likewise.
72864         * include/libc-symbols.h: Likewise.
72865         * include/tls.h: Likewise.
72866         * intl/gettextP.h: Likewise.
72867         * intl/loadinfo.h: Likewise.
72868         * locale/global-locale.c: Likewise.
72869         * locale/localeinfo.h: Likewise.
72870         * mach/devstream.c: Likewise.
72871         * malloc/arena.c: Likewise.
72872         * malloc/set-freeres.c: Likewise.
72873         * misc/err.c: Likewise.
72874         * misc/getttyent.c: Likewise.
72875         * misc/mntent_r.c: Likewise.
72876         * posix/getopt.c: Likewise.
72877         * posix/wordexp.c: Likewise.
72878         * pwd/fgetpwent_r.c: Likewise.
72879         * resolv/Versions: Likewise.
72880         * resolv/res_hconf.c: Likewise.
72881         * shadow/fgetspent_r.c: Likewise.
72882         * shadow/putspent.c: Likewise.
72883         * stdio-common/printf_fphex.c: Likewise.
72884         * stdio-common/tmpfile.c: Likewise.
72885         * stdlib/abort.c: Likewise.
72886         * stdlib/fmtmsg.c: Likewise.
72887         * sunrpc/auth_unix.c: Likewise.
72888         * sunrpc/clnt_perr.c: Likewise.
72889         * sunrpc/clnt_tcp.c: Likewise.
72890         * sunrpc/clnt_udp.c: Likewise.
72891         * sunrpc/clnt_unix.c: Likewise.
72892         * sunrpc/openchild.c: Likewise.
72893         * sunrpc/svc_simple.c: Likewise.
72894         * sunrpc/svc_tcp.c: Likewise.
72895         * sunrpc/svc_udp.c: Likewise.
72896         * sunrpc/svc_unix.c: Likewise.
72897         * sunrpc/xdr.c: Likewise.
72898         * sunrpc/xdr_array.c: Likewise.
72899         * sunrpc/xdr_rec.c: Likewise.
72900         * sunrpc/xdr_ref.c: Likewise.
72901         * sunrpc/xdr_stdio.c: Likewise.
72903 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72905         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72907 2011-07-03  Andreas Jaeger  <aj@suse.de>
72909         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
72910         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
72911         regenerate with gen-libm-tests.pl.
72913 2010-05-12  Petr Baudis  <pasky@suse.cz>
72915         [BZ #11589]
72916         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
72917         around j0() zero points by switching to j1().
72918         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72919         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72920         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72921         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72923 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72925         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
72926         instead of 0.
72927         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
72928         instead of 0.
72929         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72930         Patch in part by Pavel Roskin <proski@gnu.org>.
72932         [BZ #13138]
72933         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
72934         realloc.
72935         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
72936         Free memory block if necessary.
72938         [BZ #12847]
72939         * libio/genops.c (INTDEF): For string streams the _lock pointer can
72940         be NULL.  Don't lock in this case.
72942 2011-09-09  Roland McGrath  <roland@hack.frob.com>
72944         * elf/elf.h (ELFOSABI_GNU): New macro.
72945         (ELFOSABI_LINUX): Define to that.
72947 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
72949         * string/strncat.c (strncat): Undef the symbol in case it has been
72950         defined in bits/string.h.
72952 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72954         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
72956         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
72957         link map.
72959 2011-08-17  Andreas Jaeger  <aj@suse.de>
72961         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
72963 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
72964             Ian Lance Taylor  <iant@google.com>
72966         * math/libm-test.inc (lround_test): New testcase.
72967         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
72969 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
72971         * Makefile: Remove support for automatic cvs check-ins.
72972         * Makerules: Likewise.
72973         * config.make.in: Likewise.
72974         * configure.in: Likewise.
72975         * intl/Makefile: Likewise.
72976         * locale/Makefile: Likewise.
72977         * po/Makefile: Likewise.
72978         * posix/Makefile: Likewise.
72979         * sysdeps/gnu/Makefile: Likewise.
72980         * sysdeps/mach/hurd/Makefile: Likewise.
72981         * sysdeps/sparc/sparc32/Makefile: Likewise.
72983         [BZ #13118]
72984         * posix/Makefile (bug-regex32-ENV): Define.
72985         Patch by John Stanley <jpsinthemix@verizon.net>.
72987         * misc/Makefile (headers): Add bits/select2.h.
72988         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
72989         * misc/bits/select2.h: New file.
72990         * include/bits/select2.h: New file.
72991         * debug/Makefile (routines): Add fdelt_chk.
72992         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
72993         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
72994         FD_ISSET.
72995         * debug/fdelt_chk.c: New file.
72997         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
72998         * wcsmbs/test-wmemcmp.c: Likewise.
72999         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
73000         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
73002 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73004         * string/Makefile (strop-tests): Add memcmp.
73005         * string/test-wmemcmp.c: New file.
73006         * string/test-memcmp.c: Add wmemcmp support.
73008 2011-09-08  Roland McGrath  <roland@hack.frob.com>
73010         [BZ #13153]
73011         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
73012         2011-07-19 change.
73014         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
73015         garbage value in a __mach_port_mod_refs call in the cases of the
73016         task-self and thread-self ports.
73018 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73020         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
73022 2011-09-08  Andreas Schwab  <schwab@redhat.com>
73024         * elf/dl-load.c (lose): Check for non-null L.
73026 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
73028         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
73030         * elf/dl-libc.c (dlerror_run): Pass back error code from
73031         dl_catch_error.
73033         [BZ #13123]
73034         * elf/dl-load.c (lose): Free l_origin if it is valid.
73036         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
73037         names.
73038         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
73039         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73040         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73041         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73042         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
73043         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
73045 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73047         * sysdeps/powerpc/fpu/e_hypot.c: New file.
73048         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
73049         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
73050         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
73051         * sysdeps/powerpc/fpu/k_cosf.c: New file.
73052         * sysdeps/powerpc/fpu/k_sinf.c: New file.
73053         * sysdeps/powerpc/fpu/s_cosf.c: New file.
73054         * sysdeps/powerpc/fpu/s_sinf.c: New file.
73055         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
73056         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
73058 2011-08-15  Alan Modra  <amodra@gmail.com>
73060         [BZ #13092]
73061         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
73062         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
73063         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
73064         ppc_mcount to static-only-routines.
73065         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
73066         __mcount_internal.
73067         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
73068         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
73070 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
73072         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
73073         for finite and infinity parameters.
73075 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73077         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
73078         and add nop instructions for throughput optimization.
73079         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
73081 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
73083         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
73084         aligned copy for power7 with vector-scalar instructions.
73085         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
73087 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
73089         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
73090         AVX check.
73092 2011-09-07  Andreas Schwab  <schwab@redhat.com>
73094         [BZ #13144]
73095         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
73096         last change.
73098 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
73100         * sysdeps/unix/sysv/linux/x86_64/init-first.c
73101         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
73102         syscall wrapper around clock_gettime in __vdso_clock_gettime.
73103         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
73104         clock_gettime.
73106 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
73108         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
73109         Forgot to demangle the pointer.
73111         * sysdeps/i386/sysdep.h: Define atom_text_section.
73112         * sysdeps/x86_64/sysdep.h: Likewise.
73113         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
73114         section with atom_text_section.
73115         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73116         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73117         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
73118         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73119         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
73121         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
73122         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
73123         already be defined.  Change to take two parameters and don't assign
73124         result to variable.  Adjust all users.
73125         Define INTERNAL_GETTIME if not already defined.
73126         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
73127         call.
73128         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
73129         HAVE_CLOCK_GETTIME_VSYSCALL.
73130         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
73132         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
73133         gettimeofday vsyscall, just use time.
73135 2011-09-06  Andreas Schwab  <schwab@redhat.com>
73137         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
73138         <errno.h>.
73140 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
73142         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
73143         syscall on x86-64.
73144         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
73145         syscall.
73146         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
73147         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
73148         syscall if possible.
73150 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73152         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
73153         e_ident.  Don't pass to find_mapsXX.
73154         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
73156 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73158         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73159         strchr-sse2-no-bsf strrchr-sse2-no-bsf
73160         * sysdeps/x86_64/multiarch/strchr.S: Update.
73161         Check bit_slow_BSF bit.
73162         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
73163         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
73164         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
73166 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73168         [BZ #13134]
73169         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
73170         before glibc 2.15.
73171         (tryshell): Define.
73172         (__spawni): Change last parameter to be flag.  Test
73173         SPAWN_XFLAGS_USE_PATH flag to use path or not.
73174         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
73175         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
73176         * posix/spawni.c: Likewise.
73177         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
73178         * posix/spawnp.c: Likewise.  Change normal version to use
73179         SPAWN_XFLAGS_USE_PATH.
73180         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
73181         SPAWN_XFLAGS_TRY_SHELL.
73183         [BZ #13150]
73184         * posix/glob.h: Remove gcc 1.x support.
73186         [BZ #13068]
73187         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
73189 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73191         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73192         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
73193         strrchr-sse2-bsf
73194         * sysdeps/i386/i686/multiarch/strchr.S: New file.
73195         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
73196         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
73197         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
73198         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
73199         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
73201 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73203         * sysdeps/x86_64/wcscmp.S: New file.
73205         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
73206         wcscmp-c wcscmp-sse2
73207         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
73208         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
73209         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
73210         * wcsmbs/wcscmp.c: Allow renaming.
73212 2011-09-05  David S. Miller  <davem@davemloft.net>
73214         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
73215         stack slot, rather than the struct return pointer slot.
73216         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
73217         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
73218         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
73219         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
73221 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73223         * po/ja.po: Update from translation team.
73225         [BZ #13144]
73226         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
73227         kernel in 64-bit binaries.
73229 2011-09-01  David S. Miller  <davem@davemloft.net>
73231         * elf/elf.h (HWCAP_SPARC_*): Move to..
73232         * sysdeps/sparc/sysdep.h: this new file and add new values.
73233         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
73234         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
73235         _DL_HWCAP_COUNT to 24.
73236         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
73237         entries.
73238         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
73239         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
73240         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
73241         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
73242         instead of magic constants.
73243         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73245 2011-08-31  David S. Miller  <davem@davemloft.net>
73247         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
73248         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
73249         Reimplement to do errno handling inline.
73250         (SYSCALL_ERROR_HANDLER): New macro.
73251         (__SYSCALL_STRING): Do not do errno handling in asm.
73252         (__CLONE_SYSCALL_STRING): Delete.
73253         (__INTERNAL_SYSCALL_STRING): Delete.
73254         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
73255         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
73256         (PSEUDO): Reimplement to do errno handling inline.
73257         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
73258         (SYSCALL_ERROR_HANDLER): New macro.
73259         (__SYSCALL_STRING): Do not do errno handling in asm.
73260         (__CLONE_SYSCALL_STRING): Delete.
73261         (__INTERNAL_SYSCALL_STRING): Delete.
73262         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
73263         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
73264         i386.
73265         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
73266         (inline_syscall*): Add 'err' argument.
73267         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
73268         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
73269         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
73270         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
73272         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
73273         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
73275 2011-08-30  Andreas Schwab  <schwab@redhat.com>
73277         * elf/rtld.c (dl_main): Relocate objects in dependency order.
73279 2011-08-29  Jiri Olsa <jolsa@redhat.com>
73281         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
73282         directive.
73284 2011-08-24  David S. Miller  <davem@davemloft.net>
73286         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
73288 2011-08-24  Andreas Schwab  <schwab@redhat.com>
73290         * elf/Makefile: Add rules to build and run unload8 test.
73291         * elf/unload8.c: New file.
73292         * elf/unload8mod1.c: New file.
73293         * elf/unload8mod1x.c: New file.
73294         * elf/unload8mod2.c: New file.
73295         * elf/unload8mod3.c: New file.
73297         * elf/dl-close.c (_dl_close_worker): Reset private search list if
73298         it wasn't used.
73300 2011-08-23  David S. Miller  <davem@davemloft.net>
73302         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
73303         subtract stack bias.
73304         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
73305         %sp not %fp in calculations.
73306         (_JMPBUF_UNWINDS_ADJ): Likewise.
73308         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
73309         (aio_suspend): Call it to force an exception region around the
73310         AIO_MISC_WAIT() invocation.
73312 2011-08-23  Andreas Schwab  <schwab@redhat.com>
73314         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
73315         backslash.
73317 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
73319         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
73320         protection macro.
73321         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
73322         and <dl-machine.h>.
73323         (Elf64_FuncDesc): Remove.
73325 2011-08-22  David S. Miller  <davem@davemloft.net>
73327         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
73328         sigaltstack check, add missing cfi directives.
73329         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
73330         missing cfi directives, and sigaltstack handling.
73332 2011-08-16  Andreas Schwab  <schwab@redhat.com>
73334         [BZ #11724]
73335         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
73336         object is seen twice.
73337         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73339         * elf/Makefile (distribute): Add tst-initorder2.c.
73340         (tests): Add tst-initorder2.
73341         (modules-names): Add tst-initorder2a tst-initorder2b
73342         tst-initorder2c tst-initorder2d.  Add rules to build them.
73343         ($(objpfx)tst-initorder2.out): New rule.
73344         * elf/tst-initorder2.c: New file.
73345         * elf/tst-initorder2.exp: New file.
73347 2011-08-22  Andreas Schwab  <schwab@redhat.com>
73349         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
73351         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
73352         dependencies back to end of function.
73354         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73355         $(elfobjdir)/ld.so.
73357 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
73359         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
73360         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
73361         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
73362         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
73363         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
73364         of __vdso_gettimeofday.
73365         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
73366         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
73367         attribute_hidden.
73368         (_libc_vdso_platform_setup): Remove initialization of
73369         __vdso_gettimeofday and __vdso_time.
73371 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
73373         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
73374         and fgetc_unlocked.
73375         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
73376         getc_unlocked.
73378         * elf/dl-open.c (add_to_global): Report additions to the global scope
73379         for LD_DEBUG=scopes.
73380         (dl_open_worker): Also print scope of newly loaded dependencies.
73381         (_dl_show_scope): Indicate if there is no scope.
73383         [BZ #13114]
73384         * stdio-common/Makefile (tests): Add bug24.
73385         * stdio-common/bug24.c: New file.
73387 2011-08-19  Andreas Jaeger  <aj@suse.de>
73389         [BZ #13114]
73390         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
73391         non-existant file when using close-on-exec mode.
73393 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
73395         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
73396         the very first instruction.
73398         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
73399         the CFI state in the end.
73400         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
73401         inclusion of dl-trampoline.h.
73402         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
73404 2011-08-19  Andreas Schwab  <schwab@redhat.com>
73406         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
73407         expectations for long double.
73409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
73410         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
73412 2011-08-14  David S. Miller  <davem@davemloft.net>
73414         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
73415         artificual limit depends upon the system page size.
73417 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
73419         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
73420         * resolv/Makefile: Define CFLAGS-libresolv.
73422 2011-08-17  Andreas Schwab  <schwab@redhat.com>
73424         * nss/makedb.c (compute_tables): Make variables used in nested
73425         function static.
73427 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
73429         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
73430         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
73431         if buffer was too small.
73433         * elf/pldd.c (main): Attach to all threads in the process.
73434         Rewrite /proc handling to use *at functions.
73436 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
73438         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
73439         specifies first scope to show.
73440         (dl_open_worker): Update callers.  Move printing scope of new
73441         object to before the relocation.
73442         * elf/rtld.c (dl_main): Update _dl_show_scope call.
73443         * sysdeps/generic/ldsodefs.h: Update declaration.
73445         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
73446         string for the scope number.
73448 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
73450         * nscd/servicescache.c (cache_addserv): Make sure written is always
73451         initialized.
73453 2011-08-14  Roland McGrath  <roland@hack.frob.com>
73455         * sysdeps/i386/i486/bits/atomic.h
73456         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
73457         statement expression, so as to suppress "set but not used" warning.
73458         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
73460         * string/strncat.c (STRNCAT): Use prototype definition.
73462         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
73463         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
73464         -Iprograms here.
73465         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
73466         (localedef-modules): Add localedef.
73467         (locale-modules): Add locale.
73469         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
73470         * elf/rtld.c (dl_main): Invert order of assignment in last change,
73471         to avoid a warning.
73473 2011-08-14  David S. Miller  <davem@davemloft.net>
73475         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
73476         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
73478 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
73480         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73481         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
73482         * elf/rtld.c (dl_main): Set l_name of vDSO.
73483         Call _dl_show_scope when DL_DEBUG_SCOPES.
73484         (process_dl_debug): Recognize scopes flag and also set it for all.
73485         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
73486         Declare _dl_show_scope.
73488         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
73489         (do_dlopen): Pass caller_dlopen to dl_open.
73490         (__libc_dlopen_mode): Initialize caller_dlopen.
73492         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
73493         of libc.  Make tolower call locale-independent.  Optimize a bit by
73494         using isdigit instead of isalnum.
73495         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
73497 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
73499         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
73500         was a dependency or dynamically loaded.
73502 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
73504         * intl/l10nflist.c: Allow architecture-specific pop function.
73505         * sysdeps/x86_64/l10nflist.c: New file.
73507         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
73508         classification.
73510 2011-08-10  Andreas Schwab  <schwab@redhat.com>
73512         * include/dirent.h: Add libc_hidden_proto for scandirat and
73513         scandirat64.  Don't declare __scandirat64.
73514         * dirent/scandirat.c: Add libc_hidden_def.
73515         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
73516         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
73518 2011-08-10  David S. Miller  <davem@davemloft.net>
73520         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
73521         enum.
73522         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73523         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73524         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73526 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
73528         * Versions.def [libc]: Add GLIBC_2.15.
73529         * dirent/Makefile (routines): Add scandirat and scandirat64.
73530         * dirent/Versions [libc]: Export scandirat and scandirat64 for
73531         GLIBC_2.15.
73532         * dirent/dirent.h: Declare scandirat and scandirat64.
73533         * dirent/scandirat.c: New file.
73534         * dirent/scandirat64.c: New file.
73535         * sysdeps/wordsize-64/scandirat.c: New file.
73536         * sysdeps/wordsize-64/scandirat64.c: New file.
73537         * dirent/opendir.c: Define opendirat.
73538         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
73539         using scandirat.
73540         * dirent/scandir64.c: Adjust for scandir.c change.
73541         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
73542         __scandirat64, and __scandir_cancel_handler.
73543         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
73544         additional parameter and use openat instead of open (outside of ld.so).
73545         Add new __opendir as wrapper around __opendirat.
73546         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
73547         here without requiring old scandirat implementation.
73549 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
73551         * dirent/scandir.c (cancel_handler): Renamed to
73552         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
73553         defined.  Adjust users.
73554         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
73555         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
73557 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
73559         * string/test-string.h (IMPL): Use __STRING to expand name and then
73560         stringify it.
73562         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
73563         of cleanups.
73565 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73567         * string/Makefile: Update.
73568         (strop-tests): Append strncat.
73569         * string/test-wcscmp.c: New file.
73570         New comprehensive test for wcscmp.
73571         * string/test-strcmp.c: Update.
73572         (WIDE): New define.
73574 2011-07-22  Andreas Schwab  <schwab@redhat.com>
73576         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
73577         line.
73579 2011-07-26  Andreas Schwab  <schwab@redhat.com>
73581         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
73582         encoding to ACE if AI_IDN.
73584 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
73586         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
73587         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
73589 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73591         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
73592         Fix overflow bug in strncat.
73593         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
73595         * string/test-strncat.c: Update.
73596         Add new tests for checking overflow bugs.
73598 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73600         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73601         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
73602         * sysdeps/i386/i686/multiarch/strcat.S: New file.
73603         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
73604         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
73605         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
73606         * sysdeps/i386/i686/multiarch/strncat.S: New file.
73607         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
73608         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
73610         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
73611         (USE_AS_STRCAT): Define.
73612         Add strcat and strncat support.
73613         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73615 2011-07-25  Andreas Schwab  <schwab@redhat.com>
73617         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
73618         __n bigger than INT_MAX+1.
73619         (__strncmp_g): Likewise.
73621 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
73623         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
73624         * libio/stido.h: Likewise.
73626         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
73627         (AF_NFC): Define.
73628         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
73629         (AF_NFC): Define.
73631         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
73632         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73633         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73634         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
73635         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73637         [BZ #13021]
73638         * scripts/test-installation.pl: Don't expect libnss_test1 to be
73639         installed.
73641         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
73642         typo.
73643         (_dl_x86_64_save_sse): Likewise.
73645 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
73647         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
73648         OSXSAVE.
73649         (_dl_x86_64_save_sse): Likewise.
73651         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
73653         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
73655 2011-07-21  Andreas Schwab  <schwab@redhat.com>
73657         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
73658         change.
73659         (_dl_x86_64_save_sse): Use correct AVX check.
73661 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73663         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
73664         bug in strncpy/strncat.
73665         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
73667 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
73669         * string/tester.c (test_strcat): Add tests for different alignments
73670         of source and destination.
73671         (test_strncat): Likewise.
73673 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
73675         [BZ #12852]
73676         * posix/glob.c (glob): Check passed in values before using them in
73677         expressions to avoid some overflows.
73678         (glob_in_dir): Likewise.
73680         [BZ #13007]
73681         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
73682         check for AVX enablement so that we don't crash with old kernels and
73683         new hardware.
73684         * elf/tst-audit4.c: Add same checks here.
73685         * elf/tst-audit6.c: Likewise.
73687         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
73689 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
73691         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
73693 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
73695         * po/cs.po: Update from translation team.
73696         * po/bg.po: Likewise.
73698 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
73700         * misc/sys/cdefs.h: Add support for const attribute.
73701         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
73702         to gnu_dev_{major,minor,makedev} functions.
73704 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
73706         * intl/dcigettext.c (get_output_charset): Add missing bracket.
73708 2011-07-20  Andreas Schwab  <schwab@redhat.com>
73710         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
73711         strlen results.
73713 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73715         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
73716         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
73717         register in order to avoid conflicts with the soft frame pointer
73718         being held in r11 when necessary.
73719         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
73720         (INTERNAL_VSYSCALL_NCS): Likewise.
73722 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
73724         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
73725         * elf/dl-fini.c (_dl_fini): Adjust caller.
73726         * elf/dl-close.c (_dl_close_worker): Likewise.
73727         * sysdeps/generic/ldsodefs.h: Adjust declaration.
73729 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
73731         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
73732         "aux_cache->nlibs < 0".
73734         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
73735         in the reload-count case.
73737 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73739         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73740         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
73741         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
73742         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
73743         * sysdeps/x86_64/multiarch/strcat.S: New file.
73744         * sysdeps/x86_64/multiarch/strncat.S: New file.
73745         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
73746         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
73747         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
73748         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
73749         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
73750         (USE_AS_STRCAT): Define.
73751         Add strcat and strncat support.
73752         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73753         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
73754         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
73755         * string/strncat.c: Update.
73756         (USE_AS_STRNCAT): Define.
73757         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73758         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
73759         and i7.
73760         * sysdeps/x86_64/multiarch/init-arch.h
73761         (bit_Prefer_PMINUB_for_stringop): New.
73762         (index_Prefer_PMINUB_for_stringop): Likewise.
73763         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
73764         bit_Prefer_PMINUB_for_stringop.
73766 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
73768         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
73769         buffer64.
73770         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
73771         of casting of buffer.
73772         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
73773         buffer32 and buffer64.
73774         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
73775         writes instead of casting of buffer.
73776         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
73777         buffer32.
73778         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
73779         casting of buffer.
73781 2011-07-19  Andreas Schwab  <schwab@redhat.com>
73783         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
73785 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
73787         * nscd/nscd.c (termination_handler): Don't do anything for a database
73788         if it has not yet been initialized.
73790 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
73792         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73794 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
73796         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73798 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
73800         * po/nl.po: Update from translation team.
73801         * po/sv.po: Likewise.
73803 2011-07-16  Roland McGrath  <roland@hack.frob.com>
73805         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
73806         now disallowed by GCC.
73808         * configure.in (use-default-link): Default to yes if a test -shared
73809         link meets our qualifications.
73810         * configure: Regenerated.
73812         * config.make.in (output-format): New variable.
73813         * configure.in: Check for ld --print-output-format support.
73814         * configure: Regenerated.
73815         * Makerules ($(common-objpfx)format.lds)
73816         [$(output-format) != unknown]: Just use $(output-format),
73817         instead of the linker-script munging.
73819 2011-07-14  Roland McGrath  <roland@hack.frob.com>
73821         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
73822         of $(common-objpfx)shlib.lds.
73823         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
73825         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
73826         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
73828         * configure.in (-z relro check): Adjust test code to add a large
73829         writable data section after it.
73830         * configure: Regenerated.
73832 2011-07-11  Roland McGrath  <roland@hack.frob.com>
73834         * configure.in (-z relro check): Fix test code to make the variable
73835         truly const.
73836         * configure: Regenerated.
73838 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
73840         * nscd/nscd.h (struct traced_file): Define.
73841         (struct database_dyn): Remove inotify_descr, reset_res, and filename
73842         elements.  Add traced_files.
73843         (inotify_fd): Declare.
73844         (register_traced_file): Declare.
73845         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
73846         (inotify_fd): Export.
73847         (resolv_conf_descr): Remove.
73848         (nscd_init): Move inotify descriptor creation to main.
73849         Don't register files for notification here.
73850         (register_traced_file): New function.
73851         (invalidate_cache): Don't use reset_res to determine whether to call
73852         res_init, go through the list of registered files.
73853         (main_loop_poll): The inotify descriptors are now stored in the
73854         structures for the traced files.
73855         (main_loop_epoll): Likewise.
73856         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
73857         to __nss_disable_nscd.
73858         * nscd/cache.c (prune_cache): There is no single inotify descriptor
73859         for a database anymore.  Check the records for all the registered
73860         files instead.
73861         * nss/Makefile (libnss_files-routines): Add files-init.
73862         (libnss_db-routines): Add db-init.
73863         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
73864         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
73865         * nss/nss_db/db-init.c: New file.
73866         * nss/nss_files/files-init.c: New file.
73867         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
73868         __nss_lookup_function.
73869         (__nss_lookup_function): Call nss_load_library.
73870         (nss_load_all_libraries): New function.
73871         (__nss_disable_nscd): Take parameter with callback function for files
73872         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
73873         used for the cached services.
73874         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
73875         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
73876         options for features to all the files in nscd.
73878         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
73880 2011-07-10  Roland McGrath  <roland@hack.frob.com>
73882         * csu/elf-init.c (__libc_csu_init): Comment typo.
73884 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
73886         * po/pl.po: Update from translation team.
73887         * po/ja.po: Likewise.
73888         * po/ru.po: Likewise.
73889         * po/ko.po: Likewise.
73890         * po/fr.po: Likewise.
73892 2011-07-09  Roland McGrath  <roland@hack.frob.com>
73894         * configure.in (.ctors/.dtors header and trailer check):
73895         Use an empirical test on a built program.
73896         * configure: Regenerated.
73898         * configure.in (-z relro check): Use an empirical test on a built DSO.
73899         Detect, but do not require, on ia64.
73900         * configure: Regenerated.
73902         * configure.in (READELF): Find it with AC_CHECK_TOOL.
73903         Update tests that use readelf to use $READELF instead.
73904         * configure: Regenerated.
73906 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
73908         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
73909         if the result is not used.
73911 2011-07-05  Andreas Jaeger  <aj@suse.de>
73913         [BZ#9696]
73914         * stdlib/tst-strtod.c: Add testcase.
73916 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
73918         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
73919         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
73920         The latter has a higher limit.  Take additional parameter to pass to
73921         the new function.
73922         (__pathconf): Pass file to __statfs_link_max.
73923         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
73924         __statfs_link_max.
73925         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
73926         __statfs_link_max.
73928         [BZ #12868]
73929         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
73930         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
73931         Handle Lustre.
73932         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
73933         (__statfs_filesize_max): Likewise.
73934         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
73936 2011-07-05  Andreas Jaeger  <aj@suse.de>
73938         * resolv/res_comp.c (dn_skipname): Remove unused variable.
73940 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
73942         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
73943         `status' variable.
73944         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
73945         Likewise.
73947 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
73949         * Makefile (strop-tests): Add strncat.
73950         * string/test-strncat.c: New file.
73952 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
73954         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
73956 2011-06-21  Andreas Jaeger  <aj@suse.de>
73958         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
73959         Copy rule from iconvdata/Makefile.
73961 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
73963         [BZ #12922]
73964         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
73965         but no long options are defined, just return 'W'.
73967 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
73969         [BZ #9696]
73970         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
73972 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
73974         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
73975         netgroups to read.
73976         (innetgr): Likewise.
73978 2011-07-05  Roland McGrath  <roland@hack.frob.com>
73980         * config.make.in (install_root): Default to $(DESTDIR).
73982 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
73984         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
73986 2011-07-02  Roland McGrath  <roland@hack.frob.com>
73988         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
73990         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
73991         containing directory rather than embedding absolute directory names.
73993         * scripts/check-local-headers.sh: Rewritten using awk.
73994         Match by word, not by line.  Print error messages for matches.
73995         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
73997         * Makerules [shlib-lds-flags empty]:
73998         ($(common-objpfx)libc_pic.opts): New target.
73999         ($(common-objpfx)libc_pic.os.clean): New target.
74000         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
74002         * config.make.in (OBJCOPY): New variable.
74003         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
74004         * configure: Regenerated.
74006         * config.make.in (use-default-link): New variable.
74007         * configure.in (use_default_link): Grok --with-default-link to set it.
74008         * configure: Regenerated.
74009         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
74010         (shlib-lds, shlib-lds-flags): Define to empty.
74012         * Makerules (shlib-lds): New variable.
74013         (shlib-lds-flags): New variable.
74014         (build-shlib, build-moduile, build-module-asneeded): Use it.
74015         ($(common-objpfx)libc.so): Use $(shlib-lds).
74016         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
74017         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
74019         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
74020         DT_FLAGS/DT_FLAGS_1 with zero flags.
74022         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
74023         linker script munging.
74025 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
74027         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
74028         as 128-bit value.
74029         * crypt/sha512.c (sha512_process_block): Perform total addition using
74030         128-bit if possible.
74031         (__sha512_finish_ctx): Likewise.
74032         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
74033         as 64-bit value.
74034         * crypt/sha256.c (SWAP64): Define.
74035         (sha256_process_block): Perform total addition using 64-bit if
74036         possible.
74037         (__sha256_finish_ctx): Likewise.
74039 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
74041         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
74042         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74043         * nscd/hstcache.c (cache_addhst): Likewise.
74044         * nscd/grpcache.c (cache_addgr): Likewise.
74045         * nscd/aicache.c (addhstaiX): Likewise.
74046         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
74048 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
74050         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
74051         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74052         * nscd/hstcache.c (cache_addhst): Likewise.
74053         * nscd/grpcache.c (cache_addgr): Likewise.
74054         * nscd/aicache.c (addhstaiX): Likewise.
74056 2011-07-01  Andreas Schwab  <schwab@redhat.com>
74058         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
74059         domain only when needed.
74061 2011-06-30  Andreas Schwab  <schwab@redhat.com>
74063         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
74064         is always restored.
74066 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
74068         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
74069         are re-adding the entry.
74070         * nscd/servicescache.c (cache_addserv): Likewise.
74072 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
74074         * sysdeps/generic/dl-irel.h: fix protection against multiple
74075         inclusions.
74076         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
74078 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
74080         [BZ #12935]
74081         * malloc/memusage.sh: Fix quoting in message.
74082         * debug/xtrace.sh: Likewise.
74084         * configure.in: Remove support for --experimental-malloc option, make
74085         it the default.
74086         * config.make.in: Likewise.
74087         * malloc/Makefile: Likewise.
74089 2011-06-27  Andreas Schwab  <schwab@redhat.com>
74091         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
74092         two-byte characters.
74094 2011-06-27  Roland McGrath  <roland@hack.frob.com>
74096         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
74097         AC_CACHE_CHECK invocation.
74098         * configure: Regenerated.
74100         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
74102 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
74104         [BZ #12350]
74105         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
74106         bit from old_res_options.
74108         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
74110         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
74111         value type for setfct.
74113 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
74115         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74116         __gettimeofday instead of gettimeofday.
74118 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
74120         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
74122 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
74124         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
74126         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
74127         info.
74129 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
74131         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74132         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74133         strcpy-sse2-unaligned strncpy-sse2-unaligned
74134         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
74135         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
74136         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
74137         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
74138         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
74139         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
74140         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
74141         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
74142         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
74143         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
74144         (STRCPY): Support SSE2 and SSSE3 versions.
74146 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
74148         [BZ #12874]
74149         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
74150         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
74151         kernels which artificially limit size of requests.
74153 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
74155         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74156         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74157         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
74158         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
74159         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
74160         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
74161         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
74162         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
74163         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
74164         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
74165         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
74166         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
74167         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
74168         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
74169         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
74170         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74171         Enable unaligned load optimization for Intel Core i3, i5 and i7
74172         processors.
74173         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
74174         Define.
74175         (index_Fast_Unaligned_Load): Define.
74176         (HAS_FAST_UNALIGNED_LOAD): Define.
74178 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
74180         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
74182 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74184         [BZ #12907]
74185         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
74186         until it is clear that the information is realy needed.
74187         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
74189 2011-06-22  Andreas Schwab  <schwab@redhat.com>
74191         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
74193 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74195         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74196         /sys/devices/system/cpu/online if it is usable.
74198         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
74199         reading the information from the /proc filesystem to once a second.
74201 2011-06-21  Andreas Jaeger  <aj@suse.de>
74203         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
74204         NULL after inclusion of kernel headers.
74206 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
74208         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
74209         calls to internal_setent.
74211         [BZ #12885]
74212         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
74213         addresses using gethostbyname4_r ignore IPv4 addresses.
74215         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
74216         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
74218         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
74220 2011-06-20  David S. Miller  <davem@davemloft.net>
74222         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
74223         inclusions.
74224         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
74226         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
74227         (elf_irel): Use it.
74228         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
74229         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
74230         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
74231         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
74232         * sysdeps/x86_64/dl-irel.h: Likewise.
74234         * elf/dl-runtime.c: Use elf_ifunc_invoke.
74235         * elf/dl-sym.c: Likewise.
74237 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74239         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
74240         need to dereference resplen2.
74242 2011-06-14  Andreas Schwab  <schwab@redhat.com>
74244         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
74246 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74248         * Makeconfig: Define vardbdir and inst_vardbdir.
74249         * nss/Makefile: Add rules to install db-Makefile.
74251         * nss/nss_db/db-XXX.c: Cleanup.
74253         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
74254         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
74255         GLIBC_PRIVATE.
74256         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
74257         * nss/makedb.c: Implement -g option to specify that value strings
74258         are generated and should not be added to table iterated over for
74259         get*ent calls.
74260         * nss/nss_db/db-initgroups.c: New file.
74262         * nss/getent.c: Add support for initgroups lookups through getgrouplist
74263         interface.
74265         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
74266         (internal_getgrouplist): Adjust to name change.
74267         Update use_initgroups_entry if this is not the first call.
74268         * nss/databases.def: Add initgroups entry.
74270         * nss/makedb.c (compute_tables): Check result of multiple hash table
74271         sizes to minimize maximum chain length.
74273 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
74275         * Versions.def: Add entry for libnss_db.
74276         * shlib-versions: Likewise.
74277         * nss/Makefile: Add rules to build libnss_db.
74278         * nss/Versions: Add libnss_db information.  Organize libnss_files
74279         entries better.
74280         * nss/db-Makefile: Add gshadow support.  Change rules for the new
74281         makedb progra.  Some minor improvements to generate smaller files.
74282         * nss/nss_db/nss_db.h: Move NSS database header data structures to
74283         here from...
74284         * nss/makedb.c: ...here.
74285         Improve database format to be smaller and require less memory at
74286         runtime.
74287         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
74288         db anymore.
74289         * nss/nss_db/db-netgrp.c: Likewise.
74290         * nss/nss_db/db-open.c: Likewise.
74291         * nss/nss_files/flies-XXX.x: Adjust comments.
74292         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
74293         * nss/nss_files/files-grp.c: Likewise.
74294         * nss/nss_files/files-hosts.c: Likewise.
74295         * nss/nss_files/files-network.c: Likewise.
74296         * nss/nss_files/files-proto.c: Likewise.
74297         * nss/nss_files/files-pwd.c: Likewise.
74298         * nss/nss_files/files-rpc.c: Likewise.
74299         * nss/nss_files/files-service.c: Likewise.
74300         * nss/nss_files/files-sgrp.c: Likewise.
74301         * nss/nss_files/files-spwd.c: Likewise.
74302         * nss/nss_db/db-alias.c: Removed.
74303         * nss/nss_db/dummy-db.h: Removed.
74305 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
74307         * nss/makedb.c: Rewritten to not use database library.
74308         * nss/Makefile: Update to build new makedb program.
74310 2011-06-14  Andreas Jaeger  <aj@suse.de>
74312         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
74313         memset declaration.
74315 2011-06-10  Andreas Schwab  <schwab@redhat.com>
74317         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
74318         tmpbuf.
74320 2011-06-10  Roland McGrath  <roland@hack.frob.com>
74322         * Makerules (shlib.lds): Fail if the linker script comes out empty.
74323         * elf/Makefile ($(objpfx)ld.so): Likewise.
74325         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
74326         Don't list ld.so twice in dependencies.
74328         * posix/bug-regex31.c: Include <stdlib.h>.
74330         * nscd/hstcache.c (cache_addhst): Remove unused variable.
74332         * nis/nss_compat/compat-spwd.c
74333         (getspent_next_nss_netgr): Remove unused variable.
74334         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
74336         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
74337         nonmembers" output to use the right array.
74339         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
74341         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
74343         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
74344         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
74345         * catgets/gencat.c (read_input_file): Likewise.
74346         * locale/programs/locarchive.c (enlarge_archive): Likewise.
74348         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
74349         variable definition inside #if's controlling its use.
74351         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
74353         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
74355         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
74357         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
74358         unreachable code.
74360         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
74362         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
74363         * configure: Regenerated.
74365         * Makerules: Revert last change.
74366         * elf/Makefile: Likewise.
74368 2011-06-09  Roland McGrath  <roland@hack.frob.com>
74370         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
74371         * elf/Makefile ($(objpfx)librtld.os): Likewise.
74372         (reloc-link): Likewise.
74374 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
74376         * elf/Makefile: Add rules to build pldd.
74377         * elf/pldd.c: New file.
74378         * elf/pldd-xx.c: New file.
74380 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
74382         * version.h: Update for 2.15 development version.
74384 2011-06-07  David S. Miller  <davem@davemloft.net>
74386         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
74387         ifuncs.
74388         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
74389         elf_machine_lazy_rel): Likewise.
74390         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
74391         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
74392         elf_machine_lazy_rel): Likewise.
74393         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
74394         dl_hwcap via passed in argument.
74395         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
74396         Likewise.
74398 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74400         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
74402 2011-06-06  Roland McGrath  <roland@hack.frob.com>
74404         [BZ #12849]
74405         * manual/fdl-1.1.texi: New file, verbatim from:
74406         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
74407         * manual/lgpl-2.1.texi: New file, verbatim from:
74408         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
74409         * manual/Makefile (licenses): New variable, list those new file names.
74410         (texis): Use it.
74411         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
74413         * manual/fdl.texi: File removed.
74414         * manual/lesser.texi: File removed.
74415         * manual/libc.texinfo (Copying, Documentation License):
74416         Use new @include file names, put @appendix directive before @include.
74418 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
74420         [BZ #12841]
74421         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
74422         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
74423         (mq_open): Add __NTH.
74425 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
74427         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74428         Assume Intel Core i3/i5/i7 processor if AVX is available.
74430 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
74432         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
74433         typo.
74435 2011-05-31  Andreas Schwab  <schwab@redhat.com>
74437         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
74438         memory.  Use alloca_account.  Fix memory leak when retrying.
74440 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
74442         * version.h (RELEASE): Bump for 2.14 release.
74443         * include/features.h (__GLIBC_MINOR__): Bump to 14.
74445         * config.make.in (RANLIB): Remove entry.
74447 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
74449         * po/Makefile (po-sed-cmd): Add ksh to extensions.
74450         (libc.pot): Work around missing support for .ksh extension in xgettext.
74452         [BZ #12684]
74453         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
74454         if both request failed.
74455         (send_dg): In case of server errors clear resplen or *resplen2.
74457         [BZ #12454]
74458         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
74459         when there are multiple maps.
74460         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
74461         (_dl_fini): Remove test here.
74463         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
74465 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
74467         [BZ #12350]
74468         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
74469         bit from old_res_options.
74470         (gaih_inet): Likewise.
74472         [BZ #11099]
74473         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
74474         as signed.
74476         * resolv/res_init.c (res_setoptions): Make the code more compact.
74478         [BZ #11558]
74479         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
74480         set RES_USEVC.
74482         [BZ #11634]
74483         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
74485         * malloc/malloc.h: Mark malloc hook variables as deprecated.
74487         [BZ #11781]
74488         * malloc/malloc.h: Declare malloc hook variables as volatile.
74490         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
74491         in last patch.
74493         [BZ #11799]
74494         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
74495         raise in the comment.
74496         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
74497         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74498         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
74500 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
74502         [BZ #12811]
74503         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
74504         grow the buffers more if it already has to be sufficient.
74505         (build_wcs_upper_buffer): Likewise.
74506         * posix/regexec.c (check_matching): Likewise.
74507         (clean_state_log_if_needed): Likewise.
74508         (extend_buffers): Don't enlarge buffers beyond size of the input
74509         buffer.
74510         Patches mostly by Emil Wojak <emil@wojak.eu>.
74511         * posix/bug-regex32.c: New file.
74512         * posix/Makefile (tests): Add bug-regex32.
74514         * locale/findlocale.c (_nl_find_locale): Return right away if
74515         _nl_explode_name failed.
74516         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
74518         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
74520         * debug/xtrace.sh: Unify messages.
74521         * malloc/memusage.sh: Likewise.
74523         [BZ #12813]
74524         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
74525         time symbol from vDSO.  Substitute with vsyscall if not available.
74526         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
74527         __vdso_time.
74529         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
74530         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
74531         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
74532         Add sendmmsg and internal_sendmmsg.
74533         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
74534         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
74535         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
74537         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
74538         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
74539         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
74541 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
74543         [BZ #12813]
74544         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
74545         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
74546         available.
74547         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
74548         __vdso_getcpu.
74550         [BZ #12814]
74551         * iconvdata/Makefile (tests): Add bug-iconv9.
74552         * iconvdata/bug-iconv9.c: New file.
74554 2011-05-27  Andreas Schwab  <schwab@redhat.com>
74556         [BZ #12814]
74557         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
74559 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
74561         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74562         (struct user_regs_struct): Change intcs field back to cs.
74564 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
74566         * po/ja.po: Update from translation team.
74568 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
74570         [BZ #12795]
74571         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
74572         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
74574 2011-05-20  Andreas Schwab  <schwab@redhat.com>
74576         * stdlib/longlong.h: Update from GCC.
74578 2011-05-23  Andreas Schwab  <schwab@redhat.com>
74580         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
74581         parameter name.
74582         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
74583         Add parameter name.
74584         (__sysconf): Pass it down.
74586 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
74588         [BZ #12671]
74589         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
74590         some situations.
74591         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
74592         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
74593         add in in __libc_use_alloca calls.  Adjust callers.
74594         (glob): Use malloc in some situations.
74596         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
74597         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
74598         pltexit.
74600 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
74602         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
74603         and CLOCK_BOOTTIME_ALARM.
74605         [BZ #12782]
74606         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
74607         is returned.
74609         * string/_strerror.c (__strerror_r): Print negative errors as signed
74610         numbers.
74612         [BZ #12777]
74613         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
74614         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
74615         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
74617         * configure.in: Fix typo in redirection and correct removal of test
74618         files in two cases.
74620         [BZ #12788]
74621         * locale/setlocale.c (new_composite_name): Fix test to check for
74622         identical name of all categories.
74624         [BZ #12792]
74625         * libio/filedoalloc.c (local_isatty): New function.
74626         (_IO_file_doallocate): Use local_isatty.
74627         * stdio-common/perror.c (perror): In case a new stream is used
74628         forward the stream error.
74629         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
74630         error flag.
74632 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
74634         [BZ #11884]
74635         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
74636         alloca.
74637         * include/alloca.h (extend_alloca_account): Define.
74639         [BZ #11857]
74640         * posix/regex.h: Fix comments with documentation of user-accessible
74641         fields after compilation and describe correct free'ing of pattern
74642         after re_compile_pattern.
74643         Patch by Reuben Thomas <rrt@sc3d.org>.
74645 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
74647         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
74648         and -mno-altivec to prevent the compiler from using Altivec and/or
74649         VSX instructions when the corresponding registers are not available.
74651 2011-05-19  Andreas Schwab  <schwab@redhat.com>
74653         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
74655 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
74657         * libio/freopen.c (freopen): Use __dup2, not dup2.
74658         * libio/freopen64.c (freopen64): Likewise.
74660 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74662         [BZ #12775]
74663         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
74664         * math/Makefile (tests): Add test-powl.
74665         (CFLAGS-test-powl.c): Define.
74666         * math/test-powl.c: New file.
74668 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74670         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
74672 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
74674         [BZ #11837]
74675         * iconvdata/gb18030.c: Update to GB18020-2005.
74677 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
74679         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
74680         RE_SYNTAX_POSIX_AWK): Update to match recent development.
74681         Patch by Aharon Robbins <arnold@skeeve.com>.
74683         [BZ #11892]
74684         * stdlib/putenv.c (putenv): Don't always create copy of the variable
74685         on the stack.
74687         [BZ #11895]
74688         * misc/pselect.c (__pselect): Handle timeout value errors hidden
74689         through underflows.
74691         [BZ #12766]
74692         * misc/error.c (error_at_line): Ensure file_name and old_file_name
74693         point to strings before performing equality test for error_one_per_line
74694         mode.
74696         [BZ #11697]
74697         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
74699         [BZ #11820]
74700         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74701         (struct user_fpregs_struct): Avoid __uint*_t types.
74703         [BZ #6420]
74704         * malloc/mtrace.c (tr_where): Add additional parameter to point to
74705         symbol info.  Use it instead of calling _dl_addr locally.
74706         (lock_and_info): New function.
74707         (tr_freehook): Call lock_and_info and pass symbol info as additional
74708         parameter to tr_where.
74709         (tr_mallochook): Likewise.
74710         (tr_reallochook): Likewise.
74711         (tr_memalignhook): Likewise.
74713         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
74714         used and couldn't be at all thread-safe.
74716 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
74718         * libio/freopen.c (freopen): Don't close old file descriptor
74719         before the new one is opened.  Instead dup the new file descriptor
74720         to the old one after the new stream is created.
74721         * libio/freopen64.c (freopen64): Likewise.
74722         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
74723         * libio/fileops.c (_IO_new_file_close_it): Handle new
74724         _IO_FLAGS2_NOCLOSE flag.
74725         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
74726         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
74727         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
74728         _IO_FLAGS2_NOCLOSE flag.
74729         * include/unistd.h: Add hidden_proto for dup3.
74730         Define __have_dup3.
74731         * io/dup3.c: Define hidden symbol.
74732         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
74734         [BZ #7101]
74735         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
74736         when an incomplete long option is used.
74737         * posix/tst-getopt_long1.c: New file.
74738         * posix/Makefile (tests): Add tst-getopt_long1.
74740         [BZ #10138]
74741         * scripts/config.guess: Update from autoconf-2.68.
74742         * scripts/config.sub: Likewise.
74744         [BZ #10157]
74745         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
74746         tests into ...
74747         (has_cpuclock): ...this.  New function.
74748         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
74749         macro here based on has_cpuclock code.
74751         [BZ #10149]
74752         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74753         First byte (not low byte) is now always NUL.
74754         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
74756         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74757         Use non-cancelable interfaces.
74759         [BZ #9809]
74760         * locale/iso-639.def: Add entry for Sorani.
74762         [BZ #11901]
74763         * include/stdlib.h: Move include protection to the right place.
74764         Define abort_msg_s.  Declare __abort_msg with it.
74765         * stdlib/abort.c (__abort_msg): Adjust type.
74766         * assert/assert.c (__assert_fail_base): New function.  Majority
74767         of code from __assert_fail.  Allocate memory for __abort_msg with
74768         mmap.
74769         (__assert_fail): Now call __assert_fail_base.
74770         * assert/assert-perr.c: Remove bulk of implementation.  Use
74771         __assert_fail_base.
74772         * include/assert.hL Declare __assert_fail_base.
74773         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
74774         mmap.
74775         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
74777 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
74779         [BZ #11952]
74780         [BZ #12453]
74781         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
74782         until all modules are registered in the DTV.
74783         * elf/Makefile: Add rules to build and run tst-tls19.
74784         * elf/tst-tls19.c: New file.
74785         * elf/tst-tls19mod1.c: New file.
74786         * elf/tst-tls19mod2.c: New file.
74787         * elf/tst-tls19mod3.c: New file.
74788         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
74790         [BZ #12083]
74791         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
74792         correctly.
74794         [BZ #12601]
74795         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
74796         two-byte sequence errors.
74797         * iconvdata/Makefile (tests): Add bug-iconv8.
74798         * iconvdata/bug-iconv8.c: New file.
74800         [BZ #12626]
74801         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
74802         buf2 definition.
74804         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
74806         [BZ #12432]
74807         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
74808         (dummy_getcfa): New function.
74809         (init): Get _Unwind_GetCFA address, use dummy if not found.
74810         (backtrace_helper): In recursion check, also check whether CFA changes.
74811         (__backtrace): Completely initialize arg.
74813         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
74814         storing incomplete byte sequence in state object.  Avoid testing for
74815         guaranteed too small input if we know there is enough data available.
74817 2011-05-11  Andreas Schwab  <schwab@redhat.com>
74819         * Makeconfig (+link-pie): Indent.
74820         * Rules (binaries-pie): Define if $(have-fpie) and
74821         $(build-shared).
74822         (binaries-shared): Also filter out $(binaries-pie).
74823         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
74824         * nscd/Makefile (others-pie): Add nscd.
74825         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
74826         ($(objpfx)nscd): Remove command override.
74827         * login/Makefile (others-pie): Add pt_chown.
74828         ($(objpfx)pt_chown): Remove command override.
74829         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
74830         remove command overrides.
74832 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
74834         * libio/tst_putwc.c: Fix error messages.
74836         [BZ #12724]
74837         * libio/fileops.c (_IO_new_file_close_it): Always flush when
74838         currently writing and seek to current position when not.
74839         * libio/Makefile (tests): Add bug-fclose1.
74840         * libio/bug-fclose1.c: New file.
74842 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
74844         [BZ #12511]
74845         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
74846         don't set DF_1_NODELETE here.
74847         (do_lookup_x): When entering new entry test for copy relocation
74848         and if necessary set DF_1_NODELETE flag.
74849         * elf/tst-unique4.cc: New file.
74850         * elf/tst-unique4.h: New file.
74851         * elf/tst-unique4lib.cc: New file.
74852         * elf/Makefile: Add rules to build and run tst-unique4.
74853         Patch by Piotr Bury <pbury@goahead.com>.
74855 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
74857         [BZ #12052]
74858         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
74860         [BZ #12625]
74861         * misc/mntent_r.c (addmntent): Flush the stream after the output
74863         [BZ #12393]
74864         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
74865         (is_trusted_path_normalize): Skip initial colon.  Append slash
74866         to empty buffer.  Duplicate is_trusted_path code but allow
74867         constructed patch to be prefix.
74868         (is_dst): Allow $ORIGIN followed by /.
74869         (_dl_dst_substitute): Correct clearing of check_for_trusted.
74870         Correct testing of result of is_trusted_path_normalize
74871         (decompose_rpath): Fix warning.
74873 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
74875         [BZ #11257]
74876         * grp/initgroups.c (internal_getgrouplist): When we found the service
74877         list through the initgroups entry in nsswitch.conf do not always
74878         continue on a successful lookup.  Don't always use the
74879         __nss_group_database value if it is set.
74880         * nss/nsswitch.conf (initgroups): Change action for successful db
74881         lookup to continue for compatibility.
74883 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
74885         [BZ #11532]
74886         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
74887         and CP774 modules.
74888         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
74889         and CP774 modules.
74890         * iconvdata/tst-tables.sh: Likewise.
74891         * iconvdata/cp770.c: New file.
74892         * iconvdata/cp771.c: New file.
74893         * iconvdata/cp772.c: New file.
74894         * iconvdata/cp773.c: New file.
74895         * iconvdata/cp774.c: New file.
74896         * iconvdata/testdata/CP770: New file.
74897         * iconvdata/testdata/CP770..UTF8: New file.
74898         * iconvdata/testdata/CP771: New file.
74899         * iconvdata/testdata/CP771..UTF8: New file.
74900         * iconvdata/testdata/CP772: New file.
74901         * iconvdata/testdata/CP772..UTF8: New file.
74902         * iconvdata/testdata/CP773: New file.
74903         * iconvdata/testdata/CP773..UTF8: New file.
74904         * iconvdata/testdata/CP774: New file.
74905         * iconvdata/testdata/CP774..UTF8: New file.
74907         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
74908         END CHARMAP line.
74909         * iconvdata/gen-8bit-gap.sh: Likewise.
74910         * iconvdata/gen-8bit.sh: Likewise.
74912         * locale/iso-639.def: Add ary entry.
74914         [BZ #11258]
74915         * locale/C-translit.h.in: Add U20A1 transliteration.
74917         [BZ #12178]
74918         * locale/iso-639.def: Add wae entry.
74919         Patch by Kevin Bortis <bortis@translate-wae.ch>.
74921         [BZ #12545]
74922         * locale/programs/localedef.c (construct_output_path): Use ssize_t
74923         for n.
74925         [BZ #12711]
74926         * locale/C-translit.h.in: Add entry for U20B9.
74927         Patch by pravin.d.s@gmail.com.
74929 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
74931         [BZ #12713]
74932         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
74933         ENAMETOOLONG use generic getcwd.
74934         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
74935         in rtld.  Use *stat64.
74936         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
74937         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
74938         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
74939         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
74940         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
74941         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
74942         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
74943         __fstatat64 macros.
74944         * include/dirent.h: Add libc_hidden_proto for rewinddir.
74945         * dirent/rewinddir.c: Add libc_hidden_def.
74946         * sysdeps/mach/hurd/rewinddir.c: Likewise.
74947         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
74949         * include/dirent.h (__alloc_dir): Add flags parameter.
74950         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
74951         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
74952         __alloc_dir.
74953         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
74954         from fdopendir if O_CLOEXEC is already set.
74956 2011-03-15  Alan Modra  <amodra@gmail.com>
74958         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
74959         l_tls_firstbyte_offset non-zero.  Save padding offset in
74960         l_tls_firstbyte_offset for later use.
74961         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
74962         freeing static tls block.
74964 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
74966         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
74967         where #ifdef was intended.  The intent is to prevent ARG_MAX from
74968         being defined by the kernel headers.
74970 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
74972         [BZ #12734]
74973         * resolv/resolv.h: Define RES_NOTLDQUERY.
74974         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
74975         no-tld-query and set RES_NOTLDQUERY.
74976         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
74977         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
74978         modern BIND to search name as TLD unless forbidden.
74980 2011-05-07  Petr Baudis  <pasky@suse.cz>
74981             Ulrich Drepper  <drepper@gmail.com>
74983         [BZ #12393]
74984         * elf/dl-load.c (fillin_rpath): Move trusted path check...
74985         (is_trusted_path): ...to here.
74986         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
74987         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
74988         using is_trusted_path_normalize() in setuid scripts.
74990 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
74992         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
74993         __BEGIN/__END_DECLS.
74995 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
74997         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
74998         NSS_STATUS_NOTFOUND if no record was found.
75000 2011-05-05  Andreas Schwab  <schwab@redhat.com>
75002         * sunrpc/Makefile (headers): Add rpc/netdb.h.
75003         (headers-not-in-tirpc): Remove rpc/netdb.h
75004         * resolv/netdb.h: Revert last change.
75006 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
75008         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
75009         circular dependency between libgcc.a and libc.a.
75011 2011-05-05  Andreas Schwab  <schwab@redhat.com>
75013         * resolv/netdb.h: Don't include <rpc/netdb.h>.
75014         * nis/Makefile: Don't install rpcsvc/*.
75015         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
75016         instead of <rpc/types.h>.
75017         (MAXHOSTNAMELEN): Define.
75019 2011-05-03  Andreas Schwab  <schwab@redhat.com>
75021         * elf/ldconfig.c (add_dir): Don't crash on empty path.
75023 2011-04-28  Maciej Babinski  <mbabinski@google.com>
75025         [BZ #12714]
75026         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
75027         gethostbyname4_r when IPv6 results are possible.
75029 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
75031         [BZ #12723]
75032         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
75033         _PC_PIPE_BUF handling.
75035 2011-04-30  Bruno Haible  <bruno@clisp.org>
75037         [BZ #12717]
75038         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
75039         * resolv/netdb.h (getnameinfo): Change type of flags parameter
75040         to 'int'.
75041         * inet/getnameinfo.c (getnameinfo): Likewise.
75043 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
75045         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
75046         to groups setting in database lookup.
75047         * nss/nsswitch.conf: Add initgroups entry.
75049 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
75051         [BZ #12685]
75052         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
75053         mode string.
75054         Patch by Eric Blake <eblake@redhat.com>.
75056 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
75058         * sunrpc/Makefile (need-export-routines): Add svc_run.
75059         (routines): Remove svc_run.
75060         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
75061         * sunrpc/clnt_perr.c (clnt_perrno): Export.
75062         * sunrpc/svc_run.c (svc_run): Likewise.
75063         * sunrpc/svc_udp.c (svcudp_create): Likewise.
75065 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
75067         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
75068         problem in reallocation in last patch.
75070 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
75072         * sunrpc/Makefile: Move inclusion of Rules.
75074 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75076         * nss/nss_files/files-initgroups.c: New file.
75077         * nss/Makefile (libnss_files-routines): Add files-initgroups.
75078         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
75079         _nss_files_initgroups_dyn.
75081 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
75083         * elf/elf.h (R_ARM_IRELATIVE): Define.
75085 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75087         * po/ru.po: Update from translation team.
75089 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
75091         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
75092         dependencies.
75094 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
75096         [BZ #12653]
75097         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
75098         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
75099         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75100         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
75101         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
75103 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
75105         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
75106         differing bytes.
75107         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
75108         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
75109         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75111 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
75113         [BZ #12420]
75114         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
75115         storing it.
75116         * stdlib/bug-getcontext.c: New file.
75117         * stdlib/Makefile: Add rules to build and run bug-getcontext.
75119 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75121         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
75122         instructions into .machine "z9-109".
75123         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
75124         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
75126 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75128         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
75129         between environment variables and auxiliary vector.
75131 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
75133         * Makefile: Add rules to build linkobj/libc.so.
75134         * include/libc-symbols.h: Define libc_hidden_nolink.
75135         * include/rpc/auth.h: Mark functions which are to be hidden.
75136         * include/rpc/auth_des.h: Likewise.
75137         * include/rpc/auth_unix.h: Likewise.
75138         * include/rpc/clnt.h: Likewise.
75139         * include/rpc/des_crypt.h: Likewise.
75140         * include/rpc/key_prot.h: Likewise.
75141         * include/rpc/pmap_clnt.h: Likewise.
75142         * include/rpc/pmap_prot.h: Likewise.
75143         * include/rpc/pmap_rmt.h: Likewise.
75144         * include/rpc/rpc_msg.h: Likewise.
75145         * include/rpc/svc.h: Likewise.
75146         * include/rpc/svc_auth.h: Likewise.
75147         * include/rpc/xdr.h: Likewise.
75148         * nis/Makefile: Link all DSOs against linkobj/libc.so.
75149         * nss/Makefile: Likewise.
75150         * sunrpc/Makefile: Don't install headers.  Build library with normal
75151         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
75152         * sunrpc/auth_des.c: Hide exported symbols by default, export some
75153         for the compat linking library.  Remove use of INTDEF/INTUSE.
75154         * sunrpc/auth_none.c: Likewise.
75155         * sunrpc/auth_unix.c: Likewise.
75156         * sunrpc/authdes_prot.c: Likewise.
75157         * sunrpc/authuxprot.c: Likewise.
75158         * sunrpc/clnt_gen.c: Likewise.
75159         * sunrpc/clnt_perr.c: Likewise.
75160         * sunrpc/clnt_raw.c: Likewise.
75161         * sunrpc/clnt_simp.c: Likewise.
75162         * sunrpc/clnt_tcp.c: Likewise.
75163         * sunrpc/clnt_udp.c: Likewise.
75164         * sunrpc/clnt_unix.c: Likewise.
75165         * sunrpc/des_crypt.c: Likewise.
75166         * sunrpc/des_soft.c: Likewise.
75167         * sunrpc/get_myaddr.c: Likewise.
75168         * sunrpc/key_call.c: Likewise.
75169         * sunrpc/key_prot.c: Likewise.
75170         * sunrpc/netname.c: Likewise.
75171         * sunrpc/pm_getmaps.c: Likewise.
75172         * sunrpc/pm_getport.c: Likewise.
75173         * sunrpc/pmap_clnt.c: Likewise.
75174         * sunrpc/pmap_prot.c: Likewise.
75175         * sunrpc/pmap_prot2.c: Likewise.
75176         * sunrpc/pmap_rmt.c: Likewise.
75177         * sunrpc/publickey.c: Likewise.
75178         * sunrpc/rpc_cmsg.c: Likewise.
75179         * sunrpc/rpc_common.c: Likewise.
75180         * sunrpc/rpc_dtable.c: Likewise.
75181         * sunrpc/rpc_prot.c: Likewise.
75182         * sunrpc/rpc_thread.c: Likewise.
75183         * sunrpc/rtime.c: Likewise.
75184         * sunrpc/svc.c: Likewise.
75185         * sunrpc/svc_auth.c: Likewise.
75186         * sunrpc/svc_authux.c: Likewise.
75187         * sunrpc/svc_raw.c: Likewise.
75188         * sunrpc/svc_run.c: Likewise.
75189         * sunrpc/svc_simple.c: Likewise.
75190         * sunrpc/svc_tcp.c: Likewise.
75191         * sunrpc/svc_udp.c: Likewise.
75192         * sunrpc/svc_unix.c: Likewise.
75193         * sunrpc/svcauth_des.c: Likewise.
75194         * sunrpc/xcrypt.c: Likewise.
75195         * sunrpc/xdr.c: Likewise.
75196         * sunrpc/xdr_array.c: Likewise.
75197         * sunrpc/xdr_float.c: Likewise.
75198         * sunrpc/xdr_intXX_t.c: Likewise.
75199         * sunrpc/xdr_mem.c: Likewise.
75200         * sunrpc/xdr_rec.c: Likewise.
75201         * sunrpc/xdr_ref.c: Likewise.
75202         * sunrpc/xdr_sizeof.c: Likewise.
75203         * sunrpc/xdr_stdio.c: Likewise.
75205 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
75207         [BZ #12650]
75208         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
75209         * sysdeps/ia64/dl-tls.h: Likewise.
75210         * sysdeps/powerpc/dl-tls.h: Likewise.
75211         * sysdeps/s390/dl-tls.h: Likewise.
75212         * sysdeps/sh/dl-tls.h: Likewise.
75213         * sysdeps/sparc/dl-tls.h: Likewise.
75214         * sysdeps/x86_64/dl-tls.h: Likewise.
75215         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
75217 2011-03-14  Andreas Schwab  <schwab@redhat.com>
75219         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
75220         rpath element also skip the following colon.
75221         (expand_dynamic_string_token): Add is_path parameter and pass
75222         down to DL_DST_REQUIRED and _dl_dst_substitute.
75223         (decompose_rpath): Call expand_dynamic_string_token with
75224         non-zero is_path.  Ignore empty rpaths.
75225         (_dl_map_object_from_fd): Call expand_dynamic_string_token
75226         with zero is_path.
75228 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
75230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75231         Make cancelable.
75233 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
75235         [BZ #12655]
75236         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
75237         Patch by Filipe David Manana <fdmanana@apache.org>.
75239 2011-04-07  Andreas Schwab  <schwab@redhat.com>
75241         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
75242         Maintain aligned stack.
75243         (CHECK_RSP): Remove unused macro.
75245 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
75247         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
75248         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
75250 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
75252         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
75254         * include/features.h: Mention __USE_XOPEN2K8 in comment.
75256 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
75258         [BZ #12518]
75259         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
75260         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
75261         * sysdeps/x86_64/memmove.c: New file.
75262         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
75263         (memcpy): Renamed to ...
75264         (__new_memcpy): This.
75265         (memcpy): Provide GLIBC_2_14 memcpy.
75266         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
75267         (memcpy): Provide GLIBC_2_2_5 memcpy.
75269 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75271         [BZ #12631]
75272         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
75274 2011-03-30  Andreas Schwab  <schwab@redhat.com>
75276         * misc/syncfs.c: New file.
75277         * misc/Makefile (routines): Add syncfs.
75278         * posix/unistd.h: Declare syncfs.
75279         * sysdeps/unix/syscalls.list: Add syncfs.
75281 2011-04-01  Andreas Schwab  <schwab@redhat.com>
75283         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
75284         open_by_handle_at.
75285         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
75286         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75287         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75288         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75289         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75290         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
75291         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75293 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75295         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
75296         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75297         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
75298         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75299         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75300         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75301         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75303         * io/Makefile: Compile fallocate.c, fallocate64.c, and
75304         sync_file_range.c with -fexceptions.
75305         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
75306         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
75307         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
75308         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
75309         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
75310         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75311         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
75312         sync_file_range as cancellation point
75313         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
75314         now a wrapper around __call_sync_file_range with cancellation handling.
75315         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
75316         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
75317         function name to __call_sync_file_range.
75318         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
75319         Add call_sync_file_range.
75321 2011-04-01  Andreas Schwab  <schwab@redhat.com>
75323         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75324         bits/timex.h.
75326 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75328         * iconv/iconv.h: Fix typo in comment.
75329         * io/fcntl.h: Likewise.
75330         * libio/stdio.h: Likewise.
75331         * posix/spawn.h: Likewise.
75332         * posix/unistd.h: Likewise.
75333         * stdlib/stdlib.h: Likewise.
75334         * time/time.h: Likewise.
75335         * wcsmbs/wchar.h: Likewise.
75337         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
75338         open_by_handle): Add.
75339         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
75340         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
75341         Augment a few comments.
75342         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75343         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75344         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75345         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75346         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75347         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
75348         open_by_handle.
75350         * io/fcntl.h (AT_EMPTY_PATH): Define.
75352 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
75354         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
75355         * sysdeps/unix/sysv/linux/bits/time.h: New file.
75356         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
75357         to...
75358         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
75359         * Versions.def: Add GLIBC_2.14.
75360         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
75361         Export.
75363 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
75365         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
75366         round counter.
75367         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75369 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75371         [BZ #12597]
75372         * string/test-strncmp.c (do_page_test): New function.
75373         (check2): Likewise.
75374         (test_main): Call check2.
75375         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
75377 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
75379         [BZ #12587]
75380         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
75381         Handle cache information in CPU leaf 4.
75382         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75384 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
75386         [BZ #12583]
75387         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
75388         character representation.
75389         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
75391 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
75393         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
75394         END(__isnan) to END(__isnanf) to match function entry point/label
75395         EALIGN(__isnanf,...).
75397 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
75399         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
75401 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
75403         [BZ #12510]
75404         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
75405         copy from the symbol referenced in the relocation to initialize the
75406         used variable.
75407         Patch by Piotr Bury <pbury@goahead.com>.
75408         * elf/Makefile: Add rules to build and tst-unique3.
75409         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
75410         * elf/tst-unique3.cc: New file.
75411         * elf/tst-unique3.h: New file.
75412         * elf/tst-unique3lib.cc: New file.
75413         * elf/tst-unique3lib2.cc: New file.
75415         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
75417 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
75419         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
75420         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
75421         to _start.
75423 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
75425         * elf/dl-load.c (_dl_map_object): If we are looking for the first
75426         to-be-loaded object along a path to loader is ld.so.
75428 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
75429             Ulrich Drepper  <drepper@gmail.com>
75431         * sysdeps/x86_64/memset.S: After aligning destination, code
75432         branches to different locations depending on the value of
75433         misalignment, when multiarch is enabled. Fix this.
75435 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
75437         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
75438         Set _x86_64_preferred_memory_instruction for AMD processsors.
75439         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75440         Set bit_Prefer_SSE_for_memop for AMD processors.
75442 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
75444         * libio/fmemopen.c (fmemopen): Optimize a bit.
75446 2011-03-03  Andreas Schwab  <schwab@redhat.com>
75448         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
75450 2011-03-03  Roland McGrath  <roland@redhat.com>
75452         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
75454 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
75456         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
75457         __bzero_ultra1 instead of __memset_ultra1.
75459 2011-02-23  Andreas Schwab  <schwab@redhat.com>
75460             Ulrich Drepper  <drepper@gmail.com>
75462         [BZ #12509]
75463         * include/link.h (struct link_map): Add l_orig_initfini.
75464         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
75465         returning unsuccessfully.
75466         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
75467         close of a file loaded at startup, restore the original l_initfini
75468         list.
75469         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
75470         list, store the pointer.
75471         * elf/Makefile ($(objpfx)noload-mem): New rule.
75472         (noload-ENV): Define.
75473         (tests): Add $(objpfx)noload-mem.
75474         * elf/noload.c: Include <memcheck.h>.
75475         (main): Call mtrace.  Close all opened handles.
75477 2011-02-17  Andreas Schwab  <schwab@redhat.com>
75479         [BZ #12454]
75480         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
75481         dependencies are missing.
75483 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75485         Fix __if_freereq crash: Unlike the generic version which uses free,
75486         Hurd needs munmap.
75487         * sysdeps/mach/hurd/ifreq.h: New file.
75489 2011-01-27  Petr Baudis  <pasky@suse.cz>
75490             Ulrich Drepper  <drepper@gmail.com>
75492         [BZ 12445]#
75493         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
75494         to extend_alloca().
75495         * stdio-common/bug23.c: New file.
75496         * stdio-common/Makefile (tests): Add bug23.
75498 2010-09-28  Andreas Schwab  <schwab@redhat.com>
75499             Ulrich Drepper  <drepper@gmail.com>
75501         [BZ #12489]
75502         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
75503         before performing relro protection.  At old place add assertion
75504         to make sure nothing changed.
75506 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
75507             Glauber de Oliveira Costa  <glommer@gmail.com>
75509         * elf/elf.h: Add new ARM TLS relocs.
75511 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
75513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
75514         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
75515         cast from r3.
75516         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
75517         'tests' variable.
75518         * sysdeps/wordsize-64/tst-writev.c: New file.
75520 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
75522         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
75523         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
75524         insns in _dl_start to prevent a TOC reference before relocs are
75525         resolved.
75527 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
75529         [BZ #12469]
75530         * Makeconfig: Remove RANLIB definition.
75531         * Makerules: Don't use RANLIB.
75532         * aclocal.m4: Remove ranlib test.
75533         * configure.in: No need to check for ranlib.
75534         * elf/rtld-Rules: Don't use RANLIB.
75536 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75538         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
75539         protection macro.
75540         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
75541         inclusion protection macro.
75543         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
75544         SIGRTMIN and SIGRTMAX and print information in that case only when
75545         SIGRTMIN is defined.
75547 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
75549         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
75550         arginfo fn returning -1.
75552         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
75553         and thousands string is zero terminated.
75555 2011-02-03  Andreas Schwab  <schwab@redhat.com>
75557         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
75558         sysdeps/unix/sysv/linux/bits/socket.h.
75560 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75562         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
75563         (__CPU_COUNT): Remove old macros.
75564         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
75565         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
75566         (__CPU_ALLOC, __CPU_FREE): Add macros.
75567         (__sched_cpualloc, __sched_cpufree): Add declarations.
75569 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
75571         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
75572         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
75573         * nscd/aicache.c (addhstaiX): Return timeout of added value.
75574         (readdhstai): Return value of addhstaiX call.
75575         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
75576         (addgrbyX): Return value returned by cache_addgr.
75577         (readdgrbyname): Return value returned by addgrbyX.
75578         (readdgrbygid): Likewise.
75579         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
75580         (addpwbyX): Return value returned by cache_addpw.
75581         (readdpwbyname): Return value returned by addhstbyX.
75582         (readdpwbyuid): Likewise.
75583         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
75584         (addservbyX): Return value returned by cache_addserv.
75585         (readdservbyname): Return value returned by addservbyX:
75586         (readdservbyport): Likewise.
75587         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
75588         (addhstbyX): Return value returned by cache_addhst.
75589         (readdhstbyname): Return value returned by addhstbyX.
75590         (readdhstbyaddr): Likewise.
75591         (readdhstbynamev6): Likewise.
75592         (readdhstbyaddrv6): Likewise.
75593         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
75594         (readdinitgroups): Return value returned by addinitgroupsX.
75595         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
75596         (prune_cache): Keep track of timeout value of re-added entries.
75597         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
75598         * nscd/nscd.h: Adjust prototypes of readd* functions.
75600 2011-02-04  Roland McGrath  <roland@redhat.com>
75602         * nis/nis_server.c (nis_servstate): Use the right name for 0.
75603         (nis_stats): Likewise.
75604         * nis/nis_modify.c (nis_modify): Likewise.
75605         * nis/nis_remove.c (nis_remove): Likewise.
75606         * nis/nis_add.c (nis_add): Likewise.
75608         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
75610         * posix/fnmatch_loop.c: Add some consts.
75612         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
75614 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
75616         [BZ #12460]
75617         * config.make.in (config-cflags-novzeroupper): Define.
75618         * configure.in: Substitute libc_cv_cc_novzeroupper.
75619         * elf/Makefile (AVX-CFLAGS): Define.
75620         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
75621         (CFLAGS-tst-auditmod4a.c): Likewise.
75622         (CFLAGS-tst-auditmod4b.c): Likewise.
75623         (CFLAGS-tst-auditmod6b.c): Likewise.
75624         (CFLAGS-tst-auditmod6c.c): Likewise.
75625         (CFLAGS-tst-auditmod7b.c): Likewise.
75626         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
75628 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
75630         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
75631         function to the callback.
75632         Patch partly by Jiri Olsa <jolsa@redhat.com>.
75634 2011-02-02  Andreas Schwab  <schwab@redhat.com>
75636         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
75637         of errno.
75639 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
75641         [BZ #11724]
75642         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
75643         of constructors.
75644         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
75645         of destructors.
75646         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
75648         [BZ #11724]
75649         * elf/Makefile: Add rules to build and run new test.
75650         * elf/tst-initorder.c: New file.
75651         * elf/tst-initorder.exp: New file.
75652         * elf/tst-initordera1.c: New file.
75653         * elf/tst-initordera2.c: New file.
75654         * elf/tst-initordera3.c: New file.
75655         * elf/tst-initordera4.c: New file.
75656         * elf/tst-initorderb1.c: New file.
75657         * elf/tst-initorderb2.c: New file.
75658         * elf/tst-order-a1.c: New file.
75659         * elf/tst-order-a2.c: New file.
75660         * elf/tst-order-a3.c: New file.
75661         * elf/tst-order-a4.c: New file.
75662         * elf/tst-order-b1.c: New file.
75663         * elf/tst-order-b2.c: New file.
75664         * elf/tst-order-main.c: New file.
75665         New test case by George Gensure <werkt0@gmail.com>.
75667 2010-10-01  Andreas Schwab  <schwab@redhat.com>
75669         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
75670         decoding ACE if AI_CANONIDN.
75672 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
75674         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
75676 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
75678         * version.h (RELEASE): Bump for 2.13 release.
75679         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
75681         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
75683         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
75684         MADV_NOHUGEPAGE.
75685         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
75686         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
75687         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
75688         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
75689         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
75690         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
75692         * posix/getconf.c: Update copyright year.
75693         * catgets/gencat.c: Likewise.
75694         * csu/version.c: Likewise.
75695         * debug/catchsegv.sh: Likewise.
75696         * debug/xtrace.sh: Likewise.
75697         * elf/ldconfig.c: Likewise.
75698         * elf/ldd.bash.in: Likewise.
75699         * elf/sprof.c (print_version): Likewise.
75700         * iconv/iconv_prog.c: Likewise.
75701         * iconv/iconvconfig.c: Likewise.
75702         * locale/programs/locale.c: Likewise.
75703         * locale/programs/localedef.c: Likewise.
75704         * malloc/memusage.sh: Likewise.
75705         * malloc/mtrace.pl: Likewise.
75706         * nscd/nscd.c (print_version): Likewise.
75707         * nss/getent.c: Likewise.
75709         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
75710         PF_CAIF, and PF_ALG.
75711         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75713 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
75715         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
75716         (modules-names): Use them.
75717         (ifunc-test-modules, ifunc-pie-tests): Define.
75718         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
75719         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
75720         (test-extras): Likewise.
75721         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
75722         $(compile-command.c).
75723         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
75724         (all-built-dso): Define.
75725         (check-textrel.out, check-execstack.out): Depend on it.
75727         * configure.in: Don't override --enable-multi-arch.
75729 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
75731         [BZ #6812]
75732         * nscd/hstcache.c (tryagain): Define.
75733         (cache_addhst): Return tryagain not notfound for temporary errors.
75734         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
75735         failed.
75737 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
75739         [BZ #10563]
75740         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
75741         to make the syscall.
75742         * sysdeps/unix/sysv/linux/setgroups.c: New file.
75744         [BZ #12378]
75745         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
75746         and fall back to matching as normal character if the string ends before
75747         the matching ']' is found.  This is what POSIX requires.
75748         * posix/testfnm.c: Adjust test result.
75749         * posix/globtest.sh: Adjust test result.  Add new test.
75750         * posix/tst-fnmatch.input: Likewise.
75751         * posix/tst-fnmatch2.c: Add new test.
75753 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
75755         * elf/Makefile (check-execstack): Revert last change.  Depend on
75756         check-execstack.h.
75757         (check-execstack.h): New target.
75758         (generated): Add check-execstack.h.
75759         * elf/check-execstack.c: Include "check-execstack.h".
75760         (main): Revert last change.
75761         (handle_file): Return zero if GNU_STACK is absent and
75762         DEFAULT_STACK_PERMS doesn't include PF_X.
75764 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
75766         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
75767         in child fails because the descriptor is already closed.
75768         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
75769         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
75770         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
75772         [BZ #12397]
75773         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
75774         syscall.
75776         [BZ #10484]
75777         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
75778         temporary buffer used to handle multi lookups locally.
75779         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
75781 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
75783         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
75784         loader is ld.so.
75786 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
75788         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
75789         alignment for SSE2.
75791 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
75793         [BZ #12394]
75794         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
75795         characters.  When rounding increased number of integer digits recompute
75796         number of groups.
75797         * stdio-common/tst-grouping.c: New file.
75798         * stdio-common/Makefile: Add rules to build and run tst-grouping.
75800 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
75802         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
75803         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
75805         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
75806         void.
75807         * bits/select.h: Likewise.
75809 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
75811         * po/ja.po: Update from translation team.
75813 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
75815         [BZ #11155]
75816         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
75817         implementation just like for lxstat, fxstatat, et al.
75819 2010-12-27  Jim Meyering  <meyering@redhat.com>
75821         [BZ #12348]
75822         * posix/regexec.c (build_trtable): Return failure indication upon
75823         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
75825 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
75827         [BZ #12201]
75828         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
75829         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
75830         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
75831         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
75833         [BZ #12207]
75834         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
75836         [BZ #12204]
75837         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
75838         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
75840 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
75842         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
75843         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
75844         script has SORT_BY_INIT_PRIORITY.
75845         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
75846         NO_CTORS_DTORS_SECTIONS is defined.
75847         * elf/soinit.c: Likewise.
75848         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
75849         NO_CTORS_DTORS_SECTIONS is defined.
75850         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
75851         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
75852         * sysdeps/sh/init-first.c: Likewise.
75853         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
75855 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
75857         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
75858         always use the slow path.
75860 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
75862         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
75863         similar rule which adds the sysdep directories to the header search in
75864         order to pick up the correct platform stackinfo.h.
75865         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
75866         perform test if it is, otherwise return successfully without testing.
75867         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
75868         DEFAULT_STACK_PERMS define in stackinfo.h.
75869         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
75870         defined in stackinfo.h.
75871         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
75872         DEFAULT_STACK_PERMS defined in stackinfo.h.
75873         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
75874         * sysdeps/ia64/stackinfo.h: Likewise.
75875         * sysdeps/s390/stackinfo.h: Likewise.
75876         * sysdeps/sh/stackinfo.h: Likewise.
75877         * sysdeps/sparc/stackinfo.h: Likewise.
75878         * sysdeps/x86_64/stackinfo.h: Likewise.
75879         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
75880         PF_X for powerpc64.  Retain PF_X for powerpc32.
75882 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
75884         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
75885         accurately.
75886         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
75887         GETDENTS_64BIT_ALIGNED.
75889 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
75891         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
75893 2010-12-10  Andreas Schwab  <schwab@redhat.com>
75895         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
75896         _GNU_SOURCE.
75898         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
75899         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
75900         Remove __restrict.
75901         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
75902         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
75904 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
75906         [BZ #11655]
75907         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
75908         are initialized.
75910 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
75912         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
75914 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
75916         * po/it.po: Update from translation team.
75918 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
75920         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
75921         unused codes.
75923 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
75925         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
75927 2010-11-24  Andreas Schwab  <schwab@redhat.com>
75929         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
75930         specially.
75931         (gaih_getanswer_slice): Likewise.
75933 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
75935         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
75937 2010-05-31  Petr Baudis  <pasky@suse.cz>
75939         [BZ #11149]
75940         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
75941         silently even in the chroot mode.
75943 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
75945         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
75946         last patch a bit.  Pretty printing
75948 2010-05-31  Petr Baudis <pasky@suse.cz>
75950         [BZ #10085]
75951         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
75952         initialization of skip_initgroups_dyn.
75954 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
75956         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
75957         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
75959 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
75961         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
75963 2010-11-11  Andreas Schwab  <schwab@redhat.com>
75965         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
75966         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
75967         (tst-fnmatch-ENV): Set MALLOC_TRACE.
75968         ($(objpfx)tst-fnmatch-mem): New rule.
75969         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
75970         * posix/tst-fnmatch.c (main): Call mtrace.
75972 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
75974         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75975         Support Intel processor model 6 and model 0x2c.
75977 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
75979         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
75980           signed comparison.
75982 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
75984         [BZ #12205]
75985         * string/test-strncasecmp.c (check_result): New function.
75986         (do_one_test): Use it.
75987         (check1): New function.
75988         (test_main): Use it.
75989         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
75990         Support strcasecmp and strncasecmp.
75992 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
75994         [BZ #12194]
75995         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
75996         * sysdeps/x86_64/bits/byteswap.h: Likewise.
75998 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
76000         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
76001         IFUNC support.
76002         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76003         memset-x86-64.
76004         * sysdeps/x86_64/multiarch/bzero.S: New file.
76005         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
76006         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
76007         * sysdeps/x86_64/multiarch/memset.S: New file.
76008         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
76009         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76010         Set bit_Prefer_SSE_for_memop for Intel processors.
76011         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
76012         Define.
76013         (index_Prefer_SSE_for_memop): Define.
76014         (HAS_PREFER_SSE_FOR_MEMOP): Define.
76016 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
76018         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
76019         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
76021 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
76023         [BZ #12191]
76024         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76025         (__x86_64_raw_data_cache_size_half): Likewise.
76026         (__x86_64_raw_shared_cache_size): Likewise.
76027         (__x86_64_raw_shared_cache_size_half): Likewise.
76029         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76030         (__x86_64_raw_data_cache_size_half): Likewise.
76031         (__x86_64_raw_shared_cache_size): Likewise.
76032         (__x86_64_raw_shared_cache_size_half): Likewise.
76033         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
76034         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
76035         and __x86_64_raw_shared_cache_size_half.  Round
76036         __x86_64_data_cache_size_half, __x86_64_data_cache_size
76037         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
76038         to multiple of 256 bytes.
76040 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
76042         [BZ #12167]
76043         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
76044         of inacessible symlinks.  Verify result of symlink before returning it.
76045         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
76046         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
76048 2010-10-28  Erich Ritz  <erichritz@gmail.com>
76050         * math/math.h (isinf): Fix typo in comment.
76052 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
76054         * po/da.po: Update from translation team.
76056 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
76058         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
76059         is added to the list.
76061 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76062             Ulrich Drepper  <drepper@gmail.com>
76064         * elf/dl-object.c (_dl_new_object): Don't append the new object to
76065         the global list here.  Move code to...
76066         (_dl_add_to_namespace_list): ...here.  New function.
76067         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
76068         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
76069         * elf/dl-load.c (lose): Don't remove the element from the list.
76070         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
76071         (_dl_map_object): Likewise.
76073 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
76075         [BZ #12159]
76076         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
76077         into all bytes of SSE register.
76078         Patch by Richard Li <richardpku@gmail.com>.
76080 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
76082         [BZ #12140]
76083         * malloc/malloc.c (_int_free): Fill correct number of bytes when
76084         perturbing.
76086 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
76088         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
76089         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
76090         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
76091         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
76092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
76093         submachine.
76094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
76096 2010-10-22  Andreas Schwab  <schwab@redhat.com>
76098         * include/dlfcn.h (__RTLD_SECURE): Define.
76099         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
76100         mode & __RTLD_SECURE instead.
76101         (open_path): Rename preloaded parameter to secure.
76102         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
76103         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
76104         * elf/dl-deps.c (openaux): Likewise.
76105         * elf/rtld.c (struct map_args): Remove is_preloaded.
76106         (map_doit): Don't use it.
76107         (dl_main): Likewise.
76108         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
76109         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
76111 2010-09-09  Andreas Schwab  <schwab@redhat.com>
76113         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
76114         (sysd-rules-targets): Remove duplicates.
76115         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
76116         rtld-%.$o dependency.
76118 2010-10-18  Andreas Schwab  <schwab@redhat.com>
76120         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
76121         _dl_map_object do it.
76123 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
76125         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
76126         fast fma builtins, define the macros in the C99 standard.
76127         (FP_FAST_FMAF): Likewise.
76128         (FP_FAST_FMAL): Likewise.
76129         * sysdeps/x86_64/bits/mathdef.h: Likewise.
76131         * bits/mathdef.h: Update copyright year.
76132         * sysdeps/powerpc/bits/mathdef.h: Likewise.
76134 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
76136         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
76137         builtins, define the macros in the C99 standard.
76138         (FP_FAST_FMAF): Likewise.
76139         (FP_FAST_FMAL): Likewise.
76140         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
76141         multiply/add.
76142         (FP_FAST_FMAF): Likewise.
76144 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
76146         [BZ #3268]
76147         * math/libm-test.inc (fma_test): Some new testcases.
76148         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
76149         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
76150         y and infinite z.  Do multiplication by C already in long double.
76151         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
76152         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
76153         y and infinite z.  Do bitwise or of inexact bit into u.d.
76154         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
76155         * sysdeps/i386/fpu/s_fmaf.S: Removed.
76156         * sysdeps/i386/fpu/s_fma.S: Removed.
76157         * sysdeps/i386/fpu/s_fmal.S: Removed.
76159 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
76161         [BZ #3268]
76162         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
76163         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
76164         computation is not scheduled after fetestexcept.  Fix value
76165         of minimum denormal long double.
76167 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
76169         [BZ #3268]
76170         * math/libm-test.inc (fma_test): Add some more tests.
76171         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
76172         correctly.
76174 2010-10-15  Andreas Schwab  <schwab@redhat.com>
76176         * scripts/data/localplt-s390-linux-gnu.data: New file.
76177         * scripts/data/localplt-s390x-linux-gnu.data: New file.
76179 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
76181         [BZ #3268]
76182         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
76183         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
76184         instead of dbl-64.
76185         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
76186         inlines.
76187         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
76188         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
76189         if one of x and y is very large and the other is subnormal.
76190         * sysdeps/s390/fpu/s_fmaf.c: New file.
76191         * sysdeps/s390/fpu/s_fma.c: New file.
76192         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
76193         * sysdeps/powerpc/fpu/s_fma.S: New file.
76194         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
76195         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
76196         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
76198 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
76200         [BZ #3268]
76201         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
76202         fma tests.
76203         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
76204         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
76205         * sysdeps/i386/i686/multiarch/s_fma.c: Include
76206         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
76207         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
76208         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
76209         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
76211 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
76213         [BZ #12078]
76214         * posix/regcomp.c (parse_branch): One more memory leak plugged.
76215         * posix/bug-regex31.input: Add test case.
76217 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76219         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
76220         * posix/bug-regex31.input: New file.
76222         [BZ #12078]
76223         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
76224         (parse_sub_exp): Fix last change, use postorder.
76226         * posix/bug-regex31.c: New file.
76227         * posix/Makefile: Add rules to build and run bug-regex31.
76229         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
76231         [BZ #12078]
76232         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
76234         [BZ #12108]
76235         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
76236         to have entries in sys_siglist.
76238         [BZ #12093]
76239         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
76240         be NULL.
76242 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
76244         [BZ #3268]
76245         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
76246         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
76247         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
76248         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
76249         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
76250         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
76251         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
76252         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
76253         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
76254         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
76255         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
76256         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
76257         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
76258         * math/ftestexcept.c (fetestexcept): Likewise.
76259         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
76260         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
76261         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
76262         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
76263         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
76264         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
76265         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76267 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76269         [BZ #12107]
76270         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
76271         newline.
76273 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
76275         * string/bug-strstr1.c: New file.
76276         * string/Makefile: Add rules to build and run bug-strstr1.
76278 2010-10-05  Eric Blake  <eblake@redhat.com>
76280         [BZ #12092]
76281         * string/str-two-way.h (two_way_long_needle): Always clear memory
76282         when skipping input due to the shift table.
76284 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
76286         [BZ #12005]
76287         * malloc/mcheck.c: Handle large requests.
76289         [BZ #12077]
76290         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
76291         for strncmp and strncasecmp.
76292         * string/stratcliff.c: Add tests for strcmp and strncmp.
76293         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
76295 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76297         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
76298         __set_fpscr.
76300 2010-09-30  Andreas Jaeger  <aj@suse.de>
76302         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
76303         (CGROUP_SUPER_MAGIC): Define.
76304         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76305         Handle btrfs and cgroup file systems.
76306         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
76307         Likewise.
76309 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
76311         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
76312         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
76314 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76316         [BZ #12067]
76317         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
76318         trying to locate the ELF header.
76320 2010-09-27  Andreas Schwab  <schwab@redhat.com>
76322         [BZ #11611]
76323         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
76324         Mask out sign-bit copies when constructing f_fsid.
76326 2010-09-24  Petr Baudis <pasky@suse.cz>
76328         * debug/stack_chk_fail_local.c: Add missing licence exception.
76329         * debug/warning-nop.c: Likewise.
76331 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
76333         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
76334         implementing getdents64 using getdents syscall, set d_type if
76335         __ASSUME_GETDENTS32_D_TYPE.
76337 2010-09-16  Andreas Schwab  <schwab@redhat.com>
76339         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
76340         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
76342 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
76344         [BZ #12037]
76345         * posix/unistd.h: Undo change of feature selection for ftruncate from
76346         2010-01-11.
76348 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
76350         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
76351         detection.
76353 2010-09-20  Andreas Schwab  <schwab@redhat.com>
76355         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
76356         fanotify_mark.
76357         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76359 2010-09-14  Andreas Schwab  <schwab@redhat.com>
76361         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
76362         variables after CHECK_SP call.
76363         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
76365 2010-09-13  Andreas Schwab  <schwab@redhat.com>
76366             Ulrich Drepper  <drepper@redhat.com>
76368         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
76369         re-relocationg ld.so.
76370         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
76371         _dl_init_paths call.
76372         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
76373         here anymore.
76375 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
76377         * resolv/res_init.c (__res_vinit): Count the default server we added.
76379 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
76380             Ulrich Drepper  <drepper@redhat.com>
76382         [BZ #11968]
76383         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76384         (____longjmp_chk): Use %ebx for saving value across system call.
76385         Add unwind info.
76387 2010-09-06  Andreas Schwab  <schwab@redhat.com>
76389         * manual/Makefile: Don't mix pattern rules with normal rules.
76391 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
76393         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
76394         operation.
76395         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
76396         * libio/iofopncook.c (_IO_cookie_init): Likewise.
76397         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
76398         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
76399         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76400         Likewise.
76402 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
76404         [BZ #11979]
76405         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
76406         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
76408 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
76410         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
76411         * sysdeps/x86_64/addmul_1.S: Likewise.
76412         * sysdeps/x86_64/lshift.S: Likewise.
76413         * sysdeps/x86_64/mul_1.S: Likewise.
76414         * sysdeps/x86_64/rshift.S: Likewise.
76415         * sysdeps/x86_64/sub_n.S: Likewise.
76416         * sysdeps/x86_64/submul_1.S: Likewise.
76418 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76420         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
76421         Define __sched_param instead of SCHED_* and sched_param when
76422         <bits/sched.h> is included with __need_schedparam defined.
76423         * bits/sched.h [__need_schedparam]
76424         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
76425         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
76426         (__defined_schedparam): Define to 1.
76427         (__sched_param): New structure, identical to sched_param.
76428         (__need_schedparam): Undefine.
76430 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
76432         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
76433         (epoll_create1): Declare.
76435         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
76437 2010-08-31  Andreas Schwab  <schwab@redhat.com>
76439         [BZ #7066]
76440         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
76441         shifting retval into place.
76443 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
76445         * nis/rpcsvc/nis.h: Update copyright notice.
76446         * nis/rpcsvc/nis.x: Likewise.
76447         * nis/rpcsvc/nis_callback.h: Likewise.
76448         * nis/rpcsvc/nis_callback.x: Likewise.
76449         * nis/rpcsvc/nis_object.x: Likewise.
76450         * nis/rpcsvc/nis_tags.h: Likewise.
76451         * nis/rpcsvc/yp.h: Likewise.
76452         * nis/rpcsvc/yp.x: Likewise.
76453         * nis/rpcsvc/ypupd.h: Likewise.
76454         * nis/yp_xdr.c: Likewise.
76455         * nis/ypupdate_xdr.c: Likewise.
76457         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
76458         mainly the body of pmap_getport.  Add parameters to specify timeouts.
76459         (pmap_getport): Use __libc_rpc_getport.
76460         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
76461         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
76462         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
76464 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
76466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
76467         fanotify_mark.
76469 2010-08-27  Roland McGrath  <roland@redhat.com>
76471         * sysdeps/i386/i686/multiarch/Makefile
76472         (CFLAGS-varshift.c): New variable.
76474 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
76476         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
76477         * sysdeps/i386/i686/multiarch/varshift.c: New file.
76479         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
76481         * sysdeps/x86_64/strlen.S: Minimal code improvement.
76483 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
76485         * sysdeps/x86_64/strlen.S: Unroll the loop.
76486         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76487         strlen-sse2 strlen-sse2-bsf.
76488         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
76489         __strlen_no_bsf if bit_Slow_BSF is set.
76490         (__strlen_sse42): Removed.
76491         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
76492         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
76494 2010-08-25  Roland McGrath  <roland@redhat.com>
76496         * sysdeps/x86_64/multiarch/varshift.S: File removed.
76497         * sysdeps/x86_64/multiarch/varshift.c: New file.
76498         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
76499         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
76500         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
76501         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76503 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
76505         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76506         strlen-sse2 strlen-sse2-bsf.
76507         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
76508         __strlen_sse2_bsf if bit_Slow_BSF is unset.
76509         (__strlen_sse2): Removed.
76510         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
76511         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
76512         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
76513         bit_Slow_BSF for Atom.
76514         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
76515         (index_Slow_BSF): Define.
76516         (HAS_SLOW_BSF): Define.
76518 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
76520         [BZ #10851]
76521         * resolv/res_init.c (__res_vinit): When no server address at all
76522         is given default to loopback.
76524 2010-08-24  Roland McGrath  <roland@redhat.com>
76526         * configure.in: Remove config-name.h generation.
76527         * configure: Regenerated.
76528         * config-name.in: File removed.
76529         * scripts/config-uname.sh: New file.
76530         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
76531         ($(objdir)config-name.h): New target.
76533         * sunrpc/rpc_parse.h: Avoid nested comment.
76535 2010-08-24  Richard Henderson  <rth@redhat.com>
76536             Ulrich Drepper  <drepper@redhat.com>
76537             H.J. Lu  <hongjiu.lu@intel.com>
76539         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
76540         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
76541         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
76542         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
76543         _mm_alignr_epi8 with _mm_loadu_si128.
76544         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
76545         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
76546         (__m128i_shift_right): Removed.
76547         * sysdeps/i386/i686/multiarch/varshift.h: New file.
76548         * sysdeps/i386/i686/multiarch/varshift.S: New file.
76549         * sysdeps/x86_64/multiarch/varshift.h: New file.
76550         * sysdeps/x86_64/multiarch/varshift.S: New file.
76552 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
76554         * configure.in: Move assembler checks to before sysdep dir checking.
76556 2010-08-20  Petr Baudis  <pasky@suse.cz>
76558         * LICENSES: Sync the sunrpc license.
76560 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
76562         * sunrpc/auth_des.c: Update copyright notice once again.
76563         * sunrpc/auth_none.c: Likewise.
76564         * sunrpc/auth_unix.c: Likewise.
76565         * sunrpc/authdes_prot.c: Likewise.
76566         * sunrpc/authuxprot.c: Likewise.
76567         * sunrpc/bindrsvprt.c: Likewise.
76568         * sunrpc/clnt_gen.c: Likewise.
76569         * sunrpc/clnt_perr.c: Likewise.
76570         * sunrpc/clnt_raw.c: Likewise.
76571         * sunrpc/clnt_simp.c: Likewise.
76572         * sunrpc/clnt_tcp.c: Likewise.
76573         * sunrpc/clnt_udp.c: Likewise.
76574         * sunrpc/clnt_unix.c: Likewise.
76575         * sunrpc/des_crypt.c: Likewise.
76576         * sunrpc/des_soft.c: Likewise.
76577         * sunrpc/get_myaddr.c: Likewise.
76578         * sunrpc/getrpcport.c: Likewise.
76579         * sunrpc/key_call.c: Likewise.
76580         * sunrpc/key_prot.c: Likewise.
76581         * sunrpc/openchild.c: Likewise.
76582         * sunrpc/pm_getmaps.c: Likewise.
76583         * sunrpc/pm_getport.c: Likewise.
76584         * sunrpc/pmap_clnt.c: Likewise.
76585         * sunrpc/pmap_prot.c: Likewise.
76586         * sunrpc/pmap_prot2.c: Likewise.
76587         * sunrpc/pmap_rmt.c: Likewise.
76588         * sunrpc/rpc/auth.h: Likewise.
76589         * sunrpc/rpc/auth_unix.h: Likewise.
76590         * sunrpc/rpc/clnt.h: Likewise.
76591         * sunrpc/rpc/des_crypt.h: Likewise.
76592         * sunrpc/rpc/key_prot.h: Likewise.
76593         * sunrpc/rpc/netdb.h: Likewise.
76594         * sunrpc/rpc/pmap_clnt.h: Likewise.
76595         * sunrpc/rpc/pmap_prot.h: Likewise.
76596         * sunrpc/rpc/pmap_rmt.h: Likewise.
76597         * sunrpc/rpc/rpc.h: Likewise.
76598         * sunrpc/rpc/rpc_des.h: Likewise.
76599         * sunrpc/rpc/rpc_msg.h: Likewise.
76600         * sunrpc/rpc/svc.h: Likewise.
76601         * sunrpc/rpc/svc_auth.h: Likewise.
76602         * sunrpc/rpc/types.h: Likewise.
76603         * sunrpc/rpc/xdr.h: Likewise.
76604         * sunrpc/rpc_clntout.c: Likewise.
76605         * sunrpc/rpc_cmsg.c: Likewise.
76606         * sunrpc/rpc_common.c: Likewise.
76607         * sunrpc/rpc_cout.c: Likewise.
76608         * sunrpc/rpc_dtable.c: Likewise.
76609         * sunrpc/rpc_hout.c: Likewise.
76610         * sunrpc/rpc_main.c: Likewise.
76611         * sunrpc/rpc_parse.c: Likewise.
76612         * sunrpc/rpc_parse.h: Likewise.
76613         * sunrpc/rpc_prot.c: Likewise.
76614         * sunrpc/rpc_sample.c: Likewise.
76615         * sunrpc/rpc_scan.c: Likewise.
76616         * sunrpc/rpc_scan.h: Likewise.
76617         * sunrpc/rpc_svcout.c: Likewise.
76618         * sunrpc/rpc_tblout.c: Likewise.
76619         * sunrpc/rpc_util.c: Likewise.
76620         * sunrpc/rpc_util.h: Likewise.
76621         * sunrpc/rpcinfo.c: Likewise.
76622         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
76623         * sunrpc/rpcsvc/key_prot.x: Likewise.
76624         * sunrpc/rpcsvc/klm_prot.x: Likewise.
76625         * sunrpc/rpcsvc/mount.x: Likewise.
76626         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
76627         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
76628         * sunrpc/rpcsvc/rex.x: Likewise.
76629         * sunrpc/rpcsvc/rstat.x: Likewise.
76630         * sunrpc/rpcsvc/rusers.x: Likewise.
76631         * sunrpc/rpcsvc/sm_inter.x: Likewise.
76632         * sunrpc/rpcsvc/spray.x: Likewise.
76633         * sunrpc/rpcsvc/yppasswd.x: Likewise.
76634         * sunrpc/rtime.c: Likewise.
76635         * sunrpc/svc.c: Likewise.
76636         * sunrpc/svc_auth.c: Likewise.
76637         * sunrpc/svc_authux.c: Likewise.
76638         * sunrpc/svc_raw.c: Likewise.
76639         * sunrpc/svc_run.c: Likewise.
76640         * sunrpc/svc_simple.c: Likewise.
76641         * sunrpc/svc_tcp.c: Likewise.
76642         * sunrpc/svc_udp.c: Likewise.
76643         * sunrpc/svc_unix.c: Likewise.
76644         * sunrpc/svcauth_des.c: Likewise.
76645         * sunrpc/xcrypt.c: Likewise.
76646         * sunrpc/xdr.c: Likewise.
76647         * sunrpc/xdr_array.c: Likewise.
76648         * sunrpc/xdr_float.c: Likewise.
76649         * sunrpc/xdr_mem.c: Likewise.
76650         * sunrpc/xdr_rec.c: Likewise.
76651         * sunrpc/xdr_ref.c: Likewise.
76652         * sunrpc/xdr_sizeof.c: Likewise.
76653         * sunrpc/xdr_stdio.c: Likewise.
76655         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
76656         handling.
76658 2010-08-19  Andreas Schwab  <schwab@redhat.com>
76660         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
76662 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
76664         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
76665         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
76666         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
76667         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
76668         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
76669         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
76670         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
76671         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
76672         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
76673         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
76674         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
76675         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
76676         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
76677         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
76679 2010-07-26  Anton Blanchard  <anton@samba.org>
76681         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
76682         * malloc/arena.c (heap_trim): Likewise.
76684 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
76686         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
76687         here.  Not...
76688         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
76689         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
76691 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
76693         * sysdeps/i386/elf/Makefile: New file.
76695 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
76697         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
76698         from fanotify_init.
76699         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
76700         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76702 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
76704         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
76705         of strncasecmp_l.
76706         * sysdeps/multiarch/strcmp.S: Likewise.
76708 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
76710         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
76711         strncase_l-nonascii.
76712         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
76713         Add strncase_l-ssse3.
76714         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
76715         * sysdeps/x86_64/strcmp.S: Likewise.
76716         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
76717         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
76718         * sysdeps/x86_64/strncase.S: New file.
76719         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
76720         * sysdeps/x86_64/strncase_l.S: New file.
76721         * string/Makefile (strop-tests): Add strncasecmp.
76722         * string/test-strncasecmp.c: New file.
76724         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
76725         warning.
76727         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
76728         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
76730 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
76732         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
76734 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
76736         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
76737         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
76738         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
76740 2010-05-01  Alan Modra  <amodra@gmail.com>
76742         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
76743         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
76744         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
76745         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
76746         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
76747         tidying.  Don't tail-call __sigjmp_save for static lib.
76748         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
76749         save location.
76750         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
76751         (CALL_MCOUNT): Add eh info, and nop after bl.
76752         (TAIL_CALL_SYSCALL_ERROR): New macro.
76753         (PSEUDO_RET): Use it.
76754         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
76755         Correct save location of integer regs and cr.
76756         (_dl_profile_resolve): Correct cr save location.  Delete nops
76757         after bl when SHARED.  Reduce cfi size a little by better
76758         placement of cfi directives.
76759         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
76760         make a stack frame.  Instead use parm save area as a temp.
76761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
76762         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
76763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
76764         Don't make a stack frame for parent, use parm save area.
76765         Increase child stack frame to 112 bytes.  Don't save unused reg,
76766         and adjust reg usage.  Set up cfi on error recovery and
76767         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
76768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
76769         (__makecontext): Add dummy nop after jump to exit.
76770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
76771         Use correct parm save area and cr save, reduce stack frame.
76772         Correct cfi for possible PSEUDO_RET frame setup.
76773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
76774         Branch to local label emitted by PSEUDO_RET rather than
76775         __syscall_error.
76777 2010-08-12  Andreas Schwab  <schwab@redhat.com>
76779         [BZ #11904]
76780         * locale/programs/locale.c (print_assignment): New function.
76781         (show_locale_vars): Use it.
76783 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
76785         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
76786         field.
76787         (struct statfs64): Likewise.
76788         (_STATFS_F_FLAGS): Define.
76789         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
76790         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76791         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
76792         (ST_VALID): Define locally.
76793         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
76794         __statvfs_getflags, use the provided value.
76795         * sysdeps/unix/sysv/linux/kernel-features.h: Define
76796         __ASSUME_STATFS_F_FLAGS.
76798         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
76800         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
76801         Add sys/fanotify.h.
76802         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
76803         fanotify_mask for GLIBC_2.13.
76804         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
76805         fanotify_init and fanotify_mark.
76806         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76807         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
76809         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
76810         Add prlimit.
76811         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
76812         prlimit64 for GLIBC_2.13.
76813         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
76814         prlimit64.
76815         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
76816         syscall.
76817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
76818         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76819         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
76820         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
76821         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
76822         add prlimit alias.
76823         * sysdeps/unix/sysv/linux/prlimit.c: New file.
76825         [BZ #11903]
76826         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
76827         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
76829         * nss/Makefile: Add rules to build and run tst-nss-test1.
76830         * shlib-versions: Add entry for libnss_test1.
76831         * nss/nss_test1.c: New file.
76832         * nss/tst-nss-test1.c: New file.
76834         * nss/nsswitch.c (__nss_database_custom): Define new variable.
76835         (__nss_configure_lookup): Set appropriate entry in
76836         __nss_configure_lookup to true.
76837         * nss/nsswitch.h: Define enum with indeces of databases in
76838         databases and __nss_database_custom arrays.  Declare
76839         __nss_database_custom.
76840         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
76841         to avoid using nscd when custom rules are installed.
76842         * nss/getXXbyYY_r.c: Likewise.
76843         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
76845         * nss/nss_files/files-parse.c: Whitespace fixes.
76847 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
76849         [BZ #11883]
76850         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
76851         * posix/fnmatch_loop.c: Likewise.
76853 2010-07-17  Andi Kleen  <ak@linux.intel.com>
76855         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
76856         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
76857         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
76858         * Versions.def [GLIBC_2.13]: Add.
76860 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
76862         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
76863         Also fail if tpwd after pwuid call is NULL.
76865 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76867         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
76868         when converting to ms.
76870 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76872         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
76873         EOPNOTSUPP errors with ENOTTY.
76874         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
76875         EOPNOTSUPP errors with ENOTTY.
76877 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
76879         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
76880         Add strcasecmp_l-ssse3.
76881         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
76882         strcasecmp.
76883         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
76884         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
76885         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
76887 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
76889         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
76891         * string/Makefile (strop-tests): Add strcasecmp.
76892         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
76893         strcasecmp_l-nonascii.
76894         (gen-as-const-headers): Add locale-defines.sym.
76895         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
76896         * sysdeps/x86_64/strcasecmp.S: New file.
76897         * sysdeps/x86_64/strcasecmp_l.S: New file.
76898         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
76899         * sysdeps/x86_64/locale-defines.sym: New file.
76900         * string/test-strcasecmp.c: New file.
76902         * string/test-strcasestr.c: Test both ends of the range of characters.
76903         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
76905 2010-07-29  Roland McGrath  <roland@redhat.com>
76907         [BZ #11856]
76908         * manual/locale.texi (Yes-or-No Questions): Fix example code.
76910 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
76912         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
76913         for ld.so.
76915 2010-07-27  Andreas Schwab  <schwab@redhat.com>
76917         * manual/memory.texi (Malloc Tunable Parameters): Document
76918         M_PERTURB.
76920 2010-07-26  Roland McGrath  <roland@redhat.com>
76922         [BZ #11840]
76923         * configure.in (-fgnu89-inline check): Set and substitute
76924         gnu89_inline, not libc_cv_gnu89_inline.
76925         * configure: Regenerated.
76926         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
76928 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
76930         * string/test-strnlen.c: New file.
76931         * string/Makefile (strop-tests): Add strnlen.
76932         * string/tester.c (test_strnlen): Add a few more test cases.
76933         * string/tst-strlen.c: Better error reporting.
76935         * sysdeps/x86_64/strnlen.S: New file.
76937 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
76939         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
76940         lower-latency instructions.
76942 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
76944         * string/test-strcasestr.c: New file.
76945         * string/test-strstr.c: New file.
76946         * string/Makefile (strop-tests): Add strstr and strcasestr.
76947         * string/str-two-way.h: Don't undefine MAX.
76948         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
76950 2010-07-21  Andreas Schwab  <schwab@redhat.com>
76952         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76953         strcasestr-nonascii.
76954         (CFLAGS-strcasestr-nonascii.c): Define.
76955         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
76956         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
76957         Remove unused attribute.
76959 2010-07-20  Roland McGrath  <roland@redhat.com>
76961         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
76962         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
76963         ld.so.cache was broken.  With it, there is no way to disable dsocaps
76964         like LD_HWCAP_MASK can disable hwcaps.
76966 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
76968         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
76970 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
76972         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
76973         call in strcasestr.
76974         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
76975         __strcasestr_sse42_nonascii.
76976         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
76977         strcasestr-nonascii.c.
76978         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
76980 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
76982         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
76983         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
76984         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
76985         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
76987 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
76989         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
76990         fcntl.
76992 2010-07-06  Andreas Schwab  <schwab@redhat.com>
76994         [BZ #11577]
76995         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
76996         dl_signal_cerror.
76998 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
77000         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
77001         _PC_PIPE_BUF using F_GETPIPE_SZ.
77003 2010-07-05  Roland McGrath  <roland@redhat.com>
77005         * manual/arith.texi (Rounding Functions): Fix rint description
77006         implicit in round description.
77008 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
77010         * elf/Makefile: Fix linking for a few tests to make recent linker
77011         happy.
77013 2010-06-30  Andreas Schwab  <schwab@redhat.com>
77015         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77016         $(common-objpfx)libc_nonshared.a.
77018 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
77020         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
77021         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
77022         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77023         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77024         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
77025         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
77026         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77027         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
77029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
77030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
77031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
77033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
77035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
77036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
77037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
77038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
77040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
77042         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
77043         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
77044         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
77045         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
77046         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
77047         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
77048         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
77049         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
77050         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
77051         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
77052         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
77053         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
77054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
77055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
77056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
77057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
77058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
77059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
77060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
77061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
77062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
77063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
77064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
77065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
77066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
77067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
77069 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
77071         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
77072         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
77073         * string/memmove.c (memmove): Renamed to ...
77074         (MEMMOVE): ...this.  Default to memmove.
77075         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
77076         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
77077         (END_CHK): Define.
77078         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77079         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
77080         mempcpy-ssse3-back memmove-ssse3-back.
77081         * sysdeps/x86_64/multiarch/bcopy.S: New file .
77082         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
77083         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
77084         * sysdeps/x86_64/multiarch/memcpy.S: New file.
77085         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
77086         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
77087         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
77088         * sysdeps/x86_64/multiarch/memmove.c: New file.
77089         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
77090         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
77091         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
77092         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
77093         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
77094         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
77095         Define.
77096         (index_Fast_Copy_Backward): Define.
77097         (HAS_ARCH_FEATURE): Define.
77098         (HAS_FAST_REP_STRING): Define.
77099         (HAS_FAST_COPY_BACKWARD): Define.
77101 2010-06-21  Andreas Schwab  <schwab@redhat.com>
77103         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77104         Restore proper fallback handling.
77106 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
77108         [BZ #11701]
77109         * posix/group_member.c (__group_member): Correct checking loop.
77111         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
77112         OOM in getpwuid_r correctly.  Return error number when the caller
77113         should return, otherwise -1.
77114         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
77115         call returning > 0 value.
77116         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
77118 2010-06-07  Andreas Schwab  <schwab@redhat.com>
77120         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
77121         libc_nonshared.a from targets in modules-names.
77123 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
77125         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
77126         requires it.
77128 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
77130         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
77131         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
77132         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
77133         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
77135 2010-06-02  Andreas Schwab  <schwab@redhat.com>
77137         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
77139 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
77141         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
77142         and F_GETPIPE_SZ.
77143         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77144         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77145         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77146         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77147         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77148         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77150 2010-06-14  Roland McGrath  <roland@redhat.com>
77152         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
77154 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
77156         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
77157         __REDIRECT followed by __THROW.
77158         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
77159         * posix/getopt.h (getopt): Likewise.
77161 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77163         * hurd/lookup-at.c (__file_name_lookup_at): Accept
77164         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
77165         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
77166         in AT_FLAGS.
77167         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
77168         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
77170 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
77172         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
77174 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
77176         [BZ #11640]
77177         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77178         Properly check family and model.
77180 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
77182         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
77184 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
77186         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
77188 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
77190         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
77191         symbol reference.
77193 2010-05-19  Andreas Schwab  <schwab@redhat.com>
77195         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
77196         symbol reference.
77198 2010-05-21  Andreas Schwab  <schwab@redhat.com>
77200         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
77201         and internal_recvmmsg.
77202         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
77203         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
77204         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
77205         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
77207         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
77208         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
77209         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
77211 2010-05-20  Andreas Schwab  <schwab@redhat.com>
77213         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
77215 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
77217         POWER7 optimizations.
77218         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
77219         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
77221 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
77223         * version.h: Update for 2.13 development version.
77225 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
77227         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
77228         exceptions.  Return 0.
77230 2010-05-07  Roland McGrath  <roland@redhat.com>
77232         * elf/ldconfig.c (main): Add a const.
77234 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
77236         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
77237         (args_options): Add no-idn option.
77238         (ahosts_keys_int): Add idn_flags to ai_flags.
77239         (parse_option): Handle 'i' option to clear idn_flags.
77241         * malloc/malloc.c (_int_free): Possible race in the most recently
77242         added check.  Only act on the data if no current modification
77243         happened.
77245 See ChangeLog.17 for earlier changes.